node-red-contrib-web-worldmap 5.7.1 → 5.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.
Files changed (279) hide show
  1. package/CHANGELOG.md +2 -0
  2. package/README.md +3 -1
  3. package/node_modules/es-object-atoms/CHANGELOG.md +21 -14
  4. package/node_modules/es-object-atoms/isObject.d.ts +1 -1
  5. package/node_modules/es-object-atoms/package.json +6 -7
  6. package/node_modules/es-object-atoms/tsconfig.json +1 -0
  7. package/node_modules/express/History.md +9 -0
  8. package/node_modules/express/lib/utils.js +2 -1
  9. package/node_modules/express/package.json +3 -3
  10. package/node_modules/qs/CHANGELOG.md +178 -0
  11. package/node_modules/qs/README.md +19 -1
  12. package/node_modules/qs/dist/qs.js +17 -17
  13. package/node_modules/qs/eslint.config.mjs +1 -0
  14. package/node_modules/qs/lib/parse.js +57 -25
  15. package/node_modules/qs/lib/stringify.js +11 -4
  16. package/node_modules/qs/lib/utils.js +2 -0
  17. package/node_modules/qs/package.json +3 -3
  18. package/node_modules/qs/test/parse.js +195 -4
  19. package/node_modules/qs/test/stringify.js +138 -0
  20. package/node_modules/qs/test/utils.js +38 -3
  21. package/node_modules/uuid/README.md +182 -177
  22. package/node_modules/uuid/dist/cjs/index.d.ts +15 -0
  23. package/node_modules/uuid/dist/cjs/index.js +31 -0
  24. package/node_modules/uuid/dist/cjs/max.d.ts +2 -0
  25. package/node_modules/uuid/dist/cjs/max.js +3 -0
  26. package/node_modules/uuid/dist/cjs/md5.d.ts +4 -0
  27. package/node_modules/uuid/dist/cjs/md5.js +13 -0
  28. package/node_modules/uuid/dist/cjs/native.d.ts +6 -0
  29. package/node_modules/uuid/dist/cjs/native.js +4 -0
  30. package/node_modules/uuid/dist/cjs/nil.d.ts +2 -0
  31. package/node_modules/uuid/dist/cjs/nil.js +3 -0
  32. package/node_modules/uuid/dist/cjs/package.json +1 -0
  33. package/node_modules/uuid/dist/cjs/parse.d.ts +2 -0
  34. package/node_modules/uuid/dist/cjs/parse.js +11 -0
  35. package/node_modules/uuid/dist/cjs/regex.d.ts +2 -0
  36. package/node_modules/uuid/dist/cjs/regex.js +3 -0
  37. package/node_modules/uuid/dist/cjs/rng.d.ts +1 -0
  38. package/node_modules/uuid/dist/cjs/rng.js +13 -0
  39. package/node_modules/uuid/dist/cjs/sha1.d.ts +4 -0
  40. package/node_modules/uuid/dist/cjs/sha1.js +13 -0
  41. package/node_modules/uuid/dist/cjs/stringify.d.ts +3 -0
  42. package/node_modules/uuid/dist/cjs/stringify.js +39 -0
  43. package/node_modules/uuid/dist/cjs/types.d.ts +21 -0
  44. package/node_modules/uuid/dist/cjs/types.js +2 -0
  45. package/node_modules/uuid/dist/cjs/uuid-bin.d.ts +1 -0
  46. package/node_modules/uuid/dist/cjs/uuid-bin.js +72 -0
  47. package/node_modules/uuid/dist/cjs/v1.d.ts +11 -0
  48. package/node_modules/uuid/dist/cjs/v1.js +87 -0
  49. package/node_modules/uuid/dist/cjs/v1ToV6.d.ts +2 -0
  50. package/node_modules/uuid/dist/cjs/v1ToV6.js +13 -0
  51. package/node_modules/uuid/dist/cjs/v3.d.ts +9 -0
  52. package/node_modules/uuid/dist/cjs/v3.js +14 -0
  53. package/node_modules/uuid/dist/cjs/v35.d.ts +7 -0
  54. package/node_modules/uuid/dist/cjs/v35.js +44 -0
  55. package/node_modules/uuid/dist/cjs/v4.d.ts +4 -0
  56. package/node_modules/uuid/dist/cjs/v4.js +29 -0
  57. package/node_modules/uuid/dist/cjs/v5.d.ts +9 -0
  58. package/node_modules/uuid/dist/cjs/v5.js +14 -0
  59. package/node_modules/uuid/dist/cjs/v6.d.ts +4 -0
  60. package/node_modules/uuid/dist/cjs/v6.js +22 -0
  61. package/node_modules/uuid/dist/cjs/v6ToV1.d.ts +2 -0
  62. package/node_modules/uuid/dist/cjs/v6ToV1.js +13 -0
  63. package/node_modules/uuid/dist/cjs/v7.d.ts +9 -0
  64. package/node_modules/uuid/dist/cjs/v7.js +69 -0
  65. package/node_modules/uuid/dist/cjs/validate.d.ts +2 -0
  66. package/node_modules/uuid/dist/cjs/validate.js +7 -0
  67. package/node_modules/uuid/dist/cjs/version.d.ts +2 -0
  68. package/node_modules/uuid/dist/cjs/version.js +10 -0
  69. package/node_modules/uuid/dist/cjs-browser/index.d.ts +15 -0
  70. package/node_modules/uuid/dist/cjs-browser/index.js +31 -0
  71. package/node_modules/uuid/dist/cjs-browser/max.d.ts +2 -0
  72. package/node_modules/uuid/dist/cjs-browser/max.js +3 -0
  73. package/node_modules/uuid/dist/cjs-browser/md5.d.ts +2 -0
  74. package/node_modules/uuid/dist/cjs-browser/md5.js +137 -0
  75. package/node_modules/uuid/dist/cjs-browser/native.d.ts +4 -0
  76. package/node_modules/uuid/dist/cjs-browser/native.js +4 -0
  77. package/node_modules/uuid/dist/cjs-browser/nil.d.ts +2 -0
  78. package/node_modules/uuid/dist/cjs-browser/nil.js +3 -0
  79. package/node_modules/uuid/dist/cjs-browser/package.json +1 -0
  80. package/node_modules/uuid/dist/cjs-browser/parse.d.ts +2 -0
  81. package/node_modules/uuid/dist/cjs-browser/parse.js +11 -0
  82. package/node_modules/uuid/dist/cjs-browser/regex.d.ts +2 -0
  83. package/node_modules/uuid/dist/cjs-browser/regex.js +3 -0
  84. package/node_modules/uuid/dist/cjs-browser/rng.d.ts +1 -0
  85. package/node_modules/uuid/dist/cjs-browser/rng.js +14 -0
  86. package/node_modules/uuid/dist/cjs-browser/sha1.d.ts +2 -0
  87. package/node_modules/uuid/dist/cjs-browser/sha1.js +72 -0
  88. package/node_modules/uuid/dist/cjs-browser/stringify.d.ts +3 -0
  89. package/node_modules/uuid/dist/cjs-browser/stringify.js +39 -0
  90. package/node_modules/uuid/dist/cjs-browser/types.d.ts +21 -0
  91. package/node_modules/uuid/dist/cjs-browser/types.js +2 -0
  92. package/node_modules/uuid/dist/cjs-browser/uuid-bin.d.ts +1 -0
  93. package/node_modules/uuid/dist/cjs-browser/uuid-bin.js +72 -0
  94. package/node_modules/uuid/dist/cjs-browser/v1.d.ts +11 -0
  95. package/node_modules/uuid/dist/cjs-browser/v1.js +87 -0
  96. package/node_modules/uuid/dist/cjs-browser/v1ToV6.d.ts +2 -0
  97. package/node_modules/uuid/dist/cjs-browser/v1ToV6.js +13 -0
  98. package/node_modules/uuid/dist/cjs-browser/v3.d.ts +9 -0
  99. package/node_modules/uuid/dist/cjs-browser/v3.js +14 -0
  100. package/node_modules/uuid/dist/cjs-browser/v35.d.ts +7 -0
  101. package/node_modules/uuid/dist/cjs-browser/v35.js +44 -0
  102. package/node_modules/uuid/dist/cjs-browser/v4.d.ts +4 -0
  103. package/node_modules/uuid/dist/cjs-browser/v4.js +29 -0
  104. package/node_modules/uuid/dist/cjs-browser/v5.d.ts +9 -0
  105. package/node_modules/uuid/dist/cjs-browser/v5.js +14 -0
  106. package/node_modules/uuid/dist/cjs-browser/v6.d.ts +4 -0
  107. package/node_modules/uuid/dist/cjs-browser/v6.js +22 -0
  108. package/node_modules/uuid/dist/cjs-browser/v6ToV1.d.ts +2 -0
  109. package/node_modules/uuid/dist/cjs-browser/v6ToV1.js +13 -0
  110. package/node_modules/uuid/dist/cjs-browser/v7.d.ts +9 -0
  111. package/node_modules/uuid/dist/cjs-browser/v7.js +69 -0
  112. package/node_modules/uuid/dist/cjs-browser/validate.d.ts +2 -0
  113. package/node_modules/uuid/dist/cjs-browser/validate.js +7 -0
  114. package/node_modules/uuid/dist/cjs-browser/version.d.ts +2 -0
  115. package/node_modules/uuid/dist/cjs-browser/version.js +10 -0
  116. package/node_modules/uuid/dist/esm/bin/uuid +2 -0
  117. package/node_modules/uuid/dist/esm/index.d.ts +15 -0
  118. package/node_modules/uuid/dist/{esm-node → esm}/index.js +9 -4
  119. package/node_modules/uuid/dist/esm/max.d.ts +2 -0
  120. package/node_modules/uuid/dist/esm/max.js +1 -0
  121. package/node_modules/uuid/dist/esm/md5.d.ts +4 -0
  122. package/node_modules/uuid/dist/esm/md5.js +11 -0
  123. package/node_modules/uuid/dist/esm/native.d.ts +6 -0
  124. package/node_modules/uuid/dist/esm/native.js +2 -0
  125. package/node_modules/uuid/dist/esm/nil.d.ts +2 -0
  126. package/node_modules/uuid/dist/esm/nil.js +1 -0
  127. package/node_modules/uuid/dist/esm/parse.d.ts +2 -0
  128. package/node_modules/uuid/dist/esm/parse.js +9 -0
  129. package/node_modules/uuid/dist/esm/regex.d.ts +2 -0
  130. package/node_modules/uuid/dist/esm/regex.js +1 -0
  131. package/node_modules/uuid/dist/esm/rng.d.ts +1 -0
  132. package/node_modules/uuid/dist/esm/rng.js +10 -0
  133. package/node_modules/uuid/dist/esm/sha1.d.ts +4 -0
  134. package/node_modules/uuid/dist/esm/sha1.js +11 -0
  135. package/node_modules/uuid/dist/esm/stringify.d.ts +3 -0
  136. package/node_modules/uuid/dist/esm/stringify.js +35 -0
  137. package/node_modules/uuid/dist/esm/types.d.ts +21 -0
  138. package/node_modules/uuid/dist/esm/types.js +1 -0
  139. package/node_modules/uuid/dist/esm/uuid-bin.d.ts +1 -0
  140. package/node_modules/uuid/dist/esm/uuid-bin.js +70 -0
  141. package/node_modules/uuid/dist/esm/v1.d.ts +11 -0
  142. package/node_modules/uuid/dist/esm/v1.js +83 -0
  143. package/node_modules/uuid/dist/esm/v1ToV6.d.ts +2 -0
  144. package/node_modules/uuid/dist/esm/v1ToV6.js +10 -0
  145. package/node_modules/uuid/dist/esm/v3.d.ts +9 -0
  146. package/node_modules/uuid/dist/esm/v3.js +9 -0
  147. package/node_modules/uuid/dist/esm/v35.d.ts +7 -0
  148. package/node_modules/uuid/dist/esm/v35.js +39 -0
  149. package/node_modules/uuid/dist/esm/v4.d.ts +4 -0
  150. package/node_modules/uuid/dist/esm/v4.js +27 -0
  151. package/node_modules/uuid/dist/esm/v5.d.ts +9 -0
  152. package/node_modules/uuid/dist/esm/v5.js +9 -0
  153. package/node_modules/uuid/dist/esm/v6.d.ts +4 -0
  154. package/node_modules/uuid/dist/esm/v6.js +20 -0
  155. package/node_modules/uuid/dist/esm/v6ToV1.d.ts +2 -0
  156. package/node_modules/uuid/dist/esm/v6ToV1.js +10 -0
  157. package/node_modules/uuid/dist/esm/v7.d.ts +9 -0
  158. package/node_modules/uuid/dist/esm/v7.js +65 -0
  159. package/node_modules/uuid/dist/esm/validate.d.ts +2 -0
  160. package/node_modules/uuid/dist/esm/validate.js +5 -0
  161. package/node_modules/uuid/dist/esm/version.d.ts +2 -0
  162. package/node_modules/uuid/dist/esm/version.js +8 -0
  163. package/node_modules/uuid/dist/esm-browser/index.d.ts +15 -0
  164. package/node_modules/uuid/dist/esm-browser/index.js +9 -4
  165. package/node_modules/uuid/dist/esm-browser/max.d.ts +2 -0
  166. package/node_modules/uuid/dist/esm-browser/max.js +1 -0
  167. package/node_modules/uuid/dist/esm-browser/md5.d.ts +2 -0
  168. package/node_modules/uuid/dist/esm-browser/md5.js +113 -193
  169. package/node_modules/uuid/dist/esm-browser/native.d.ts +4 -0
  170. package/node_modules/uuid/dist/esm-browser/native.js +2 -0
  171. package/node_modules/uuid/dist/esm-browser/nil.d.ts +2 -0
  172. package/node_modules/uuid/dist/esm-browser/nil.js +1 -1
  173. package/node_modules/uuid/dist/esm-browser/parse.d.ts +2 -0
  174. package/node_modules/uuid/dist/esm-browser/parse.js +6 -32
  175. package/node_modules/uuid/dist/esm-browser/regex.d.ts +2 -0
  176. package/node_modules/uuid/dist/esm-browser/regex.js +1 -1
  177. package/node_modules/uuid/dist/esm-browser/rng.d.ts +1 -0
  178. package/node_modules/uuid/dist/esm-browser/rng.js +8 -16
  179. package/node_modules/uuid/dist/esm-browser/sha1.d.ts +2 -0
  180. package/node_modules/uuid/dist/esm-browser/sha1.js +62 -88
  181. package/node_modules/uuid/dist/esm-browser/stringify.d.ts +3 -0
  182. package/node_modules/uuid/dist/esm-browser/stringify.js +32 -27
  183. package/node_modules/uuid/dist/esm-browser/types.d.ts +21 -0
  184. package/node_modules/uuid/dist/esm-browser/types.js +1 -0
  185. package/node_modules/uuid/dist/esm-browser/uuid-bin.d.ts +1 -0
  186. package/node_modules/uuid/dist/esm-browser/uuid-bin.js +70 -0
  187. package/node_modules/uuid/dist/esm-browser/v1.d.ts +11 -0
  188. package/node_modules/uuid/dist/esm-browser/v1.js +78 -90
  189. package/node_modules/uuid/dist/esm-browser/v1ToV6.d.ts +2 -0
  190. package/node_modules/uuid/dist/esm-browser/v1ToV6.js +10 -0
  191. package/node_modules/uuid/dist/esm-browser/v3.d.ts +9 -0
  192. package/node_modules/uuid/dist/esm-browser/v3.js +8 -3
  193. package/node_modules/uuid/dist/esm-browser/v35.d.ts +7 -0
  194. package/node_modules/uuid/dist/esm-browser/v35.js +33 -58
  195. package/node_modules/uuid/dist/esm-browser/v4.d.ts +4 -0
  196. package/node_modules/uuid/dist/esm-browser/v4.js +23 -20
  197. package/node_modules/uuid/dist/esm-browser/v5.d.ts +9 -0
  198. package/node_modules/uuid/dist/esm-browser/v5.js +8 -3
  199. package/node_modules/uuid/dist/esm-browser/v6.d.ts +4 -0
  200. package/node_modules/uuid/dist/esm-browser/v6.js +20 -0
  201. package/node_modules/uuid/dist/esm-browser/v6ToV1.d.ts +2 -0
  202. package/node_modules/uuid/dist/esm-browser/v6ToV1.js +10 -0
  203. package/node_modules/uuid/dist/esm-browser/v7.d.ts +9 -0
  204. package/node_modules/uuid/dist/esm-browser/v7.js +65 -0
  205. package/node_modules/uuid/dist/esm-browser/validate.d.ts +2 -0
  206. package/node_modules/uuid/dist/esm-browser/validate.js +2 -4
  207. package/node_modules/uuid/dist/esm-browser/version.d.ts +2 -0
  208. package/node_modules/uuid/dist/esm-browser/version.js +5 -8
  209. package/node_modules/uuid/package.json +80 -83
  210. package/package.json +5 -2
  211. package/worldmap/worldmap.js +7 -0
  212. package/worldmap.html +1 -1
  213. package/node_modules/body-parser/node_modules/qs/.editorconfig +0 -46
  214. package/node_modules/body-parser/node_modules/qs/.github/FUNDING.yml +0 -12
  215. package/node_modules/body-parser/node_modules/qs/.github/SECURITY.md +0 -11
  216. package/node_modules/body-parser/node_modules/qs/.github/THREAT_MODEL.md +0 -78
  217. package/node_modules/body-parser/node_modules/qs/.nycrc +0 -13
  218. package/node_modules/body-parser/node_modules/qs/CHANGELOG.md +0 -822
  219. package/node_modules/body-parser/node_modules/qs/LICENSE.md +0 -29
  220. package/node_modules/body-parser/node_modules/qs/README.md +0 -758
  221. package/node_modules/body-parser/node_modules/qs/dist/qs.js +0 -141
  222. package/node_modules/body-parser/node_modules/qs/eslint.config.mjs +0 -57
  223. package/node_modules/body-parser/node_modules/qs/lib/formats.js +0 -23
  224. package/node_modules/body-parser/node_modules/qs/lib/index.js +0 -11
  225. package/node_modules/body-parser/node_modules/qs/lib/parse.js +0 -403
  226. package/node_modules/body-parser/node_modules/qs/lib/stringify.js +0 -363
  227. package/node_modules/body-parser/node_modules/qs/lib/utils.js +0 -342
  228. package/node_modules/body-parser/node_modules/qs/package.json +0 -94
  229. package/node_modules/body-parser/node_modules/qs/test/empty-keys-cases.js +0 -267
  230. package/node_modules/body-parser/node_modules/qs/test/parse.js +0 -1703
  231. package/node_modules/body-parser/node_modules/qs/test/stringify.js +0 -1448
  232. package/node_modules/body-parser/node_modules/qs/test/utils.js +0 -432
  233. package/node_modules/uuid/CHANGELOG.md +0 -229
  234. package/node_modules/uuid/CONTRIBUTING.md +0 -18
  235. package/node_modules/uuid/dist/bin/uuid +0 -2
  236. package/node_modules/uuid/dist/esm-node/md5.js +0 -13
  237. package/node_modules/uuid/dist/esm-node/nil.js +0 -1
  238. package/node_modules/uuid/dist/esm-node/parse.js +0 -35
  239. package/node_modules/uuid/dist/esm-node/regex.js +0 -1
  240. package/node_modules/uuid/dist/esm-node/rng.js +0 -12
  241. package/node_modules/uuid/dist/esm-node/sha1.js +0 -13
  242. package/node_modules/uuid/dist/esm-node/stringify.js +0 -29
  243. package/node_modules/uuid/dist/esm-node/v1.js +0 -95
  244. package/node_modules/uuid/dist/esm-node/v3.js +0 -4
  245. package/node_modules/uuid/dist/esm-node/v35.js +0 -64
  246. package/node_modules/uuid/dist/esm-node/v4.js +0 -24
  247. package/node_modules/uuid/dist/esm-node/v5.js +0 -4
  248. package/node_modules/uuid/dist/esm-node/validate.js +0 -7
  249. package/node_modules/uuid/dist/esm-node/version.js +0 -11
  250. package/node_modules/uuid/dist/index.js +0 -79
  251. package/node_modules/uuid/dist/md5-browser.js +0 -223
  252. package/node_modules/uuid/dist/md5.js +0 -23
  253. package/node_modules/uuid/dist/nil.js +0 -8
  254. package/node_modules/uuid/dist/parse.js +0 -45
  255. package/node_modules/uuid/dist/regex.js +0 -8
  256. package/node_modules/uuid/dist/rng-browser.js +0 -26
  257. package/node_modules/uuid/dist/rng.js +0 -24
  258. package/node_modules/uuid/dist/sha1-browser.js +0 -104
  259. package/node_modules/uuid/dist/sha1.js +0 -23
  260. package/node_modules/uuid/dist/stringify.js +0 -39
  261. package/node_modules/uuid/dist/umd/uuid.min.js +0 -1
  262. package/node_modules/uuid/dist/umd/uuidNIL.min.js +0 -1
  263. package/node_modules/uuid/dist/umd/uuidParse.min.js +0 -1
  264. package/node_modules/uuid/dist/umd/uuidStringify.min.js +0 -1
  265. package/node_modules/uuid/dist/umd/uuidValidate.min.js +0 -1
  266. package/node_modules/uuid/dist/umd/uuidVersion.min.js +0 -1
  267. package/node_modules/uuid/dist/umd/uuidv1.min.js +0 -1
  268. package/node_modules/uuid/dist/umd/uuidv3.min.js +0 -1
  269. package/node_modules/uuid/dist/umd/uuidv4.min.js +0 -1
  270. package/node_modules/uuid/dist/umd/uuidv5.min.js +0 -1
  271. package/node_modules/uuid/dist/uuid-bin.js +0 -85
  272. package/node_modules/uuid/dist/v1.js +0 -107
  273. package/node_modules/uuid/dist/v3.js +0 -16
  274. package/node_modules/uuid/dist/v35.js +0 -78
  275. package/node_modules/uuid/dist/v4.js +0 -37
  276. package/node_modules/uuid/dist/v5.js +0 -16
  277. package/node_modules/uuid/dist/validate.js +0 -17
  278. package/node_modules/uuid/dist/version.js +0 -21
  279. package/node_modules/uuid/wrapper.mjs +0 -10
@@ -1,94 +0,0 @@
1
- {
2
- "name": "qs",
3
- "description": "A querystring parser that supports nesting and arrays, with a depth limit",
4
- "homepage": "https://github.com/ljharb/qs",
5
- "version": "6.15.2",
6
- "repository": {
7
- "type": "git",
8
- "url": "https://github.com/ljharb/qs.git"
9
- },
10
- "funding": {
11
- "url": "https://github.com/sponsors/ljharb"
12
- },
13
- "main": "lib/index.js",
14
- "sideEffects": false,
15
- "contributors": [
16
- {
17
- "name": "Jordan Harband",
18
- "email": "ljharb@gmail.com",
19
- "url": "http://ljharb.codes"
20
- }
21
- ],
22
- "keywords": [
23
- "querystring",
24
- "qs",
25
- "query",
26
- "url",
27
- "parse",
28
- "stringify"
29
- ],
30
- "engines": {
31
- "node": ">=0.6"
32
- },
33
- "dependencies": {
34
- "side-channel": "^1.1.0"
35
- },
36
- "devDependencies": {
37
- "@browserify/envify": "^6.0.0",
38
- "@browserify/uglifyify": "^6.0.0",
39
- "@ljharb/eslint-config": "^22.2.3",
40
- "browserify": "^16.5.2",
41
- "bundle-collapser": "^1.4.0",
42
- "common-shakeify": "~1.0.0",
43
- "eclint": "^2.8.1",
44
- "es-value-fixtures": "^1.7.1",
45
- "eslint": "^9.39.2",
46
- "evalmd": "^0.0.19",
47
- "for-each": "^0.3.5",
48
- "glob": "=10.3.7",
49
- "has-bigints": "^1.1.0",
50
- "has-override-mistake": "^1.0.1",
51
- "has-property-descriptors": "^1.0.2",
52
- "has-proto": "^1.2.0",
53
- "has-symbols": "^1.1.0",
54
- "iconv-lite": "^0.5.2",
55
- "in-publish": "^2.0.1",
56
- "jackspeak": "=2.1.1",
57
- "jiti": "^0.0.0",
58
- "mkdirp": "^0.5.5",
59
- "mock-property": "^1.1.0",
60
- "module-deps": "^6.2.3",
61
- "npmignore": "^0.3.5",
62
- "nyc": "^10.3.2",
63
- "object-inspect": "^1.13.4",
64
- "qs-iconv": "^1.0.4",
65
- "safe-publish-latest": "^2.0.0",
66
- "safer-buffer": "^2.1.2",
67
- "tape": "^5.9.0",
68
- "unassertify": "^3.0.1"
69
- },
70
- "scripts": {
71
- "prepack": "npmignore --auto --commentLines=autogenerated && npm run dist",
72
- "prepublishOnly": "safe-publish-latest",
73
- "prepublish": "not-in-publish || npm run prepublishOnly",
74
- "pretest": "npm run --silent readme && npm run --silent lint",
75
- "test": "npm run tests-only",
76
- "tests-only": "nyc tape 'test/**/*.js'",
77
- "posttest": "npx npm@'>=10.2' audit --production",
78
- "readme": "evalmd README.md",
79
- "postlint": "eclint check $(git ls-files | xargs find 2> /dev/null | grep -vE 'node_modules|\\.git' | grep -v dist/)",
80
- "lint": "eslint .",
81
- "dist": "mkdirp dist && browserify --standalone Qs -g unassertify -g @browserify/envify -g [@browserify/uglifyify --mangle.keep_fnames --compress.keep_fnames --format.indent_level=1 --compress.arrows=false --compress.passes=4 --compress.typeofs=false] -p common-shakeify -p bundle-collapser/plugin lib/index.js > dist/qs.js"
82
- },
83
- "license": "BSD-3-Clause",
84
- "publishConfig": {
85
- "ignore": [
86
- "!dist/*",
87
- "bower.json",
88
- "component.json",
89
- ".github/workflows",
90
- "logos",
91
- "tea.yaml"
92
- ]
93
- }
94
- }
@@ -1,267 +0,0 @@
1
- 'use strict';
2
-
3
- module.exports = {
4
- emptyTestCases: [
5
- {
6
- input: '&',
7
- withEmptyKeys: {},
8
- stringifyOutput: {
9
- brackets: '',
10
- indices: '',
11
- repeat: ''
12
- },
13
- noEmptyKeys: {}
14
- },
15
- {
16
- input: '&&',
17
- withEmptyKeys: {},
18
- stringifyOutput: {
19
- brackets: '',
20
- indices: '',
21
- repeat: ''
22
- },
23
- noEmptyKeys: {}
24
- },
25
- {
26
- input: '&=',
27
- withEmptyKeys: { '': '' },
28
- stringifyOutput: {
29
- brackets: '=',
30
- indices: '=',
31
- repeat: '='
32
- },
33
- noEmptyKeys: {}
34
- },
35
- {
36
- input: '&=&',
37
- withEmptyKeys: { '': '' },
38
- stringifyOutput: {
39
- brackets: '=',
40
- indices: '=',
41
- repeat: '='
42
- },
43
- noEmptyKeys: {}
44
- },
45
- {
46
- input: '&=&=',
47
- withEmptyKeys: { '': ['', ''] },
48
- stringifyOutput: {
49
- brackets: '[]=&[]=',
50
- indices: '[0]=&[1]=',
51
- repeat: '=&='
52
- },
53
- noEmptyKeys: {}
54
- },
55
- {
56
- input: '&=&=&',
57
- withEmptyKeys: { '': ['', ''] },
58
- stringifyOutput: {
59
- brackets: '[]=&[]=',
60
- indices: '[0]=&[1]=',
61
- repeat: '=&='
62
- },
63
- noEmptyKeys: {}
64
- },
65
- {
66
- input: '=',
67
- withEmptyKeys: { '': '' },
68
- noEmptyKeys: {},
69
- stringifyOutput: {
70
- brackets: '=',
71
- indices: '=',
72
- repeat: '='
73
- }
74
- },
75
- {
76
- input: '=&',
77
- withEmptyKeys: { '': '' },
78
- stringifyOutput: {
79
- brackets: '=',
80
- indices: '=',
81
- repeat: '='
82
- },
83
- noEmptyKeys: {}
84
- },
85
- {
86
- input: '=&&&',
87
- withEmptyKeys: { '': '' },
88
- stringifyOutput: {
89
- brackets: '=',
90
- indices: '=',
91
- repeat: '='
92
- },
93
- noEmptyKeys: {}
94
- },
95
- {
96
- input: '=&=&=&',
97
- withEmptyKeys: { '': ['', '', ''] },
98
- stringifyOutput: {
99
- brackets: '[]=&[]=&[]=',
100
- indices: '[0]=&[1]=&[2]=',
101
- repeat: '=&=&='
102
- },
103
- noEmptyKeys: {}
104
- },
105
- {
106
- input: '=&a[]=b&a[1]=c',
107
- withEmptyKeys: { '': '', a: ['b', 'c'] },
108
- stringifyOutput: {
109
- brackets: '=&a[]=b&a[]=c',
110
- indices: '=&a[0]=b&a[1]=c',
111
- repeat: '=&a=b&a=c'
112
- },
113
- noEmptyKeys: { a: ['b', 'c'] }
114
- },
115
- {
116
- input: '=a',
117
- withEmptyKeys: { '': 'a' },
118
- noEmptyKeys: {},
119
- stringifyOutput: {
120
- brackets: '=a',
121
- indices: '=a',
122
- repeat: '=a'
123
- }
124
- },
125
- {
126
- input: 'a==a',
127
- withEmptyKeys: { a: '=a' },
128
- noEmptyKeys: { a: '=a' },
129
- stringifyOutput: {
130
- brackets: 'a==a',
131
- indices: 'a==a',
132
- repeat: 'a==a'
133
- }
134
- },
135
- {
136
- input: '=&a[]=b',
137
- withEmptyKeys: { '': '', a: ['b'] },
138
- stringifyOutput: {
139
- brackets: '=&a[]=b',
140
- indices: '=&a[0]=b',
141
- repeat: '=&a=b'
142
- },
143
- noEmptyKeys: { a: ['b'] }
144
- },
145
- {
146
- input: '=&a[]=b&a[]=c&a[2]=d',
147
- withEmptyKeys: { '': '', a: ['b', 'c', 'd'] },
148
- stringifyOutput: {
149
- brackets: '=&a[]=b&a[]=c&a[]=d',
150
- indices: '=&a[0]=b&a[1]=c&a[2]=d',
151
- repeat: '=&a=b&a=c&a=d'
152
- },
153
- noEmptyKeys: { a: ['b', 'c', 'd'] }
154
- },
155
- {
156
- input: '=a&=b',
157
- withEmptyKeys: { '': ['a', 'b'] },
158
- stringifyOutput: {
159
- brackets: '[]=a&[]=b',
160
- indices: '[0]=a&[1]=b',
161
- repeat: '=a&=b'
162
- },
163
- noEmptyKeys: {}
164
- },
165
- {
166
- input: '=a&foo=b',
167
- withEmptyKeys: { '': 'a', foo: 'b' },
168
- noEmptyKeys: { foo: 'b' },
169
- stringifyOutput: {
170
- brackets: '=a&foo=b',
171
- indices: '=a&foo=b',
172
- repeat: '=a&foo=b'
173
- }
174
- },
175
- {
176
- input: 'a[]=b&a=c&=',
177
- withEmptyKeys: { '': '', a: ['b', 'c'] },
178
- stringifyOutput: {
179
- brackets: '=&a[]=b&a[]=c',
180
- indices: '=&a[0]=b&a[1]=c',
181
- repeat: '=&a=b&a=c'
182
- },
183
- noEmptyKeys: { a: ['b', 'c'] }
184
- },
185
- {
186
- input: 'a[]=b&a=c&=',
187
- withEmptyKeys: { '': '', a: ['b', 'c'] },
188
- stringifyOutput: {
189
- brackets: '=&a[]=b&a[]=c',
190
- indices: '=&a[0]=b&a[1]=c',
191
- repeat: '=&a=b&a=c'
192
- },
193
- noEmptyKeys: { a: ['b', 'c'] }
194
- },
195
- {
196
- input: 'a[0]=b&a=c&=',
197
- withEmptyKeys: { '': '', a: ['b', 'c'] },
198
- stringifyOutput: {
199
- brackets: '=&a[]=b&a[]=c',
200
- indices: '=&a[0]=b&a[1]=c',
201
- repeat: '=&a=b&a=c'
202
- },
203
- noEmptyKeys: { a: ['b', 'c'] }
204
- },
205
- {
206
- input: 'a=b&a[]=c&=',
207
- withEmptyKeys: { '': '', a: ['b', 'c'] },
208
- stringifyOutput: {
209
- brackets: '=&a[]=b&a[]=c',
210
- indices: '=&a[0]=b&a[1]=c',
211
- repeat: '=&a=b&a=c'
212
- },
213
- noEmptyKeys: { a: ['b', 'c'] }
214
- },
215
- {
216
- input: 'a=b&a[0]=c&=',
217
- withEmptyKeys: { '': '', a: ['b', 'c'] },
218
- stringifyOutput: {
219
- brackets: '=&a[]=b&a[]=c',
220
- indices: '=&a[0]=b&a[1]=c',
221
- repeat: '=&a=b&a=c'
222
- },
223
- noEmptyKeys: { a: ['b', 'c'] }
224
- },
225
- {
226
- input: '[]=a&[]=b& []=1',
227
- withEmptyKeys: { '': ['a', 'b'], ' ': ['1'] },
228
- stringifyOutput: {
229
- brackets: '[]=a&[]=b& []=1',
230
- indices: '[0]=a&[1]=b& [0]=1',
231
- repeat: '=a&=b& =1'
232
- },
233
- noEmptyKeys: { 0: 'a', 1: 'b', ' ': ['1'] }
234
- },
235
- {
236
- input: '[0]=a&[1]=b&a[0]=1&a[1]=2',
237
- withEmptyKeys: { '': ['a', 'b'], a: ['1', '2'] },
238
- noEmptyKeys: { 0: 'a', 1: 'b', a: ['1', '2'] },
239
- stringifyOutput: {
240
- brackets: '[]=a&[]=b&a[]=1&a[]=2',
241
- indices: '[0]=a&[1]=b&a[0]=1&a[1]=2',
242
- repeat: '=a&=b&a=1&a=2'
243
- }
244
- },
245
- {
246
- input: '[deep]=a&[deep]=2',
247
- withEmptyKeys: { '': { deep: ['a', '2'] }
248
- },
249
- stringifyOutput: {
250
- brackets: '[deep][]=a&[deep][]=2',
251
- indices: '[deep][0]=a&[deep][1]=2',
252
- repeat: '[deep]=a&[deep]=2'
253
- },
254
- noEmptyKeys: { deep: ['a', '2'] }
255
- },
256
- {
257
- input: '%5B0%5D=a&%5B1%5D=b',
258
- withEmptyKeys: { '': ['a', 'b'] },
259
- stringifyOutput: {
260
- brackets: '[]=a&[]=b',
261
- indices: '[0]=a&[1]=b',
262
- repeat: '=a&=b'
263
- },
264
- noEmptyKeys: { 0: 'a', 1: 'b' }
265
- }
266
- ]
267
- };