mock-property @1.0.0
MIT
License
No
Install Scripts
4
Dependencies
12
Dev Dependencies
6.8 KB
Package Size
Published
Given an object and a property, replaces a property descriptor (or deletes it), and returns a thunk to restore it.
Maintainers
ljharb
Keywords
testingmockobjectpropertyvaluedescriptortestdeletedefine
Dependencies (4)
| Package | Constraint | Registry Status |
|---|---|---|
| has | ^1.0.3 | auto_approved |
| isarray | ^2.0.5 | auto_approved |
| functions-have-names | ^1.2.2 | auto_approved |
| has-property-descriptors | ^1.0.0 | auto_approved |
Dev Dependencies (12)
| Package | Constraint | Registry Status |
|---|---|---|
| aud | ^2.0.0 | Not imported |
| nyc | ^10.3.2 | auto_approved |
| tape | ^5.5.3 | auto_approved |
| eslint | =8.8.0 | auto_approved |
| evalmd | ^0.0.19 | Not imported |
| for-each | ^0.3.3 | auto_approved |
| in-publish | ^2.0.1 | auto_approved |
| auto-changelog | ^2.4.0 | pending |
| object-inspect | ^1.12.0 | auto_approved |
| es-value-fixtures | ^1.2.1 | Not imported |
| safe-publish-latest | ^2.0.0 | auto_approved |
| @ljharb/eslint-config | ^21.0.0 | pending |
Transitive Dependency Tree
5 transitive deps
max depth 2
├─
functions-have-names
^1.2.2
→ 1.2.3
├─
has
^1.0.3
→ 1.0.4
├─
has-property-descriptors
^1.0.0
→ 1.0.2
├─
isarray
^2.0.5
→ 2.0.5
├─
es-define-property
^1.0.0
→ 1.0.1
Commit: e373797d1483 Browse source
Published to npm: