Add sinon package for mocking
This commit is contained in:
parent
43c1bea680
commit
b0af5695e6
191 changed files with 85298 additions and 0 deletions
108
node_modules/nise/package.json
generated
vendored
Normal file
108
node_modules/nise/package.json
generated
vendored
Normal file
|
|
@ -0,0 +1,108 @@
|
|||
{
|
||||
"_from": "nise@^4.0.1",
|
||||
"_id": "nise@4.0.3",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha512-EGlhjm7/4KvmmE6B/UFsKh7eHykRl9VH+au8dduHLCyWUO/hr7+N+WtTvDUwc9zHuM1IaIJs/0lQ6Ag1jDkQSg==",
|
||||
"_location": "/nise",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "range",
|
||||
"registry": true,
|
||||
"raw": "nise@^4.0.1",
|
||||
"name": "nise",
|
||||
"escapedName": "nise",
|
||||
"rawSpec": "^4.0.1",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "^4.0.1"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/sinon"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/nise/-/nise-4.0.3.tgz",
|
||||
"_shasum": "9f79ff02fa002ed5ffbc538ad58518fa011dc913",
|
||||
"_spec": "nise@^4.0.1",
|
||||
"_where": "/Users/sam/code/codeql-action/node_modules/sinon",
|
||||
"author": "",
|
||||
"browser": {
|
||||
"jsdom": false,
|
||||
"jsdom-global": false
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/sinonjs/nise/issues"
|
||||
},
|
||||
"bundleDependencies": false,
|
||||
"dependencies": {
|
||||
"@sinonjs/commons": "^1.7.0",
|
||||
"@sinonjs/fake-timers": "^6.0.0",
|
||||
"@sinonjs/text-encoding": "^0.7.1",
|
||||
"just-extend": "^4.0.2",
|
||||
"path-to-regexp": "^1.7.0"
|
||||
},
|
||||
"deprecated": false,
|
||||
"description": "Fake XHR and server",
|
||||
"devDependencies": {
|
||||
"@sinonjs/referee": "^4.0.0",
|
||||
"browserify": "^16.2.3",
|
||||
"eslint": "^6.1.0",
|
||||
"eslint-config-prettier": "^6.9.0",
|
||||
"eslint-config-sinon": "^3.0.1",
|
||||
"eslint-plugin-ie11": "1.0.0",
|
||||
"eslint-plugin-mocha": "^6.1.1",
|
||||
"eslint-plugin-prettier": "^3.1.2",
|
||||
"husky": "^4.2.1",
|
||||
"jsdom": "^15.1.1",
|
||||
"jsdom-global": "3.0.2",
|
||||
"mocha": "^7.0.1",
|
||||
"mochify": "^6.6.0",
|
||||
"nyc": "^15.0.0",
|
||||
"prettier": "^1.19.1",
|
||||
"proxyquire": "^2.1.3",
|
||||
"proxyquire-universal": "^2.1.0",
|
||||
"proxyquireify": "^3.2.1",
|
||||
"sinon": "^9.0.0"
|
||||
},
|
||||
"files": [
|
||||
"nise.js",
|
||||
"lib/**/*.js"
|
||||
],
|
||||
"homepage": "https://github.com/sinonjs/nise#readme",
|
||||
"husky": {
|
||||
"hooks": {
|
||||
"pre-commit": "npm run lint -- --fix && npm run test",
|
||||
"pre-push": "npm run lint && npm run test"
|
||||
}
|
||||
},
|
||||
"keywords": [
|
||||
"test",
|
||||
"testing",
|
||||
"fake",
|
||||
"mock",
|
||||
"xhr",
|
||||
"server"
|
||||
],
|
||||
"license": "BSD-3-Clause",
|
||||
"main": "lib/index.js",
|
||||
"module": "nise.js",
|
||||
"name": "nise",
|
||||
"nyc": {
|
||||
"exclude": [
|
||||
"nise.js",
|
||||
"coverage/**",
|
||||
"**/*.test.js"
|
||||
]
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+ssh://git@github.com/sinonjs/nise.git"
|
||||
},
|
||||
"scripts": {
|
||||
"bundle": "browserify --no-detect-globals -s nise -o nise.js lib/index.js",
|
||||
"lint": "eslint .",
|
||||
"prepublish": "npm run bundle",
|
||||
"prepublishOnly": "mkdocs gh-deploy -r upstream || mkdocs gh-deploy -r origin",
|
||||
"test": "mocha lib/**/*.test.js",
|
||||
"test:coverage": "nyc --reporter=lcov --reporter=text --all npm test -- --reporter dot",
|
||||
"test:headless": "mochify --https-server --plugin [ proxyquire-universal ] --no-detect-globals test/global-hack.js lib/**/*.test.js"
|
||||
},
|
||||
"version": "4.0.3"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue