{"name":"sinon","description":"JavaScript test spies, stubs and mocks.","keywords":["sinon","test","testing","unit","stub","spy","fake","time","clock","mock","xhr","assert"],"version":"12.0.1","homepage":"https://sinonjs.org/","author":{"name":"Christian Johansen"},"repository":{"type":"git","url":"git+ssh://git@github.com/sinonjs/sinon.git"},"bugs":{"url":"http://github.com/sinonjs/sinon/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/sinon"},"license":"BSD-3-Clause","scripts":{"test-node":"mocha --recursive -R dot \"test/**/*-test.js\"","test-dev":"npm run test-node -- --watch -R min","test-headless":"mochify --no-detect-globals --recursive -R dot --grep WebWorker --invert --plugin [ proxyquire-universal ] \"test/**/*-test.js\"","test-coverage":"nyc npm run test-headless -- --transform [ babelify --ignore [ test ] --plugins [ babel-plugin-istanbul ] ]","test-cloud":"npm run test-headless -- --wd","test-webworker":"mochify --no-detect-globals --https-server 8080 --no-request-interception test/webworker/webworker-support-assessment.js","test-esm":"mocha -r esm test/es2015/module-support-assessment-test.es6","test-esm-bundle":"node test/es2015/check-esm-bundle-is-runnable.js","test-docker-image":"docker-compose up","test-runnable-examples":"docs/release-source/release/examples/run-test.sh","test":"npm run test-node && npm run test-headless && npm run test-webworker && npm run test-esm","check-dependencies":"dependency-check package.json --no-dev --ignore-module esm","build":"node ./build.cjs","build-docs":"cd docs; bundle exec jekyll build","serve-docs":"cd docs; bundle exec jekyll serve --incremental --verbose","lint":"eslint '**/*.{js,cjs,mjs}'","pretest-webworker":"npm run build","prebuild":"rimraf pkg && npm run check-dependencies","postbuild":"npm run test-esm-bundle","prebuild-docs":"./scripts/update-compatibility.js","prepublishOnly":"npm run build","prettier:check":"prettier --check '**/*.{js,css,md}'","prettier:write":"prettier --write '**/*.{js,css,md}'","preversion":"./scripts/preversion.sh","version":"changes --commits --footer","postversion":"./scripts/postversion.sh"},"nyc":{"instrument":false,"temp-dir":"coverage/.nyc_output","reporter":["text","lcovonly"]},"lint-staged":{"*.{js,css,md}":"prettier --check","*.js":"eslint --quiet","*.mjs":"eslint --quiet --ext mjs --parser-options=sourceType:module"},"dependencies":{"@sinonjs/commons":"^1.8.3","@sinonjs/fake-timers":"^8.1.0","@sinonjs/samsam":"^6.0.2","diff":"^5.0.0","nise":"^5.1.0","supports-color":"^7.2.0"},"devDependencies":{"@babel/core":"^7.14.3","@sinonjs/eslint-config":"^4.0.2","@sinonjs/eslint-plugin-no-prototype-methods":"^0.1.1","@sinonjs/referee":"^8.0.2","@studio/changes":"^2.2.0","babel-plugin-istanbul":"^6.0.0","babelify":"^10.0.0","browserify":"^16.5.2","debug":"^4.3.1","dependency-check":"^4.1.0","esm":"^3.2.25","husky":"^6.0.0","lint-staged":"^11.0.0","mocha":"^8.4.0","mochify":"^7.1.1","nyc":"^15.1.0","prettier":"^2.3.0","proxyquire":"^2.1.3","proxyquire-universal":"^3.0.1","proxyquireify":"^3.2.1","puppeteer":"^9.1.1","rimraf":"^3.0.2","shelljs":"^0.8.4"},"browser":"./lib/sinon.js","main":"./lib/sinon.js","module":"./pkg/sinon-esm.js","exports":{"require":"./lib/sinon.js","import":"./pkg/sinon-esm.js"},"type":"module","cdn":"./pkg/sinon.js","jsdelivr":"./pkg/sinon.js","esm":{"cjs":{"mutableNamespace":false,"cache":true},"mode":"auto"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"gitHead":"c8987c875cb2d7b3aed407bfa9c28c5dffded79f","_id":"sinon@12.0.1","_nodeVersion":"15.14.0","_npmVersion":"7.7.6","dist":{"shasum":"331eef87298752e1b88a662b699f98e403c859e9","size":1358785,"noattachment":false,"tarball":"https://registry.npmmirror.com/sinon/-/sinon-12.0.1.tgz","integrity":"sha512-iGu29Xhym33ydkAT+aNQFBINakjq69kKO6ByPvTsm3yyIACfyQttRTP03aBP/I8GfhFmLzrnKwNNkr0ORb1udg=="},"_npmUser":{"name":"fatso83","email":"carlerik@gmail.com"},"directories":{},"maintainers":[{"name":"fatso83","email":"carlerik@gmail.com"},{"name":"cjohansen","email":"christian@cjohansen.no"},{"name":"mantoni","email":"mail@maxantoni.de"},{"name":"mrgnrdrck","email":"morgan@roderick.dk"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sinon_12.0.1_1636038926617_0.7307708631629082"},"_hasShrinkwrap":false,"publish_time":1636038926823,"_cnpm_publish_time":1636038926823,"_cnpmcore_publish_time":"2021-12-13T10:03:02.501Z","deprecated":"16.1.1","readme":"
\n Standalone and test framework agnostic JavaScript test spies, stubs and mocks (pronounced \"sigh-non\", named after Sinon, the warrior).\n
\n\n\n\n\n\n## Compatibility\n\nFor details on compatibility and browser support, please see [`COMPATIBILITY.md`](COMPATIBILITY.md)\n\n## Installation\n\nvia [npm](https://github.com/npm/npm)\n\n $ npm install sinon\n\nor via sinon's browser builds available for download on the [homepage](https://sinonjs.org/releases/). There are also [npm based CDNs](https://sinonjs.org/releases#npm-cdns) one can use.\n\n## Usage\n\nSee the [sinon project homepage](https://sinonjs.org/) for documentation on usage.\n\nIf you have questions that are not covered by the documentation, you can [check out the `sinon` tag on Stack Overflow](https://stackoverflow.com/questions/tagged/sinon) or drop by #sinon.js on irc.freenode.net:6667.\n\nYou can also search through the [Sinon.JS mailing list archives](http://groups.google.com/group/sinonjs).\n\n## Goals\n\n- No global pollution\n- Easy to use\n- Require minimal “integration”\n- Easy to embed seamlessly with any testing framework\n- Easily fake any interface\n- Ship with ready-to-use fakes for XMLHttpRequest, timers and more\n\n## Contribute?\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md) for details on how you can contribute to Sinon.JS\n\n## Backers\n\nSupport us with a monthly donation and help us continue our activities. [[Become a backer](https://opencollective.com/sinon#backer)]\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n## Sponsors\n\nBecome a sponsor and get your logo on our README on GitHub with a link to your site. [[Become a sponsor](https://opencollective.com/sinon#sponsor)]\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n## Licence\n\nSinon.js was released under [BSD-3](LICENSE)\n"}