sinon @21.1.1
BSD-3-Clause
License
No
Install Scripts
5
Dependencies
26
Dev Dependencies
480.0 KB
Package Size
Published
JavaScript test spies, stubs and mocks.
Maintainers
fatso83cjohansenmantonimrgnrdrck
Keywords
sinontesttestingunitstubspyfaketimeclockmockxhrassert
Dependencies (5)
| Package | Constraint | Registry Status |
|---|---|---|
| diff | ^8.0.4 | auto_approved |
| npm-run-all | ^4.1.5 | auto_approved |
| @sinonjs/samsam | ^10.0.1 | auto_approved |
| @sinonjs/commons | ^3.0.1 | auto_approved |
| @sinonjs/fake-timers | ^15.3.1 | auto_approved |
Dev Dependencies (26)
| Package | Constraint | Registry Status |
|---|---|---|
| nyc | ^18.0.0 | auto_approved |
| knip | ^6.3.1 | auto_approved |
| debug | ^4.4.3 | auto_approved |
| mocha | ^11.7.5 | auto_approved |
| rimraf | ^6.1.3 | auto_approved |
| rollup | ^4.60.1 | auto_approved |
| semver | ^7.7.4 | auto_approved |
| esbuild | ^0.28.0 | auto_approved |
| js-yaml | ^4.1.1 | auto_approved |
| shelljs | ^0.10.0 | auto_approved |
| prettier | ^3.8.2 | auto_approved |
| get-stdin | ^10.0.0 | auto_approved |
| puppeteer | ^24.40.0 | needs_review |
| lint-staged | ^16.4.0 | auto_approved |
| @mochify/cli | ^1.0.0 | Not imported |
| @studio/changes | ^3.0.0 | Not imported |
| @sinonjs/referee | ^11.0.1 | Not imported |
| @rollup/plugin-json | ^6.1.0 | auto_approved |
| @sinonjs/eslint-config | ^6.0.0 | Not imported |
| @rollup/plugin-commonjs | ^29.0.2 | auto_approved |
| esbuild-plugin-istanbul | ^0.3.0 | Not imported |
| @mochify/driver-puppeteer | ^1.0.1 | Not imported |
| @mochify/driver-webdriver | ^1.0.0 | Not imported |
| esbuild-plugin-umd-wrapper | ^3.0.0 | Not imported |
| @rollup/plugin-node-resolve | ^16.0.3 | auto_approved |
| @sinonjs/eslint-plugin-no-prototype-methods | ^0.1.1 | Not imported |
Transitive Dependency Tree
122 transitive deps
max depth 10
├─
@sinonjs/commons
^3.0.1
→ 3.0.1
├─
@sinonjs/fake-timers
^15.3.1
→ 15.3.2
├─
@sinonjs/samsam
^10.0.1
→ 10.0.2
├─
diff
^8.0.4
→ 8.0.4
├─
npm-run-all
^4.1.5
→ 4.1.5
├─
@sinonjs/commons
^3.0.1
→ 3.0.1
├─
ansi-styles
^3.2.1
→ 3.2.1
├─
chalk
^2.4.1
→ 2.4.2
├─
cross-spawn
^6.0.5
→ 6.0.6
├─
memorystream
^0.3.1
→ 0.3.1
├─
minimatch
^3.0.4
→ 3.1.5
├─
pidtree
^0.3.0
→ 0.3.1
├─
read-pkg
^3.0.0
→ 3.0.0
├─
shell-quote
^1.6.1
→ 1.8.3
├─
string.prototype.padend
^3.0.0
→ 3.1.6
├─
type-detect
4.0.8
→ 4.0.8
├─
type-detect
^4.1.0
→ 4.1.0
├─
ansi-styles
^3.2.1
→ 3.2.1
├─
brace-expansion
^1.1.7
→ 1.1.14
├─
call-bind
^1.0.7
→ 1.0.9
├─
color-convert
^1.9.0
→ 1.9.3
├─
define-properties
^1.2.1
→ 1.2.1
├─
es-abstract
^1.23.2
→ 1.24.2
├─
es-object-atoms
^1.0.0
→ 1.1.1
├─
escape-string-regexp
^1.0.5
→ 1.0.5
├─
load-json-file
^4.0.0
→ 4.0.0
├─
nice-try
^1.0.4
→ 1.0.5
├─
normalize-package-data
^2.3.2
├─
path-key
^2.0.1
→ 2.0.1
├─
path-type
^3.0.0
→ 3.0.0
├─
semver
^5.5.0
→ 5.7.2
├─
shebang-command
^1.2.0
├─
supports-color
^5.3.0
→ 5.5.0
├─
type-detect
4.0.8
→ 4.0.8
├─
which
^1.2.9
→ 1.3.0
├─
array-buffer-byte-length
^1.0.2
→ 1.0.2
├─
arraybuffer.prototype.slice
^1.0.4
→ 1.0.4
├─
available-typed-arrays
^1.0.7
→ 1.0.7
├─
balanced-match
^1.0.0
→ 1.0.2
├─
call-bind
^1.0.8
→ 1.0.9
├─
call-bind-apply-helpers
^1.0.2
→ 1.0.2
├─
call-bound
^1.0.4
→ 1.0.4
├─
color-convert
^1.9.0
→ 1.9.3
├─
color-name
1.1.3
→ 1.1.3
├─
concat-map
0.0.1
→ 0.0.1
├─
data-view-buffer
^1.0.2
→ 1.0.2
├─
data-view-byte-length
^1.0.2
→ 1.0.2
├─
data-view-byte-offset
^1.0.1
→ 1.0.1
├─
define-data-property
^1.0.1
├─
es-define-property
^1.0.1
→ 1.0.1
├─
es-errors
^1.3.0
→ 1.3.0
├─
es-object-atoms
^1.1.1
→ 1.1.1
├─
es-set-tostringtag
^2.1.0
→ 2.1.0
├─
es-to-primitive
^1.3.0
→ 1.3.0
├─
function.prototype.name
^1.1.8
→ 1.1.8
├─
get-intrinsic
^1.3.0
→ 1.3.1
├─
get-proto
^1.0.1
→ 1.0.1
├─
get-symbol-description
^1.1.0
├─
globalthis
^1.0.4
→ 1.0.4
├─
gopd
^1.2.0
├─
graceful-fs
^4.1.2
→ 4.2.11
├─
has-flag
^3.0.0
→ 3.0.0
├─
has-property-descriptors
^1.0.0
→ 1.0.2
├─
has-property-descriptors
^1.0.2
→ 1.0.2
├─
has-proto
^1.2.0
├─
has-symbols
^1.1.0
→ 1.1.0
├─
hasown
^2.0.2
→ 2.0.3
├─
internal-slot
^1.1.0
├─
is-array-buffer
^3.0.5
├─
is-callable
^1.2.7
→ 1.2.7
├─
is-data-view
^1.0.2
├─
is-negative-zero
^2.0.3
├─
is-regex
^1.2.1
→ 1.2.1
├─
is-set
^2.0.3
├─
is-shared-array-buffer
^1.0.4
├─
is-string
^1.1.1
├─
is-typed-array
^1.1.15
→ 1.1.15
├─
is-weakref
^1.1.1
├─
isexe
^2.0.0
→ 2.0.0
├─
math-intrinsics
^1.1.0
→ 1.1.0
├─
object-inspect
^1.13.4
→ 1.13.4
├─
object-keys
^1.1.1
→ 1.1.1
├─
object.assign
^4.1.7
→ 4.1.7
├─
own-keys
^1.0.1
→ 1.0.1
├─
parse-json
^4.0.0
├─
pify
^3.0.0
→ 3.0.0
├─
regexp.prototype.flags
^1.5.4
→ 1.5.4
├─
safe-array-concat
^1.1.3
├─
safe-push-apply
^1.0.0
├─
safe-regex-test
^1.1.0
→ 1.1.0
├─
set-function-length
^1.2.2
→ 1.2.2
├─
set-proto
^1.0.0
├─
stop-iteration-iterator
^1.1.0
├─
string.prototype.trim
^1.2.10
→ 1.2.10
├─
string.prototype.trimend
^1.0.9
→ 1.0.9
├─
string.prototype.trimstart
^1.0.8
→ 1.0.8
├─
strip-bom
^3.0.0
→ 3.0.0
├─
typed-array-buffer
^1.0.3
→ 1.0.3
├─
typed-array-byte-length
^1.0.3
→ 1.0.3
├─
typed-array-byte-offset
^1.0.4
→ 1.0.4
├─
typed-array-length
^1.0.7
→ 1.0.7
├─
unbox-primitive
^1.1.0
→ 1.1.0
├─
which-typed-array
^1.1.19
→ 1.1.20
├─
array-buffer-byte-length
^1.0.1
→ 1.0.2
├─
async-function
^1.0.0
├─
async-generator-function
^1.0.0
→ 1.0.0
├─
available-typed-arrays
^1.0.7
→ 1.0.7
├─
call-bind
^1.0.7
→ 1.0.9
├─
call-bind
^1.0.8
→ 1.0.9
├─
call-bind-apply-helpers
^1.0.2
→ 1.0.2
├─
call-bound
^1.0.2
→ 1.0.4
├─
call-bound
^1.0.3
→ 1.0.4
├─
call-bound
^1.0.4
→ 1.0.4
├─
color-name
1.1.3
→ 1.1.3
├─
define-data-property
^1.1.4
├─
define-properties
^1.2.1
→ 1.2.1
├─
dunder-proto
^1.0.1
→ 1.0.1
├─
es-define-property
^1.0.0
→ 1.0.1
├─
es-define-property
^1.0.1
→ 1.0.1
├─
es-errors
^1.3.0
→ 1.3.0
├─
es-object-atoms
^1.0.0
→ 1.1.1
├─
es-object-atoms
^1.1.1
→ 1.1.1
├─
for-each
^0.3.3
→ 0.3.5
├─
for-each
^0.3.5
→ 0.3.5
├─
function-bind
^1.1.2
→ 1.1.2
├─
functions-have-names
^1.2.3
├─
generator-function
^2.0.0
→ 2.0.1
├─
get-intrinsic
^1.2.4
→ 1.3.1
├─
get-intrinsic
^1.2.6
→ 1.3.1
├─
get-intrinsic
^1.3.0
→ 1.3.1
├─
get-proto
^1.0.1
→ 1.0.1
├─
get-proto
^1.0.1
├─
gopd
^1.0.1
├─
gopd
^1.2.0
├─
has-bigints
^1.0.2
├─
has-property-descriptors
^1.0.2
→ 1.0.2
├─
has-proto
^1.2.0
→ 1.2.0
├─
has-symbols
^1.1.0
→ 1.1.0
├─
has-tostringtag
^1.0.2
→ 1.0.2
├─
hasown
^2.0.2
→ 2.0.3
├─
is-array-buffer
^3.0.4
├─
is-array-buffer
^3.0.5
├─
is-callable
^1.2.7
→ 1.2.7
├─
is-data-view
^1.0.1
├─
is-data-view
^1.0.2
├─
is-date-object
^1.0.5
├─
is-regex
^1.2.1
→ 1.2.1
├─
is-symbol
^1.0.4
├─
is-typed-array
^1.1.13
→ 1.1.15
├─
is-typed-array
^1.1.14
→ 1.1.15
├─
is-typed-array
^1.1.14
├─
is-typed-array
^1.1.15
→ 1.1.15
├─
math-intrinsics
^1.1.0
→ 1.1.0
├─
object-keys
^1.1.1
→ 1.1.1
├─
possible-typed-array-names
^1.0.0
→ 1.1.0
├─
reflect.getprototypeof
^1.0.6
→ 1.0.10
├─
reflect.getprototypeof
^1.0.9
→ 1.0.10
├─
safe-push-apply
^1.0.0
├─
set-function-length
^1.2.2
→ 1.2.2
├─
set-function-name
^2.0.2
→ 2.0.2
├─
which-boxed-primitive
^1.1.1
→ 1.1.1
├─
which-typed-array
^1.1.16
→ 1.1.20
├─
async-function
^1.0.0
├─
async-generator-function
^1.0.0
→ 1.0.0
├─
available-typed-arrays
^1.0.7
→ 1.0.7
├─
call-bind
^1.0.8
→ 1.0.9
├─
call-bind-apply-helpers
^1.0.1
→ 1.0.2
├─
call-bind-apply-helpers
^1.0.2
→ 1.0.2
├─
call-bound
^1.0.2
→ 1.0.4
├─
call-bound
^1.0.3
→ 1.0.4
├─
call-bound
^1.0.4
→ 1.0.4
├─
define-data-property
^1.0.1
├─
define-data-property
^1.1.4
├─
define-properties
^1.2.1
→ 1.2.1
├─
dunder-proto
^1.0.0
→ 1.0.1
├─
dunder-proto
^1.0.1
→ 1.0.1
├─
es-define-property
^1.0.0
→ 1.0.1
├─
es-define-property
^1.0.1
→ 1.0.1
├─
es-errors
^1.3.0
→ 1.3.0
├─
es-object-atoms
^1.0.0
→ 1.1.1
├─
es-object-atoms
^1.1.1
→ 1.1.1
├─
for-each
^0.3.5
→ 0.3.5
├─
function-bind
^1.1.2
→ 1.1.2
├─
functions-have-names
^1.2.3
→ 1.2.3
├─
generator-function
^2.0.0
→ 2.0.1
├─
get-intrinsic
^1.2.4
→ 1.3.1
├─
get-intrinsic
^1.2.7
→ 1.3.1
├─
get-intrinsic
^1.3.0
→ 1.3.1
├─
get-proto
^1.0.1
→ 1.0.1
├─
get-proto
^1.0.1
├─
gopd
^1.0.1
├─
gopd
^1.2.0
├─
has-property-descriptors
^1.0.0
→ 1.0.2
├─
has-property-descriptors
^1.0.2
→ 1.0.2
├─
has-symbols
^1.0.3
→ 1.1.0
├─
has-symbols
^1.1.0
→ 1.1.0
├─
has-tostringtag
^1.0.2
→ 1.0.2
├─
hasown
^2.0.2
→ 2.0.3
├─
is-array-buffer
^3.0.5
├─
is-bigint
^1.1.0
├─
is-boolean-object
^1.2.1
├─
is-callable
^1.2.7
→ 1.2.7
├─
is-number-object
^1.1.1
├─
is-string
^1.1.1
→ 1.1.1
├─
is-symbol
^1.1.1
→ 1.1.1
├─
math-intrinsics
^1.1.0
→ 1.1.0
├─
object-keys
^1.1.1
→ 1.1.1
├─
possible-typed-array-names
^1.0.0
→ 1.1.0
├─
set-function-length
^1.2.2
→ 1.2.2
├─
which-builtin-type
^1.2.1
→ 1.2.1
├─
which-typed-array
^1.1.16
→ 1.1.20
├─
async-function
^1.0.0
├─
async-generator-function
^1.0.0
→ 1.0.0
├─
available-typed-arrays
^1.0.7
→ 1.0.7
├─
call-bind
^1.0.8
→ 1.0.9
├─
call-bind-apply-helpers
^1.0.1
→ 1.0.2
├─
call-bind-apply-helpers
^1.0.2
→ 1.0.2
├─
call-bound
^1.0.2
→ 1.0.4
├─
call-bound
^1.0.3
→ 1.0.4
├─
call-bound
^1.0.4
→ 1.0.4
├─
define-data-property
^1.0.1
├─
define-data-property
^1.1.4
├─
dunder-proto
^1.0.1
→ 1.0.1
├─
es-define-property
^1.0.0
→ 1.0.1
├─
es-define-property
^1.0.1
→ 1.0.1
├─
es-errors
^1.3.0
→ 1.3.0
├─
es-object-atoms
^1.0.0
→ 1.1.1
├─
es-object-atoms
^1.1.1
→ 1.1.1
├─
for-each
^0.3.5
→ 0.3.5
├─
function-bind
^1.1.2
→ 1.1.2
├─
function.prototype.name
^1.1.6
→ 1.1.8
├─
generator-function
^2.0.0
→ 2.0.1
├─
get-intrinsic
^1.2.4
→ 1.3.1
├─
get-intrinsic
^1.3.0
→ 1.3.1
├─
get-proto
^1.0.1
→ 1.0.1
├─
get-proto
^1.0.1
├─
gopd
^1.0.1
├─
gopd
^1.2.0
├─
has-property-descriptors
^1.0.0
→ 1.0.2
├─
has-property-descriptors
^1.0.2
→ 1.0.2
├─
has-symbols
^1.0.3
→ 1.1.0
├─
has-symbols
^1.1.0
→ 1.1.0
├─
has-tostringtag
^1.0.2
→ 1.0.2
├─
hasown
^2.0.2
→ 2.0.3
├─
is-async-function
^2.0.0
→ 2.1.1
├─
is-callable
^1.2.7
→ 1.2.7
├─
is-date-object
^1.1.0
→ 1.1.0
├─
is-finalizationregistry
^1.1.0
├─
is-generator-function
^1.0.10
→ 1.1.2
├─
is-regex
^1.2.1
→ 1.2.1
├─
is-weakref
^1.0.2
→ 1.1.1
├─
isarray
^2.0.5
→ 2.0.5
├─
math-intrinsics
^1.1.0
→ 1.1.0
├─
object-keys
^1.1.1
→ 1.1.1
├─
possible-typed-array-names
^1.0.0
→ 1.1.0
├─
safe-regex-test
^1.1.0
→ 1.1.0
├─
set-function-length
^1.2.2
→ 1.2.2
├─
which-boxed-primitive
^1.1.0
→ 1.1.1
├─
which-collection
^1.0.2
→ 1.0.2
├─
which-typed-array
^1.1.16
→ 1.1.20
├─
async-function
^1.0.0
├─
async-generator-function
^1.0.0
→ 1.0.0
├─
available-typed-arrays
^1.0.7
→ 1.0.7
├─
call-bind
^1.0.8
→ 1.0.9
├─
call-bind-apply-helpers
^1.0.1
→ 1.0.2
├─
call-bind-apply-helpers
^1.0.2
→ 1.0.2
├─
call-bound
^1.0.2
→ 1.0.4
├─
call-bound
^1.0.3
→ 1.0.4
├─
call-bound
^1.0.4
→ 1.0.4
├─
define-data-property
^1.1.4
├─
define-properties
^1.2.1
→ 1.2.1
├─
dunder-proto
^1.0.1
→ 1.0.1
├─
es-define-property
^1.0.0
→ 1.0.1
├─
es-define-property
^1.0.1
→ 1.0.1
├─
es-errors
^1.3.0
→ 1.3.0
├─
es-object-atoms
^1.0.0
→ 1.1.1
├─
es-object-atoms
^1.1.1
→ 1.1.1
├─
for-each
^0.3.5
→ 0.3.5
├─
function-bind
^1.1.2
→ 1.1.2
├─
functions-have-names
^1.2.3
├─
generator-function
^2.0.0
→ 2.0.1
├─
get-intrinsic
^1.2.4
→ 1.3.1
├─
get-intrinsic
^1.3.0
→ 1.3.1
├─
get-proto
^1.0.1
→ 1.0.1
├─
get-proto
^1.0.1
├─
gopd
^1.0.1
├─
gopd
^1.2.0
├─
has-property-descriptors
^1.0.2
→ 1.0.2
├─
has-symbols
^1.0.3
→ 1.1.0
├─
has-symbols
^1.1.0
→ 1.1.0
├─
has-tostringtag
^1.0.2
→ 1.0.2
├─
hasown
^2.0.2
→ 2.0.3
├─
is-bigint
^1.1.0
├─
is-boolean-object
^1.2.1
├─
is-callable
^1.2.7
→ 1.2.7
├─
is-map
^2.0.3
├─
is-number-object
^1.1.1
├─
is-regex
^1.2.1
→ 1.2.1
├─
is-set
^2.0.3
→ 2.0.3
├─
is-string
^1.1.1
→ 1.1.1
├─
is-symbol
^1.1.1
→ 1.1.1
├─
is-weakmap
^2.0.2
├─
is-weakset
^2.0.3
├─
math-intrinsics
^1.1.0
→ 1.1.0
├─
possible-typed-array-names
^1.0.0
→ 1.1.0
├─
safe-regex-test
^1.1.0
→ 1.1.0
├─
set-function-length
^1.2.2
→ 1.2.2
├─
async-function
^1.0.0
├─
async-generator-function
^1.0.0
→ 1.0.0
├─
call-bind-apply-helpers
^1.0.1
→ 1.0.2
├─
call-bind-apply-helpers
^1.0.2
→ 1.0.2
├─
call-bound
^1.0.2
→ 1.0.4
├─
call-bound
^1.0.3
→ 1.0.4
├─
define-data-property
^1.0.1
├─
define-data-property
^1.1.4
├─
dunder-proto
^1.0.1
→ 1.0.1
├─
es-define-property
^1.0.0
→ 1.0.1
├─
es-define-property
^1.0.1
→ 1.0.1
├─
es-errors
^1.3.0
→ 1.3.0
├─
es-object-atoms
^1.0.0
→ 1.1.1
├─
es-object-atoms
^1.1.1
→ 1.1.1
├─
function-bind
^1.1.2
→ 1.1.2
├─
generator-function
^2.0.0
→ 2.0.1
├─
get-intrinsic
^1.2.4
→ 1.3.1
├─
get-intrinsic
^1.3.0
→ 1.3.1
├─
get-proto
^1.0.1
├─
gopd
^1.0.1
├─
gopd
^1.2.0
├─
has-property-descriptors
^1.0.0
→ 1.0.2
├─
has-property-descriptors
^1.0.2
→ 1.0.2
├─
has-symbols
^1.0.3
→ 1.1.0
├─
has-symbols
^1.1.0
→ 1.1.0
├─
has-tostringtag
^1.0.2
→ 1.0.2
├─
hasown
^2.0.2
→ 2.0.3
├─
is-callable
^1.2.7
→ 1.2.7
├─
is-regex
^1.2.1
→ 1.2.1
├─
math-intrinsics
^1.1.0
→ 1.1.0
├─
object-keys
^1.1.1
→ 1.1.1
├─
possible-typed-array-names
^1.0.0
→ 1.1.0
├─
safe-regex-test
^1.1.0
→ 1.1.0
├─
set-function-length
^1.2.2
→ 1.2.2
├─
async-function
^1.0.0
├─
async-generator-function
^1.0.0
→ 1.0.0
├─
call-bind-apply-helpers
^1.0.1
→ 1.0.2
├─
call-bind-apply-helpers
^1.0.2
→ 1.0.2
├─
call-bound
^1.0.2
→ 1.0.4
├─
define-data-property
^1.1.4
├─
es-define-property
^1.0.0
→ 1.0.1
├─
es-define-property
^1.0.1
→ 1.0.1
├─
es-errors
^1.3.0
→ 1.3.0
├─
es-object-atoms
^1.1.1
→ 1.1.1
├─
function-bind
^1.1.2
→ 1.1.2
├─
generator-function
^2.0.0
→ 2.0.1
├─
get-intrinsic
^1.2.4
→ 1.3.1
├─
get-intrinsic
^1.3.0
→ 1.3.1
├─
get-proto
^1.0.1
├─
gopd
^1.0.1
├─
gopd
^1.2.0
├─
has-property-descriptors
^1.0.2
→ 1.0.2
├─
has-symbols
^1.0.3
→ 1.1.0
├─
has-symbols
^1.1.0
→ 1.1.0
├─
has-tostringtag
^1.0.2
→ 1.0.2
├─
hasown
^2.0.2
→ 2.0.3
├─
is-regex
^1.2.1
→ 1.2.1
├─
math-intrinsics
^1.1.0
→ 1.1.0
Changes from v21.1.0
Dependency Changes
| Change | Package | Version |
|---|---|---|
| added | npm-run-all | ^4.1.5 |
| removed | supports-color | ^10.2.2 |
| changed | @sinonjs/samsam | ^10.0.0 → ^10.0.1 |
| changed | @sinonjs/fake-timers | ^15.3.0 → ^15.3.1 |
Script Changes
+ pretest-contractFile Changes
3 added
0 removed
5 modified
size delta: -3.1 KB
Commit: 40f9d6b735d7 Browse source
Published to npm: