@st-gr/sail-proxy 0.9.2 → 0.9.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundled/gateway/node_modules/.package-lock.json +132 -83
- package/bundled/gateway/node_modules/axios/CHANGELOG.md +0 -42
- package/bundled/gateway/node_modules/axios/README.md +237 -237
- package/bundled/gateway/node_modules/axios/dist/axios.js +21 -113
- package/bundled/gateway/node_modules/axios/dist/axios.js.map +1 -0
- package/bundled/gateway/node_modules/axios/dist/axios.min.js +2 -2
- package/bundled/gateway/node_modules/axios/dist/axios.min.js.map +1 -1
- package/bundled/gateway/node_modules/axios/dist/browser/axios.cjs +15 -121
- package/bundled/gateway/node_modules/axios/dist/browser/axios.cjs.map +1 -0
- package/bundled/gateway/node_modules/axios/dist/esm/axios.js +15 -121
- package/bundled/gateway/node_modules/axios/dist/esm/axios.js.map +1 -0
- package/bundled/gateway/node_modules/axios/dist/esm/axios.min.js +2 -2
- package/bundled/gateway/node_modules/axios/dist/esm/axios.min.js.map +1 -1
- package/bundled/gateway/node_modules/axios/dist/node/axios.cjs +107 -249
- package/bundled/gateway/node_modules/axios/dist/node/axios.cjs.map +1 -0
- package/bundled/gateway/node_modules/axios/index.d.cts +3 -8
- package/bundled/gateway/node_modules/axios/index.d.ts +1 -4
- package/bundled/gateway/node_modules/axios/lib/adapters/fetch.js +0 -79
- package/bundled/gateway/node_modules/axios/lib/adapters/http.js +118 -62
- package/bundled/gateway/node_modules/axios/lib/core/Axios.js +0 -1
- package/bundled/gateway/node_modules/axios/lib/core/AxiosHeaders.js +2 -2
- package/bundled/gateway/node_modules/axios/lib/defaults/transitional.js +0 -1
- package/bundled/gateway/node_modules/axios/lib/env/data.js +1 -1
- package/bundled/gateway/node_modules/axios/lib/helpers/buildURL.js +1 -1
- package/bundled/gateway/node_modules/axios/lib/helpers/formDataToStream.js +2 -2
- package/bundled/gateway/node_modules/axios/lib/helpers/resolveConfig.js +6 -12
- package/bundled/gateway/node_modules/axios/lib/helpers/toFormData.js +1 -1
- package/bundled/gateway/node_modules/axios/lib/utils.js +2 -23
- package/bundled/gateway/node_modules/axios/package.json +13 -29
- package/bundled/gateway/node_modules/body-parser/HISTORY.md +0 -14
- package/bundled/gateway/node_modules/body-parser/SECURITY.md +25 -0
- package/bundled/gateway/node_modules/body-parser/lib/types/json.js +5 -1
- package/bundled/gateway/node_modules/body-parser/lib/types/urlencoded.js +15 -7
- package/bundled/gateway/node_modules/body-parser/node_modules/qs/.editorconfig +46 -0
- package/bundled/gateway/node_modules/body-parser/node_modules/qs/.eslintrc +38 -0
- package/bundled/gateway/node_modules/body-parser/node_modules/qs/.github/FUNDING.yml +12 -0
- package/bundled/gateway/node_modules/body-parser/node_modules/qs/.nycrc +13 -0
- package/bundled/gateway/node_modules/body-parser/node_modules/qs/CHANGELOG.md +600 -0
- package/bundled/gateway/node_modules/body-parser/node_modules/qs/LICENSE.md +29 -0
- package/bundled/gateway/node_modules/body-parser/node_modules/qs/README.md +709 -0
- package/bundled/gateway/node_modules/body-parser/node_modules/qs/dist/qs.js +90 -0
- package/bundled/gateway/node_modules/body-parser/node_modules/qs/lib/formats.js +23 -0
- package/bundled/gateway/node_modules/body-parser/node_modules/qs/lib/index.js +11 -0
- package/bundled/gateway/node_modules/body-parser/node_modules/qs/lib/parse.js +296 -0
- package/bundled/gateway/node_modules/body-parser/node_modules/qs/lib/stringify.js +351 -0
- package/bundled/gateway/node_modules/body-parser/node_modules/qs/lib/utils.js +265 -0
- package/bundled/gateway/node_modules/body-parser/node_modules/qs/package.json +91 -0
- package/bundled/gateway/node_modules/body-parser/node_modules/qs/test/empty-keys-cases.js +267 -0
- package/bundled/gateway/node_modules/body-parser/node_modules/qs/test/parse.js +1170 -0
- package/bundled/gateway/node_modules/body-parser/node_modules/qs/test/stringify.js +1298 -0
- package/bundled/gateway/node_modules/body-parser/node_modules/qs/test/utils.js +136 -0
- package/bundled/gateway/node_modules/body-parser/package.json +10 -9
- package/bundled/gateway/node_modules/cookie/index.js +35 -24
- package/bundled/gateway/node_modules/cookie/package.json +1 -1
- package/bundled/gateway/node_modules/cookie-signature/History.md +1 -5
- package/bundled/gateway/node_modules/cookie-signature/index.js +6 -6
- package/bundled/gateway/node_modules/cookie-signature/package.json +2 -2
- package/bundled/gateway/node_modules/express/History.md +0 -43
- package/bundled/gateway/node_modules/express/lib/response.js +0 -1
- package/bundled/gateway/node_modules/express/lib/utils.js +1 -2
- package/bundled/gateway/node_modules/express/node_modules/qs/.editorconfig +43 -0
- package/bundled/gateway/node_modules/express/node_modules/qs/.eslintrc +38 -0
- package/bundled/gateway/node_modules/express/node_modules/qs/.github/FUNDING.yml +12 -0
- package/bundled/gateway/node_modules/express/node_modules/qs/.nycrc +13 -0
- package/bundled/gateway/node_modules/express/node_modules/qs/CHANGELOG.md +546 -0
- package/bundled/gateway/node_modules/express/node_modules/qs/LICENSE.md +29 -0
- package/bundled/gateway/node_modules/express/node_modules/qs/README.md +625 -0
- package/bundled/gateway/node_modules/express/node_modules/qs/dist/qs.js +2054 -0
- package/bundled/gateway/node_modules/express/node_modules/qs/lib/formats.js +23 -0
- package/bundled/gateway/node_modules/express/node_modules/qs/lib/index.js +11 -0
- package/bundled/gateway/node_modules/express/node_modules/qs/lib/parse.js +263 -0
- package/bundled/gateway/node_modules/express/node_modules/qs/lib/stringify.js +326 -0
- package/bundled/gateway/node_modules/express/node_modules/qs/lib/utils.js +252 -0
- package/bundled/gateway/node_modules/express/node_modules/qs/package.json +77 -0
- package/bundled/gateway/node_modules/express/node_modules/qs/test/parse.js +855 -0
- package/bundled/gateway/node_modules/express/node_modules/qs/test/stringify.js +909 -0
- package/bundled/gateway/node_modules/express/node_modules/qs/test/utils.js +136 -0
- package/bundled/gateway/node_modules/express/package.json +17 -21
- package/bundled/gateway/node_modules/finalhandler/HISTORY.md +0 -21
- package/bundled/gateway/node_modules/finalhandler/README.md +2 -2
- package/bundled/gateway/node_modules/finalhandler/index.js +2 -7
- package/bundled/gateway/node_modules/finalhandler/node_modules/encodeurl/HISTORY.md +14 -0
- package/bundled/gateway/node_modules/finalhandler/node_modules/encodeurl/LICENSE +22 -0
- package/bundled/gateway/node_modules/finalhandler/node_modules/encodeurl/README.md +128 -0
- package/bundled/gateway/node_modules/finalhandler/node_modules/encodeurl/index.js +60 -0
- package/bundled/gateway/node_modules/finalhandler/node_modules/encodeurl/package.json +40 -0
- package/bundled/gateway/node_modules/finalhandler/package.json +9 -10
- package/bundled/gateway/node_modules/http-errors/HISTORY.md +0 -6
- package/bundled/gateway/node_modules/http-errors/index.js +3 -4
- package/bundled/gateway/node_modules/http-errors/package.json +8 -12
- package/bundled/gateway/node_modules/qs/CHANGELOG.md +0 -16
- package/bundled/gateway/node_modules/qs/README.md +1 -1
- package/bundled/gateway/node_modules/qs/dist/qs.js +15 -15
- package/bundled/gateway/node_modules/qs/eslint.config.mjs +0 -1
- package/bundled/gateway/node_modules/qs/lib/parse.js +24 -54
- package/bundled/gateway/node_modules/qs/lib/stringify.js +4 -11
- package/bundled/gateway/node_modules/qs/package.json +3 -3
- package/bundled/gateway/node_modules/qs/test/parse.js +0 -135
- package/bundled/gateway/node_modules/qs/test/stringify.js +0 -138
- package/bundled/gateway/node_modules/qs/test/utils.js +3 -31
- package/bundled/gateway/node_modules/raw-body/HISTORY.md +308 -0
- package/bundled/gateway/node_modules/raw-body/SECURITY.md +24 -0
- package/bundled/gateway/node_modules/raw-body/package.json +7 -5
- package/bundled/gateway/node_modules/send/HISTORY.md +7 -19
- package/bundled/gateway/node_modules/send/node_modules/encodeurl/HISTORY.md +14 -0
- package/bundled/gateway/node_modules/send/node_modules/encodeurl/LICENSE +22 -0
- package/bundled/gateway/node_modules/send/node_modules/encodeurl/README.md +128 -0
- package/bundled/gateway/node_modules/send/node_modules/encodeurl/index.js +60 -0
- package/bundled/gateway/node_modules/send/node_modules/encodeurl/package.json +40 -0
- package/bundled/gateway/node_modules/send/package.json +6 -6
- package/bundled/gateway/node_modules/serve-static/HISTORY.md +0 -16
- package/bundled/gateway/node_modules/serve-static/node_modules/encodeurl/HISTORY.md +14 -0
- package/bundled/gateway/node_modules/serve-static/node_modules/encodeurl/LICENSE +22 -0
- package/bundled/gateway/node_modules/serve-static/node_modules/encodeurl/README.md +128 -0
- package/bundled/gateway/node_modules/serve-static/node_modules/encodeurl/index.js +60 -0
- package/bundled/gateway/node_modules/serve-static/node_modules/encodeurl/package.json +40 -0
- package/bundled/gateway/node_modules/serve-static/package.json +3 -3
- package/bundled/gateway/node_modules/statuses/HISTORY.md +0 -5
- package/bundled/gateway/node_modules/statuses/README.md +0 -3
- package/bundled/gateway/node_modules/statuses/package.json +7 -7
- package/bundled/gateway/package-lock.json +137 -88
- package/bundled/gateway/package.json +23 -5
- package/bundled/ollama/node_modules/.package-lock.json +104 -85
- package/bundled/ollama/node_modules/axios/CHANGELOG.md +0 -42
- package/bundled/ollama/node_modules/axios/README.md +237 -237
- package/bundled/ollama/node_modules/axios/dist/axios.js +21 -113
- package/bundled/ollama/node_modules/axios/dist/axios.js.map +1 -0
- package/bundled/ollama/node_modules/axios/dist/axios.min.js +2 -2
- package/bundled/ollama/node_modules/axios/dist/axios.min.js.map +1 -1
- package/bundled/ollama/node_modules/axios/dist/browser/axios.cjs +15 -121
- package/bundled/ollama/node_modules/axios/dist/browser/axios.cjs.map +1 -0
- package/bundled/ollama/node_modules/axios/dist/esm/axios.js +15 -121
- package/bundled/ollama/node_modules/axios/dist/esm/axios.js.map +1 -0
- package/bundled/ollama/node_modules/axios/dist/esm/axios.min.js +2 -2
- package/bundled/ollama/node_modules/axios/dist/esm/axios.min.js.map +1 -1
- package/bundled/ollama/node_modules/axios/dist/node/axios.cjs +107 -249
- package/bundled/ollama/node_modules/axios/dist/node/axios.cjs.map +1 -0
- package/bundled/ollama/node_modules/axios/index.d.cts +3 -8
- package/bundled/ollama/node_modules/axios/index.d.ts +1 -4
- package/bundled/ollama/node_modules/axios/lib/adapters/fetch.js +0 -79
- package/bundled/ollama/node_modules/axios/lib/adapters/http.js +118 -62
- package/bundled/ollama/node_modules/axios/lib/core/Axios.js +0 -1
- package/bundled/ollama/node_modules/axios/lib/core/AxiosHeaders.js +2 -2
- package/bundled/ollama/node_modules/axios/lib/defaults/transitional.js +0 -1
- package/bundled/ollama/node_modules/axios/lib/env/data.js +1 -1
- package/bundled/ollama/node_modules/axios/lib/helpers/buildURL.js +1 -1
- package/bundled/ollama/node_modules/axios/lib/helpers/formDataToStream.js +2 -2
- package/bundled/ollama/node_modules/axios/lib/helpers/resolveConfig.js +6 -12
- package/bundled/ollama/node_modules/axios/lib/helpers/toFormData.js +1 -1
- package/bundled/ollama/node_modules/axios/lib/utils.js +2 -23
- package/bundled/ollama/node_modules/axios/package.json +13 -29
- package/bundled/ollama/node_modules/body-parser/HISTORY.md +0 -14
- package/bundled/ollama/node_modules/body-parser/SECURITY.md +25 -0
- package/bundled/ollama/node_modules/body-parser/lib/types/json.js +5 -1
- package/bundled/ollama/node_modules/body-parser/lib/types/urlencoded.js +15 -7
- package/bundled/ollama/node_modules/body-parser/package.json +10 -9
- package/bundled/ollama/node_modules/cookie/index.js +35 -24
- package/bundled/ollama/node_modules/cookie/package.json +1 -1
- package/bundled/ollama/node_modules/cookie-signature/History.md +1 -5
- package/bundled/ollama/node_modules/cookie-signature/index.js +6 -6
- package/bundled/ollama/node_modules/cookie-signature/package.json +2 -2
- package/bundled/ollama/node_modules/express/History.md +0 -43
- package/bundled/ollama/node_modules/express/lib/response.js +0 -1
- package/bundled/ollama/node_modules/express/lib/utils.js +1 -2
- package/bundled/ollama/node_modules/express/package.json +17 -21
- package/bundled/ollama/node_modules/finalhandler/HISTORY.md +0 -21
- package/bundled/ollama/node_modules/finalhandler/README.md +2 -2
- package/bundled/ollama/node_modules/finalhandler/index.js +2 -7
- package/bundled/ollama/node_modules/finalhandler/node_modules/encodeurl/HISTORY.md +14 -0
- package/bundled/ollama/node_modules/finalhandler/node_modules/encodeurl/LICENSE +22 -0
- package/bundled/ollama/node_modules/finalhandler/node_modules/encodeurl/README.md +128 -0
- package/bundled/ollama/node_modules/finalhandler/node_modules/encodeurl/index.js +60 -0
- package/bundled/ollama/node_modules/finalhandler/node_modules/encodeurl/package.json +40 -0
- package/bundled/ollama/node_modules/finalhandler/package.json +9 -10
- package/bundled/ollama/node_modules/http-errors/HISTORY.md +0 -6
- package/bundled/ollama/node_modules/http-errors/index.js +3 -4
- package/bundled/ollama/node_modules/http-errors/package.json +8 -12
- package/bundled/ollama/node_modules/qs/CHANGELOG.md +0 -16
- package/bundled/ollama/node_modules/qs/README.md +1 -1
- package/bundled/ollama/node_modules/qs/dist/qs.js +15 -15
- package/bundled/ollama/node_modules/qs/eslint.config.mjs +0 -1
- package/bundled/ollama/node_modules/qs/lib/parse.js +24 -54
- package/bundled/ollama/node_modules/qs/lib/stringify.js +4 -11
- package/bundled/ollama/node_modules/qs/package.json +3 -3
- package/bundled/ollama/node_modules/qs/test/parse.js +0 -135
- package/bundled/ollama/node_modules/qs/test/stringify.js +0 -138
- package/bundled/ollama/node_modules/qs/test/utils.js +3 -31
- package/bundled/ollama/node_modules/raw-body/HISTORY.md +308 -0
- package/bundled/ollama/node_modules/raw-body/SECURITY.md +24 -0
- package/bundled/ollama/node_modules/raw-body/package.json +7 -5
- package/bundled/ollama/node_modules/send/HISTORY.md +7 -19
- package/bundled/ollama/node_modules/send/node_modules/encodeurl/HISTORY.md +14 -0
- package/bundled/ollama/node_modules/send/node_modules/encodeurl/LICENSE +22 -0
- package/bundled/ollama/node_modules/send/node_modules/encodeurl/README.md +128 -0
- package/bundled/ollama/node_modules/send/node_modules/encodeurl/index.js +60 -0
- package/bundled/ollama/node_modules/send/node_modules/encodeurl/package.json +40 -0
- package/bundled/ollama/node_modules/send/package.json +6 -6
- package/bundled/ollama/node_modules/serve-static/HISTORY.md +0 -16
- package/bundled/ollama/node_modules/serve-static/node_modules/encodeurl/HISTORY.md +14 -0
- package/bundled/ollama/node_modules/serve-static/node_modules/encodeurl/LICENSE +22 -0
- package/bundled/ollama/node_modules/serve-static/node_modules/encodeurl/README.md +128 -0
- package/bundled/ollama/node_modules/serve-static/node_modules/encodeurl/index.js +60 -0
- package/bundled/ollama/node_modules/serve-static/node_modules/encodeurl/package.json +40 -0
- package/bundled/ollama/node_modules/serve-static/package.json +3 -3
- package/bundled/ollama/node_modules/statuses/HISTORY.md +0 -5
- package/bundled/ollama/node_modules/statuses/README.md +0 -3
- package/bundled/ollama/node_modules/statuses/package.json +7 -7
- package/bundled/ollama/package-lock.json +107 -88
- package/bundled/ollama/package.json +24 -4
- package/node_modules/@sap-llm-gateway/service-key-parser/package.json +1 -1
- package/package.json +2 -2
- package/bundled/gateway/node_modules/axios/lib/helpers/Http2Sessions.js +0 -119
- package/bundled/ollama/node_modules/axios/lib/helpers/Http2Sessions.js +0 -119
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "axios",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.16.1",
|
|
4
4
|
"description": "Promise based HTTP client for the browser and node.js",
|
|
5
5
|
"main": "./dist/node/axios.cjs",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -86,8 +86,8 @@
|
|
|
86
86
|
"Justin Beckwith (https://github.com/JustinBeckwith)",
|
|
87
87
|
"Martti Laine (https://github.com/codeclown)",
|
|
88
88
|
"Xianming Zhong (https://github.com/chinesedfan)",
|
|
89
|
-
"Shaan Majid (https://github.com/shaanmajid)",
|
|
90
89
|
"Willian Agostini (https://github.com/WillianAgostini)",
|
|
90
|
+
"Shaan Majid (https://github.com/shaanmajid)",
|
|
91
91
|
"Remco Haszing (https://github.com/remcohaszing)",
|
|
92
92
|
"Rikki Gibson (https://github.com/RikkiGibson)"
|
|
93
93
|
],
|
|
@@ -97,22 +97,6 @@
|
|
|
97
97
|
"url": "https://github.com/axios/axios/issues"
|
|
98
98
|
},
|
|
99
99
|
"homepage": "https://axios-http.com",
|
|
100
|
-
"files": [
|
|
101
|
-
"index.js",
|
|
102
|
-
"index.d.ts",
|
|
103
|
-
"index.d.cts",
|
|
104
|
-
"CHANGELOG.md",
|
|
105
|
-
"MIGRATION_GUIDE.md",
|
|
106
|
-
"lib/",
|
|
107
|
-
"dist/axios.js",
|
|
108
|
-
"dist/axios.min.js",
|
|
109
|
-
"dist/axios.min.js.map",
|
|
110
|
-
"dist/esm/axios.js",
|
|
111
|
-
"dist/esm/axios.min.js",
|
|
112
|
-
"dist/esm/axios.min.js.map",
|
|
113
|
-
"dist/browser/axios.cjs",
|
|
114
|
-
"dist/node/axios.cjs"
|
|
115
|
-
],
|
|
116
100
|
"scripts": {
|
|
117
101
|
"build": "gulp clear && cross-env NODE_ENV=production rollup -c -m",
|
|
118
102
|
"version": "npm run build && git add package.json",
|
|
@@ -144,9 +128,9 @@
|
|
|
144
128
|
},
|
|
145
129
|
"devDependencies": {
|
|
146
130
|
"@babel/core": "^7.29.0",
|
|
147
|
-
"@babel/preset-env": "^7.29.
|
|
148
|
-
"@commitlint/cli": "^
|
|
149
|
-
"@commitlint/config-conventional": "^
|
|
131
|
+
"@babel/preset-env": "^7.29.2",
|
|
132
|
+
"@commitlint/cli": "^20.5.0",
|
|
133
|
+
"@commitlint/config-conventional": "^20.5.0",
|
|
150
134
|
"@eslint/js": "^10.0.1",
|
|
151
135
|
"@rollup/plugin-alias": "^6.0.0",
|
|
152
136
|
"@rollup/plugin-babel": "^7.0.0",
|
|
@@ -154,34 +138,34 @@
|
|
|
154
138
|
"@rollup/plugin-json": "^6.1.0",
|
|
155
139
|
"@rollup/plugin-node-resolve": "^16.0.3",
|
|
156
140
|
"@rollup/plugin-terser": "^1.0.0",
|
|
157
|
-
"@vitest/browser": "^4.1.
|
|
158
|
-
"@vitest/browser-playwright": "^4.1.
|
|
141
|
+
"@vitest/browser": "^4.1.5",
|
|
142
|
+
"@vitest/browser-playwright": "^4.1.5",
|
|
159
143
|
"abortcontroller-polyfill": "^1.7.8",
|
|
160
144
|
"acorn": "^8.16.0",
|
|
161
145
|
"body-parser": "^2.2.2",
|
|
162
146
|
"chalk": "^5.6.2",
|
|
163
147
|
"cross-env": "^10.1.0",
|
|
164
148
|
"dev-null": "^0.1.1",
|
|
165
|
-
"eslint": "^10.
|
|
149
|
+
"eslint": "^10.2.1",
|
|
166
150
|
"express": "^5.2.1",
|
|
167
151
|
"formdata-node": "^6.0.3",
|
|
168
152
|
"formidable": "^3.5.4",
|
|
169
153
|
"fs-extra": "^11.3.4",
|
|
170
154
|
"get-stream": "^9.0.1",
|
|
171
|
-
"globals": "^17.
|
|
155
|
+
"globals": "^17.5.0",
|
|
172
156
|
"gulp": "^5.0.1",
|
|
173
157
|
"husky": "^9.1.7",
|
|
174
|
-
"lint-staged": "^
|
|
158
|
+
"lint-staged": "^16.4.0",
|
|
175
159
|
"minimist": "^1.2.8",
|
|
176
160
|
"multer": "^2.1.1",
|
|
177
|
-
"playwright": "^1.
|
|
161
|
+
"playwright": "^1.59.1",
|
|
178
162
|
"prettier": "^3.8.3",
|
|
179
|
-
"rollup": "^4.60.
|
|
163
|
+
"rollup": "^4.60.2",
|
|
180
164
|
"rollup-plugin-bundle-size": "^1.0.3",
|
|
181
165
|
"selfsigned": "^5.5.0",
|
|
182
166
|
"stream-throttle": "^0.1.3",
|
|
183
167
|
"typescript": "^5.9.3",
|
|
184
|
-
"vitest": "^4.1.
|
|
168
|
+
"vitest": "^4.1.5"
|
|
185
169
|
},
|
|
186
170
|
"commitlint": {
|
|
187
171
|
"rules": {
|
|
@@ -1,17 +1,3 @@
|
|
|
1
|
-
1.20.5 / 2026-04-24
|
|
2
|
-
===================
|
|
3
|
-
* refactor(json): simplify strict mode error string construction
|
|
4
|
-
* fix: extended urlencoded parsing of arrays with >100 elements (#716)
|
|
5
|
-
* deps: qs@~6.15.1
|
|
6
|
-
|
|
7
|
-
1.20.4 / 2025-12-01
|
|
8
|
-
===================
|
|
9
|
-
|
|
10
|
-
* deps: qs@~6.14.0
|
|
11
|
-
* deps: use tilde notation for dependencies
|
|
12
|
-
* deps: http-errors@~2.0.1
|
|
13
|
-
* deps: raw-body@~2.5.3
|
|
14
|
-
|
|
15
1
|
1.20.3 / 2024-09-10
|
|
16
2
|
===================
|
|
17
3
|
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Security Policies and Procedures
|
|
2
|
+
|
|
3
|
+
## Reporting a Bug
|
|
4
|
+
|
|
5
|
+
The Express team and community take all security bugs seriously. Thank you
|
|
6
|
+
for improving the security of Express. We appreciate your efforts and
|
|
7
|
+
responsible disclosure and will make every effort to acknowledge your
|
|
8
|
+
contributions.
|
|
9
|
+
|
|
10
|
+
Report security bugs by emailing the current owner(s) of `body-parser`. This
|
|
11
|
+
information can be found in the npm registry using the command
|
|
12
|
+
`npm owner ls body-parser`.
|
|
13
|
+
If unsure or unable to get the information from the above, open an issue
|
|
14
|
+
in the [project issue tracker](https://github.com/expressjs/body-parser/issues)
|
|
15
|
+
asking for the current contact information.
|
|
16
|
+
|
|
17
|
+
To ensure the timely response to your report, please ensure that the entirety
|
|
18
|
+
of the report is contained within the email body and not solely behind a web
|
|
19
|
+
link or an attachment.
|
|
20
|
+
|
|
21
|
+
At least one owner will acknowledge your email within 48 hours, and will send a
|
|
22
|
+
more detailed response within 48 hours indicating the next steps in handling
|
|
23
|
+
your report. After the initial reply to your report, the owners will
|
|
24
|
+
endeavor to keep you informed of the progress towards a fix and full
|
|
25
|
+
announcement, and may ask for additional information or guidance.
|
|
@@ -158,7 +158,11 @@ function createStrictSyntaxError (str, char) {
|
|
|
158
158
|
var partial = ''
|
|
159
159
|
|
|
160
160
|
if (index !== -1) {
|
|
161
|
-
partial = str.substring(0, index) +
|
|
161
|
+
partial = str.substring(0, index) + JSON_SYNTAX_CHAR
|
|
162
|
+
|
|
163
|
+
for (var i = index + 1; i < str.length; i++) {
|
|
164
|
+
partial += JSON_SYNTAX_CHAR
|
|
165
|
+
}
|
|
162
166
|
}
|
|
163
167
|
|
|
164
168
|
try {
|
|
@@ -55,6 +55,9 @@ function urlencoded (options) {
|
|
|
55
55
|
: opts.limit
|
|
56
56
|
var type = opts.type || 'application/x-www-form-urlencoded'
|
|
57
57
|
var verify = opts.verify || false
|
|
58
|
+
var depth = typeof opts.depth !== 'number'
|
|
59
|
+
? Number(opts.depth || 32)
|
|
60
|
+
: opts.depth
|
|
58
61
|
|
|
59
62
|
if (verify !== false && typeof verify !== 'function') {
|
|
60
63
|
throw new TypeError('option verify must be function')
|
|
@@ -118,7 +121,8 @@ function urlencoded (options) {
|
|
|
118
121
|
encoding: charset,
|
|
119
122
|
inflate: inflate,
|
|
120
123
|
limit: limit,
|
|
121
|
-
verify: verify
|
|
124
|
+
verify: verify,
|
|
125
|
+
depth: depth
|
|
122
126
|
})
|
|
123
127
|
}
|
|
124
128
|
}
|
|
@@ -133,7 +137,10 @@ function extendedparser (options) {
|
|
|
133
137
|
var parameterLimit = options.parameterLimit !== undefined
|
|
134
138
|
? options.parameterLimit
|
|
135
139
|
: 1000
|
|
136
|
-
|
|
140
|
+
|
|
141
|
+
var depth = typeof options.depth !== 'number'
|
|
142
|
+
? Number(options.depth || 32)
|
|
143
|
+
: options.depth
|
|
137
144
|
var parse = parser('qs')
|
|
138
145
|
|
|
139
146
|
if (isNaN(parameterLimit) || parameterLimit < 1) {
|
|
@@ -206,15 +213,16 @@ function getCharset (req) {
|
|
|
206
213
|
|
|
207
214
|
function parameterCount (body, limit) {
|
|
208
215
|
var count = 0
|
|
209
|
-
var index =
|
|
216
|
+
var index = 0
|
|
210
217
|
|
|
211
|
-
|
|
218
|
+
while ((index = body.indexOf('&', index)) !== -1) {
|
|
212
219
|
count++
|
|
213
|
-
|
|
220
|
+
index++
|
|
221
|
+
|
|
222
|
+
if (count === limit) {
|
|
214
223
|
return undefined
|
|
215
224
|
}
|
|
216
|
-
|
|
217
|
-
} while (index !== -1)
|
|
225
|
+
}
|
|
218
226
|
|
|
219
227
|
return count
|
|
220
228
|
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
root = true
|
|
2
|
+
|
|
3
|
+
[*]
|
|
4
|
+
indent_style = space
|
|
5
|
+
indent_size = 4
|
|
6
|
+
end_of_line = lf
|
|
7
|
+
charset = utf-8
|
|
8
|
+
trim_trailing_whitespace = true
|
|
9
|
+
insert_final_newline = true
|
|
10
|
+
max_line_length = 160
|
|
11
|
+
quote_type = single
|
|
12
|
+
|
|
13
|
+
[test/*]
|
|
14
|
+
max_line_length = off
|
|
15
|
+
|
|
16
|
+
[LICENSE.md]
|
|
17
|
+
indent_size = off
|
|
18
|
+
|
|
19
|
+
[*.md]
|
|
20
|
+
max_line_length = off
|
|
21
|
+
|
|
22
|
+
[*.json]
|
|
23
|
+
max_line_length = off
|
|
24
|
+
|
|
25
|
+
[Makefile]
|
|
26
|
+
max_line_length = off
|
|
27
|
+
|
|
28
|
+
[CHANGELOG.md]
|
|
29
|
+
indent_style = space
|
|
30
|
+
indent_size = 2
|
|
31
|
+
|
|
32
|
+
[LICENSE]
|
|
33
|
+
indent_size = 2
|
|
34
|
+
max_line_length = off
|
|
35
|
+
|
|
36
|
+
[coverage/**/*]
|
|
37
|
+
indent_size = off
|
|
38
|
+
indent_style = off
|
|
39
|
+
indent = off
|
|
40
|
+
max_line_length = off
|
|
41
|
+
|
|
42
|
+
[.nycrc]
|
|
43
|
+
indent_style = tab
|
|
44
|
+
|
|
45
|
+
[tea.yaml]
|
|
46
|
+
indent_size = 2
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
{
|
|
2
|
+
"root": true,
|
|
3
|
+
|
|
4
|
+
"extends": "@ljharb",
|
|
5
|
+
|
|
6
|
+
"ignorePatterns": [
|
|
7
|
+
"dist/",
|
|
8
|
+
],
|
|
9
|
+
|
|
10
|
+
"rules": {
|
|
11
|
+
"complexity": 0,
|
|
12
|
+
"consistent-return": 1,
|
|
13
|
+
"func-name-matching": 0,
|
|
14
|
+
"id-length": [2, { "min": 1, "max": 25, "properties": "never" }],
|
|
15
|
+
"indent": [2, 4],
|
|
16
|
+
"max-lines-per-function": [2, { "max": 150 }],
|
|
17
|
+
"max-params": [2, 18],
|
|
18
|
+
"max-statements": [2, 100],
|
|
19
|
+
"multiline-comment-style": 0,
|
|
20
|
+
"no-continue": 1,
|
|
21
|
+
"no-magic-numbers": 0,
|
|
22
|
+
"no-restricted-syntax": [2, "BreakStatement", "DebuggerStatement", "ForInStatement", "LabeledStatement", "WithStatement"],
|
|
23
|
+
},
|
|
24
|
+
|
|
25
|
+
"overrides": [
|
|
26
|
+
{
|
|
27
|
+
"files": "test/**",
|
|
28
|
+
"rules": {
|
|
29
|
+
"function-paren-newline": 0,
|
|
30
|
+
"max-lines-per-function": 0,
|
|
31
|
+
"max-statements": 0,
|
|
32
|
+
"no-buffer-constructor": 0,
|
|
33
|
+
"no-extend-native": 0,
|
|
34
|
+
"no-throw-literal": 0,
|
|
35
|
+
},
|
|
36
|
+
},
|
|
37
|
+
],
|
|
38
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# These are supported funding model platforms
|
|
2
|
+
|
|
3
|
+
github: [ljharb]
|
|
4
|
+
patreon: # Replace with a single Patreon username
|
|
5
|
+
open_collective: # Replace with a single Open Collective username
|
|
6
|
+
ko_fi: # Replace with a single Ko-fi username
|
|
7
|
+
tidelift: npm/qs
|
|
8
|
+
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
|
|
9
|
+
liberapay: # Replace with a single Liberapay username
|
|
10
|
+
issuehunt: # Replace with a single IssueHunt username
|
|
11
|
+
otechie: # Replace with a single Otechie username
|
|
12
|
+
custom: # Replace with a single custom sponsorship URL
|