租房小程序前端代码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

612 lines
32 KiB

2 months ago
  1. ## **6.13.1**
  2. [Fix] `stringify`: avoid a crash when a `filter` key is `null`
  3. [Fix] `utils.merge`: functions should not be stringified into keys
  4. [Fix] `parse`: avoid a crash with interpretNumericEntities: true, comma: true, and iso charset
  5. [Fix] `stringify`: ensure a non-string `filter` does not crash
  6. [Refactor] use `__proto__` syntax instead of `Object.create` for null objects
  7. [Refactor] misc cleanup
  8. [Tests] `utils.merge`: add some coverage
  9. [Tests] fix a test case
  10. [actions] split out node 10-20, and 20+
  11. [Dev Deps] update `es-value-fixtures`, `mock-property`, `object-inspect`, `tape`
  12. ## **6.13.0**
  13. - [New] `parse`: add `strictDepth` option (#511)
  14. - [Tests] use `npm audit` instead of `aud`
  15. ## **6.12.3**
  16. - [Fix] `parse`: properly account for `strictNullHandling` when `allowEmptyArrays`
  17. - [meta] fix changelog indentation
  18. ## **6.12.2**
  19. - [Fix] `parse`: parse encoded square brackets (#506)
  20. - [readme] add CII best practices badge
  21. ## **6.12.1**
  22. - [Fix] `parse`: Disable `decodeDotInKeys` by default to restore previous behavior (#501)
  23. - [Performance] `utils`: Optimize performance under large data volumes, reduce memory usage, and speed up processing (#502)
  24. - [Refactor] `utils`: use `+=`
  25. - [Tests] increase coverage
  26. ## **6.12.0**
  27. - [New] `parse`/`stringify`: add `decodeDotInKeys`/`encodeDotKeys` options (#488)
  28. - [New] `parse`: add `duplicates` option
  29. - [New] `parse`/`stringify`: add `allowEmptyArrays` option to allow [] in object values (#487)
  30. - [Refactor] `parse`/`stringify`: move allowDots config logic to its own variable
  31. - [Refactor] `stringify`: move option-handling code into `normalizeStringifyOptions`
  32. - [readme] update readme, add logos (#484)
  33. - [readme] `stringify`: clarify default `arrayFormat` behavior
  34. - [readme] fix line wrapping
  35. - [readme] remove dead badges
  36. - [Deps] update `side-channel`
  37. - [meta] make the dist build 50% smaller
  38. - [meta] add `sideEffects` flag
  39. - [meta] run build in prepack, not prepublish
  40. - [Tests] `parse`: remove useless tests; add coverage
  41. - [Tests] `stringify`: increase coverage
  42. - [Tests] use `mock-property`
  43. - [Tests] `stringify`: improve coverage
  44. - [Dev Deps] update `@ljharb/eslint-config `, `aud`, `has-override-mistake`, `has-property-descriptors`, `mock-property`, `npmignore`, `object-inspect`, `tape`
  45. - [Dev Deps] pin `glob`, since v10.3.8+ requires a broken `jackspeak`
  46. - [Dev Deps] pin `jackspeak` since 2.1.2+ depends on npm aliases, which kill the install process in npm < 6
  47. ## **6.11.2**
  48. - [Fix] `parse`: Fix parsing when the global Object prototype is frozen (#473)
  49. - [Tests] add passing test cases with empty keys (#473)
  50. ## **6.11.1**
  51. - [Fix] `stringify`: encode comma values more consistently (#463)
  52. - [readme] add usage of `filter` option for injecting custom serialization, i.e. of custom types (#447)
  53. - [meta] remove extraneous code backticks (#457)
  54. - [meta] fix changelog markdown
  55. - [actions] update checkout action
  56. - [actions] restrict action permissions
  57. - [Dev Deps] update `@ljharb/eslint-config`, `aud`, `object-inspect`, `tape`
  58. ## **6.11.0**
  59. - [New] [Fix] `stringify`: revert 0e903c0; add `commaRoundTrip` option (#442)
  60. - [readme] fix version badge
  61. ## **6.10.5**
  62. - [Fix] `stringify`: with `arrayFormat: comma`, properly include an explicit `[]` on a single-item array (#434)
  63. ## **6.10.4**
  64. - [Fix] `stringify`: with `arrayFormat: comma`, include an explicit `[]` on a single-item array (#441)
  65. - [meta] use `npmignore` to autogenerate an npmignore file
  66. - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `has-symbol`, `object-inspect`, `tape`
  67. ## **6.10.3**
  68. - [Fix] `parse`: ignore `__proto__` keys (#428)
  69. - [Robustness] `stringify`: avoid relying on a global `undefined` (#427)
  70. - [actions] reuse common workflows
  71. - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `object-inspect`, `tape`
  72. ## **6.10.2**
  73. - [Fix] `stringify`: actually fix cyclic references (#426)
  74. - [Fix] `stringify`: avoid encoding arrayformat comma when `encodeValuesOnly = true` (#424)
  75. - [readme] remove travis badge; add github actions/codecov badges; update URLs
  76. - [Docs] add note and links for coercing primitive values (#408)
  77. - [actions] update codecov uploader
  78. - [actions] update workflows
  79. - [Tests] clean up stringify tests slightly
  80. - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `object-inspect`, `safe-publish-latest`, `tape`
  81. ## **6.10.1**
  82. - [Fix] `stringify`: avoid exception on repeated object values (#402)
  83. ## **6.10.0**
  84. - [New] `stringify`: throw on cycles, instead of an infinite loop (#395, #394, #393)
  85. - [New] `parse`: add `allowSparse` option for collapsing arrays with missing indices (#312)
  86. - [meta] fix README.md (#399)
  87. - [meta] only run `npm run dist` in publish, not install
  88. - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `has-symbols`, `tape`
  89. - [Tests] fix tests on node v0.6
  90. - [Tests] use `ljharb/actions/node/install` instead of `ljharb/actions/node/run`
  91. - [Tests] Revert "[meta] ignore eclint transitive audit warning"
  92. ## **6.9.7**
  93. - [Fix] `parse`: ignore `__proto__` keys (#428)
  94. - [Fix] `stringify`: avoid encoding arrayformat comma when `encodeValuesOnly = true` (#424)
  95. - [Robustness] `stringify`: avoid relying on a global `undefined` (#427)
  96. - [readme] remove travis badge; add github actions/codecov badges; update URLs
  97. - [Docs] add note and links for coercing primitive values (#408)
  98. - [Tests] clean up stringify tests slightly
  99. - [meta] fix README.md (#399)
  100. - Revert "[meta] ignore eclint transitive audit warning"
  101. - [actions] backport actions from main
  102. - [Dev Deps] backport updates from main
  103. ## **6.9.6**
  104. - [Fix] restore `dist` dir; mistakenly removed in d4f6c32
  105. ## **6.9.5**
  106. - [Fix] `stringify`: do not encode parens for RFC1738
  107. - [Fix] `stringify`: fix arrayFormat comma with empty array/objects (#350)
  108. - [Refactor] `format`: remove `util.assign` call
  109. - [meta] add "Allow Edits" workflow; update rebase workflow
  110. - [actions] switch Automatic Rebase workflow to `pull_request_target` event
  111. - [Tests] `stringify`: add tests for #378
  112. - [Tests] migrate tests to Github Actions
  113. - [Tests] run `nyc` on all tests; use `tape` runner
  114. - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `browserify`, `mkdirp`, `object-inspect`, `tape`; add `aud`
  115. ## **6.9.4**
  116. - [Fix] `stringify`: when `arrayFormat` is `comma`, respect `serializeDate` (#364)
  117. - [Refactor] `stringify`: reduce branching (part of #350)
  118. - [Refactor] move `maybeMap` to `utils`
  119. - [Dev Deps] update `browserify`, `tape`
  120. ## **6.9.3**
  121. - [Fix] proper comma parsing of URL-encoded commas (#361)
  122. - [Fix] parses comma delimited array while having percent-encoded comma treated as normal text (#336)
  123. ## **6.9.2**
  124. - [Fix] `parse`: Fix parsing array from object with `comma` true (#359)
  125. - [Fix] `parse`: throw a TypeError instead of an Error for bad charset (#349)
  126. - [meta] ignore eclint transitive audit warning
  127. - [meta] fix indentation in package.json
  128. - [meta] add tidelift marketing copy
  129. - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `object-inspect`, `has-symbols`, `tape`, `mkdirp`, `iconv-lite`
  130. - [actions] add automatic rebasing / merge commit blocking
  131. ## **6.9.1**
  132. - [Fix] `parse`: with comma true, handle field that holds an array of arrays (#335)
  133. - [Fix] `parse`: with comma true, do not split non-string values (#334)
  134. - [meta] add `funding` field
  135. - [Dev Deps] update `eslint`, `@ljharb/eslint-config`
  136. - [Tests] use shared travis-ci config
  137. ## **6.9.0**
  138. - [New] `parse`/`stringify`: Pass extra key/value argument to `decoder` (#333)
  139. - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `evalmd`
  140. - [Tests] `parse`: add passing `arrayFormat` tests
  141. - [Tests] add `posttest` using `npx aud` to run `npm audit` without a lockfile
  142. - [Tests] up to `node` `v12.10`, `v11.15`, `v10.16`, `v8.16`
  143. - [Tests] `Buffer.from` in node v5.0-v5.9 and v4.0-v4.4 requires a TypedArray
  144. ## **6.8.3**
  145. - [Fix] `parse`: ignore `__proto__` keys (#428)
  146. - [Robustness] `stringify`: avoid relying on a global `undefined` (#427)
  147. - [Fix] `stringify`: avoid encoding arrayformat comma when `encodeValuesOnly = true` (#424)
  148. - [readme] remove travis badge; add github actions/codecov badges; update URLs
  149. - [Tests] clean up stringify tests slightly
  150. - [Docs] add note and links for coercing primitive values (#408)
  151. - [meta] fix README.md (#399)
  152. - [actions] backport actions from main
  153. - [Dev Deps] backport updates from main
  154. - [Refactor] `stringify`: reduce branching
  155. - [meta] do not publish workflow files
  156. ## **6.8.2**
  157. - [Fix] proper comma parsing of URL-encoded commas (#361)
  158. - [Fix] parses comma delimited array while having percent-encoded comma treated as normal text (#336)
  159. ## **6.8.1**
  160. - [Fix] `parse`: Fix parsing array from object with `comma` true (#359)
  161. - [Fix] `parse`: throw a TypeError instead of an Error for bad charset (#349)
  162. - [Fix] `parse`: with comma true, handle field that holds an array of arrays (#335)
  163. - [fix] `parse`: with comma true, do not split non-string values (#334)
  164. - [meta] add tidelift marketing copy
  165. - [meta] add `funding` field
  166. - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `tape`, `safe-publish-latest`, `evalmd`, `has-symbols`, `iconv-lite`, `mkdirp`, `object-inspect`
  167. - [Tests] `parse`: add passing `arrayFormat` tests
  168. - [Tests] use shared travis-ci configs
  169. - [Tests] `Buffer.from` in node v5.0-v5.9 and v4.0-v4.4 requires a TypedArray
  170. - [actions] add automatic rebasing / merge commit blocking
  171. ## **6.8.0**
  172. - [New] add `depth=false` to preserve the original key; [Fix] `depth=0` should preserve the original key (#326)
  173. - [New] [Fix] stringify symbols and bigints
  174. - [Fix] ensure node 0.12 can stringify Symbols
  175. - [Fix] fix for an impossible situation: when the formatter is called with a non-string value
  176. - [Refactor] `formats`: tiny bit of cleanup.
  177. - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `browserify`, `safe-publish-latest`, `iconv-lite`, `tape`
  178. - [Tests] add tests for `depth=0` and `depth=false` behavior, both current and intuitive/intended (#326)
  179. - [Tests] use `eclint` instead of `editorconfig-tools`
  180. - [docs] readme: add security note
  181. - [meta] add github sponsorship
  182. - [meta] add FUNDING.yml
  183. - [meta] Clean up license text so it’s properly detected as BSD-3-Clause
  184. ## **6.7.3**
  185. - [Fix] `parse`: ignore `__proto__` keys (#428)
  186. - [Fix] `stringify`: avoid encoding arrayformat comma when `encodeValuesOnly = true` (#424)
  187. - [Robustness] `stringify`: avoid relying on a global `undefined` (#427)
  188. - [readme] remove travis badge; add github actions/codecov badges; update URLs
  189. - [Docs] add note and links for coercing primitive values (#408)
  190. - [meta] fix README.md (#399)
  191. - [meta] do not publish workflow files
  192. - [actions] backport actions from main
  193. - [Dev Deps] backport updates from main
  194. - [Tests] use `nyc` for coverage
  195. - [Tests] clean up stringify tests slightly
  196. ## **6.7.2**
  197. - [Fix] proper comma parsing of URL-encoded commas (#361)
  198. - [Fix] parses comma delimited array while having percent-encoded comma treated as normal text (#336)
  199. ## **6.7.1**
  200. - [Fix] `parse`: Fix parsing array from object with `comma` true (#359)
  201. - [Fix] `parse`: with comma true, handle field that holds an array of arrays (#335)
  202. - [fix] `parse`: with comma true, do not split non-string values (#334)
  203. - [Fix] `parse`: throw a TypeError instead of an Error for bad charset (#349)
  204. - [Fix] fix for an impossible situation: when the formatter is called with a non-string value
  205. - [Refactor] `formats`: tiny bit of cleanup.
  206. - readme: add security note
  207. - [meta] add tidelift marketing copy
  208. - [meta] add `funding` field
  209. - [meta] add FUNDING.yml
  210. - [meta] Clean up license text so it’s properly detected as BSD-3-Clause
  211. - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `tape`, `safe-publish-latest`, `evalmd`, `iconv-lite`, `mkdirp`, `object-inspect`, `browserify`
  212. - [Tests] `parse`: add passing `arrayFormat` tests
  213. - [Tests] use shared travis-ci configs
  214. - [Tests] `Buffer.from` in node v5.0-v5.9 and v4.0-v4.4 requires a TypedArray
  215. - [Tests] add tests for `depth=0` and `depth=false` behavior, both current and intuitive/intended
  216. - [Tests] use `eclint` instead of `editorconfig-tools`
  217. - [actions] add automatic rebasing / merge commit blocking
  218. ## **6.7.0**
  219. - [New] `stringify`/`parse`: add `comma` as an `arrayFormat` option (#276, #219)
  220. - [Fix] correctly parse nested arrays (#212)
  221. - [Fix] `utils.merge`: avoid a crash with a null target and a truthy non-array source, also with an array source
  222. - [Robustness] `stringify`: cache `Object.prototype.hasOwnProperty`
  223. - [Refactor] `utils`: `isBuffer`: small tweak; add tests
  224. - [Refactor] use cached `Array.isArray`
  225. - [Refactor] `parse`/`stringify`: make a function to normalize the options
  226. - [Refactor] `utils`: reduce observable [[Get]]s
  227. - [Refactor] `stringify`/`utils`: cache `Array.isArray`
  228. - [Tests] always use `String(x)` over `x.toString()`
  229. - [Tests] fix Buffer tests to work in node < 4.5 and node < 5.10
  230. - [Tests] temporarily allow coverage to fail
  231. ## **6.6.1**
  232. - [Fix] `parse`: ignore `__proto__` keys (#428)
  233. - [Fix] fix for an impossible situation: when the formatter is called with a non-string value
  234. - [Fix] `utils.merge`: avoid a crash with a null target and an array source
  235. - [Fix] `utils.merge`: avoid a crash with a null target and a truthy non-array source
  236. - [Fix] correctly parse nested arrays
  237. - [Robustness] `stringify`: avoid relying on a global `undefined` (#427)
  238. - [Robustness] `stringify`: cache `Object.prototype.hasOwnProperty`
  239. - [Refactor] `formats`: tiny bit of cleanup.
  240. - [Refactor] `utils`: `isBuffer`: small tweak; add tests
  241. - [Refactor]: `stringify`/`utils`: cache `Array.isArray`
  242. - [Refactor] `utils`: reduce observable [[Get]]s
  243. - [Refactor] use cached `Array.isArray`
  244. - [Refactor] `parse`/`stringify`: make a function to normalize the options
  245. - [readme] remove travis badge; add github actions/codecov badges; update URLs
  246. - [Docs] Clarify the need for "arrayLimit" option
  247. - [meta] fix README.md (#399)
  248. - [meta] do not publish workflow files
  249. - [meta] Clean up license text so it’s properly detected as BSD-3-Clause
  250. - [meta] add FUNDING.yml
  251. - [meta] Fixes typo in CHANGELOG.md
  252. - [actions] backport actions from main
  253. - [Tests] fix Buffer tests to work in node < 4.5 and node < 5.10
  254. - [Tests] always use `String(x)` over `x.toString()`
  255. - [Dev Deps] backport from main
  256. ## **6.6.0**
  257. - [New] Add support for iso-8859-1, utf8 "sentinel" and numeric entities (#268)
  258. - [New] move two-value combine to a `utils` function (#189)
  259. - [Fix] `stringify`: fix a crash with `strictNullHandling` and a custom `filter`/`serializeDate` (#279)
  260. - [Fix] when `parseArrays` is false, properly handle keys ending in `[]` (#260)
  261. - [Fix] `stringify`: do not crash in an obscure combo of `interpretNumericEntities`, a bad custom `decoder`, & `iso-8859-1`
  262. - [Fix] `utils`: `merge`: fix crash when `source` is a truthy primitive & no options are provided
  263. - [refactor] `stringify`: Avoid arr = arr.concat(...), push to the existing instance (#269)
  264. - [Refactor] `parse`: only need to reassign the var once
  265. - [Refactor] `parse`/`stringify`: clean up `charset` options checking; fix defaults
  266. - [Refactor] add missing defaults
  267. - [Refactor] `parse`: one less `concat` call
  268. - [Refactor] `utils`: `compactQueue`: make it explicitly side-effecting
  269. - [Dev Deps] update `browserify`, `eslint`, `@ljharb/eslint-config`, `iconv-lite`, `safe-publish-latest`, `tape`
  270. - [Tests] up to `node` `v10.10`, `v9.11`, `v8.12`, `v6.14`, `v4.9`; pin included builds to LTS
  271. ## **6.5.3**
  272. - [Fix] `parse`: ignore `__proto__` keys (#428)
  273. - [Fix] `utils.merge`: avoid a crash with a null target and a truthy non-array source
  274. - [Fix] correctly parse nested arrays
  275. - [Fix] `stringify`: fix a crash with `strictNullHandling` and a custom `filter`/`serializeDate` (#279)
  276. - [Fix] `utils`: `merge`: fix crash when `source` is a truthy primitive & no options are provided
  277. - [Fix] when `parseArrays` is false, properly handle keys ending in `[]`
  278. - [Fix] fix for an impossible situation: when the formatter is called with a non-string value
  279. - [Fix] `utils.merge`: avoid a crash with a null target and an array source
  280. - [Refactor] `utils`: reduce observable [[Get]]s
  281. - [Refactor] use cached `Array.isArray`
  282. - [Refactor] `stringify`: Avoid arr = arr.concat(...), push to the existing instance (#269)
  283. - [Refactor] `parse`: only need to reassign the var once
  284. - [Robustness] `stringify`: avoid relying on a global `undefined` (#427)
  285. - [readme] remove travis badge; add github actions/codecov badges; update URLs
  286. - [Docs] Clean up license text so it’s properly detected as BSD-3-Clause
  287. - [Docs] Clarify the need for "arrayLimit" option
  288. - [meta] fix README.md (#399)
  289. - [meta] add FUNDING.yml
  290. - [actions] backport actions from main
  291. - [Tests] always use `String(x)` over `x.toString()`
  292. - [Tests] remove nonexistent tape option
  293. - [Dev Deps] backport from main
  294. ## **6.5.2**
  295. - [Fix] use `safer-buffer` instead of `Buffer` constructor
  296. - [Refactor] utils: `module.exports` one thing, instead of mutating `exports` (#230)
  297. - [Dev Deps] update `browserify`, `eslint`, `iconv-lite`, `safer-buffer`, `tape`, `browserify`
  298. ## **6.5.1**
  299. - [Fix] Fix parsing & compacting very deep objects (#224)
  300. - [Refactor] name utils functions
  301. - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `tape`
  302. - [Tests] up to `node` `v8.4`; use `nvm install-latest-npm` so newer npm doesn’t break older node
  303. - [Tests] Use precise dist for Node.js 0.6 runtime (#225)
  304. - [Tests] make 0.6 required, now that it’s passing
  305. - [Tests] on `node` `v8.2`; fix npm on node 0.6
  306. ## **6.5.0**
  307. - [New] add `utils.assign`
  308. - [New] pass default encoder/decoder to custom encoder/decoder functions (#206)
  309. - [New] `parse`/`stringify`: add `ignoreQueryPrefix`/`addQueryPrefix` options, respectively (#213)
  310. - [Fix] Handle stringifying empty objects with addQueryPrefix (#217)
  311. - [Fix] do not mutate `options` argument (#207)
  312. - [Refactor] `parse`: cache index to reuse in else statement (#182)
  313. - [Docs] add various badges to readme (#208)
  314. - [Dev Deps] update `eslint`, `browserify`, `iconv-lite`, `tape`
  315. - [Tests] up to `node` `v8.1`, `v7.10`, `v6.11`; npm v4.6 breaks on node < v1; npm v5+ breaks on node < v4
  316. - [Tests] add `editorconfig-tools`
  317. ## **6.4.1**
  318. - [Fix] `parse`: ignore `__proto__` keys (#428)
  319. - [Fix] fix for an impossible situation: when the formatter is called with a non-string value
  320. - [Fix] use `safer-buffer` instead of `Buffer` constructor
  321. - [Fix] `utils.merge`: avoid a crash with a null target and an array source
  322. - [Fix] `utils.merge`: avoid a crash with a null target and a truthy non-array source
  323. - [Fix] `stringify`: fix a crash with `strictNullHandling` and a custom `filter`/`serializeDate` (#279)
  324. - [Fix] `utils`: `merge`: fix crash when `source` is a truthy primitive & no options are provided
  325. - [Fix] when `parseArrays` is false, properly handle keys ending in `[]`
  326. - [Robustness] `stringify`: avoid relying on a global `undefined` (#427)
  327. - [Refactor] use cached `Array.isArray`
  328. - [Refactor] `stringify`: Avoid arr = arr.concat(...), push to the existing instance (#269)
  329. - [readme] remove travis badge; add github actions/codecov badges; update URLs
  330. - [Docs] Clarify the need for "arrayLimit" option
  331. - [meta] fix README.md (#399)
  332. - [meta] Clean up license text so it’s properly detected as BSD-3-Clause
  333. - [meta] add FUNDING.yml
  334. - [actions] backport actions from main
  335. - [Tests] remove nonexistent tape option
  336. - [Dev Deps] backport from main
  337. ## **6.4.0**
  338. - [New] `qs.stringify`: add `encodeValuesOnly` option
  339. - [Fix] follow `allowPrototypes` option during merge (#201, #201)
  340. - [Fix] support keys starting with brackets (#202, #200)
  341. - [Fix] chmod a-x
  342. - [Dev Deps] update `eslint`
  343. - [Tests] up to `node` `v7.7`, `v6.10`,` v4.8`; disable osx builds since they block linux builds
  344. - [eslint] reduce warnings
  345. ## **6.3.3**
  346. - [Fix] `parse`: ignore `__proto__` keys (#428)
  347. - [Fix] fix for an impossible situation: when the formatter is called with a non-string value
  348. - [Fix] `utils.merge`: avoid a crash with a null target and an array source
  349. - [Fix] `utils.merge`: avoid a crash with a null target and a truthy non-array source
  350. - [Fix] `stringify`: fix a crash with `strictNullHandling` and a custom `filter`/`serializeDate` (#279)
  351. - [Fix] `utils`: `merge`: fix crash when `source` is a truthy primitive & no options are provided
  352. - [Fix] when `parseArrays` is false, properly handle keys ending in `[]`
  353. - [Robustness] `stringify`: avoid relying on a global `undefined` (#427)
  354. - [Refactor] use cached `Array.isArray`
  355. - [Refactor] `stringify`: Avoid arr = arr.concat(...), push to the existing instance (#269)
  356. - [Docs] Clarify the need for "arrayLimit" option
  357. - [meta] fix README.md (#399)
  358. - [meta] Clean up license text so it’s properly detected as BSD-3-Clause
  359. - [meta] add FUNDING.yml
  360. - [actions] backport actions from main
  361. - [Tests] use `safer-buffer` instead of `Buffer` constructor
  362. - [Tests] remove nonexistent tape option
  363. - [Dev Deps] backport from main
  364. ## **6.3.2**
  365. - [Fix] follow `allowPrototypes` option during merge (#201, #200)
  366. - [Dev Deps] update `eslint`
  367. - [Fix] chmod a-x
  368. - [Fix] support keys starting with brackets (#202, #200)
  369. - [Tests] up to `node` `v7.7`, `v6.10`,` v4.8`; disable osx builds since they block linux builds
  370. ## **6.3.1**
  371. - [Fix] ensure that `allowPrototypes: false` does not ever shadow Object.prototype properties (thanks, @snyk!)
  372. - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `browserify`, `iconv-lite`, `qs-iconv`, `tape`
  373. - [Tests] on all node minors; improve test matrix
  374. - [Docs] document stringify option `allowDots` (#195)
  375. - [Docs] add empty object and array values example (#195)
  376. - [Docs] Fix minor inconsistency/typo (#192)
  377. - [Docs] document stringify option `sort` (#191)
  378. - [Refactor] `stringify`: throw faster with an invalid encoder
  379. - [Refactor] remove unnecessary escapes (#184)
  380. - Remove contributing.md, since `qs` is no longer part of `hapi` (#183)
  381. ## **6.3.0**
  382. - [New] Add support for RFC 1738 (#174, #173)
  383. - [New] `stringify`: Add `serializeDate` option to customize Date serialization (#159)
  384. - [Fix] ensure `utils.merge` handles merging two arrays
  385. - [Refactor] only constructors should be capitalized
  386. - [Refactor] capitalized var names are for constructors only
  387. - [Refactor] avoid using a sparse array
  388. - [Robustness] `formats`: cache `String#replace`
  389. - [Dev Deps] update `browserify`, `eslint`, `@ljharb/eslint-config`; add `safe-publish-latest`
  390. - [Tests] up to `node` `v6.8`, `v4.6`; improve test matrix
  391. - [Tests] flesh out arrayLimit/arrayFormat tests (#107)
  392. - [Tests] skip Object.create tests when null objects are not available
  393. - [Tests] Turn on eslint for test files (#175)
  394. ## **6.2.4**
  395. - [Fix] `parse`: ignore `__proto__` keys (#428)
  396. - [Fix] `utils.merge`: avoid a crash with a null target and an array source
  397. - [Fix] `utils.merge`: avoid a crash with a null target and a truthy non-array source
  398. - [Fix] `utils`: `merge`: fix crash when `source` is a truthy primitive & no options are provided
  399. - [Fix] when `parseArrays` is false, properly handle keys ending in `[]`
  400. - [Robustness] `stringify`: avoid relying on a global `undefined` (#427)
  401. - [Refactor] use cached `Array.isArray`
  402. - [Docs] Clarify the need for "arrayLimit" option
  403. - [meta] fix README.md (#399)
  404. - [meta] Clean up license text so it’s properly detected as BSD-3-Clause
  405. - [meta] add FUNDING.yml
  406. - [actions] backport actions from main
  407. - [Tests] use `safer-buffer` instead of `Buffer` constructor
  408. - [Tests] remove nonexistent tape option
  409. - [Dev Deps] backport from main
  410. ## **6.2.3**
  411. - [Fix] follow `allowPrototypes` option during merge (#201, #200)
  412. - [Fix] chmod a-x
  413. - [Fix] support keys starting with brackets (#202, #200)
  414. - [Tests] up to `node` `v7.7`, `v6.10`,` v4.8`; disable osx builds since they block linux builds
  415. ## **6.2.2**
  416. - [Fix] ensure that `allowPrototypes: false` does not ever shadow Object.prototype properties
  417. ## **6.2.1**
  418. - [Fix] ensure `key[]=x&key[]&key[]=y` results in 3, not 2, values
  419. - [Refactor] Be explicit and use `Object.prototype.hasOwnProperty.call`
  420. - [Tests] remove `parallelshell` since it does not reliably report failures
  421. - [Tests] up to `node` `v6.3`, `v5.12`
  422. - [Dev Deps] update `tape`, `eslint`, `@ljharb/eslint-config`, `qs-iconv`
  423. ## [**6.2.0**](https://github.com/ljharb/qs/issues?milestone=36&state=closed)
  424. - [New] pass Buffers to the encoder/decoder directly (#161)
  425. - [New] add "encoder" and "decoder" options, for custom param encoding/decoding (#160)
  426. - [Fix] fix compacting of nested sparse arrays (#150)
  427. ## **6.1.2**
  428. - [Fix] follow `allowPrototypes` option during merge (#201, #200)
  429. - [Fix] chmod a-x
  430. - [Fix] support keys starting with brackets (#202, #200)
  431. - [Tests] up to `node` `v7.7`, `v6.10`,` v4.8`; disable osx builds since they block linux builds
  432. ## **6.1.1**
  433. - [Fix] ensure that `allowPrototypes: false` does not ever shadow Object.prototype properties
  434. ## [**6.1.0**](https://github.com/ljharb/qs/issues?milestone=35&state=closed)
  435. - [New] allowDots option for `stringify` (#151)
  436. - [Fix] "sort" option should work at a depth of 3 or more (#151)
  437. - [Fix] Restore `dist` directory; will be removed in v7 (#148)
  438. ## **6.0.4**
  439. - [Fix] follow `allowPrototypes` option during merge (#201, #200)
  440. - [Fix] chmod a-x
  441. - [Fix] support keys starting with brackets (#202, #200)
  442. - [Tests] up to `node` `v7.7`, `v6.10`,` v4.8`; disable osx builds since they block linux builds
  443. ## **6.0.3**
  444. - [Fix] ensure that `allowPrototypes: false` does not ever shadow Object.prototype properties
  445. - [Fix] Restore `dist` directory; will be removed in v7 (#148)
  446. ## [**6.0.2**](https://github.com/ljharb/qs/issues?milestone=33&state=closed)
  447. - Revert ES6 requirement and restore support for node down to v0.8.
  448. ## [**6.0.1**](https://github.com/ljharb/qs/issues?milestone=32&state=closed)
  449. - [**#127**](https://github.com/ljharb/qs/pull/127) Fix engines definition in package.json
  450. ## [**6.0.0**](https://github.com/ljharb/qs/issues?milestone=31&state=closed)
  451. - [**#124**](https://github.com/ljharb/qs/issues/124) Use ES6 and drop support for node < v4
  452. ## **5.2.1**
  453. - [Fix] ensure `key[]=x&key[]&key[]=y` results in 3, not 2, values
  454. ## [**5.2.0**](https://github.com/ljharb/qs/issues?milestone=30&state=closed)
  455. - [**#64**](https://github.com/ljharb/qs/issues/64) Add option to sort object keys in the query string
  456. ## [**5.1.0**](https://github.com/ljharb/qs/issues?milestone=29&state=closed)
  457. - [**#117**](https://github.com/ljharb/qs/issues/117) make URI encoding stringified results optional
  458. - [**#106**](https://github.com/ljharb/qs/issues/106) Add flag `skipNulls` to optionally skip null values in stringify
  459. ## [**5.0.0**](https://github.com/ljharb/qs/issues?milestone=28&state=closed)
  460. - [**#114**](https://github.com/ljharb/qs/issues/114) default allowDots to false
  461. - [**#100**](https://github.com/ljharb/qs/issues/100) include dist to npm
  462. ## [**4.0.0**](https://github.com/ljharb/qs/issues?milestone=26&state=closed)
  463. - [**#98**](https://github.com/ljharb/qs/issues/98) make returning plain objects and allowing prototype overwriting properties optional
  464. ## [**3.1.0**](https://github.com/ljharb/qs/issues?milestone=24&state=closed)
  465. - [**#89**](https://github.com/ljharb/qs/issues/89) Add option to disable "Transform dot notation to bracket notation"
  466. ## [**3.0.0**](https://github.com/ljharb/qs/issues?milestone=23&state=closed)
  467. - [**#80**](https://github.com/ljharb/qs/issues/80) qs.parse silently drops properties
  468. - [**#77**](https://github.com/ljharb/qs/issues/77) Perf boost
  469. - [**#60**](https://github.com/ljharb/qs/issues/60) Add explicit option to disable array parsing
  470. - [**#74**](https://github.com/ljharb/qs/issues/74) Bad parse when turning array into object
  471. - [**#81**](https://github.com/ljharb/qs/issues/81) Add a `filter` option
  472. - [**#68**](https://github.com/ljharb/qs/issues/68) Fixed issue with recursion and passing strings into objects.
  473. - [**#66**](https://github.com/ljharb/qs/issues/66) Add mixed array and object dot notation support Closes: #47
  474. - [**#76**](https://github.com/ljharb/qs/issues/76) RFC 3986
  475. - [**#85**](https://github.com/ljharb/qs/issues/85) No equal sign
  476. - [**#84**](https://github.com/ljharb/qs/issues/84) update license attribute
  477. ## [**2.4.1**](https://github.com/ljharb/qs/issues?milestone=20&state=closed)
  478. - [**#73**](https://github.com/ljharb/qs/issues/73) Property 'hasOwnProperty' of object #<Object> is not a function
  479. ## [**2.4.0**](https://github.com/ljharb/qs/issues?milestone=19&state=closed)
  480. - [**#70**](https://github.com/ljharb/qs/issues/70) Add arrayFormat option
  481. ## [**2.3.3**](https://github.com/ljharb/qs/issues?milestone=18&state=closed)
  482. - [**#59**](https://github.com/ljharb/qs/issues/59) make sure array indexes are >= 0, closes #57
  483. - [**#58**](https://github.com/ljharb/qs/issues/58) make qs usable for browser loader
  484. ## [**2.3.2**](https://github.com/ljharb/qs/issues?milestone=17&state=closed)
  485. - [**#55**](https://github.com/ljharb/qs/issues/55) allow merging a string into an object
  486. ## [**2.3.1**](https://github.com/ljharb/qs/issues?milestone=16&state=closed)
  487. - [**#52**](https://github.com/ljharb/qs/issues/52) Return "undefined" and "false" instead of throwing "TypeError".
  488. ## [**2.3.0**](https://github.com/ljharb/qs/issues?milestone=15&state=closed)
  489. - [**#50**](https://github.com/ljharb/qs/issues/50) add option to omit array indices, closes #46
  490. ## [**2.2.5**](https://github.com/ljharb/qs/issues?milestone=14&state=closed)
  491. - [**#39**](https://github.com/ljharb/qs/issues/39) Is there an alternative to Buffer.isBuffer?
  492. - [**#49**](https://github.com/ljharb/qs/issues/49) refactor utils.merge, fixes #45
  493. - [**#41**](https://github.com/ljharb/qs/issues/41) avoid browserifying Buffer, for #39
  494. ## [**2.2.4**](https://github.com/ljharb/qs/issues?milestone=13&state=closed)
  495. - [**#38**](https://github.com/ljharb/qs/issues/38) how to handle object keys beginning with a number
  496. ## [**2.2.3**](https://github.com/ljharb/qs/issues?milestone=12&state=closed)
  497. - [**#37**](https://github.com/ljharb/qs/issues/37) parser discards first empty value in array
  498. - [**#36**](https://github.com/ljharb/qs/issues/36) Update to lab 4.x
  499. ## [**2.2.2**](https://github.com/ljharb/qs/issues?milestone=11&state=closed)
  500. - [**#33**](https://github.com/ljharb/qs/issues/33) Error when plain object in a value
  501. - [**#34**](https://github.com/ljharb/qs/issues/34) use Object.prototype.hasOwnProperty.call instead of obj.hasOwnProperty
  502. - [**#24**](https://github.com/ljharb/qs/issues/24) Changelog? Semver?
  503. ## [**2.2.1**](https://github.com/ljharb/qs/issues?milestone=10&state=closed)
  504. - [**#32**](https://github.com/ljharb/qs/issues/32) account for circular references properly, closes #31
  505. - [**#31**](https://github.com/ljharb/qs/issues/31) qs.parse stackoverflow on circular objects
  506. ## [**2.2.0**](https://github.com/ljharb/qs/issues?milestone=9&state=closed)
  507. - [**#26**](https://github.com/ljharb/qs/issues/26) Don't use Buffer global if it's not present
  508. - [**#30**](https://github.com/ljharb/qs/issues/30) Bug when merging non-object values into arrays
  509. - [**#29**](https://github.com/ljharb/qs/issues/29) Don't call Utils.clone at the top of Utils.merge
  510. - [**#23**](https://github.com/ljharb/qs/issues/23) Ability to not limit parameters?
  511. ## [**2.1.0**](https://github.com/ljharb/qs/issues?milestone=8&state=closed)
  512. - [**#22**](https://github.com/ljharb/qs/issues/22) Enable using a RegExp as delimiter
  513. ## [**2.0.0**](https://github.com/ljharb/qs/issues?milestone=7&state=closed)
  514. - [**#18**](https://github.com/ljharb/qs/issues/18) Why is there arrayLimit?
  515. - [**#20**](https://github.com/ljharb/qs/issues/20) Configurable parametersLimit
  516. - [**#21**](https://github.com/ljharb/qs/issues/21) make all limits optional, for #18, for #20
  517. ## [**1.2.2**](https://github.com/ljharb/qs/issues?milestone=6&state=closed)
  518. - [**#19**](https://github.com/ljharb/qs/issues/19) Don't overwrite null values
  519. ## [**1.2.1**](https://github.com/ljharb/qs/issues?milestone=5&state=closed)
  520. - [**#16**](https://github.com/ljharb/qs/issues/16) ignore non-string delimiters
  521. - [**#15**](https://github.com/ljharb/qs/issues/15) Close code block
  522. ## [**1.2.0**](https://github.com/ljharb/qs/issues?milestone=4&state=closed)
  523. - [**#12**](https://github.com/ljharb/qs/issues/12) Add optional delim argument
  524. - [**#13**](https://github.com/ljharb/qs/issues/13) fix #11: flattened keys in array are now correctly parsed
  525. ## [**1.1.0**](https://github.com/ljharb/qs/issues?milestone=3&state=closed)
  526. - [**#7**](https://github.com/ljharb/qs/issues/7) Empty values of a POST array disappear after being submitted
  527. - [**#9**](https://github.com/ljharb/qs/issues/9) Should not omit equals signs (=) when value is null
  528. - [**#6**](https://github.com/ljharb/qs/issues/6) Minor grammar fix in README
  529. ## [**1.0.2**](https://github.com/ljharb/qs/issues?milestone=2&state=closed)
  530. - [**#5**](https://github.com/ljharb/qs/issues/5) array holes incorrectly copied into object on large index