mock-property
1.1.0 latestGiven an object and a property, replaces a property descriptor (or deletes it), and returns a thunk to restore it.
Analysed versions
5 versions
1.0.3
11.0.2
1.0.1
11.0.0
2
Loaded 10 of 5
Dependencies
define-data-property
^1.1.4
functions-have-names
^1.2.3
gopd
^1.0.1
has-property-descriptors
^1.0.2
hasown
^2.0.2
isarray
^2.0.5
object-inspect
^1.13.2
auto-changelog
dev^2.4.0
encoding
dev^0.1.13
es-value-fixtures
dev^1.4.2
eslint
dev=8.8.0
evalmd
dev^0.0.19
for-each
dev^0.3.3
has-symbols
dev^1.0.3
in-publish
dev^2.0.1
npmignore
dev^0.3.1
nyc
dev^10.3.2
safe-publish-latest
dev^2.0.0
tape
dev^5.8.1
typescript
devnext
- dev org
@arethetypeswrong
- dev org
@ljharb
- dev org
@types
es-value-fixtures
^1.4.4
devfor-each
^0.3.3
devfunctions-have-names
^1.2.2
devget-intrinsic
^1.2.2
devgopd
^1.0.3
devhas-bigints
^1.0.2
devhas-property-descriptors
^1.0.3
devhas-symbols
^1.0.2
devis-callable
^1.1.2
devisarray
^2.0.2
devmake-arrow-function
^1.2.2
devmake-async-function
^1.0.2
devmake-generator-function
^2.0.3
devnode
^0.12.25
devobject-inspect
^1.13.0
devobject.assign
^4.1.0
devtape
^5.6.4
dev
Backlog
0 versions
No versions in backlog
Behavioural monitoring and security for npm packages
Monitor every change in your dependency tree and automatically block malicious packages from entering your codebase. Safeguard your projects by using lstn in GitHub.