qs 6.0.0 → 6.0.4
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/.eslintignore +1 -1
- package/.eslintrc +17 -0
- package/.npmignore +18 -18
- package/.travis.yml +173 -8
- package/CHANGELOG.md +111 -90
- package/README.md +85 -81
- package/bower.json +0 -1
- package/component.json +1 -1
- package/dist/qs.js +107 -181
- package/lib/index.js +6 -12
- package/lib/parse.js +52 -74
- package/lib/stringify.js +39 -66
- package/lib/utils.js +52 -85
- package/package.json +29 -11
- package/test/index.js +5 -0
- package/test/parse.js +308 -332
- package/test/stringify.js +146 -202
- package/test/utils.js +5 -26
package/.eslintignore
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
dist
|
|
1
|
+
dist
|
package/.eslintrc
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"root": true,
|
|
3
|
+
|
|
4
|
+
"extends": "@ljharb",
|
|
5
|
+
|
|
6
|
+
"rules": {
|
|
7
|
+
"complexity": [2, 18],
|
|
8
|
+
"consistent-return": [1],
|
|
9
|
+
"max-params": [2, 8],
|
|
10
|
+
"max-statements": [2, 32],
|
|
11
|
+
"no-extra-parens": [1],
|
|
12
|
+
"no-continue": [1],
|
|
13
|
+
"no-magic-numbers": 0,
|
|
14
|
+
"no-restricted-syntax": [2, "BreakStatement", "DebuggerStatement", "ForInStatement", "LabeledStatement", "WithStatement"],
|
|
15
|
+
"operator-linebreak": 1
|
|
16
|
+
}
|
|
17
|
+
}
|
package/.npmignore
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
.idea
|
|
2
|
-
*.iml
|
|
3
|
-
npm-debug.log
|
|
4
|
-
dump.rdb
|
|
5
|
-
node_modules
|
|
6
|
-
results.tap
|
|
7
|
-
results.xml
|
|
8
|
-
npm-shrinkwrap.json
|
|
9
|
-
config.json
|
|
10
|
-
.DS_Store
|
|
11
|
-
*/.DS_Store
|
|
12
|
-
*/*/.DS_Store
|
|
13
|
-
._*
|
|
14
|
-
*/._*
|
|
15
|
-
*/*/._*
|
|
16
|
-
coverage.*
|
|
17
|
-
lib-cov
|
|
18
|
-
complexity.md
|
|
1
|
+
.idea
|
|
2
|
+
*.iml
|
|
3
|
+
npm-debug.log
|
|
4
|
+
dump.rdb
|
|
5
|
+
node_modules
|
|
6
|
+
results.tap
|
|
7
|
+
results.xml
|
|
8
|
+
npm-shrinkwrap.json
|
|
9
|
+
config.json
|
|
10
|
+
.DS_Store
|
|
11
|
+
*/.DS_Store
|
|
12
|
+
*/*/.DS_Store
|
|
13
|
+
._*
|
|
14
|
+
*/._*
|
|
15
|
+
*/*/._*
|
|
16
|
+
coverage.*
|
|
17
|
+
lib-cov
|
|
18
|
+
complexity.md
|
package/.travis.yml
CHANGED
|
@@ -1,8 +1,173 @@
|
|
|
1
|
-
language: node_js
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
-
|
|
6
|
-
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
language: node_js
|
|
2
|
+
os:
|
|
3
|
+
- linux
|
|
4
|
+
node_js:
|
|
5
|
+
- "7.7"
|
|
6
|
+
- "6.10"
|
|
7
|
+
- "5.12"
|
|
8
|
+
- "4.8"
|
|
9
|
+
- "iojs-v3.3"
|
|
10
|
+
- "iojs-v2.5"
|
|
11
|
+
- "iojs-v1.8"
|
|
12
|
+
- "0.12"
|
|
13
|
+
- "0.10"
|
|
14
|
+
- "0.8"
|
|
15
|
+
before_install:
|
|
16
|
+
- 'if [ "${TRAVIS_NODE_VERSION}" = "0.6" ]; then npm install -g npm@1.3 ; elif [ "${TRAVIS_NODE_VERSION}" != "0.9" ]; then case "$(npm --version)" in 1.*) npm install -g npm@1.4.28 ;; 2.*) npm install -g npm@2 ;; esac ; fi'
|
|
17
|
+
- 'if [ "${TRAVIS_NODE_VERSION}" != "0.6" ] && [ "${TRAVIS_NODE_VERSION}" != "0.9" ]; then npm install -g npm; fi'
|
|
18
|
+
script:
|
|
19
|
+
- 'if [ -n "${PRETEST-}" ]; then npm run pretest ; fi'
|
|
20
|
+
- 'if [ -n "${POSTTEST-}" ]; then npm run posttest ; fi'
|
|
21
|
+
- 'if [ -n "${COVERAGE-}" ]; then npm run coverage ; fi'
|
|
22
|
+
- 'if [ -n "${TEST-}" ]; then npm run tests-only ; fi'
|
|
23
|
+
sudo: false
|
|
24
|
+
env:
|
|
25
|
+
- TEST=true
|
|
26
|
+
matrix:
|
|
27
|
+
fast_finish: true
|
|
28
|
+
include:
|
|
29
|
+
- node_js: "node"
|
|
30
|
+
env: PRETEST=true
|
|
31
|
+
- node_js: "4"
|
|
32
|
+
env: COVERAGE=true
|
|
33
|
+
- node_js: "7.6"
|
|
34
|
+
env: TEST=true ALLOW_FAILURE=true
|
|
35
|
+
- node_js: "7.5"
|
|
36
|
+
env: TEST=true ALLOW_FAILURE=true
|
|
37
|
+
- node_js: "7.4"
|
|
38
|
+
env: TEST=true ALLOW_FAILURE=true
|
|
39
|
+
- node_js: "7.3"
|
|
40
|
+
env: TEST=true ALLOW_FAILURE=true
|
|
41
|
+
- node_js: "7.2"
|
|
42
|
+
env: TEST=true ALLOW_FAILURE=true
|
|
43
|
+
- node_js: "7.1"
|
|
44
|
+
env: TEST=true ALLOW_FAILURE=true
|
|
45
|
+
- node_js: "7.0"
|
|
46
|
+
env: TEST=true ALLOW_FAILURE=true
|
|
47
|
+
- node_js: "6.9"
|
|
48
|
+
env: TEST=true ALLOW_FAILURE=true
|
|
49
|
+
- node_js: "6.8"
|
|
50
|
+
env: TEST=true ALLOW_FAILURE=true
|
|
51
|
+
- node_js: "6.7"
|
|
52
|
+
env: TEST=true ALLOW_FAILURE=true
|
|
53
|
+
- node_js: "6.6"
|
|
54
|
+
env: TEST=true ALLOW_FAILURE=true
|
|
55
|
+
- node_js: "6.5"
|
|
56
|
+
env: TEST=true ALLOW_FAILURE=true
|
|
57
|
+
- node_js: "6.4"
|
|
58
|
+
env: TEST=true ALLOW_FAILURE=true
|
|
59
|
+
- node_js: "6.3"
|
|
60
|
+
env: TEST=true ALLOW_FAILURE=true
|
|
61
|
+
- node_js: "6.2"
|
|
62
|
+
env: TEST=true ALLOW_FAILURE=true
|
|
63
|
+
- node_js: "6.1"
|
|
64
|
+
env: TEST=true ALLOW_FAILURE=true
|
|
65
|
+
- node_js: "6.0"
|
|
66
|
+
env: TEST=true ALLOW_FAILURE=true
|
|
67
|
+
- node_js: "5.11"
|
|
68
|
+
env: TEST=true ALLOW_FAILURE=true
|
|
69
|
+
- node_js: "5.10"
|
|
70
|
+
env: TEST=true ALLOW_FAILURE=true
|
|
71
|
+
- node_js: "5.9"
|
|
72
|
+
env: TEST=true ALLOW_FAILURE=true
|
|
73
|
+
- node_js: "5.8"
|
|
74
|
+
env: TEST=true ALLOW_FAILURE=true
|
|
75
|
+
- node_js: "5.7"
|
|
76
|
+
env: TEST=true ALLOW_FAILURE=true
|
|
77
|
+
- node_js: "5.6"
|
|
78
|
+
env: TEST=true ALLOW_FAILURE=true
|
|
79
|
+
- node_js: "5.5"
|
|
80
|
+
env: TEST=true ALLOW_FAILURE=true
|
|
81
|
+
- node_js: "5.4"
|
|
82
|
+
env: TEST=true ALLOW_FAILURE=true
|
|
83
|
+
- node_js: "5.3"
|
|
84
|
+
env: TEST=true ALLOW_FAILURE=true
|
|
85
|
+
- node_js: "5.2"
|
|
86
|
+
env: TEST=true ALLOW_FAILURE=true
|
|
87
|
+
- node_js: "5.1"
|
|
88
|
+
env: TEST=true ALLOW_FAILURE=true
|
|
89
|
+
- node_js: "5.0"
|
|
90
|
+
env: TEST=true ALLOW_FAILURE=true
|
|
91
|
+
- node_js: "4.7"
|
|
92
|
+
env: TEST=true ALLOW_FAILURE=true
|
|
93
|
+
- node_js: "4.6"
|
|
94
|
+
env: TEST=true ALLOW_FAILURE=true
|
|
95
|
+
- node_js: "4.5"
|
|
96
|
+
env: TEST=true ALLOW_FAILURE=true
|
|
97
|
+
- node_js: "4.4"
|
|
98
|
+
env: TEST=true ALLOW_FAILURE=true
|
|
99
|
+
- node_js: "4.3"
|
|
100
|
+
env: TEST=true ALLOW_FAILURE=true
|
|
101
|
+
- node_js: "4.2"
|
|
102
|
+
env: TEST=true ALLOW_FAILURE=true
|
|
103
|
+
- node_js: "4.1"
|
|
104
|
+
env: TEST=true ALLOW_FAILURE=true
|
|
105
|
+
- node_js: "4.0"
|
|
106
|
+
env: TEST=true ALLOW_FAILURE=true
|
|
107
|
+
- node_js: "iojs-v3.2"
|
|
108
|
+
env: TEST=true ALLOW_FAILURE=true
|
|
109
|
+
- node_js: "iojs-v3.1"
|
|
110
|
+
env: TEST=true ALLOW_FAILURE=true
|
|
111
|
+
- node_js: "iojs-v3.0"
|
|
112
|
+
env: TEST=true ALLOW_FAILURE=true
|
|
113
|
+
- node_js: "iojs-v2.4"
|
|
114
|
+
env: TEST=true ALLOW_FAILURE=true
|
|
115
|
+
- node_js: "iojs-v2.3"
|
|
116
|
+
env: TEST=true ALLOW_FAILURE=true
|
|
117
|
+
- node_js: "iojs-v2.2"
|
|
118
|
+
env: TEST=true ALLOW_FAILURE=true
|
|
119
|
+
- node_js: "iojs-v2.1"
|
|
120
|
+
env: TEST=true ALLOW_FAILURE=true
|
|
121
|
+
- node_js: "iojs-v2.0"
|
|
122
|
+
env: TEST=true ALLOW_FAILURE=true
|
|
123
|
+
- node_js: "iojs-v1.7"
|
|
124
|
+
env: TEST=true ALLOW_FAILURE=true
|
|
125
|
+
- node_js: "iojs-v1.6"
|
|
126
|
+
env: TEST=true ALLOW_FAILURE=true
|
|
127
|
+
- node_js: "iojs-v1.5"
|
|
128
|
+
env: TEST=true ALLOW_FAILURE=true
|
|
129
|
+
- node_js: "iojs-v1.4"
|
|
130
|
+
env: TEST=true ALLOW_FAILURE=true
|
|
131
|
+
- node_js: "iojs-v1.3"
|
|
132
|
+
env: TEST=true ALLOW_FAILURE=true
|
|
133
|
+
- node_js: "iojs-v1.2"
|
|
134
|
+
env: TEST=true ALLOW_FAILURE=true
|
|
135
|
+
- node_js: "iojs-v1.1"
|
|
136
|
+
env: TEST=true ALLOW_FAILURE=true
|
|
137
|
+
- node_js: "iojs-v1.0"
|
|
138
|
+
env: TEST=true ALLOW_FAILURE=true
|
|
139
|
+
- node_js: "0.11"
|
|
140
|
+
env: TEST=true ALLOW_FAILURE=true
|
|
141
|
+
- node_js: "0.9"
|
|
142
|
+
env: TEST=true ALLOW_FAILURE=true
|
|
143
|
+
- node_js: "0.6"
|
|
144
|
+
env: TEST=true ALLOW_FAILURE=true
|
|
145
|
+
- node_js: "0.4"
|
|
146
|
+
env: TEST=true ALLOW_FAILURE=true
|
|
147
|
+
##- node_js: "7"
|
|
148
|
+
#env: TEST=true
|
|
149
|
+
#os: osx
|
|
150
|
+
#- node_js: "6"
|
|
151
|
+
#env: TEST=true
|
|
152
|
+
#os: osx
|
|
153
|
+
#- node_js: "5"
|
|
154
|
+
#env: TEST=true
|
|
155
|
+
#os: osx
|
|
156
|
+
#- node_js: "4"
|
|
157
|
+
#env: TEST=true
|
|
158
|
+
#os: osx
|
|
159
|
+
#- node_js: "iojs"
|
|
160
|
+
#env: TEST=true
|
|
161
|
+
#os: osx
|
|
162
|
+
#- node_js: "0.12"
|
|
163
|
+
#env: TEST=true
|
|
164
|
+
#os: osx
|
|
165
|
+
#- node_js: "0.10"
|
|
166
|
+
#env: TEST=true
|
|
167
|
+
#os: osx
|
|
168
|
+
#- node_js: "0.8"
|
|
169
|
+
#env: TEST=true
|
|
170
|
+
#os: osx
|
|
171
|
+
allow_failures:
|
|
172
|
+
- os: osx
|
|
173
|
+
- env: TEST=true ALLOW_FAILURE=true
|
package/CHANGELOG.md
CHANGED
|
@@ -1,99 +1,120 @@
|
|
|
1
|
+
## **6.0.4**
|
|
2
|
+
- [Fix] follow `allowPrototypes` option during merge (#201, #200)
|
|
3
|
+
- [Fix] chmod a-x
|
|
4
|
+
- [Fix] support keys starting with brackets (#202, #200)
|
|
5
|
+
- [Tests] up to `node` `v7.7`, `v6.10`,` v4.8`; disable osx builds since they block linux builds
|
|
1
6
|
|
|
2
|
-
##
|
|
3
|
-
- [
|
|
4
|
-
- [
|
|
7
|
+
## **6.0.3**
|
|
8
|
+
- [Fix] ensure that `allowPrototypes: false` does not ever shadow Object.prototype properties
|
|
9
|
+
- [Fix] Restore `dist` directory; will be removed in v7 (#148)
|
|
5
10
|
|
|
6
|
-
## [**
|
|
7
|
-
-
|
|
8
|
-
- [**#100**](https://github.com/hapijs/qs/issues/100) include dist to npm
|
|
11
|
+
## [**6.0.2**](https://github.com/ljharb/qs/issues?milestone=33&state=closed)
|
|
12
|
+
- Revert ES6 requirement and restore support for node down to v0.8.
|
|
9
13
|
|
|
10
|
-
## [**
|
|
11
|
-
- [**#
|
|
14
|
+
## [**6.0.1**](https://github.com/ljharb/qs/issues?milestone=32&state=closed)
|
|
15
|
+
- [**#127**](https://github.com/ljharb/qs/pull/127) Fix engines definition in package.json
|
|
16
|
+
|
|
17
|
+
## [**6.0.0**](https://github.com/ljharb/qs/issues?milestone=31&state=closed)
|
|
18
|
+
- [**#124**](https://github.com/ljharb/qs/issues/124) Use ES6 and drop support for node < v4
|
|
12
19
|
|
|
13
|
-
## [**
|
|
14
|
-
- [**#
|
|
20
|
+
## [**5.2.0**](https://github.com/ljharb/qs/issues?milestone=30&state=closed)
|
|
21
|
+
- [**#64**](https://github.com/ljharb/qs/issues/64) Add option to sort object keys in the query string
|
|
22
|
+
|
|
23
|
+
## [**5.1.0**](https://github.com/ljharb/qs/issues?milestone=29&state=closed)
|
|
24
|
+
- [**#117**](https://github.com/ljharb/qs/issues/117) make URI encoding stringified results optional
|
|
25
|
+
- [**#106**](https://github.com/ljharb/qs/issues/106) Add flag `skipNulls` to optionally skip null values in stringify
|
|
26
|
+
|
|
27
|
+
## [**5.0.0**](https://github.com/ljharb/qs/issues?milestone=28&state=closed)
|
|
28
|
+
- [**#114**](https://github.com/ljharb/qs/issues/114) default allowDots to false
|
|
29
|
+
- [**#100**](https://github.com/ljharb/qs/issues/100) include dist to npm
|
|
30
|
+
|
|
31
|
+
## [**4.0.0**](https://github.com/ljharb/qs/issues?milestone=26&state=closed)
|
|
32
|
+
- [**#98**](https://github.com/ljharb/qs/issues/98) make returning plain objects and allowing prototype overwriting properties optional
|
|
33
|
+
|
|
34
|
+
## [**3.1.0**](https://github.com/ljharb/qs/issues?milestone=24&state=closed)
|
|
35
|
+
- [**#89**](https://github.com/ljharb/qs/issues/89) Add option to disable "Transform dot notation to bracket notation"
|
|
36
|
+
|
|
37
|
+
## [**3.0.0**](https://github.com/ljharb/qs/issues?milestone=23&state=closed)
|
|
38
|
+
- [**#80**](https://github.com/ljharb/qs/issues/80) qs.parse silently drops properties
|
|
39
|
+
- [**#77**](https://github.com/ljharb/qs/issues/77) Perf boost
|
|
40
|
+
- [**#60**](https://github.com/ljharb/qs/issues/60) Add explicit option to disable array parsing
|
|
41
|
+
- [**#74**](https://github.com/ljharb/qs/issues/74) Bad parse when turning array into object
|
|
42
|
+
- [**#81**](https://github.com/ljharb/qs/issues/81) Add a `filter` option
|
|
43
|
+
- [**#68**](https://github.com/ljharb/qs/issues/68) Fixed issue with recursion and passing strings into objects.
|
|
44
|
+
- [**#66**](https://github.com/ljharb/qs/issues/66) Add mixed array and object dot notation support Closes: #47
|
|
45
|
+
- [**#76**](https://github.com/ljharb/qs/issues/76) RFC 3986
|
|
46
|
+
- [**#85**](https://github.com/ljharb/qs/issues/85) No equal sign
|
|
47
|
+
- [**#84**](https://github.com/ljharb/qs/issues/84) update license attribute
|
|
48
|
+
|
|
49
|
+
## [**2.4.1**](https://github.com/ljharb/qs/issues?milestone=20&state=closed)
|
|
50
|
+
- [**#73**](https://github.com/ljharb/qs/issues/73) Property 'hasOwnProperty' of object #<Object> is not a function
|
|
51
|
+
|
|
52
|
+
## [**2.4.0**](https://github.com/ljharb/qs/issues?milestone=19&state=closed)
|
|
53
|
+
- [**#70**](https://github.com/ljharb/qs/issues/70) Add arrayFormat option
|
|
54
|
+
|
|
55
|
+
## [**2.3.3**](https://github.com/ljharb/qs/issues?milestone=18&state=closed)
|
|
56
|
+
- [**#59**](https://github.com/ljharb/qs/issues/59) make sure array indexes are >= 0, closes #57
|
|
57
|
+
- [**#58**](https://github.com/ljharb/qs/issues/58) make qs usable for browser loader
|
|
58
|
+
|
|
59
|
+
## [**2.3.2**](https://github.com/ljharb/qs/issues?milestone=17&state=closed)
|
|
60
|
+
- [**#55**](https://github.com/ljharb/qs/issues/55) allow merging a string into an object
|
|
61
|
+
|
|
62
|
+
## [**2.3.1**](https://github.com/ljharb/qs/issues?milestone=16&state=closed)
|
|
63
|
+
- [**#52**](https://github.com/ljharb/qs/issues/52) Return "undefined" and "false" instead of throwing "TypeError".
|
|
64
|
+
|
|
65
|
+
## [**2.3.0**](https://github.com/ljharb/qs/issues?milestone=15&state=closed)
|
|
66
|
+
- [**#50**](https://github.com/ljharb/qs/issues/50) add option to omit array indices, closes #46
|
|
67
|
+
|
|
68
|
+
## [**2.2.5**](https://github.com/ljharb/qs/issues?milestone=14&state=closed)
|
|
69
|
+
- [**#39**](https://github.com/ljharb/qs/issues/39) Is there an alternative to Buffer.isBuffer?
|
|
70
|
+
- [**#49**](https://github.com/ljharb/qs/issues/49) refactor utils.merge, fixes #45
|
|
71
|
+
- [**#41**](https://github.com/ljharb/qs/issues/41) avoid browserifying Buffer, for #39
|
|
72
|
+
|
|
73
|
+
## [**2.2.4**](https://github.com/ljharb/qs/issues?milestone=13&state=closed)
|
|
74
|
+
- [**#38**](https://github.com/ljharb/qs/issues/38) how to handle object keys beginning with a number
|
|
75
|
+
|
|
76
|
+
## [**2.2.3**](https://github.com/ljharb/qs/issues?milestone=12&state=closed)
|
|
77
|
+
- [**#37**](https://github.com/ljharb/qs/issues/37) parser discards first empty value in array
|
|
78
|
+
- [**#36**](https://github.com/ljharb/qs/issues/36) Update to lab 4.x
|
|
79
|
+
|
|
80
|
+
## [**2.2.2**](https://github.com/ljharb/qs/issues?milestone=11&state=closed)
|
|
81
|
+
- [**#33**](https://github.com/ljharb/qs/issues/33) Error when plain object in a value
|
|
82
|
+
- [**#34**](https://github.com/ljharb/qs/issues/34) use Object.prototype.hasOwnProperty.call instead of obj.hasOwnProperty
|
|
83
|
+
- [**#24**](https://github.com/ljharb/qs/issues/24) Changelog? Semver?
|
|
84
|
+
|
|
85
|
+
## [**2.2.1**](https://github.com/ljharb/qs/issues?milestone=10&state=closed)
|
|
86
|
+
- [**#32**](https://github.com/ljharb/qs/issues/32) account for circular references properly, closes #31
|
|
87
|
+
- [**#31**](https://github.com/ljharb/qs/issues/31) qs.parse stackoverflow on circular objects
|
|
88
|
+
|
|
89
|
+
## [**2.2.0**](https://github.com/ljharb/qs/issues?milestone=9&state=closed)
|
|
90
|
+
- [**#26**](https://github.com/ljharb/qs/issues/26) Don't use Buffer global if it's not present
|
|
91
|
+
- [**#30**](https://github.com/ljharb/qs/issues/30) Bug when merging non-object values into arrays
|
|
92
|
+
- [**#29**](https://github.com/ljharb/qs/issues/29) Don't call Utils.clone at the top of Utils.merge
|
|
93
|
+
- [**#23**](https://github.com/ljharb/qs/issues/23) Ability to not limit parameters?
|
|
94
|
+
|
|
95
|
+
## [**2.1.0**](https://github.com/ljharb/qs/issues?milestone=8&state=closed)
|
|
96
|
+
- [**#22**](https://github.com/ljharb/qs/issues/22) Enable using a RegExp as delimiter
|
|
97
|
+
|
|
98
|
+
## [**2.0.0**](https://github.com/ljharb/qs/issues?milestone=7&state=closed)
|
|
99
|
+
- [**#18**](https://github.com/ljharb/qs/issues/18) Why is there arrayLimit?
|
|
100
|
+
- [**#20**](https://github.com/ljharb/qs/issues/20) Configurable parametersLimit
|
|
101
|
+
- [**#21**](https://github.com/ljharb/qs/issues/21) make all limits optional, for #18, for #20
|
|
15
102
|
|
|
16
|
-
## [**
|
|
17
|
-
- [**#
|
|
18
|
-
- [**#77**](https://github.com/hapijs/qs/issues/77) Perf boost
|
|
19
|
-
- [**#60**](https://github.com/hapijs/qs/issues/60) Add explicit option to disable array parsing
|
|
20
|
-
- [**#74**](https://github.com/hapijs/qs/issues/74) Bad parse when turning array into object
|
|
21
|
-
- [**#81**](https://github.com/hapijs/qs/issues/81) Add a `filter` option
|
|
22
|
-
- [**#68**](https://github.com/hapijs/qs/issues/68) Fixed issue with recursion and passing strings into objects.
|
|
23
|
-
- [**#66**](https://github.com/hapijs/qs/issues/66) Add mixed array and object dot notation support Closes: #47
|
|
24
|
-
- [**#76**](https://github.com/hapijs/qs/issues/76) RFC 3986
|
|
25
|
-
- [**#85**](https://github.com/hapijs/qs/issues/85) No equal sign
|
|
26
|
-
- [**#84**](https://github.com/hapijs/qs/issues/84) update license attribute
|
|
103
|
+
## [**1.2.2**](https://github.com/ljharb/qs/issues?milestone=6&state=closed)
|
|
104
|
+
- [**#19**](https://github.com/ljharb/qs/issues/19) Don't overwrite null values
|
|
27
105
|
|
|
28
|
-
## [**2.
|
|
29
|
-
- [**#
|
|
106
|
+
## [**1.2.1**](https://github.com/ljharb/qs/issues?milestone=5&state=closed)
|
|
107
|
+
- [**#16**](https://github.com/ljharb/qs/issues/16) ignore non-string delimiters
|
|
108
|
+
- [**#15**](https://github.com/ljharb/qs/issues/15) Close code block
|
|
30
109
|
|
|
31
|
-
## [**2.
|
|
32
|
-
- [**#
|
|
110
|
+
## [**1.2.0**](https://github.com/ljharb/qs/issues?milestone=4&state=closed)
|
|
111
|
+
- [**#12**](https://github.com/ljharb/qs/issues/12) Add optional delim argument
|
|
112
|
+
- [**#13**](https://github.com/ljharb/qs/issues/13) fix #11: flattened keys in array are now correctly parsed
|
|
33
113
|
|
|
34
|
-
## [**
|
|
35
|
-
- [**#
|
|
36
|
-
- [**#
|
|
114
|
+
## [**1.1.0**](https://github.com/ljharb/qs/issues?milestone=3&state=closed)
|
|
115
|
+
- [**#7**](https://github.com/ljharb/qs/issues/7) Empty values of a POST array disappear after being submitted
|
|
116
|
+
- [**#9**](https://github.com/ljharb/qs/issues/9) Should not omit equals signs (=) when value is null
|
|
117
|
+
- [**#6**](https://github.com/ljharb/qs/issues/6) Minor grammar fix in README
|
|
37
118
|
|
|
38
|
-
## [**
|
|
39
|
-
- [**#
|
|
40
|
-
|
|
41
|
-
## [**2.3.1**](https://github.com/hapijs/qs/issues?milestone=16&state=closed)
|
|
42
|
-
- [**#52**](https://github.com/hapijs/qs/issues/52) Return "undefined" and "false" instead of throwing "TypeError".
|
|
43
|
-
|
|
44
|
-
## [**2.3.0**](https://github.com/hapijs/qs/issues?milestone=15&state=closed)
|
|
45
|
-
- [**#50**](https://github.com/hapijs/qs/issues/50) add option to omit array indices, closes #46
|
|
46
|
-
|
|
47
|
-
## [**2.2.5**](https://github.com/hapijs/qs/issues?milestone=14&state=closed)
|
|
48
|
-
- [**#39**](https://github.com/hapijs/qs/issues/39) Is there an alternative to Buffer.isBuffer?
|
|
49
|
-
- [**#49**](https://github.com/hapijs/qs/issues/49) refactor utils.merge, fixes #45
|
|
50
|
-
- [**#41**](https://github.com/hapijs/qs/issues/41) avoid browserifying Buffer, for #39
|
|
51
|
-
|
|
52
|
-
## [**2.2.4**](https://github.com/hapijs/qs/issues?milestone=13&state=closed)
|
|
53
|
-
- [**#38**](https://github.com/hapijs/qs/issues/38) how to handle object keys beginning with a number
|
|
54
|
-
|
|
55
|
-
## [**2.2.3**](https://github.com/hapijs/qs/issues?milestone=12&state=closed)
|
|
56
|
-
- [**#37**](https://github.com/hapijs/qs/issues/37) parser discards first empty value in array
|
|
57
|
-
- [**#36**](https://github.com/hapijs/qs/issues/36) Update to lab 4.x
|
|
58
|
-
|
|
59
|
-
## [**2.2.2**](https://github.com/hapijs/qs/issues?milestone=11&state=closed)
|
|
60
|
-
- [**#33**](https://github.com/hapijs/qs/issues/33) Error when plain object in a value
|
|
61
|
-
- [**#34**](https://github.com/hapijs/qs/issues/34) use Object.prototype.hasOwnProperty.call instead of obj.hasOwnProperty
|
|
62
|
-
- [**#24**](https://github.com/hapijs/qs/issues/24) Changelog? Semver?
|
|
63
|
-
|
|
64
|
-
## [**2.2.1**](https://github.com/hapijs/qs/issues?milestone=10&state=closed)
|
|
65
|
-
- [**#32**](https://github.com/hapijs/qs/issues/32) account for circular references properly, closes #31
|
|
66
|
-
- [**#31**](https://github.com/hapijs/qs/issues/31) qs.parse stackoverflow on circular objects
|
|
67
|
-
|
|
68
|
-
## [**2.2.0**](https://github.com/hapijs/qs/issues?milestone=9&state=closed)
|
|
69
|
-
- [**#26**](https://github.com/hapijs/qs/issues/26) Don't use Buffer global if it's not present
|
|
70
|
-
- [**#30**](https://github.com/hapijs/qs/issues/30) Bug when merging non-object values into arrays
|
|
71
|
-
- [**#29**](https://github.com/hapijs/qs/issues/29) Don't call Utils.clone at the top of Utils.merge
|
|
72
|
-
- [**#23**](https://github.com/hapijs/qs/issues/23) Ability to not limit parameters?
|
|
73
|
-
|
|
74
|
-
## [**2.1.0**](https://github.com/hapijs/qs/issues?milestone=8&state=closed)
|
|
75
|
-
- [**#22**](https://github.com/hapijs/qs/issues/22) Enable using a RegExp as delimiter
|
|
76
|
-
|
|
77
|
-
## [**2.0.0**](https://github.com/hapijs/qs/issues?milestone=7&state=closed)
|
|
78
|
-
- [**#18**](https://github.com/hapijs/qs/issues/18) Why is there arrayLimit?
|
|
79
|
-
- [**#20**](https://github.com/hapijs/qs/issues/20) Configurable parametersLimit
|
|
80
|
-
- [**#21**](https://github.com/hapijs/qs/issues/21) make all limits optional, for #18, for #20
|
|
81
|
-
|
|
82
|
-
## [**1.2.2**](https://github.com/hapijs/qs/issues?milestone=6&state=closed)
|
|
83
|
-
- [**#19**](https://github.com/hapijs/qs/issues/19) Don't overwrite null values
|
|
84
|
-
|
|
85
|
-
## [**1.2.1**](https://github.com/hapijs/qs/issues?milestone=5&state=closed)
|
|
86
|
-
- [**#16**](https://github.com/hapijs/qs/issues/16) ignore non-string delimiters
|
|
87
|
-
- [**#15**](https://github.com/hapijs/qs/issues/15) Close code block
|
|
88
|
-
|
|
89
|
-
## [**1.2.0**](https://github.com/hapijs/qs/issues?milestone=4&state=closed)
|
|
90
|
-
- [**#12**](https://github.com/hapijs/qs/issues/12) Add optional delim argument
|
|
91
|
-
- [**#13**](https://github.com/hapijs/qs/issues/13) fix #11: flattened keys in array are now correctly parsed
|
|
92
|
-
|
|
93
|
-
## [**1.1.0**](https://github.com/hapijs/qs/issues?milestone=3&state=closed)
|
|
94
|
-
- [**#7**](https://github.com/hapijs/qs/issues/7) Empty values of a POST array disappear after being submitted
|
|
95
|
-
- [**#9**](https://github.com/hapijs/qs/issues/9) Should not omit equals signs (=) when value is null
|
|
96
|
-
- [**#6**](https://github.com/hapijs/qs/issues/6) Minor grammar fix in README
|
|
97
|
-
|
|
98
|
-
## [**1.0.2**](https://github.com/hapijs/qs/issues?milestone=2&state=closed)
|
|
99
|
-
- [**#5**](https://github.com/hapijs/qs/issues/5) array holes incorrectly copied into object on large index
|
|
119
|
+
## [**1.0.2**](https://github.com/ljharb/qs/issues?milestone=2&state=closed)
|
|
120
|
+
- [**#5**](https://github.com/ljharb/qs/issues/5) array holes incorrectly copied into object on large index
|