@nocobase/resourcer 2.0.0-beta.1 → 2.0.0-beta.2

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.
Files changed (2) hide show
  1. package/lib/utils.js +3 -1
  2. package/package.json +3 -3
package/lib/utils.js CHANGED
@@ -226,7 +226,9 @@ __name(smartParse, "smartParse");
226
226
  function parseQuery(input) {
227
227
  const query = import_qs.default.parse(input, {
228
228
  // 原始 query string 中如果一个键连等号“=”都没有可以被认为是 null 类型
229
- strictNullHandling: true
229
+ strictNullHandling: true,
230
+ // 允许更大的数组长度,避免像 appends[] 这种参数在超过默认 20 个时被转换成对象
231
+ arrayLimit: 100
230
232
  // 逗号分隔转换为数组
231
233
  // comma: true,
232
234
  });
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@nocobase/resourcer",
3
- "version": "2.0.0-beta.1",
3
+ "version": "2.0.0-beta.2",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",
7
7
  "license": "AGPL-3.0",
8
8
  "dependencies": {
9
- "@nocobase/utils": "2.0.0-beta.1",
9
+ "@nocobase/utils": "2.0.0-beta.2",
10
10
  "deepmerge": "^4.2.2",
11
11
  "koa-compose": "^4.1.0",
12
12
  "lodash": "^4.17.21",
@@ -18,5 +18,5 @@
18
18
  "url": "git+https://github.com/nocobase/nocobase.git",
19
19
  "directory": "packages/resourcer"
20
20
  },
21
- "gitHead": "b3d1f65848fc91e673372ee734dafe6b1cf80586"
21
+ "gitHead": "b77a33ee933ae6e09d2d5dce017ca15d8552d57b"
22
22
  }