@opra/http 1.7.3 → 1.8.0
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/cjs/http-handler.js +4 -1
- package/esm/http-handler.js +4 -1
- package/package.json +6 -6
package/cjs/http-handler.js
CHANGED
|
@@ -226,7 +226,10 @@ class HttpHandler {
|
|
|
226
226
|
const prmName = typeof prm.name === 'string' ? prm.name : key;
|
|
227
227
|
if (values?.length && prm.isArray) {
|
|
228
228
|
values = values
|
|
229
|
-
.map(v => (0, fast_tokenizer_1.splitString)(v, {
|
|
229
|
+
.map(v => (0, fast_tokenizer_1.splitString)(v, {
|
|
230
|
+
delimiters: prm.arraySeparator || ',',
|
|
231
|
+
quotes: true,
|
|
232
|
+
}))
|
|
230
233
|
.flat();
|
|
231
234
|
values = values.map(v => decode(v, { coerce: true, label: key, onFail }));
|
|
232
235
|
if (values.length)
|
package/esm/http-handler.js
CHANGED
|
@@ -222,7 +222,10 @@ export class HttpHandler {
|
|
|
222
222
|
const prmName = typeof prm.name === 'string' ? prm.name : key;
|
|
223
223
|
if (values?.length && prm.isArray) {
|
|
224
224
|
values = values
|
|
225
|
-
.map(v => splitString(v, {
|
|
225
|
+
.map(v => splitString(v, {
|
|
226
|
+
delimiters: prm.arraySeparator || ',',
|
|
227
|
+
quotes: true,
|
|
228
|
+
}))
|
|
226
229
|
.flat();
|
|
227
230
|
values = values.map(v => decode(v, { coerce: true, label: key, onFail }));
|
|
228
231
|
if (values.length)
|
package/package.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opra/http",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.8.0",
|
|
4
4
|
"description": "Opra Http Server Adapter",
|
|
5
5
|
"author": "Panates",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@browsery/antlr4": "^4.13.3-
|
|
9
|
-
"@browsery/http-parser": "^0.5.9-
|
|
10
|
-
"@browsery/type-is": "^1.6.18-
|
|
8
|
+
"@browsery/antlr4": "^4.13.3-r4",
|
|
9
|
+
"@browsery/http-parser": "^0.5.9-r4",
|
|
10
|
+
"@browsery/type-is": "^1.6.18-r8",
|
|
11
11
|
"@jsopen/objects": "^1.5.0",
|
|
12
|
-
"@opra/common": "^1.
|
|
13
|
-
"@opra/core": "^1.
|
|
12
|
+
"@opra/common": "^1.8.0",
|
|
13
|
+
"@opra/core": "^1.8.0",
|
|
14
14
|
"accepts": "^1.3.8",
|
|
15
15
|
"base64-stream": "^1.0.0",
|
|
16
16
|
"busboy": "^1.6.0",
|