Update checked-in dependencies

This commit is contained in:
github-actions[bot] 2024-09-16 17:29:58 +00:00
parent 1afca056e3
commit 6989ba7bd2
3942 changed files with 55190 additions and 132206 deletions

2
node_modules/nise/README.md generated vendored
View file

@ -78,6 +78,6 @@ Become a sponsor and get your logo on our README on GitHub with a link to your s
<a href="https://opencollective.com/sinon/sponsor/28/website" target="_blank"><img src="https://opencollective.com/sinon/sponsor/28/avatar.svg"></a>
<a href="https://opencollective.com/sinon/sponsor/29/website" target="_blank"><img src="https://opencollective.com/sinon/sponsor/29/avatar.svg"></a>
## Licence
## License
nise was released under [BSD-3](LICENSE)

View file

@ -150,7 +150,6 @@ var fakeServer = {
fakeHTTPMethods: true,
logger: true,
unsafeHeadersEnabled: true,
legacyRoutes: true,
};
// eslint-disable-next-line no-param-reassign
@ -214,8 +213,6 @@ var fakeServer = {
log: log,
legacyRoutes: true,
respondWith: function respondWith(method, url, body) {
if (arguments.length === 1 && typeof method !== "function") {
this.response = responseArray(method);
@ -250,22 +247,18 @@ var fakeServer = {
url = url.replace("://", "\\://");
}
if (/\*/.test(url)) {
// Uses the new syntax for repeating parameters in path-to-regexp,
// see https://github.com/pillarjs/path-to-regexp#unexpected--or-
// eslint-disable-next-line no-param-reassign
url = url.replace(/\/\*/g, "/(.*)");
}
if (this.legacyRoutes) {
if (url.includes("?")) {
// eslint-disable-next-line no-param-reassign
url = url.replace("?", "\\?");
}
url = url.replace(/\/\*/g, "/*path");
}
}
push.call(this.responses, {
method: method,
url:
typeof url === "string" && url !== "" ? pathToRegexp(url) : url,
typeof url === "string" && url !== ""
? pathToRegexp(url).regexp
: url,
response: typeof body === "function" ? body : responseArray(body),
});
},

1666
node_modules/nise/nise.js generated vendored

File diff suppressed because it is too large Load diff

30
node_modules/nise/package.json generated vendored
View file

@ -1,6 +1,6 @@
{
"name": "nise",
"version": "6.0.0",
"version": "6.1.1",
"description": "Fake XHR and server",
"keywords": [
"test",
@ -17,12 +17,12 @@
"main": "lib/index.js",
"module": "nise.js",
"scripts": {
"bundle": "browserify --no-detect-globals -s nise -o nise.js lib/index.js",
"bundle": "browserify -x timers -x timers/promises --no-detect-globals -s nise -o nise.js lib/index.js",
"lint": "eslint --max-warnings 35 .",
"prettier:check": "prettier --check '**/*.{js,css,md}'",
"prettier:write": "prettier --write '**/*.{js,css,md}'",
"prepare": "npm run bundle",
"prepublishOnly": "mkdocs gh-deploy -r upstream || mkdocs gh-deploy -r origin",
"prepublishOnly": "git pull && 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"
@ -46,28 +46,28 @@
"!lib/**/*.test.js"
],
"devDependencies": {
"@sinonjs/eslint-config": "^5.0.2",
"@sinonjs/referee": "^11.0.0",
"@sinonjs/eslint-config": "^5.0.3",
"@sinonjs/referee": "^11.0.1",
"browserify": "^16.5.2",
"husky": "^4.3.8",
"jsdom": "^23",
"jsdom": "^25",
"jsdom-global": "3.0.2",
"lint-staged": "^15.2.0",
"mocha": "^10.2.0",
"lint-staged": "^15.2.10",
"mocha": "^10.7.3",
"mochify": "^9.2.0",
"nyc": "^15.1.0",
"prettier": "^3.1.1",
"nyc": "^17.0.0",
"prettier": "^3.3.3",
"proxyquire": "^2.1.3",
"proxyquire-universal": "^3.0.1",
"proxyquireify": "^3.2.1",
"sinon": ">=17"
"sinon": ">=18"
},
"dependencies": {
"@sinonjs/commons": "^3.0.0",
"@sinonjs/fake-timers": "^11.2.2",
"@sinonjs/text-encoding": "^0.7.2",
"@sinonjs/commons": "^3.0.1",
"@sinonjs/fake-timers": "^13.0.1",
"@sinonjs/text-encoding": "^0.7.3",
"just-extend": "^6.2.0",
"path-to-regexp": "^6.2.1"
"path-to-regexp": "^8.1.0"
},
"lint-staged": {
"*.{js,css,md}": "prettier --check",