locize 2.4.6 → 3.0.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 (902) hide show
  1. package/.babelrc +3 -0
  2. package/.ts.eslintrc +37 -0
  3. package/CHANGELOG.md +5 -0
  4. package/README.md +10 -19
  5. package/dist/cjs/api/handleCommitKey.js +17 -0
  6. package/dist/cjs/api/handleCommitKeys.js +39 -0
  7. package/dist/cjs/api/handleConfirmInitialized.js +11 -0
  8. package/dist/cjs/api/handleEditKey.js +60 -0
  9. package/dist/cjs/api/handleIsLocizeEnabled.js +11 -0
  10. package/dist/cjs/api/handleRequestPopupChanges.js +21 -0
  11. package/dist/cjs/api/handleRequestResourceBundle.js +27 -0
  12. package/dist/cjs/api/handleSelectedKeys.js +27 -0
  13. package/dist/cjs/api/handleTurnOff.js +8 -0
  14. package/dist/cjs/api/handleTurnOn.js +8 -0
  15. package/dist/cjs/api/postMessage.js +161 -0
  16. package/dist/cjs/clickHandler.js +48 -0
  17. package/dist/cjs/index.d.ts +15 -0
  18. package/dist/cjs/index.js +55 -0
  19. package/dist/cjs/locizePlugin.js +110 -0
  20. package/dist/cjs/observer.js +74 -0
  21. package/dist/cjs/package.json +1 -0
  22. package/dist/cjs/parser.js +122 -0
  23. package/dist/cjs/process.js +63 -0
  24. package/dist/cjs/processLegacy.js +80 -0
  25. package/dist/cjs/shims/uniqueID.js +31 -0
  26. package/dist/cjs/startStandalone.js +24 -0
  27. package/dist/cjs/store.js +49 -0
  28. package/dist/cjs/ui/elements/icons.js +48 -0
  29. package/dist/cjs/ui/elements/popup.js +80 -0
  30. package/dist/cjs/ui/elements/ribbonBox.js +67 -0
  31. package/dist/cjs/ui/highlightNode.js +167 -0
  32. package/dist/cjs/ui/mouseDistance.js +44 -0
  33. package/dist/cjs/ui/popup.js +113 -0
  34. package/dist/cjs/ui/stylesheet.js +12 -0
  35. package/dist/cjs/ui/utils.js +39 -0
  36. package/dist/cjs/uninstrumentedStore.js +43 -0
  37. package/dist/cjs/utils.js +138 -0
  38. package/dist/cjs/vars.js +22 -0
  39. package/dist/esm/api/handleCommitKey.js +15 -0
  40. package/dist/esm/api/handleCommitKeys.js +33 -0
  41. package/dist/esm/api/handleConfirmInitialized.js +9 -0
  42. package/dist/esm/api/handleEditKey.js +56 -0
  43. package/dist/esm/api/handleIsLocizeEnabled.js +9 -0
  44. package/dist/esm/api/handleRequestPopupChanges.js +19 -0
  45. package/dist/esm/api/handleRequestResourceBundle.js +20 -0
  46. package/dist/esm/api/handleSelectedKeys.js +25 -0
  47. package/dist/esm/api/handleTurnOff.js +6 -0
  48. package/dist/esm/api/handleTurnOn.js +6 -0
  49. package/dist/esm/api/postMessage.js +148 -0
  50. package/dist/esm/clickHandler.js +44 -0
  51. package/dist/esm/index.d.mts +1 -0
  52. package/dist/esm/index.d.ts +15 -0
  53. package/dist/esm/index.js +33 -0
  54. package/dist/esm/locizePlugin.js +99 -0
  55. package/dist/esm/observer.js +70 -0
  56. package/dist/esm/parser.js +113 -0
  57. package/dist/esm/process.js +55 -0
  58. package/dist/esm/processLegacy.js +72 -0
  59. package/dist/esm/shims/uniqueID.js +29 -0
  60. package/dist/esm/startStandalone.js +20 -0
  61. package/dist/esm/store.js +41 -0
  62. package/dist/esm/ui/elements/icons.js +39 -0
  63. package/dist/esm/ui/elements/popup.js +76 -0
  64. package/dist/esm/ui/elements/ribbonBox.js +62 -0
  65. package/dist/esm/ui/highlightNode.js +156 -0
  66. package/dist/esm/ui/mouseDistance.js +39 -0
  67. package/dist/esm/ui/popup.js +108 -0
  68. package/dist/esm/ui/stylesheet.js +8 -0
  69. package/dist/esm/ui/utils.js +34 -0
  70. package/dist/esm/uninstrumentedStore.js +35 -0
  71. package/dist/esm/utils.js +123 -0
  72. package/dist/esm/vars.js +16 -0
  73. package/dist/umd/locize.js +2790 -286
  74. package/dist/umd/locize.min.js +1 -1
  75. package/index.d.mts +1 -0
  76. package/index.d.ts +5 -6
  77. package/locize.js +2790 -286
  78. package/locize.min.js +1 -1
  79. package/package.json +64 -31
  80. package/rollup.config.js +62 -29
  81. package/src/api/handleCommitKey.js +17 -0
  82. package/src/api/handleCommitKeys.js +39 -0
  83. package/src/api/handleConfirmInitialized.js +10 -0
  84. package/src/api/handleEditKey.js +81 -0
  85. package/src/api/handleIsLocizeEnabled.js +13 -0
  86. package/src/api/handleRequestPopupChanges.js +25 -0
  87. package/src/api/handleRequestResourceBundle.js +11 -0
  88. package/src/api/handleSelectedKeys.js +32 -0
  89. package/src/api/handleTurnOff.js +8 -0
  90. package/src/api/handleTurnOn.js +8 -0
  91. package/src/api/index.js +19 -0
  92. package/src/api/postMessage.js +169 -0
  93. package/src/clickHandler.js +48 -0
  94. package/src/index.js +30 -0
  95. package/src/locizePlugin.js +117 -0
  96. package/src/observer.js +93 -0
  97. package/src/parser.js +162 -0
  98. package/src/process.js +55 -0
  99. package/src/processLegacy.js +69 -0
  100. package/src/shims/uniqueID.js +49 -0
  101. package/src/startStandalone.js +19 -0
  102. package/src/store.js +47 -0
  103. package/src/ui/elements/icons.js +92 -0
  104. package/src/ui/elements/popup.js +226 -0
  105. package/src/ui/elements/ribbonBox.js +76 -0
  106. package/src/ui/highlightNode.js +203 -0
  107. package/src/ui/mouseDistance.js +46 -0
  108. package/src/ui/popup.js +135 -0
  109. package/src/ui/stylesheet.js +8 -0
  110. package/src/ui/utils.js +37 -0
  111. package/src/uninstrumentedStore.js +39 -0
  112. package/src/utils.js +158 -0
  113. package/src/vars.js +18 -0
  114. package/tsconfig.json +4 -4
  115. package/.eslintrc.js +0 -20
  116. package/debuggingApp/README.md +0 -11
  117. package/debuggingApp/debugEditor.html +0 -28
  118. package/debuggingApp/index.html +0 -151
  119. package/debuggingApp/node_modules/.package-lock.json +0 -668
  120. package/debuggingApp/node_modules/@babel/runtime/LICENSE +0 -22
  121. package/debuggingApp/node_modules/@babel/runtime/README.md +0 -19
  122. package/debuggingApp/node_modules/@babel/runtime/helpers/AsyncGenerator.js +0 -98
  123. package/debuggingApp/node_modules/@babel/runtime/helpers/AwaitValue.js +0 -5
  124. package/debuggingApp/node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js +0 -30
  125. package/debuggingApp/node_modules/@babel/runtime/helpers/applyDecs.js +0 -284
  126. package/debuggingApp/node_modules/@babel/runtime/helpers/arrayLikeToArray.js +0 -11
  127. package/debuggingApp/node_modules/@babel/runtime/helpers/arrayWithHoles.js +0 -5
  128. package/debuggingApp/node_modules/@babel/runtime/helpers/arrayWithoutHoles.js +0 -7
  129. package/debuggingApp/node_modules/@babel/runtime/helpers/assertThisInitialized.js +0 -9
  130. package/debuggingApp/node_modules/@babel/runtime/helpers/asyncGeneratorDelegate.js +0 -56
  131. package/debuggingApp/node_modules/@babel/runtime/helpers/asyncIterator.js +0 -50
  132. package/debuggingApp/node_modules/@babel/runtime/helpers/asyncToGenerator.js +0 -37
  133. package/debuggingApp/node_modules/@babel/runtime/helpers/awaitAsyncGenerator.js +0 -7
  134. package/debuggingApp/node_modules/@babel/runtime/helpers/checkPrivateRedeclaration.js +0 -7
  135. package/debuggingApp/node_modules/@babel/runtime/helpers/classApplyDescriptorDestructureSet.js +0 -22
  136. package/debuggingApp/node_modules/@babel/runtime/helpers/classApplyDescriptorGet.js +0 -9
  137. package/debuggingApp/node_modules/@babel/runtime/helpers/classApplyDescriptorSet.js +0 -13
  138. package/debuggingApp/node_modules/@babel/runtime/helpers/classCallCheck.js +0 -7
  139. package/debuggingApp/node_modules/@babel/runtime/helpers/classCheckPrivateStaticAccess.js +0 -7
  140. package/debuggingApp/node_modules/@babel/runtime/helpers/classCheckPrivateStaticFieldDescriptor.js +0 -7
  141. package/debuggingApp/node_modules/@babel/runtime/helpers/classExtractFieldDescriptor.js +0 -9
  142. package/debuggingApp/node_modules/@babel/runtime/helpers/classNameTDZError.js +0 -5
  143. package/debuggingApp/node_modules/@babel/runtime/helpers/classPrivateFieldDestructureSet.js +0 -10
  144. package/debuggingApp/node_modules/@babel/runtime/helpers/classPrivateFieldGet.js +0 -10
  145. package/debuggingApp/node_modules/@babel/runtime/helpers/classPrivateFieldInitSpec.js +0 -8
  146. package/debuggingApp/node_modules/@babel/runtime/helpers/classPrivateFieldLooseBase.js +0 -9
  147. package/debuggingApp/node_modules/@babel/runtime/helpers/classPrivateFieldLooseKey.js +0 -7
  148. package/debuggingApp/node_modules/@babel/runtime/helpers/classPrivateFieldSet.js +0 -11
  149. package/debuggingApp/node_modules/@babel/runtime/helpers/classPrivateMethodGet.js +0 -9
  150. package/debuggingApp/node_modules/@babel/runtime/helpers/classPrivateMethodInitSpec.js +0 -8
  151. package/debuggingApp/node_modules/@babel/runtime/helpers/classPrivateMethodSet.js +0 -5
  152. package/debuggingApp/node_modules/@babel/runtime/helpers/classStaticPrivateFieldDestructureSet.js +0 -13
  153. package/debuggingApp/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecGet.js +0 -13
  154. package/debuggingApp/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecSet.js +0 -14
  155. package/debuggingApp/node_modules/@babel/runtime/helpers/classStaticPrivateMethodGet.js +0 -8
  156. package/debuggingApp/node_modules/@babel/runtime/helpers/classStaticPrivateMethodSet.js +0 -5
  157. package/debuggingApp/node_modules/@babel/runtime/helpers/construct.js +0 -22
  158. package/debuggingApp/node_modules/@babel/runtime/helpers/createClass.js +0 -20
  159. package/debuggingApp/node_modules/@babel/runtime/helpers/createForOfIteratorHelper.js +0 -60
  160. package/debuggingApp/node_modules/@babel/runtime/helpers/createForOfIteratorHelperLoose.js +0 -24
  161. package/debuggingApp/node_modules/@babel/runtime/helpers/createSuper.js +0 -24
  162. package/debuggingApp/node_modules/@babel/runtime/helpers/decorate.js +0 -400
  163. package/debuggingApp/node_modules/@babel/runtime/helpers/defaults.js +0 -16
  164. package/debuggingApp/node_modules/@babel/runtime/helpers/defineEnumerableProperties.js +0 -24
  165. package/debuggingApp/node_modules/@babel/runtime/helpers/defineProperty.js +0 -16
  166. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/AsyncGenerator.js +0 -95
  167. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/AwaitValue.js +0 -3
  168. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/applyDecoratedDescriptor.js +0 -28
  169. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/applyDecs.js +0 -282
  170. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +0 -9
  171. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +0 -3
  172. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +0 -4
  173. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +0 -7
  174. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/asyncGeneratorDelegate.js +0 -54
  175. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/asyncIterator.js +0 -48
  176. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js +0 -35
  177. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/awaitAsyncGenerator.js +0 -4
  178. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/checkPrivateRedeclaration.js +0 -5
  179. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorDestructureSet.js +0 -20
  180. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorGet.js +0 -7
  181. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorSet.js +0 -11
  182. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +0 -5
  183. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticAccess.js +0 -5
  184. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticFieldDescriptor.js +0 -5
  185. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classExtractFieldDescriptor.js +0 -7
  186. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classNameTDZError.js +0 -3
  187. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classPrivateFieldDestructureSet.js +0 -6
  188. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet.js +0 -6
  189. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classPrivateFieldInitSpec.js +0 -5
  190. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseBase.js +0 -7
  191. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseKey.js +0 -4
  192. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet.js +0 -7
  193. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classPrivateMethodGet.js +0 -7
  194. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classPrivateMethodInitSpec.js +0 -5
  195. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classPrivateMethodSet.js +0 -3
  196. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldDestructureSet.js +0 -8
  197. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecGet.js +0 -8
  198. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecSet.js +0 -9
  199. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodGet.js +0 -5
  200. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodSet.js +0 -3
  201. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/construct.js +0 -18
  202. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/createClass.js +0 -18
  203. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js +0 -57
  204. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelperLoose.js +0 -21
  205. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/createSuper.js +0 -19
  206. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/decorate.js +0 -396
  207. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/defaults.js +0 -14
  208. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/defineEnumerableProperties.js +0 -22
  209. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/defineProperty.js +0 -14
  210. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/extends.js +0 -16
  211. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/get.js +0 -20
  212. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +0 -6
  213. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/identity.js +0 -3
  214. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/inherits.js +0 -18
  215. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js +0 -6
  216. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/initializerDefineProperty.js +0 -9
  217. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/initializerWarningHelper.js +0 -3
  218. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/instanceof.js +0 -7
  219. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/interopRequireDefault.js +0 -5
  220. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/interopRequireWildcard.js +0 -51
  221. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/isNativeFunction.js +0 -3
  222. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +0 -12
  223. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/iterableToArray.js +0 -3
  224. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +0 -29
  225. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimitLoose.js +0 -14
  226. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/jsx.js +0 -26
  227. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/maybeArrayLike.js +0 -9
  228. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/newArrowCheck.js +0 -5
  229. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +0 -3
  230. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +0 -3
  231. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/objectDestructuringEmpty.js +0 -3
  232. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/objectSpread.js +0 -19
  233. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +0 -27
  234. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +0 -19
  235. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +0 -14
  236. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/package.json +0 -3
  237. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +0 -11
  238. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/readOnlyError.js +0 -3
  239. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js +0 -352
  240. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/set.js +0 -51
  241. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +0 -7
  242. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/skipFirstGeneratorNext.js +0 -7
  243. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +0 -7
  244. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/slicedToArrayLoose.js +0 -7
  245. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/superPropBase.js +0 -9
  246. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js +0 -11
  247. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteralLoose.js +0 -8
  248. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/tdz.js +0 -3
  249. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/temporalRef.js +0 -5
  250. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/temporalUndefined.js +0 -1
  251. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/toArray.js +0 -7
  252. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +0 -7
  253. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +0 -13
  254. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +0 -6
  255. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/typeof.js +0 -9
  256. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +0 -9
  257. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/wrapAsyncGenerator.js +0 -6
  258. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/wrapNativeSuper.js +0 -37
  259. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/wrapRegExp.js +0 -50
  260. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/writeOnlyError.js +0 -3
  261. package/debuggingApp/node_modules/@babel/runtime/helpers/extends.js +0 -18
  262. package/debuggingApp/node_modules/@babel/runtime/helpers/get.js +0 -23
  263. package/debuggingApp/node_modules/@babel/runtime/helpers/getPrototypeOf.js +0 -8
  264. package/debuggingApp/node_modules/@babel/runtime/helpers/identity.js +0 -5
  265. package/debuggingApp/node_modules/@babel/runtime/helpers/inherits.js +0 -21
  266. package/debuggingApp/node_modules/@babel/runtime/helpers/inheritsLoose.js +0 -9
  267. package/debuggingApp/node_modules/@babel/runtime/helpers/initializerDefineProperty.js +0 -11
  268. package/debuggingApp/node_modules/@babel/runtime/helpers/initializerWarningHelper.js +0 -5
  269. package/debuggingApp/node_modules/@babel/runtime/helpers/instanceof.js +0 -9
  270. package/debuggingApp/node_modules/@babel/runtime/helpers/interopRequireDefault.js +0 -7
  271. package/debuggingApp/node_modules/@babel/runtime/helpers/interopRequireWildcard.js +0 -53
  272. package/debuggingApp/node_modules/@babel/runtime/helpers/isNativeFunction.js +0 -5
  273. package/debuggingApp/node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js +0 -14
  274. package/debuggingApp/node_modules/@babel/runtime/helpers/iterableToArray.js +0 -5
  275. package/debuggingApp/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js +0 -31
  276. package/debuggingApp/node_modules/@babel/runtime/helpers/iterableToArrayLimitLoose.js +0 -16
  277. package/debuggingApp/node_modules/@babel/runtime/helpers/jsx.js +0 -29
  278. package/debuggingApp/node_modules/@babel/runtime/helpers/maybeArrayLike.js +0 -12
  279. package/debuggingApp/node_modules/@babel/runtime/helpers/newArrowCheck.js +0 -7
  280. package/debuggingApp/node_modules/@babel/runtime/helpers/nonIterableRest.js +0 -5
  281. package/debuggingApp/node_modules/@babel/runtime/helpers/nonIterableSpread.js +0 -5
  282. package/debuggingApp/node_modules/@babel/runtime/helpers/objectDestructuringEmpty.js +0 -5
  283. package/debuggingApp/node_modules/@babel/runtime/helpers/objectSpread.js +0 -22
  284. package/debuggingApp/node_modules/@babel/runtime/helpers/objectSpread2.js +0 -29
  285. package/debuggingApp/node_modules/@babel/runtime/helpers/objectWithoutProperties.js +0 -22
  286. package/debuggingApp/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js +0 -16
  287. package/debuggingApp/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js +0 -15
  288. package/debuggingApp/node_modules/@babel/runtime/helpers/readOnlyError.js +0 -5
  289. package/debuggingApp/node_modules/@babel/runtime/helpers/regeneratorRuntime.js +0 -354
  290. package/debuggingApp/node_modules/@babel/runtime/helpers/set.js +0 -54
  291. package/debuggingApp/node_modules/@babel/runtime/helpers/setPrototypeOf.js +0 -9
  292. package/debuggingApp/node_modules/@babel/runtime/helpers/skipFirstGeneratorNext.js +0 -9
  293. package/debuggingApp/node_modules/@babel/runtime/helpers/slicedToArray.js +0 -13
  294. package/debuggingApp/node_modules/@babel/runtime/helpers/slicedToArrayLoose.js +0 -13
  295. package/debuggingApp/node_modules/@babel/runtime/helpers/superPropBase.js +0 -12
  296. package/debuggingApp/node_modules/@babel/runtime/helpers/taggedTemplateLiteral.js +0 -13
  297. package/debuggingApp/node_modules/@babel/runtime/helpers/taggedTemplateLiteralLoose.js +0 -10
  298. package/debuggingApp/node_modules/@babel/runtime/helpers/tdz.js +0 -5
  299. package/debuggingApp/node_modules/@babel/runtime/helpers/temporalRef.js +0 -9
  300. package/debuggingApp/node_modules/@babel/runtime/helpers/temporalUndefined.js +0 -3
  301. package/debuggingApp/node_modules/@babel/runtime/helpers/toArray.js +0 -13
  302. package/debuggingApp/node_modules/@babel/runtime/helpers/toConsumableArray.js +0 -13
  303. package/debuggingApp/node_modules/@babel/runtime/helpers/toPrimitive.js +0 -16
  304. package/debuggingApp/node_modules/@babel/runtime/helpers/toPropertyKey.js +0 -10
  305. package/debuggingApp/node_modules/@babel/runtime/helpers/typeof.js +0 -11
  306. package/debuggingApp/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js +0 -12
  307. package/debuggingApp/node_modules/@babel/runtime/helpers/wrapAsyncGenerator.js +0 -9
  308. package/debuggingApp/node_modules/@babel/runtime/helpers/wrapNativeSuper.js +0 -42
  309. package/debuggingApp/node_modules/@babel/runtime/helpers/wrapRegExp.js +0 -55
  310. package/debuggingApp/node_modules/@babel/runtime/helpers/writeOnlyError.js +0 -5
  311. package/debuggingApp/node_modules/@babel/runtime/package.json +0 -876
  312. package/debuggingApp/node_modules/@babel/runtime/regenerator/index.js +0 -15
  313. package/debuggingApp/node_modules/accepts/HISTORY.md +0 -243
  314. package/debuggingApp/node_modules/accepts/LICENSE +0 -23
  315. package/debuggingApp/node_modules/accepts/README.md +0 -140
  316. package/debuggingApp/node_modules/accepts/index.js +0 -238
  317. package/debuggingApp/node_modules/accepts/package.json +0 -47
  318. package/debuggingApp/node_modules/array-flatten/LICENSE +0 -21
  319. package/debuggingApp/node_modules/array-flatten/README.md +0 -43
  320. package/debuggingApp/node_modules/array-flatten/array-flatten.js +0 -64
  321. package/debuggingApp/node_modules/array-flatten/package.json +0 -39
  322. package/debuggingApp/node_modules/body-parser/HISTORY.md +0 -651
  323. package/debuggingApp/node_modules/body-parser/LICENSE +0 -23
  324. package/debuggingApp/node_modules/body-parser/README.md +0 -464
  325. package/debuggingApp/node_modules/body-parser/SECURITY.md +0 -25
  326. package/debuggingApp/node_modules/body-parser/index.js +0 -157
  327. package/debuggingApp/node_modules/body-parser/lib/read.js +0 -205
  328. package/debuggingApp/node_modules/body-parser/lib/types/json.js +0 -236
  329. package/debuggingApp/node_modules/body-parser/lib/types/raw.js +0 -101
  330. package/debuggingApp/node_modules/body-parser/lib/types/text.js +0 -121
  331. package/debuggingApp/node_modules/body-parser/lib/types/urlencoded.js +0 -284
  332. package/debuggingApp/node_modules/body-parser/package.json +0 -56
  333. package/debuggingApp/node_modules/bytes/History.md +0 -97
  334. package/debuggingApp/node_modules/bytes/LICENSE +0 -23
  335. package/debuggingApp/node_modules/bytes/Readme.md +0 -152
  336. package/debuggingApp/node_modules/bytes/index.js +0 -170
  337. package/debuggingApp/node_modules/bytes/package.json +0 -42
  338. package/debuggingApp/node_modules/call-bind/.github/FUNDING.yml +0 -12
  339. package/debuggingApp/node_modules/call-bind/.nycrc +0 -13
  340. package/debuggingApp/node_modules/call-bind/CHANGELOG.md +0 -42
  341. package/debuggingApp/node_modules/call-bind/LICENSE +0 -21
  342. package/debuggingApp/node_modules/call-bind/README.md +0 -2
  343. package/debuggingApp/node_modules/call-bind/callBound.js +0 -15
  344. package/debuggingApp/node_modules/call-bind/index.js +0 -47
  345. package/debuggingApp/node_modules/call-bind/package.json +0 -80
  346. package/debuggingApp/node_modules/call-bind/test/callBound.js +0 -55
  347. package/debuggingApp/node_modules/call-bind/test/index.js +0 -66
  348. package/debuggingApp/node_modules/content-disposition/HISTORY.md +0 -60
  349. package/debuggingApp/node_modules/content-disposition/LICENSE +0 -22
  350. package/debuggingApp/node_modules/content-disposition/README.md +0 -142
  351. package/debuggingApp/node_modules/content-disposition/index.js +0 -458
  352. package/debuggingApp/node_modules/content-disposition/package.json +0 -44
  353. package/debuggingApp/node_modules/content-type/HISTORY.md +0 -24
  354. package/debuggingApp/node_modules/content-type/LICENSE +0 -22
  355. package/debuggingApp/node_modules/content-type/README.md +0 -92
  356. package/debuggingApp/node_modules/content-type/index.js +0 -222
  357. package/debuggingApp/node_modules/content-type/package.json +0 -40
  358. package/debuggingApp/node_modules/cookie/HISTORY.md +0 -142
  359. package/debuggingApp/node_modules/cookie/LICENSE +0 -24
  360. package/debuggingApp/node_modules/cookie/README.md +0 -302
  361. package/debuggingApp/node_modules/cookie/SECURITY.md +0 -25
  362. package/debuggingApp/node_modules/cookie/index.js +0 -270
  363. package/debuggingApp/node_modules/cookie/package.json +0 -44
  364. package/debuggingApp/node_modules/cookie-signature/History.md +0 -38
  365. package/debuggingApp/node_modules/cookie-signature/Readme.md +0 -42
  366. package/debuggingApp/node_modules/cookie-signature/index.js +0 -51
  367. package/debuggingApp/node_modules/cookie-signature/package.json +0 -18
  368. package/debuggingApp/node_modules/cookies/History.md +0 -62
  369. package/debuggingApp/node_modules/cookies/LICENSE.txt +0 -22
  370. package/debuggingApp/node_modules/cookies/README.md +0 -121
  371. package/debuggingApp/node_modules/cookies/lib/cookies.js +0 -181
  372. package/debuggingApp/node_modules/cookies/package.json +0 -24
  373. package/debuggingApp/node_modules/debug/.coveralls.yml +0 -1
  374. package/debuggingApp/node_modules/debug/.travis.yml +0 -14
  375. package/debuggingApp/node_modules/debug/CHANGELOG.md +0 -362
  376. package/debuggingApp/node_modules/debug/LICENSE +0 -19
  377. package/debuggingApp/node_modules/debug/Makefile +0 -50
  378. package/debuggingApp/node_modules/debug/README.md +0 -312
  379. package/debuggingApp/node_modules/debug/component.json +0 -19
  380. package/debuggingApp/node_modules/debug/node.js +0 -1
  381. package/debuggingApp/node_modules/debug/package.json +0 -49
  382. package/debuggingApp/node_modules/debug/src/browser.js +0 -185
  383. package/debuggingApp/node_modules/debug/src/debug.js +0 -202
  384. package/debuggingApp/node_modules/debug/src/index.js +0 -10
  385. package/debuggingApp/node_modules/debug/src/inspector-log.js +0 -15
  386. package/debuggingApp/node_modules/debug/src/node.js +0 -248
  387. package/debuggingApp/node_modules/depd/History.md +0 -103
  388. package/debuggingApp/node_modules/depd/LICENSE +0 -22
  389. package/debuggingApp/node_modules/depd/Readme.md +0 -280
  390. package/debuggingApp/node_modules/depd/index.js +0 -538
  391. package/debuggingApp/node_modules/depd/lib/browser/index.js +0 -77
  392. package/debuggingApp/node_modules/depd/package.json +0 -45
  393. package/debuggingApp/node_modules/destroy/LICENSE +0 -23
  394. package/debuggingApp/node_modules/destroy/README.md +0 -63
  395. package/debuggingApp/node_modules/destroy/index.js +0 -209
  396. package/debuggingApp/node_modules/destroy/package.json +0 -48
  397. package/debuggingApp/node_modules/ee-first/LICENSE +0 -22
  398. package/debuggingApp/node_modules/ee-first/README.md +0 -80
  399. package/debuggingApp/node_modules/ee-first/index.js +0 -95
  400. package/debuggingApp/node_modules/ee-first/package.json +0 -29
  401. package/debuggingApp/node_modules/encodeurl/HISTORY.md +0 -14
  402. package/debuggingApp/node_modules/encodeurl/LICENSE +0 -22
  403. package/debuggingApp/node_modules/encodeurl/README.md +0 -128
  404. package/debuggingApp/node_modules/encodeurl/index.js +0 -60
  405. package/debuggingApp/node_modules/encodeurl/package.json +0 -40
  406. package/debuggingApp/node_modules/escape-html/LICENSE +0 -24
  407. package/debuggingApp/node_modules/escape-html/Readme.md +0 -43
  408. package/debuggingApp/node_modules/escape-html/index.js +0 -78
  409. package/debuggingApp/node_modules/escape-html/package.json +0 -24
  410. package/debuggingApp/node_modules/etag/HISTORY.md +0 -83
  411. package/debuggingApp/node_modules/etag/LICENSE +0 -22
  412. package/debuggingApp/node_modules/etag/README.md +0 -159
  413. package/debuggingApp/node_modules/etag/index.js +0 -131
  414. package/debuggingApp/node_modules/etag/package.json +0 -47
  415. package/debuggingApp/node_modules/express/History.md +0 -3579
  416. package/debuggingApp/node_modules/express/LICENSE +0 -24
  417. package/debuggingApp/node_modules/express/Readme.md +0 -166
  418. package/debuggingApp/node_modules/express/index.js +0 -11
  419. package/debuggingApp/node_modules/express/lib/application.js +0 -661
  420. package/debuggingApp/node_modules/express/lib/express.js +0 -116
  421. package/debuggingApp/node_modules/express/lib/middleware/init.js +0 -43
  422. package/debuggingApp/node_modules/express/lib/middleware/query.js +0 -47
  423. package/debuggingApp/node_modules/express/lib/request.js +0 -525
  424. package/debuggingApp/node_modules/express/lib/response.js +0 -1169
  425. package/debuggingApp/node_modules/express/lib/router/index.js +0 -673
  426. package/debuggingApp/node_modules/express/lib/router/layer.js +0 -181
  427. package/debuggingApp/node_modules/express/lib/router/route.js +0 -225
  428. package/debuggingApp/node_modules/express/lib/utils.js +0 -304
  429. package/debuggingApp/node_modules/express/lib/view.js +0 -182
  430. package/debuggingApp/node_modules/express/package.json +0 -99
  431. package/debuggingApp/node_modules/finalhandler/HISTORY.md +0 -195
  432. package/debuggingApp/node_modules/finalhandler/LICENSE +0 -22
  433. package/debuggingApp/node_modules/finalhandler/README.md +0 -147
  434. package/debuggingApp/node_modules/finalhandler/SECURITY.md +0 -25
  435. package/debuggingApp/node_modules/finalhandler/index.js +0 -336
  436. package/debuggingApp/node_modules/finalhandler/package.json +0 -46
  437. package/debuggingApp/node_modules/forwarded/HISTORY.md +0 -21
  438. package/debuggingApp/node_modules/forwarded/LICENSE +0 -22
  439. package/debuggingApp/node_modules/forwarded/README.md +0 -57
  440. package/debuggingApp/node_modules/forwarded/index.js +0 -90
  441. package/debuggingApp/node_modules/forwarded/package.json +0 -45
  442. package/debuggingApp/node_modules/fresh/HISTORY.md +0 -70
  443. package/debuggingApp/node_modules/fresh/LICENSE +0 -23
  444. package/debuggingApp/node_modules/fresh/README.md +0 -119
  445. package/debuggingApp/node_modules/fresh/index.js +0 -137
  446. package/debuggingApp/node_modules/fresh/package.json +0 -46
  447. package/debuggingApp/node_modules/function-bind/.jscs.json +0 -176
  448. package/debuggingApp/node_modules/function-bind/.travis.yml +0 -168
  449. package/debuggingApp/node_modules/function-bind/LICENSE +0 -20
  450. package/debuggingApp/node_modules/function-bind/README.md +0 -48
  451. package/debuggingApp/node_modules/function-bind/implementation.js +0 -52
  452. package/debuggingApp/node_modules/function-bind/index.js +0 -5
  453. package/debuggingApp/node_modules/function-bind/package.json +0 -63
  454. package/debuggingApp/node_modules/function-bind/test/index.js +0 -252
  455. package/debuggingApp/node_modules/get-intrinsic/.github/FUNDING.yml +0 -12
  456. package/debuggingApp/node_modules/get-intrinsic/.nycrc +0 -9
  457. package/debuggingApp/node_modules/get-intrinsic/CHANGELOG.md +0 -91
  458. package/debuggingApp/node_modules/get-intrinsic/LICENSE +0 -21
  459. package/debuggingApp/node_modules/get-intrinsic/README.md +0 -71
  460. package/debuggingApp/node_modules/get-intrinsic/index.js +0 -334
  461. package/debuggingApp/node_modules/get-intrinsic/package.json +0 -88
  462. package/debuggingApp/node_modules/get-intrinsic/test/GetIntrinsic.js +0 -274
  463. package/debuggingApp/node_modules/has/LICENSE-MIT +0 -22
  464. package/debuggingApp/node_modules/has/README.md +0 -18
  465. package/debuggingApp/node_modules/has/package.json +0 -48
  466. package/debuggingApp/node_modules/has/src/index.js +0 -5
  467. package/debuggingApp/node_modules/has/test/index.js +0 -10
  468. package/debuggingApp/node_modules/has-symbols/.github/FUNDING.yml +0 -12
  469. package/debuggingApp/node_modules/has-symbols/.nycrc +0 -9
  470. package/debuggingApp/node_modules/has-symbols/CHANGELOG.md +0 -75
  471. package/debuggingApp/node_modules/has-symbols/LICENSE +0 -21
  472. package/debuggingApp/node_modules/has-symbols/README.md +0 -46
  473. package/debuggingApp/node_modules/has-symbols/index.js +0 -13
  474. package/debuggingApp/node_modules/has-symbols/package.json +0 -101
  475. package/debuggingApp/node_modules/has-symbols/shams.js +0 -42
  476. package/debuggingApp/node_modules/has-symbols/test/index.js +0 -22
  477. package/debuggingApp/node_modules/has-symbols/test/shams/core-js.js +0 -28
  478. package/debuggingApp/node_modules/has-symbols/test/shams/get-own-property-symbols.js +0 -28
  479. package/debuggingApp/node_modules/has-symbols/test/tests.js +0 -56
  480. package/debuggingApp/node_modules/http-errors/HISTORY.md +0 -180
  481. package/debuggingApp/node_modules/http-errors/LICENSE +0 -23
  482. package/debuggingApp/node_modules/http-errors/README.md +0 -169
  483. package/debuggingApp/node_modules/http-errors/index.js +0 -289
  484. package/debuggingApp/node_modules/http-errors/package.json +0 -50
  485. package/debuggingApp/node_modules/i18next/CONTRIBUTING.md +0 -22
  486. package/debuggingApp/node_modules/i18next/LICENSE +0 -21
  487. package/debuggingApp/node_modules/i18next/README.md +0 -60
  488. package/debuggingApp/node_modules/i18next/dist/cjs/i18next.js +0 -2801
  489. package/debuggingApp/node_modules/i18next/dist/esm/i18next.bundled.js +0 -2954
  490. package/debuggingApp/node_modules/i18next/dist/esm/i18next.js +0 -2802
  491. package/debuggingApp/node_modules/i18next/dist/esm/package.json +0 -1
  492. package/debuggingApp/node_modules/i18next/dist/umd/i18next.js +0 -2922
  493. package/debuggingApp/node_modules/i18next/dist/umd/i18next.min.js +0 -1
  494. package/debuggingApp/node_modules/i18next/i18next.js +0 -2922
  495. package/debuggingApp/node_modules/i18next/i18next.min.js +0 -1
  496. package/debuggingApp/node_modules/i18next/index.d.ts +0 -1257
  497. package/debuggingApp/node_modules/i18next/index.js +0 -5
  498. package/debuggingApp/node_modules/i18next/package.json +0 -126
  499. package/debuggingApp/node_modules/i18next-express-middleware/LICENSE +0 -22
  500. package/debuggingApp/node_modules/i18next-express-middleware/README.md +0 -167
  501. package/debuggingApp/node_modules/i18next-express-middleware/lib/LanguageDetector.js +0 -138
  502. package/debuggingApp/node_modules/i18next-express-middleware/lib/index.js +0 -152
  503. package/debuggingApp/node_modules/i18next-express-middleware/lib/languageLookups/cookie.js +0 -47
  504. package/debuggingApp/node_modules/i18next-express-middleware/lib/languageLookups/header.js +0 -59
  505. package/debuggingApp/node_modules/i18next-express-middleware/lib/languageLookups/path.js +0 -27
  506. package/debuggingApp/node_modules/i18next-express-middleware/lib/languageLookups/querystring.js +0 -31
  507. package/debuggingApp/node_modules/i18next-express-middleware/lib/languageLookups/session.js +0 -27
  508. package/debuggingApp/node_modules/i18next-express-middleware/lib/utils.js +0 -70
  509. package/debuggingApp/node_modules/i18next-express-middleware/package.json +0 -43
  510. package/debuggingApp/node_modules/i18next-node-fs-backend/LICENSE +0 -22
  511. package/debuggingApp/node_modules/i18next-node-fs-backend/README.md +0 -72
  512. package/debuggingApp/node_modules/i18next-node-fs-backend/lib/index.js +0 -162
  513. package/debuggingApp/node_modules/i18next-node-fs-backend/lib/utils.js +0 -78
  514. package/debuggingApp/node_modules/i18next-node-fs-backend/package.json +0 -43
  515. package/debuggingApp/node_modules/iconv-lite/Changelog.md +0 -162
  516. package/debuggingApp/node_modules/iconv-lite/LICENSE +0 -21
  517. package/debuggingApp/node_modules/iconv-lite/README.md +0 -156
  518. package/debuggingApp/node_modules/iconv-lite/encodings/dbcs-codec.js +0 -555
  519. package/debuggingApp/node_modules/iconv-lite/encodings/dbcs-data.js +0 -176
  520. package/debuggingApp/node_modules/iconv-lite/encodings/index.js +0 -22
  521. package/debuggingApp/node_modules/iconv-lite/encodings/internal.js +0 -188
  522. package/debuggingApp/node_modules/iconv-lite/encodings/sbcs-codec.js +0 -72
  523. package/debuggingApp/node_modules/iconv-lite/encodings/sbcs-data-generated.js +0 -451
  524. package/debuggingApp/node_modules/iconv-lite/encodings/sbcs-data.js +0 -174
  525. package/debuggingApp/node_modules/iconv-lite/encodings/tables/big5-added.json +0 -122
  526. package/debuggingApp/node_modules/iconv-lite/encodings/tables/cp936.json +0 -264
  527. package/debuggingApp/node_modules/iconv-lite/encodings/tables/cp949.json +0 -273
  528. package/debuggingApp/node_modules/iconv-lite/encodings/tables/cp950.json +0 -177
  529. package/debuggingApp/node_modules/iconv-lite/encodings/tables/eucjp.json +0 -182
  530. package/debuggingApp/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +0 -1
  531. package/debuggingApp/node_modules/iconv-lite/encodings/tables/gbk-added.json +0 -55
  532. package/debuggingApp/node_modules/iconv-lite/encodings/tables/shiftjis.json +0 -125
  533. package/debuggingApp/node_modules/iconv-lite/encodings/utf16.js +0 -177
  534. package/debuggingApp/node_modules/iconv-lite/encodings/utf7.js +0 -290
  535. package/debuggingApp/node_modules/iconv-lite/lib/bom-handling.js +0 -52
  536. package/debuggingApp/node_modules/iconv-lite/lib/extend-node.js +0 -217
  537. package/debuggingApp/node_modules/iconv-lite/lib/index.d.ts +0 -24
  538. package/debuggingApp/node_modules/iconv-lite/lib/index.js +0 -153
  539. package/debuggingApp/node_modules/iconv-lite/lib/streams.js +0 -121
  540. package/debuggingApp/node_modules/iconv-lite/package.json +0 -46
  541. package/debuggingApp/node_modules/inherits/LICENSE +0 -16
  542. package/debuggingApp/node_modules/inherits/README.md +0 -42
  543. package/debuggingApp/node_modules/inherits/inherits.js +0 -9
  544. package/debuggingApp/node_modules/inherits/inherits_browser.js +0 -27
  545. package/debuggingApp/node_modules/inherits/package.json +0 -29
  546. package/debuggingApp/node_modules/ipaddr.js/LICENSE +0 -19
  547. package/debuggingApp/node_modules/ipaddr.js/README.md +0 -233
  548. package/debuggingApp/node_modules/ipaddr.js/ipaddr.min.js +0 -1
  549. package/debuggingApp/node_modules/ipaddr.js/lib/ipaddr.js +0 -673
  550. package/debuggingApp/node_modules/ipaddr.js/lib/ipaddr.js.d.ts +0 -68
  551. package/debuggingApp/node_modules/ipaddr.js/package.json +0 -35
  552. package/debuggingApp/node_modules/json5/.travis.yml +0 -5
  553. package/debuggingApp/node_modules/json5/CHANGELOG.md +0 -144
  554. package/debuggingApp/node_modules/json5/README.md +0 -271
  555. package/debuggingApp/node_modules/json5/lib/cli.js +0 -41
  556. package/debuggingApp/node_modules/json5/lib/json5.js +0 -754
  557. package/debuggingApp/node_modules/json5/lib/require.js +0 -18
  558. package/debuggingApp/node_modules/json5/package.json +0 -30
  559. package/debuggingApp/node_modules/json5/package.json5 +0 -30
  560. package/debuggingApp/node_modules/json5/test/parse-cases/arrays/empty-array.json +0 -1
  561. package/debuggingApp/node_modules/json5/test/parse-cases/arrays/leading-comma-array.js +0 -3
  562. package/debuggingApp/node_modules/json5/test/parse-cases/arrays/lone-trailing-comma-array.js +0 -3
  563. package/debuggingApp/node_modules/json5/test/parse-cases/arrays/no-comma-array.txt +0 -4
  564. package/debuggingApp/node_modules/json5/test/parse-cases/arrays/regular-array.json +0 -5
  565. package/debuggingApp/node_modules/json5/test/parse-cases/arrays/trailing-comma-array.json5 +0 -3
  566. package/debuggingApp/node_modules/json5/test/parse-cases/comments/block-comment-following-array-element.json5 +0 -6
  567. package/debuggingApp/node_modules/json5/test/parse-cases/comments/block-comment-following-top-level-value.json5 +0 -5
  568. package/debuggingApp/node_modules/json5/test/parse-cases/comments/block-comment-in-string.json +0 -1
  569. package/debuggingApp/node_modules/json5/test/parse-cases/comments/block-comment-preceding-top-level-value.json5 +0 -5
  570. package/debuggingApp/node_modules/json5/test/parse-cases/comments/block-comment-with-asterisks.json5 +0 -7
  571. package/debuggingApp/node_modules/json5/test/parse-cases/comments/inline-comment-following-array-element.json5 +0 -3
  572. package/debuggingApp/node_modules/json5/test/parse-cases/comments/inline-comment-following-top-level-value.json5 +0 -1
  573. package/debuggingApp/node_modules/json5/test/parse-cases/comments/inline-comment-in-string.json +0 -1
  574. package/debuggingApp/node_modules/json5/test/parse-cases/comments/inline-comment-preceding-top-level-value.json5 +0 -2
  575. package/debuggingApp/node_modules/json5/test/parse-cases/comments/top-level-block-comment.txt +0 -4
  576. package/debuggingApp/node_modules/json5/test/parse-cases/comments/top-level-inline-comment.txt +0 -1
  577. package/debuggingApp/node_modules/json5/test/parse-cases/comments/unterminated-block-comment.txt +0 -5
  578. package/debuggingApp/node_modules/json5/test/parse-cases/misc/empty.txt +0 -0
  579. package/debuggingApp/node_modules/json5/test/parse-cases/misc/npm-package.json +0 -106
  580. package/debuggingApp/node_modules/json5/test/parse-cases/misc/npm-package.json5 +0 -106
  581. package/debuggingApp/node_modules/json5/test/parse-cases/misc/readme-example.json5 +0 -25
  582. package/debuggingApp/node_modules/json5/test/parse-cases/misc/valid-whitespace.json5 +0 -5
  583. package/debuggingApp/node_modules/json5/test/parse-cases/new-lines/.gitattributes +0 -4
  584. package/debuggingApp/node_modules/json5/test/parse-cases/new-lines/comment-cr.json5 +0 -1
  585. package/debuggingApp/node_modules/json5/test/parse-cases/new-lines/comment-crlf.json5 +0 -3
  586. package/debuggingApp/node_modules/json5/test/parse-cases/new-lines/comment-lf.json5 +0 -3
  587. package/debuggingApp/node_modules/json5/test/parse-cases/new-lines/escaped-cr.json5 +0 -1
  588. package/debuggingApp/node_modules/json5/test/parse-cases/new-lines/escaped-crlf.json5 +0 -5
  589. package/debuggingApp/node_modules/json5/test/parse-cases/new-lines/escaped-lf.json5 +0 -5
  590. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/binary-coffeescript.txt +0 -1
  591. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/float-leading-decimal-point.json5 +0 -1
  592. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/float-leading-zero.json +0 -1
  593. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/float-trailing-decimal-point-with-integer-exponent.json5 +0 -1
  594. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/float-trailing-decimal-point.json5 +0 -1
  595. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/float-with-integer-exponent.json +0 -1
  596. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/float.json +0 -1
  597. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/hexadecimal-empty.txt +0 -1
  598. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/hexadecimal-lowercase-letter.json5 +0 -1
  599. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/hexadecimal-uppercase-x.json5 +0 -1
  600. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/hexadecimal-with-integer-exponent.json5 +0 -1
  601. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/hexadecimal.json5 +0 -1
  602. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/infinity.json5 +0 -1
  603. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/integer-with-float-exponent.txt +0 -1
  604. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/integer-with-hexadecimal-exponent.txt +0 -1
  605. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/integer-with-integer-exponent.json +0 -1
  606. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/integer-with-negative-float-exponent.txt +0 -1
  607. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/integer-with-negative-hexadecimal-exponent.txt +0 -1
  608. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/integer-with-negative-integer-exponent.json +0 -1
  609. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/integer-with-negative-zero-integer-exponent.json +0 -1
  610. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/integer-with-positive-float-exponent.txt +0 -1
  611. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/integer-with-positive-hexadecimal-exponent.txt +0 -1
  612. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/integer-with-positive-integer-exponent.json +0 -1
  613. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/integer-with-positive-zero-integer-exponent.json +0 -1
  614. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/integer-with-zero-integer-exponent.json +0 -1
  615. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/integer.json +0 -1
  616. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/lone-decimal-point.txt +0 -1
  617. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/nan.json5 +0 -1
  618. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-binary-coffeescript.txt +0 -1
  619. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-float-leading-decimal-point.json5 +0 -1
  620. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-float-leading-zero.json +0 -1
  621. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-float-trailing-decimal-point.json5 +0 -1
  622. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-float.json +0 -1
  623. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-hexadecimal.json5 +0 -1
  624. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-infinity.json5 +0 -1
  625. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-integer.json +0 -1
  626. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-noctal.js +0 -1
  627. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-octal-coffeescript.txt +0 -1
  628. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-octal.txt +0 -1
  629. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-zero-binary-coffeescript.txt +0 -1
  630. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-zero-float-leading-decimal-point.json5 +0 -1
  631. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-zero-float-trailing-decimal-point.json5 +0 -1
  632. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-zero-float.json +0 -1
  633. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-zero-hexadecimal.json5 +0 -1
  634. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-zero-integer.json +0 -1
  635. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-zero-octal-coffeescript.txt +0 -1
  636. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-zero-octal.txt +0 -1
  637. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/noctal-with-leading-octal-digit.js +0 -1
  638. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/noctal.js +0 -1
  639. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/octal-coffeescript.txt +0 -1
  640. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/octal.txt +0 -1
  641. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-binary-coffeescript.txt +0 -1
  642. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-float-leading-decimal-point.json5 +0 -1
  643. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-float-leading-zero.json5 +0 -1
  644. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-float-trailing-decimal-point.json5 +0 -1
  645. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-float.json5 +0 -1
  646. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-hexadecimal.json5 +0 -1
  647. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-infinity.json5 +0 -1
  648. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-integer.json5 +0 -1
  649. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-noctal.js +0 -1
  650. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-octal-coffeescript.txt +0 -1
  651. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-octal.txt +0 -1
  652. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-zero-binary-coffeescript.txt +0 -1
  653. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-zero-float-leading-decimal-point.json5 +0 -1
  654. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-zero-float-trailing-decimal-point.json5 +0 -1
  655. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-zero-float.json5 +0 -1
  656. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-zero-hexadecimal.json5 +0 -1
  657. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-zero-integer.json5 +0 -1
  658. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-zero-octal-coffeescript.txt +0 -1
  659. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-zero-octal.txt +0 -1
  660. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/zero-binary-coffeescript.txt +0 -1
  661. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/zero-float-leading-decimal-point.json5 +0 -1
  662. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/zero-float-trailing-decimal-point.json5 +0 -1
  663. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/zero-float.json +0 -1
  664. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/zero-hexadecimal.json5 +0 -1
  665. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/zero-integer-with-integer-exponent.json +0 -1
  666. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/zero-integer.json +0 -1
  667. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/zero-octal-coffeescript.txt +0 -1
  668. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/zero-octal.txt +0 -1
  669. package/debuggingApp/node_modules/json5/test/parse-cases/objects/duplicate-keys.json +0 -4
  670. package/debuggingApp/node_modules/json5/test/parse-cases/objects/empty-object.json +0 -1
  671. package/debuggingApp/node_modules/json5/test/parse-cases/objects/illegal-unquoted-key-number.txt +0 -3
  672. package/debuggingApp/node_modules/json5/test/parse-cases/objects/illegal-unquoted-key-symbol.txt +0 -3
  673. package/debuggingApp/node_modules/json5/test/parse-cases/objects/leading-comma-object.txt +0 -3
  674. package/debuggingApp/node_modules/json5/test/parse-cases/objects/lone-trailing-comma-object.txt +0 -3
  675. package/debuggingApp/node_modules/json5/test/parse-cases/objects/no-comma-object.txt +0 -4
  676. package/debuggingApp/node_modules/json5/test/parse-cases/objects/reserved-unquoted-key.json5 +0 -3
  677. package/debuggingApp/node_modules/json5/test/parse-cases/objects/single-quoted-key.json5 +0 -3
  678. package/debuggingApp/node_modules/json5/test/parse-cases/objects/trailing-comma-object.json5 +0 -3
  679. package/debuggingApp/node_modules/json5/test/parse-cases/objects/unquoted-keys.json5 +0 -8
  680. package/debuggingApp/node_modules/json5/test/parse-cases/strings/escaped-single-quoted-string.json5 +0 -1
  681. package/debuggingApp/node_modules/json5/test/parse-cases/strings/multi-line-string.json5 +0 -2
  682. package/debuggingApp/node_modules/json5/test/parse-cases/strings/single-quoted-string.json5 +0 -1
  683. package/debuggingApp/node_modules/json5/test/parse-cases/strings/unescaped-multi-line-string.txt +0 -2
  684. package/debuggingApp/node_modules/json5/test/parse-cases/todo/unicode-escaped-unquoted-key.json5 +0 -3
  685. package/debuggingApp/node_modules/json5/test/parse-cases/todo/unicode-unquoted-key.json5 +0 -3
  686. package/debuggingApp/node_modules/json5/test/parse.js +0 -89
  687. package/debuggingApp/node_modules/json5/test/readme.md +0 -23
  688. package/debuggingApp/node_modules/json5/test/require.js +0 -18
  689. package/debuggingApp/node_modules/json5/test/stringify.js +0 -498
  690. package/debuggingApp/node_modules/keygrip/HISTORY.md +0 -20
  691. package/debuggingApp/node_modules/keygrip/LICENSE +0 -21
  692. package/debuggingApp/node_modules/keygrip/README.md +0 -103
  693. package/debuggingApp/node_modules/keygrip/index.js +0 -71
  694. package/debuggingApp/node_modules/keygrip/package.json +0 -25
  695. package/debuggingApp/node_modules/media-typer/HISTORY.md +0 -22
  696. package/debuggingApp/node_modules/media-typer/LICENSE +0 -22
  697. package/debuggingApp/node_modules/media-typer/README.md +0 -81
  698. package/debuggingApp/node_modules/media-typer/index.js +0 -270
  699. package/debuggingApp/node_modules/media-typer/package.json +0 -26
  700. package/debuggingApp/node_modules/merge-descriptors/HISTORY.md +0 -21
  701. package/debuggingApp/node_modules/merge-descriptors/LICENSE +0 -23
  702. package/debuggingApp/node_modules/merge-descriptors/README.md +0 -48
  703. package/debuggingApp/node_modules/merge-descriptors/index.js +0 -60
  704. package/debuggingApp/node_modules/merge-descriptors/package.json +0 -32
  705. package/debuggingApp/node_modules/methods/HISTORY.md +0 -29
  706. package/debuggingApp/node_modules/methods/LICENSE +0 -24
  707. package/debuggingApp/node_modules/methods/README.md +0 -51
  708. package/debuggingApp/node_modules/methods/index.js +0 -69
  709. package/debuggingApp/node_modules/methods/package.json +0 -36
  710. package/debuggingApp/node_modules/mime/CHANGELOG.md +0 -164
  711. package/debuggingApp/node_modules/mime/LICENSE +0 -21
  712. package/debuggingApp/node_modules/mime/README.md +0 -90
  713. package/debuggingApp/node_modules/mime/cli.js +0 -8
  714. package/debuggingApp/node_modules/mime/mime.js +0 -108
  715. package/debuggingApp/node_modules/mime/package.json +0 -44
  716. package/debuggingApp/node_modules/mime/src/build.js +0 -53
  717. package/debuggingApp/node_modules/mime/src/test.js +0 -60
  718. package/debuggingApp/node_modules/mime/types.json +0 -1
  719. package/debuggingApp/node_modules/mime-db/HISTORY.md +0 -507
  720. package/debuggingApp/node_modules/mime-db/LICENSE +0 -23
  721. package/debuggingApp/node_modules/mime-db/README.md +0 -100
  722. package/debuggingApp/node_modules/mime-db/db.json +0 -8519
  723. package/debuggingApp/node_modules/mime-db/index.js +0 -12
  724. package/debuggingApp/node_modules/mime-db/package.json +0 -60
  725. package/debuggingApp/node_modules/mime-types/HISTORY.md +0 -397
  726. package/debuggingApp/node_modules/mime-types/LICENSE +0 -23
  727. package/debuggingApp/node_modules/mime-types/README.md +0 -113
  728. package/debuggingApp/node_modules/mime-types/index.js +0 -188
  729. package/debuggingApp/node_modules/mime-types/package.json +0 -44
  730. package/debuggingApp/node_modules/ms/index.js +0 -152
  731. package/debuggingApp/node_modules/ms/license.md +0 -21
  732. package/debuggingApp/node_modules/ms/package.json +0 -37
  733. package/debuggingApp/node_modules/ms/readme.md +0 -51
  734. package/debuggingApp/node_modules/negotiator/HISTORY.md +0 -108
  735. package/debuggingApp/node_modules/negotiator/LICENSE +0 -24
  736. package/debuggingApp/node_modules/negotiator/README.md +0 -203
  737. package/debuggingApp/node_modules/negotiator/index.js +0 -82
  738. package/debuggingApp/node_modules/negotiator/lib/charset.js +0 -169
  739. package/debuggingApp/node_modules/negotiator/lib/encoding.js +0 -184
  740. package/debuggingApp/node_modules/negotiator/lib/language.js +0 -179
  741. package/debuggingApp/node_modules/negotiator/lib/mediaType.js +0 -294
  742. package/debuggingApp/node_modules/negotiator/package.json +0 -42
  743. package/debuggingApp/node_modules/object-inspect/.github/FUNDING.yml +0 -12
  744. package/debuggingApp/node_modules/object-inspect/.nycrc +0 -13
  745. package/debuggingApp/node_modules/object-inspect/CHANGELOG.md +0 -360
  746. package/debuggingApp/node_modules/object-inspect/LICENSE +0 -21
  747. package/debuggingApp/node_modules/object-inspect/example/all.js +0 -23
  748. package/debuggingApp/node_modules/object-inspect/example/circular.js +0 -6
  749. package/debuggingApp/node_modules/object-inspect/example/fn.js +0 -5
  750. package/debuggingApp/node_modules/object-inspect/example/inspect.js +0 -10
  751. package/debuggingApp/node_modules/object-inspect/index.js +0 -512
  752. package/debuggingApp/node_modules/object-inspect/package-support.json +0 -20
  753. package/debuggingApp/node_modules/object-inspect/package.json +0 -94
  754. package/debuggingApp/node_modules/object-inspect/readme.markdown +0 -86
  755. package/debuggingApp/node_modules/object-inspect/test/bigint.js +0 -58
  756. package/debuggingApp/node_modules/object-inspect/test/browser/dom.js +0 -15
  757. package/debuggingApp/node_modules/object-inspect/test/circular.js +0 -16
  758. package/debuggingApp/node_modules/object-inspect/test/deep.js +0 -12
  759. package/debuggingApp/node_modules/object-inspect/test/element.js +0 -53
  760. package/debuggingApp/node_modules/object-inspect/test/err.js +0 -48
  761. package/debuggingApp/node_modules/object-inspect/test/fakes.js +0 -29
  762. package/debuggingApp/node_modules/object-inspect/test/fn.js +0 -76
  763. package/debuggingApp/node_modules/object-inspect/test/has.js +0 -15
  764. package/debuggingApp/node_modules/object-inspect/test/holes.js +0 -15
  765. package/debuggingApp/node_modules/object-inspect/test/indent-option.js +0 -271
  766. package/debuggingApp/node_modules/object-inspect/test/inspect.js +0 -139
  767. package/debuggingApp/node_modules/object-inspect/test/lowbyte.js +0 -12
  768. package/debuggingApp/node_modules/object-inspect/test/number.js +0 -58
  769. package/debuggingApp/node_modules/object-inspect/test/quoteStyle.js +0 -17
  770. package/debuggingApp/node_modules/object-inspect/test/toStringTag.js +0 -40
  771. package/debuggingApp/node_modules/object-inspect/test/undef.js +0 -12
  772. package/debuggingApp/node_modules/object-inspect/test/values.js +0 -211
  773. package/debuggingApp/node_modules/object-inspect/test-core-js.js +0 -26
  774. package/debuggingApp/node_modules/object-inspect/util.inspect.js +0 -1
  775. package/debuggingApp/node_modules/on-finished/HISTORY.md +0 -98
  776. package/debuggingApp/node_modules/on-finished/LICENSE +0 -23
  777. package/debuggingApp/node_modules/on-finished/README.md +0 -162
  778. package/debuggingApp/node_modules/on-finished/index.js +0 -234
  779. package/debuggingApp/node_modules/on-finished/package.json +0 -39
  780. package/debuggingApp/node_modules/parseurl/HISTORY.md +0 -58
  781. package/debuggingApp/node_modules/parseurl/LICENSE +0 -24
  782. package/debuggingApp/node_modules/parseurl/README.md +0 -133
  783. package/debuggingApp/node_modules/parseurl/index.js +0 -158
  784. package/debuggingApp/node_modules/parseurl/package.json +0 -40
  785. package/debuggingApp/node_modules/path-to-regexp/History.md +0 -36
  786. package/debuggingApp/node_modules/path-to-regexp/LICENSE +0 -21
  787. package/debuggingApp/node_modules/path-to-regexp/Readme.md +0 -35
  788. package/debuggingApp/node_modules/path-to-regexp/index.js +0 -129
  789. package/debuggingApp/node_modules/path-to-regexp/package.json +0 -30
  790. package/debuggingApp/node_modules/proxy-addr/HISTORY.md +0 -161
  791. package/debuggingApp/node_modules/proxy-addr/LICENSE +0 -22
  792. package/debuggingApp/node_modules/proxy-addr/README.md +0 -139
  793. package/debuggingApp/node_modules/proxy-addr/index.js +0 -327
  794. package/debuggingApp/node_modules/proxy-addr/package.json +0 -47
  795. package/debuggingApp/node_modules/qs/.github/FUNDING.yml +0 -12
  796. package/debuggingApp/node_modules/qs/.nycrc +0 -13
  797. package/debuggingApp/node_modules/qs/CHANGELOG.md +0 -388
  798. package/debuggingApp/node_modules/qs/LICENSE.md +0 -29
  799. package/debuggingApp/node_modules/qs/README.md +0 -623
  800. package/debuggingApp/node_modules/qs/dist/qs.js +0 -2044
  801. package/debuggingApp/node_modules/qs/lib/formats.js +0 -23
  802. package/debuggingApp/node_modules/qs/lib/index.js +0 -11
  803. package/debuggingApp/node_modules/qs/lib/parse.js +0 -263
  804. package/debuggingApp/node_modules/qs/lib/stringify.js +0 -317
  805. package/debuggingApp/node_modules/qs/lib/utils.js +0 -252
  806. package/debuggingApp/node_modules/qs/package.json +0 -73
  807. package/debuggingApp/node_modules/qs/test/parse.js +0 -841
  808. package/debuggingApp/node_modules/qs/test/stringify.js +0 -865
  809. package/debuggingApp/node_modules/qs/test/utils.js +0 -136
  810. package/debuggingApp/node_modules/range-parser/HISTORY.md +0 -56
  811. package/debuggingApp/node_modules/range-parser/LICENSE +0 -23
  812. package/debuggingApp/node_modules/range-parser/README.md +0 -84
  813. package/debuggingApp/node_modules/range-parser/index.js +0 -162
  814. package/debuggingApp/node_modules/range-parser/package.json +0 -44
  815. package/debuggingApp/node_modules/raw-body/HISTORY.md +0 -303
  816. package/debuggingApp/node_modules/raw-body/LICENSE +0 -22
  817. package/debuggingApp/node_modules/raw-body/README.md +0 -223
  818. package/debuggingApp/node_modules/raw-body/SECURITY.md +0 -24
  819. package/debuggingApp/node_modules/raw-body/index.d.ts +0 -87
  820. package/debuggingApp/node_modules/raw-body/index.js +0 -329
  821. package/debuggingApp/node_modules/raw-body/package.json +0 -49
  822. package/debuggingApp/node_modules/regenerator-runtime/LICENSE +0 -21
  823. package/debuggingApp/node_modules/regenerator-runtime/README.md +0 -31
  824. package/debuggingApp/node_modules/regenerator-runtime/package.json +0 -19
  825. package/debuggingApp/node_modules/regenerator-runtime/path.js +0 -11
  826. package/debuggingApp/node_modules/regenerator-runtime/runtime.js +0 -754
  827. package/debuggingApp/node_modules/safe-buffer/LICENSE +0 -21
  828. package/debuggingApp/node_modules/safe-buffer/README.md +0 -584
  829. package/debuggingApp/node_modules/safe-buffer/index.d.ts +0 -187
  830. package/debuggingApp/node_modules/safe-buffer/index.js +0 -65
  831. package/debuggingApp/node_modules/safe-buffer/package.json +0 -51
  832. package/debuggingApp/node_modules/safer-buffer/LICENSE +0 -21
  833. package/debuggingApp/node_modules/safer-buffer/Porting-Buffer.md +0 -268
  834. package/debuggingApp/node_modules/safer-buffer/Readme.md +0 -156
  835. package/debuggingApp/node_modules/safer-buffer/dangerous.js +0 -58
  836. package/debuggingApp/node_modules/safer-buffer/package.json +0 -34
  837. package/debuggingApp/node_modules/safer-buffer/safer.js +0 -77
  838. package/debuggingApp/node_modules/safer-buffer/tests.js +0 -406
  839. package/debuggingApp/node_modules/send/HISTORY.md +0 -521
  840. package/debuggingApp/node_modules/send/LICENSE +0 -23
  841. package/debuggingApp/node_modules/send/README.md +0 -327
  842. package/debuggingApp/node_modules/send/SECURITY.md +0 -24
  843. package/debuggingApp/node_modules/send/index.js +0 -1143
  844. package/debuggingApp/node_modules/send/node_modules/ms/index.js +0 -162
  845. package/debuggingApp/node_modules/send/node_modules/ms/license.md +0 -21
  846. package/debuggingApp/node_modules/send/node_modules/ms/package.json +0 -38
  847. package/debuggingApp/node_modules/send/node_modules/ms/readme.md +0 -59
  848. package/debuggingApp/node_modules/send/package.json +0 -62
  849. package/debuggingApp/node_modules/serve-static/HISTORY.md +0 -471
  850. package/debuggingApp/node_modules/serve-static/LICENSE +0 -25
  851. package/debuggingApp/node_modules/serve-static/README.md +0 -257
  852. package/debuggingApp/node_modules/serve-static/index.js +0 -210
  853. package/debuggingApp/node_modules/serve-static/package.json +0 -42
  854. package/debuggingApp/node_modules/setprototypeof/LICENSE +0 -13
  855. package/debuggingApp/node_modules/setprototypeof/README.md +0 -31
  856. package/debuggingApp/node_modules/setprototypeof/index.d.ts +0 -2
  857. package/debuggingApp/node_modules/setprototypeof/index.js +0 -17
  858. package/debuggingApp/node_modules/setprototypeof/package.json +0 -38
  859. package/debuggingApp/node_modules/setprototypeof/test/index.js +0 -24
  860. package/debuggingApp/node_modules/side-channel/.github/FUNDING.yml +0 -12
  861. package/debuggingApp/node_modules/side-channel/.nycrc +0 -13
  862. package/debuggingApp/node_modules/side-channel/CHANGELOG.md +0 -65
  863. package/debuggingApp/node_modules/side-channel/LICENSE +0 -21
  864. package/debuggingApp/node_modules/side-channel/README.md +0 -2
  865. package/debuggingApp/node_modules/side-channel/index.js +0 -124
  866. package/debuggingApp/node_modules/side-channel/package.json +0 -67
  867. package/debuggingApp/node_modules/side-channel/test/index.js +0 -78
  868. package/debuggingApp/node_modules/statuses/HISTORY.md +0 -82
  869. package/debuggingApp/node_modules/statuses/LICENSE +0 -23
  870. package/debuggingApp/node_modules/statuses/README.md +0 -136
  871. package/debuggingApp/node_modules/statuses/codes.json +0 -65
  872. package/debuggingApp/node_modules/statuses/index.js +0 -146
  873. package/debuggingApp/node_modules/statuses/package.json +0 -49
  874. package/debuggingApp/node_modules/toidentifier/HISTORY.md +0 -9
  875. package/debuggingApp/node_modules/toidentifier/LICENSE +0 -21
  876. package/debuggingApp/node_modules/toidentifier/README.md +0 -61
  877. package/debuggingApp/node_modules/toidentifier/index.js +0 -32
  878. package/debuggingApp/node_modules/toidentifier/package.json +0 -38
  879. package/debuggingApp/node_modules/type-is/HISTORY.md +0 -259
  880. package/debuggingApp/node_modules/type-is/LICENSE +0 -23
  881. package/debuggingApp/node_modules/type-is/README.md +0 -170
  882. package/debuggingApp/node_modules/type-is/index.js +0 -266
  883. package/debuggingApp/node_modules/type-is/package.json +0 -45
  884. package/debuggingApp/node_modules/unpipe/HISTORY.md +0 -4
  885. package/debuggingApp/node_modules/unpipe/LICENSE +0 -22
  886. package/debuggingApp/node_modules/unpipe/README.md +0 -43
  887. package/debuggingApp/node_modules/unpipe/index.js +0 -69
  888. package/debuggingApp/node_modules/unpipe/package.json +0 -27
  889. package/debuggingApp/node_modules/utils-merge/LICENSE +0 -20
  890. package/debuggingApp/node_modules/utils-merge/README.md +0 -34
  891. package/debuggingApp/node_modules/utils-merge/index.js +0 -23
  892. package/debuggingApp/node_modules/utils-merge/package.json +0 -40
  893. package/debuggingApp/node_modules/vary/HISTORY.md +0 -39
  894. package/debuggingApp/node_modules/vary/LICENSE +0 -22
  895. package/debuggingApp/node_modules/vary/README.md +0 -101
  896. package/debuggingApp/node_modules/vary/index.js +0 -149
  897. package/debuggingApp/node_modules/vary/package.json +0 -43
  898. package/debuggingApp/package-lock.json +0 -1162
  899. package/debuggingApp/package.json +0 -18
  900. package/debuggingApp/server.js +0 -42
  901. package/dist/cjs/locize.js +0 -464
  902. package/dist/esm/locize.js +0 -454
@@ -1,865 +0,0 @@
1
- 'use strict';
2
-
3
- var test = require('tape');
4
- var qs = require('../');
5
- var utils = require('../lib/utils');
6
- var iconv = require('iconv-lite');
7
- var SaferBuffer = require('safer-buffer').Buffer;
8
- var hasSymbols = require('has-symbols');
9
- var hasBigInt = typeof BigInt === 'function';
10
-
11
- test('stringify()', function (t) {
12
- t.test('stringifies a querystring object', function (st) {
13
- st.equal(qs.stringify({ a: 'b' }), 'a=b');
14
- st.equal(qs.stringify({ a: 1 }), 'a=1');
15
- st.equal(qs.stringify({ a: 1, b: 2 }), 'a=1&b=2');
16
- st.equal(qs.stringify({ a: 'A_Z' }), 'a=A_Z');
17
- st.equal(qs.stringify({ a: '€' }), 'a=%E2%82%AC');
18
- st.equal(qs.stringify({ a: '' }), 'a=%EE%80%80');
19
- st.equal(qs.stringify({ a: 'א' }), 'a=%D7%90');
20
- st.equal(qs.stringify({ a: '𐐷' }), 'a=%F0%90%90%B7');
21
- st.end();
22
- });
23
-
24
- t.test('stringifies falsy values', function (st) {
25
- st.equal(qs.stringify(undefined), '');
26
- st.equal(qs.stringify(null), '');
27
- st.equal(qs.stringify(null, { strictNullHandling: true }), '');
28
- st.equal(qs.stringify(false), '');
29
- st.equal(qs.stringify(0), '');
30
- st.end();
31
- });
32
-
33
- t.test('stringifies symbols', { skip: !hasSymbols() }, function (st) {
34
- st.equal(qs.stringify(Symbol.iterator), '');
35
- st.equal(qs.stringify([Symbol.iterator]), '0=Symbol%28Symbol.iterator%29');
36
- st.equal(qs.stringify({ a: Symbol.iterator }), 'a=Symbol%28Symbol.iterator%29');
37
- st.equal(
38
- qs.stringify({ a: [Symbol.iterator] }, { encodeValuesOnly: true, arrayFormat: 'brackets' }),
39
- 'a[]=Symbol%28Symbol.iterator%29'
40
- );
41
- st.end();
42
- });
43
-
44
- t.test('stringifies bigints', { skip: !hasBigInt }, function (st) {
45
- var three = BigInt(3);
46
- var encodeWithN = function (value, defaultEncoder, charset) {
47
- var result = defaultEncoder(value, defaultEncoder, charset);
48
- return typeof value === 'bigint' ? result + 'n' : result;
49
- };
50
- st.equal(qs.stringify(three), '');
51
- st.equal(qs.stringify([three]), '0=3');
52
- st.equal(qs.stringify([three], { encoder: encodeWithN }), '0=3n');
53
- st.equal(qs.stringify({ a: three }), 'a=3');
54
- st.equal(qs.stringify({ a: three }, { encoder: encodeWithN }), 'a=3n');
55
- st.equal(
56
- qs.stringify({ a: [three] }, { encodeValuesOnly: true, arrayFormat: 'brackets' }),
57
- 'a[]=3'
58
- );
59
- st.equal(
60
- qs.stringify({ a: [three] }, { encodeValuesOnly: true, encoder: encodeWithN, arrayFormat: 'brackets' }),
61
- 'a[]=3n'
62
- );
63
- st.end();
64
- });
65
-
66
- t.test('adds query prefix', function (st) {
67
- st.equal(qs.stringify({ a: 'b' }, { addQueryPrefix: true }), '?a=b');
68
- st.end();
69
- });
70
-
71
- t.test('with query prefix, outputs blank string given an empty object', function (st) {
72
- st.equal(qs.stringify({}, { addQueryPrefix: true }), '');
73
- st.end();
74
- });
75
-
76
- t.test('stringifies nested falsy values', function (st) {
77
- st.equal(qs.stringify({ a: { b: { c: null } } }), 'a%5Bb%5D%5Bc%5D=');
78
- st.equal(qs.stringify({ a: { b: { c: null } } }, { strictNullHandling: true }), 'a%5Bb%5D%5Bc%5D');
79
- st.equal(qs.stringify({ a: { b: { c: false } } }), 'a%5Bb%5D%5Bc%5D=false');
80
- st.end();
81
- });
82
-
83
- t.test('stringifies a nested object', function (st) {
84
- st.equal(qs.stringify({ a: { b: 'c' } }), 'a%5Bb%5D=c');
85
- st.equal(qs.stringify({ a: { b: { c: { d: 'e' } } } }), 'a%5Bb%5D%5Bc%5D%5Bd%5D=e');
86
- st.end();
87
- });
88
-
89
- t.test('stringifies a nested object with dots notation', function (st) {
90
- st.equal(qs.stringify({ a: { b: 'c' } }, { allowDots: true }), 'a.b=c');
91
- st.equal(qs.stringify({ a: { b: { c: { d: 'e' } } } }, { allowDots: true }), 'a.b.c.d=e');
92
- st.end();
93
- });
94
-
95
- t.test('stringifies an array value', function (st) {
96
- st.equal(
97
- qs.stringify({ a: ['b', 'c', 'd'] }, { arrayFormat: 'indices' }),
98
- 'a%5B0%5D=b&a%5B1%5D=c&a%5B2%5D=d',
99
- 'indices => indices'
100
- );
101
- st.equal(
102
- qs.stringify({ a: ['b', 'c', 'd'] }, { arrayFormat: 'brackets' }),
103
- 'a%5B%5D=b&a%5B%5D=c&a%5B%5D=d',
104
- 'brackets => brackets'
105
- );
106
- st.equal(
107
- qs.stringify({ a: ['b', 'c', 'd'] }, { arrayFormat: 'comma' }),
108
- 'a=b%2Cc%2Cd',
109
- 'comma => comma'
110
- );
111
- st.equal(
112
- qs.stringify({ a: ['b', 'c', 'd'] }),
113
- 'a%5B0%5D=b&a%5B1%5D=c&a%5B2%5D=d',
114
- 'default => indices'
115
- );
116
- st.end();
117
- });
118
-
119
- t.test('omits nulls when asked', function (st) {
120
- st.equal(qs.stringify({ a: 'b', c: null }, { skipNulls: true }), 'a=b');
121
- st.end();
122
- });
123
-
124
- t.test('omits nested nulls when asked', function (st) {
125
- st.equal(qs.stringify({ a: { b: 'c', d: null } }, { skipNulls: true }), 'a%5Bb%5D=c');
126
- st.end();
127
- });
128
-
129
- t.test('omits array indices when asked', function (st) {
130
- st.equal(qs.stringify({ a: ['b', 'c', 'd'] }, { indices: false }), 'a=b&a=c&a=d');
131
- st.end();
132
- });
133
-
134
- t.test('stringifies a nested array value', function (st) {
135
- st.equal(qs.stringify({ a: { b: ['c', 'd'] } }, { encodeValuesOnly: true, arrayFormat: 'indices' }), 'a[b][0]=c&a[b][1]=d');
136
- st.equal(qs.stringify({ a: { b: ['c', 'd'] } }, { encodeValuesOnly: true, arrayFormat: 'brackets' }), 'a[b][]=c&a[b][]=d');
137
- st.equal(qs.stringify({ a: { b: ['c', 'd'] } }, { encodeValuesOnly: true, arrayFormat: 'comma' }), 'a[b]=c,d');
138
- st.equal(qs.stringify({ a: { b: ['c', 'd'] } }, { encodeValuesOnly: true }), 'a[b][0]=c&a[b][1]=d');
139
- st.end();
140
- });
141
-
142
- t.test('stringifies a nested array value with dots notation', function (st) {
143
- st.equal(
144
- qs.stringify(
145
- { a: { b: ['c', 'd'] } },
146
- { allowDots: true, encodeValuesOnly: true, arrayFormat: 'indices' }
147
- ),
148
- 'a.b[0]=c&a.b[1]=d',
149
- 'indices: stringifies with dots + indices'
150
- );
151
- st.equal(
152
- qs.stringify(
153
- { a: { b: ['c', 'd'] } },
154
- { allowDots: true, encodeValuesOnly: true, arrayFormat: 'brackets' }
155
- ),
156
- 'a.b[]=c&a.b[]=d',
157
- 'brackets: stringifies with dots + brackets'
158
- );
159
- st.equal(
160
- qs.stringify(
161
- { a: { b: ['c', 'd'] } },
162
- { allowDots: true, encodeValuesOnly: true, arrayFormat: 'comma' }
163
- ),
164
- 'a.b=c,d',
165
- 'comma: stringifies with dots + comma'
166
- );
167
- st.equal(
168
- qs.stringify(
169
- { a: { b: ['c', 'd'] } },
170
- { allowDots: true, encodeValuesOnly: true }
171
- ),
172
- 'a.b[0]=c&a.b[1]=d',
173
- 'default: stringifies with dots + indices'
174
- );
175
- st.end();
176
- });
177
-
178
- t.test('stringifies an object inside an array', function (st) {
179
- st.equal(
180
- qs.stringify({ a: [{ b: 'c' }] }, { arrayFormat: 'indices' }),
181
- 'a%5B0%5D%5Bb%5D=c', // a[0][b]=c
182
- 'indices => brackets'
183
- );
184
- st.equal(
185
- qs.stringify({ a: [{ b: 'c' }] }, { arrayFormat: 'brackets' }),
186
- 'a%5B%5D%5Bb%5D=c', // a[][b]=c
187
- 'brackets => brackets'
188
- );
189
- st.equal(
190
- qs.stringify({ a: [{ b: 'c' }] }),
191
- 'a%5B0%5D%5Bb%5D=c',
192
- 'default => indices'
193
- );
194
-
195
- st.equal(
196
- qs.stringify({ a: [{ b: { c: [1] } }] }, { arrayFormat: 'indices' }),
197
- 'a%5B0%5D%5Bb%5D%5Bc%5D%5B0%5D=1',
198
- 'indices => indices'
199
- );
200
-
201
- st.equal(
202
- qs.stringify({ a: [{ b: { c: [1] } }] }, { arrayFormat: 'brackets' }),
203
- 'a%5B%5D%5Bb%5D%5Bc%5D%5B%5D=1',
204
- 'brackets => brackets'
205
- );
206
-
207
- st.equal(
208
- qs.stringify({ a: [{ b: { c: [1] } }] }),
209
- 'a%5B0%5D%5Bb%5D%5Bc%5D%5B0%5D=1',
210
- 'default => indices'
211
- );
212
-
213
- st.end();
214
- });
215
-
216
- t.test('stringifies an array with mixed objects and primitives', function (st) {
217
- st.equal(
218
- qs.stringify({ a: [{ b: 1 }, 2, 3] }, { encodeValuesOnly: true, arrayFormat: 'indices' }),
219
- 'a[0][b]=1&a[1]=2&a[2]=3',
220
- 'indices => indices'
221
- );
222
- st.equal(
223
- qs.stringify({ a: [{ b: 1 }, 2, 3] }, { encodeValuesOnly: true, arrayFormat: 'brackets' }),
224
- 'a[][b]=1&a[]=2&a[]=3',
225
- 'brackets => brackets'
226
- );
227
- st.equal(
228
- qs.stringify({ a: [{ b: 1 }, 2, 3] }, { encodeValuesOnly: true, arrayFormat: 'comma' }),
229
- '???',
230
- 'brackets => brackets',
231
- { skip: 'TODO: figure out what this should do' }
232
- );
233
- st.equal(
234
- qs.stringify({ a: [{ b: 1 }, 2, 3] }, { encodeValuesOnly: true }),
235
- 'a[0][b]=1&a[1]=2&a[2]=3',
236
- 'default => indices'
237
- );
238
-
239
- st.end();
240
- });
241
-
242
- t.test('stringifies an object inside an array with dots notation', function (st) {
243
- st.equal(
244
- qs.stringify(
245
- { a: [{ b: 'c' }] },
246
- { allowDots: true, encode: false, arrayFormat: 'indices' }
247
- ),
248
- 'a[0].b=c',
249
- 'indices => indices'
250
- );
251
- st.equal(
252
- qs.stringify(
253
- { a: [{ b: 'c' }] },
254
- { allowDots: true, encode: false, arrayFormat: 'brackets' }
255
- ),
256
- 'a[].b=c',
257
- 'brackets => brackets'
258
- );
259
- st.equal(
260
- qs.stringify(
261
- { a: [{ b: 'c' }] },
262
- { allowDots: true, encode: false }
263
- ),
264
- 'a[0].b=c',
265
- 'default => indices'
266
- );
267
-
268
- st.equal(
269
- qs.stringify(
270
- { a: [{ b: { c: [1] } }] },
271
- { allowDots: true, encode: false, arrayFormat: 'indices' }
272
- ),
273
- 'a[0].b.c[0]=1',
274
- 'indices => indices'
275
- );
276
- st.equal(
277
- qs.stringify(
278
- { a: [{ b: { c: [1] } }] },
279
- { allowDots: true, encode: false, arrayFormat: 'brackets' }
280
- ),
281
- 'a[].b.c[]=1',
282
- 'brackets => brackets'
283
- );
284
- st.equal(
285
- qs.stringify(
286
- { a: [{ b: { c: [1] } }] },
287
- { allowDots: true, encode: false }
288
- ),
289
- 'a[0].b.c[0]=1',
290
- 'default => indices'
291
- );
292
-
293
- st.end();
294
- });
295
-
296
- t.test('does not omit object keys when indices = false', function (st) {
297
- st.equal(qs.stringify({ a: [{ b: 'c' }] }, { indices: false }), 'a%5Bb%5D=c');
298
- st.end();
299
- });
300
-
301
- t.test('uses indices notation for arrays when indices=true', function (st) {
302
- st.equal(qs.stringify({ a: ['b', 'c'] }, { indices: true }), 'a%5B0%5D=b&a%5B1%5D=c');
303
- st.end();
304
- });
305
-
306
- t.test('uses indices notation for arrays when no arrayFormat is specified', function (st) {
307
- st.equal(qs.stringify({ a: ['b', 'c'] }), 'a%5B0%5D=b&a%5B1%5D=c');
308
- st.end();
309
- });
310
-
311
- t.test('uses indices notation for arrays when no arrayFormat=indices', function (st) {
312
- st.equal(qs.stringify({ a: ['b', 'c'] }, { arrayFormat: 'indices' }), 'a%5B0%5D=b&a%5B1%5D=c');
313
- st.end();
314
- });
315
-
316
- t.test('uses repeat notation for arrays when no arrayFormat=repeat', function (st) {
317
- st.equal(qs.stringify({ a: ['b', 'c'] }, { arrayFormat: 'repeat' }), 'a=b&a=c');
318
- st.end();
319
- });
320
-
321
- t.test('uses brackets notation for arrays when no arrayFormat=brackets', function (st) {
322
- st.equal(qs.stringify({ a: ['b', 'c'] }, { arrayFormat: 'brackets' }), 'a%5B%5D=b&a%5B%5D=c');
323
- st.end();
324
- });
325
-
326
- t.test('stringifies a complicated object', function (st) {
327
- st.equal(qs.stringify({ a: { b: 'c', d: 'e' } }), 'a%5Bb%5D=c&a%5Bd%5D=e');
328
- st.end();
329
- });
330
-
331
- t.test('stringifies an empty value', function (st) {
332
- st.equal(qs.stringify({ a: '' }), 'a=');
333
- st.equal(qs.stringify({ a: null }, { strictNullHandling: true }), 'a');
334
-
335
- st.equal(qs.stringify({ a: '', b: '' }), 'a=&b=');
336
- st.equal(qs.stringify({ a: null, b: '' }, { strictNullHandling: true }), 'a&b=');
337
-
338
- st.equal(qs.stringify({ a: { b: '' } }), 'a%5Bb%5D=');
339
- st.equal(qs.stringify({ a: { b: null } }, { strictNullHandling: true }), 'a%5Bb%5D');
340
- st.equal(qs.stringify({ a: { b: null } }, { strictNullHandling: false }), 'a%5Bb%5D=');
341
-
342
- st.end();
343
- });
344
-
345
- t.test('stringifies an empty array in different arrayFormat', function (st) {
346
- st.equal(qs.stringify({ a: [], b: [null], c: 'c' }, { encode: false }), 'b[0]=&c=c');
347
- // arrayFormat default
348
- st.equal(qs.stringify({ a: [], b: [null], c: 'c' }, { encode: false, arrayFormat: 'indices' }), 'b[0]=&c=c');
349
- st.equal(qs.stringify({ a: [], b: [null], c: 'c' }, { encode: false, arrayFormat: 'brackets' }), 'b[]=&c=c');
350
- st.equal(qs.stringify({ a: [], b: [null], c: 'c' }, { encode: false, arrayFormat: 'repeat' }), 'b=&c=c');
351
- st.equal(qs.stringify({ a: [], b: [null], c: 'c' }, { encode: false, arrayFormat: 'comma' }), 'b=&c=c');
352
- // with strictNullHandling
353
- st.equal(qs.stringify({ a: [], b: [null], c: 'c' }, { encode: false, arrayFormat: 'indices', strictNullHandling: true }), 'b[0]&c=c');
354
- st.equal(qs.stringify({ a: [], b: [null], c: 'c' }, { encode: false, arrayFormat: 'brackets', strictNullHandling: true }), 'b[]&c=c');
355
- st.equal(qs.stringify({ a: [], b: [null], c: 'c' }, { encode: false, arrayFormat: 'repeat', strictNullHandling: true }), 'b&c=c');
356
- st.equal(qs.stringify({ a: [], b: [null], c: 'c' }, { encode: false, arrayFormat: 'comma', strictNullHandling: true }), 'b&c=c');
357
- // with skipNulls
358
- st.equal(qs.stringify({ a: [], b: [null], c: 'c' }, { encode: false, arrayFormat: 'indices', skipNulls: true }), 'c=c');
359
- st.equal(qs.stringify({ a: [], b: [null], c: 'c' }, { encode: false, arrayFormat: 'brackets', skipNulls: true }), 'c=c');
360
- st.equal(qs.stringify({ a: [], b: [null], c: 'c' }, { encode: false, arrayFormat: 'repeat', skipNulls: true }), 'c=c');
361
- st.equal(qs.stringify({ a: [], b: [null], c: 'c' }, { encode: false, arrayFormat: 'comma', skipNulls: true }), 'c=c');
362
-
363
- st.end();
364
- });
365
-
366
- t.test('stringifies a null object', { skip: !Object.create }, function (st) {
367
- var obj = Object.create(null);
368
- obj.a = 'b';
369
- st.equal(qs.stringify(obj), 'a=b');
370
- st.end();
371
- });
372
-
373
- t.test('returns an empty string for invalid input', function (st) {
374
- st.equal(qs.stringify(undefined), '');
375
- st.equal(qs.stringify(false), '');
376
- st.equal(qs.stringify(null), '');
377
- st.equal(qs.stringify(''), '');
378
- st.end();
379
- });
380
-
381
- t.test('stringifies an object with a null object as a child', { skip: !Object.create }, function (st) {
382
- var obj = { a: Object.create(null) };
383
-
384
- obj.a.b = 'c';
385
- st.equal(qs.stringify(obj), 'a%5Bb%5D=c');
386
- st.end();
387
- });
388
-
389
- t.test('drops keys with a value of undefined', function (st) {
390
- st.equal(qs.stringify({ a: undefined }), '');
391
-
392
- st.equal(qs.stringify({ a: { b: undefined, c: null } }, { strictNullHandling: true }), 'a%5Bc%5D');
393
- st.equal(qs.stringify({ a: { b: undefined, c: null } }, { strictNullHandling: false }), 'a%5Bc%5D=');
394
- st.equal(qs.stringify({ a: { b: undefined, c: '' } }), 'a%5Bc%5D=');
395
- st.end();
396
- });
397
-
398
- t.test('url encodes values', function (st) {
399
- st.equal(qs.stringify({ a: 'b c' }), 'a=b%20c');
400
- st.end();
401
- });
402
-
403
- t.test('stringifies a date', function (st) {
404
- var now = new Date();
405
- var str = 'a=' + encodeURIComponent(now.toISOString());
406
- st.equal(qs.stringify({ a: now }), str);
407
- st.end();
408
- });
409
-
410
- t.test('stringifies the weird object from qs', function (st) {
411
- st.equal(qs.stringify({ 'my weird field': '~q1!2"\'w$5&7/z8)?' }), 'my%20weird%20field=~q1%212%22%27w%245%267%2Fz8%29%3F');
412
- st.end();
413
- });
414
-
415
- t.test('skips properties that are part of the object prototype', function (st) {
416
- Object.prototype.crash = 'test';
417
- st.equal(qs.stringify({ a: 'b' }), 'a=b');
418
- st.equal(qs.stringify({ a: { b: 'c' } }), 'a%5Bb%5D=c');
419
- delete Object.prototype.crash;
420
- st.end();
421
- });
422
-
423
- t.test('stringifies boolean values', function (st) {
424
- st.equal(qs.stringify({ a: true }), 'a=true');
425
- st.equal(qs.stringify({ a: { b: true } }), 'a%5Bb%5D=true');
426
- st.equal(qs.stringify({ b: false }), 'b=false');
427
- st.equal(qs.stringify({ b: { c: false } }), 'b%5Bc%5D=false');
428
- st.end();
429
- });
430
-
431
- t.test('stringifies buffer values', function (st) {
432
- st.equal(qs.stringify({ a: SaferBuffer.from('test') }), 'a=test');
433
- st.equal(qs.stringify({ a: { b: SaferBuffer.from('test') } }), 'a%5Bb%5D=test');
434
- st.end();
435
- });
436
-
437
- t.test('stringifies an object using an alternative delimiter', function (st) {
438
- st.equal(qs.stringify({ a: 'b', c: 'd' }, { delimiter: ';' }), 'a=b;c=d');
439
- st.end();
440
- });
441
-
442
- t.test('does not blow up when Buffer global is missing', function (st) {
443
- var tempBuffer = global.Buffer;
444
- delete global.Buffer;
445
- var result = qs.stringify({ a: 'b', c: 'd' });
446
- global.Buffer = tempBuffer;
447
- st.equal(result, 'a=b&c=d');
448
- st.end();
449
- });
450
-
451
- t.test('does not crash when parsing circular references', function (st) {
452
- var a = {};
453
- a.b = a;
454
-
455
- st['throws'](
456
- function () { qs.stringify({ 'foo[bar]': 'baz', 'foo[baz]': a }); },
457
- /RangeError: Cyclic object value/,
458
- 'cyclic values throw'
459
- );
460
-
461
- var circular = {
462
- a: 'value'
463
- };
464
- circular.a = circular;
465
- st['throws'](
466
- function () { qs.stringify(circular); },
467
- /RangeError: Cyclic object value/,
468
- 'cyclic values throw'
469
- );
470
-
471
- var arr = ['a'];
472
- st.doesNotThrow(
473
- function () { qs.stringify({ x: arr, y: arr }); },
474
- 'non-cyclic values do not throw'
475
- );
476
-
477
- st.end();
478
- });
479
-
480
- t.test('non-circular duplicated references can still work', function (st) {
481
- var hourOfDay = {
482
- 'function': 'hour_of_day'
483
- };
484
-
485
- var p1 = {
486
- 'function': 'gte',
487
- arguments: [hourOfDay, 0]
488
- };
489
- var p2 = {
490
- 'function': 'lte',
491
- arguments: [hourOfDay, 23]
492
- };
493
-
494
- st.equal(
495
- qs.stringify({ filters: { $and: [p1, p2] } }, { encodeValuesOnly: true }),
496
- 'filters[$and][0][function]=gte&filters[$and][0][arguments][0][function]=hour_of_day&filters[$and][0][arguments][1]=0&filters[$and][1][function]=lte&filters[$and][1][arguments][0][function]=hour_of_day&filters[$and][1][arguments][1]=23'
497
- );
498
-
499
- st.end();
500
- });
501
-
502
- t.test('selects properties when filter=array', function (st) {
503
- st.equal(qs.stringify({ a: 'b' }, { filter: ['a'] }), 'a=b');
504
- st.equal(qs.stringify({ a: 1 }, { filter: [] }), '');
505
-
506
- st.equal(
507
- qs.stringify(
508
- { a: { b: [1, 2, 3, 4], c: 'd' }, c: 'f' },
509
- { filter: ['a', 'b', 0, 2], arrayFormat: 'indices' }
510
- ),
511
- 'a%5Bb%5D%5B0%5D=1&a%5Bb%5D%5B2%5D=3',
512
- 'indices => indices'
513
- );
514
- st.equal(
515
- qs.stringify(
516
- { a: { b: [1, 2, 3, 4], c: 'd' }, c: 'f' },
517
- { filter: ['a', 'b', 0, 2], arrayFormat: 'brackets' }
518
- ),
519
- 'a%5Bb%5D%5B%5D=1&a%5Bb%5D%5B%5D=3',
520
- 'brackets => brackets'
521
- );
522
- st.equal(
523
- qs.stringify(
524
- { a: { b: [1, 2, 3, 4], c: 'd' }, c: 'f' },
525
- { filter: ['a', 'b', 0, 2] }
526
- ),
527
- 'a%5Bb%5D%5B0%5D=1&a%5Bb%5D%5B2%5D=3',
528
- 'default => indices'
529
- );
530
-
531
- st.end();
532
- });
533
-
534
- t.test('supports custom representations when filter=function', function (st) {
535
- var calls = 0;
536
- var obj = { a: 'b', c: 'd', e: { f: new Date(1257894000000) } };
537
- var filterFunc = function (prefix, value) {
538
- calls += 1;
539
- if (calls === 1) {
540
- st.equal(prefix, '', 'prefix is empty');
541
- st.equal(value, obj);
542
- } else if (prefix === 'c') {
543
- return void 0;
544
- } else if (value instanceof Date) {
545
- st.equal(prefix, 'e[f]');
546
- return value.getTime();
547
- }
548
- return value;
549
- };
550
-
551
- st.equal(qs.stringify(obj, { filter: filterFunc }), 'a=b&e%5Bf%5D=1257894000000');
552
- st.equal(calls, 5);
553
- st.end();
554
- });
555
-
556
- t.test('can disable uri encoding', function (st) {
557
- st.equal(qs.stringify({ a: 'b' }, { encode: false }), 'a=b');
558
- st.equal(qs.stringify({ a: { b: 'c' } }, { encode: false }), 'a[b]=c');
559
- st.equal(qs.stringify({ a: 'b', c: null }, { strictNullHandling: true, encode: false }), 'a=b&c');
560
- st.end();
561
- });
562
-
563
- t.test('can sort the keys', function (st) {
564
- var sort = function (a, b) {
565
- return a.localeCompare(b);
566
- };
567
- st.equal(qs.stringify({ a: 'c', z: 'y', b: 'f' }, { sort: sort }), 'a=c&b=f&z=y');
568
- st.equal(qs.stringify({ a: 'c', z: { j: 'a', i: 'b' }, b: 'f' }, { sort: sort }), 'a=c&b=f&z%5Bi%5D=b&z%5Bj%5D=a');
569
- st.end();
570
- });
571
-
572
- t.test('can sort the keys at depth 3 or more too', function (st) {
573
- var sort = function (a, b) {
574
- return a.localeCompare(b);
575
- };
576
- st.equal(
577
- qs.stringify(
578
- { a: 'a', z: { zj: { zjb: 'zjb', zja: 'zja' }, zi: { zib: 'zib', zia: 'zia' } }, b: 'b' },
579
- { sort: sort, encode: false }
580
- ),
581
- 'a=a&b=b&z[zi][zia]=zia&z[zi][zib]=zib&z[zj][zja]=zja&z[zj][zjb]=zjb'
582
- );
583
- st.equal(
584
- qs.stringify(
585
- { a: 'a', z: { zj: { zjb: 'zjb', zja: 'zja' }, zi: { zib: 'zib', zia: 'zia' } }, b: 'b' },
586
- { sort: null, encode: false }
587
- ),
588
- 'a=a&z[zj][zjb]=zjb&z[zj][zja]=zja&z[zi][zib]=zib&z[zi][zia]=zia&b=b'
589
- );
590
- st.end();
591
- });
592
-
593
- t.test('can stringify with custom encoding', function (st) {
594
- st.equal(qs.stringify({ 県: '大阪府', '': '' }, {
595
- encoder: function (str) {
596
- if (str.length === 0) {
597
- return '';
598
- }
599
- var buf = iconv.encode(str, 'shiftjis');
600
- var result = [];
601
- for (var i = 0; i < buf.length; ++i) {
602
- result.push(buf.readUInt8(i).toString(16));
603
- }
604
- return '%' + result.join('%');
605
- }
606
- }), '%8c%a7=%91%e5%8d%e3%95%7b&=');
607
- st.end();
608
- });
609
-
610
- t.test('receives the default encoder as a second argument', function (st) {
611
- st.plan(2);
612
- qs.stringify({ a: 1 }, {
613
- encoder: function (str, defaultEncoder) {
614
- st.equal(defaultEncoder, utils.encode);
615
- }
616
- });
617
- st.end();
618
- });
619
-
620
- t.test('throws error with wrong encoder', function (st) {
621
- st['throws'](function () {
622
- qs.stringify({}, { encoder: 'string' });
623
- }, new TypeError('Encoder has to be a function.'));
624
- st.end();
625
- });
626
-
627
- t.test('can use custom encoder for a buffer object', { skip: typeof Buffer === 'undefined' }, function (st) {
628
- st.equal(qs.stringify({ a: SaferBuffer.from([1]) }, {
629
- encoder: function (buffer) {
630
- if (typeof buffer === 'string') {
631
- return buffer;
632
- }
633
- return String.fromCharCode(buffer.readUInt8(0) + 97);
634
- }
635
- }), 'a=b');
636
-
637
- st.equal(qs.stringify({ a: SaferBuffer.from('a b') }, {
638
- encoder: function (buffer) {
639
- return buffer;
640
- }
641
- }), 'a=a b');
642
- st.end();
643
- });
644
-
645
- t.test('serializeDate option', function (st) {
646
- var date = new Date();
647
- st.equal(
648
- qs.stringify({ a: date }),
649
- 'a=' + date.toISOString().replace(/:/g, '%3A'),
650
- 'default is toISOString'
651
- );
652
-
653
- var mutatedDate = new Date();
654
- mutatedDate.toISOString = function () {
655
- throw new SyntaxError();
656
- };
657
- st['throws'](function () {
658
- mutatedDate.toISOString();
659
- }, SyntaxError);
660
- st.equal(
661
- qs.stringify({ a: mutatedDate }),
662
- 'a=' + Date.prototype.toISOString.call(mutatedDate).replace(/:/g, '%3A'),
663
- 'toISOString works even when method is not locally present'
664
- );
665
-
666
- var specificDate = new Date(6);
667
- st.equal(
668
- qs.stringify(
669
- { a: specificDate },
670
- { serializeDate: function (d) { return d.getTime() * 7; } }
671
- ),
672
- 'a=42',
673
- 'custom serializeDate function called'
674
- );
675
-
676
- st.equal(
677
- qs.stringify(
678
- { a: [date] },
679
- {
680
- serializeDate: function (d) { return d.getTime(); },
681
- arrayFormat: 'comma'
682
- }
683
- ),
684
- 'a=' + date.getTime(),
685
- 'works with arrayFormat comma'
686
- );
687
-
688
- st.end();
689
- });
690
-
691
- t.test('RFC 1738 serialization', function (st) {
692
- st.equal(qs.stringify({ a: 'b c' }, { format: qs.formats.RFC1738 }), 'a=b+c');
693
- st.equal(qs.stringify({ 'a b': 'c d' }, { format: qs.formats.RFC1738 }), 'a+b=c+d');
694
- st.equal(qs.stringify({ 'a b': SaferBuffer.from('a b') }, { format: qs.formats.RFC1738 }), 'a+b=a+b');
695
-
696
- st.equal(qs.stringify({ 'foo(ref)': 'bar' }, { format: qs.formats.RFC1738 }), 'foo(ref)=bar');
697
-
698
- st.end();
699
- });
700
-
701
- t.test('RFC 3986 spaces serialization', function (st) {
702
- st.equal(qs.stringify({ a: 'b c' }, { format: qs.formats.RFC3986 }), 'a=b%20c');
703
- st.equal(qs.stringify({ 'a b': 'c d' }, { format: qs.formats.RFC3986 }), 'a%20b=c%20d');
704
- st.equal(qs.stringify({ 'a b': SaferBuffer.from('a b') }, { format: qs.formats.RFC3986 }), 'a%20b=a%20b');
705
-
706
- st.end();
707
- });
708
-
709
- t.test('Backward compatibility to RFC 3986', function (st) {
710
- st.equal(qs.stringify({ a: 'b c' }), 'a=b%20c');
711
- st.equal(qs.stringify({ 'a b': SaferBuffer.from('a b') }), 'a%20b=a%20b');
712
-
713
- st.end();
714
- });
715
-
716
- t.test('Edge cases and unknown formats', function (st) {
717
- ['UFO1234', false, 1234, null, {}, []].forEach(
718
- function (format) {
719
- st['throws'](
720
- function () {
721
- qs.stringify({ a: 'b c' }, { format: format });
722
- },
723
- new TypeError('Unknown format option provided.')
724
- );
725
- }
726
- );
727
- st.end();
728
- });
729
-
730
- t.test('encodeValuesOnly', function (st) {
731
- st.equal(
732
- qs.stringify(
733
- { a: 'b', c: ['d', 'e=f'], f: [['g'], ['h']] },
734
- { encodeValuesOnly: true }
735
- ),
736
- 'a=b&c[0]=d&c[1]=e%3Df&f[0][0]=g&f[1][0]=h'
737
- );
738
- st.equal(
739
- qs.stringify(
740
- { a: 'b', c: ['d', 'e'], f: [['g'], ['h']] }
741
- ),
742
- 'a=b&c%5B0%5D=d&c%5B1%5D=e&f%5B0%5D%5B0%5D=g&f%5B1%5D%5B0%5D=h'
743
- );
744
- st.end();
745
- });
746
-
747
- t.test('encodeValuesOnly - strictNullHandling', function (st) {
748
- st.equal(
749
- qs.stringify(
750
- { a: { b: null } },
751
- { encodeValuesOnly: true, strictNullHandling: true }
752
- ),
753
- 'a[b]'
754
- );
755
- st.end();
756
- });
757
-
758
- t.test('throws if an invalid charset is specified', function (st) {
759
- st['throws'](function () {
760
- qs.stringify({ a: 'b' }, { charset: 'foobar' });
761
- }, new TypeError('The charset option must be either utf-8, iso-8859-1, or undefined'));
762
- st.end();
763
- });
764
-
765
- t.test('respects a charset of iso-8859-1', function (st) {
766
- st.equal(qs.stringify({ æ: 'æ' }, { charset: 'iso-8859-1' }), '%E6=%E6');
767
- st.end();
768
- });
769
-
770
- t.test('encodes unrepresentable chars as numeric entities in iso-8859-1 mode', function (st) {
771
- st.equal(qs.stringify({ a: '☺' }, { charset: 'iso-8859-1' }), 'a=%26%239786%3B');
772
- st.end();
773
- });
774
-
775
- t.test('respects an explicit charset of utf-8 (the default)', function (st) {
776
- st.equal(qs.stringify({ a: 'æ' }, { charset: 'utf-8' }), 'a=%C3%A6');
777
- st.end();
778
- });
779
-
780
- t.test('adds the right sentinel when instructed to and the charset is utf-8', function (st) {
781
- st.equal(qs.stringify({ a: 'æ' }, { charsetSentinel: true, charset: 'utf-8' }), 'utf8=%E2%9C%93&a=%C3%A6');
782
- st.end();
783
- });
784
-
785
- t.test('adds the right sentinel when instructed to and the charset is iso-8859-1', function (st) {
786
- st.equal(qs.stringify({ a: 'æ' }, { charsetSentinel: true, charset: 'iso-8859-1' }), 'utf8=%26%2310003%3B&a=%E6');
787
- st.end();
788
- });
789
-
790
- t.test('does not mutate the options argument', function (st) {
791
- var options = {};
792
- qs.stringify({}, options);
793
- st.deepEqual(options, {});
794
- st.end();
795
- });
796
-
797
- t.test('strictNullHandling works with custom filter', function (st) {
798
- var filter = function (prefix, value) {
799
- return value;
800
- };
801
-
802
- var options = { strictNullHandling: true, filter: filter };
803
- st.equal(qs.stringify({ key: null }, options), 'key');
804
- st.end();
805
- });
806
-
807
- t.test('strictNullHandling works with null serializeDate', function (st) {
808
- var serializeDate = function () {
809
- return null;
810
- };
811
- var options = { strictNullHandling: true, serializeDate: serializeDate };
812
- var date = new Date();
813
- st.equal(qs.stringify({ key: date }, options), 'key');
814
- st.end();
815
- });
816
-
817
- t.test('allows for encoding keys and values differently', function (st) {
818
- var encoder = function (str, defaultEncoder, charset, type) {
819
- if (type === 'key') {
820
- return defaultEncoder(str, defaultEncoder, charset, type).toLowerCase();
821
- }
822
- if (type === 'value') {
823
- return defaultEncoder(str, defaultEncoder, charset, type).toUpperCase();
824
- }
825
- throw 'this should never happen! type: ' + type;
826
- };
827
-
828
- st.deepEqual(qs.stringify({ KeY: 'vAlUe' }, { encoder: encoder }), 'key=VALUE');
829
- st.end();
830
- });
831
-
832
- t.test('objects inside arrays', function (st) {
833
- var obj = { a: { b: { c: 'd', e: 'f' } } };
834
- var withArray = { a: { b: [{ c: 'd', e: 'f' }] } };
835
-
836
- st.equal(qs.stringify(obj, { encode: false }), 'a[b][c]=d&a[b][e]=f', 'no array, no arrayFormat');
837
- st.equal(qs.stringify(obj, { encode: false, arrayFormat: 'bracket' }), 'a[b][c]=d&a[b][e]=f', 'no array, bracket');
838
- st.equal(qs.stringify(obj, { encode: false, arrayFormat: 'indices' }), 'a[b][c]=d&a[b][e]=f', 'no array, indices');
839
- st.equal(qs.stringify(obj, { encode: false, arrayFormat: 'comma' }), 'a[b][c]=d&a[b][e]=f', 'no array, comma');
840
-
841
- st.equal(qs.stringify(withArray, { encode: false }), 'a[b][0][c]=d&a[b][0][e]=f', 'array, no arrayFormat');
842
- st.equal(qs.stringify(withArray, { encode: false, arrayFormat: 'bracket' }), 'a[b][0][c]=d&a[b][0][e]=f', 'array, bracket');
843
- st.equal(qs.stringify(withArray, { encode: false, arrayFormat: 'indices' }), 'a[b][0][c]=d&a[b][0][e]=f', 'array, indices');
844
- st.equal(
845
- qs.stringify(withArray, { encode: false, arrayFormat: 'comma' }),
846
- '???',
847
- 'array, comma',
848
- { skip: 'TODO: figure out what this should do' }
849
- );
850
-
851
- st.end();
852
- });
853
-
854
- t.test('stringifies sparse arrays', function (st) {
855
- /* eslint no-sparse-arrays: 0 */
856
- st.equal(qs.stringify({ a: [, '2', , , '1'] }, { encodeValuesOnly: true }), 'a[1]=2&a[4]=1');
857
- st.equal(qs.stringify({ a: [, { b: [, , { c: '1' }] }] }, { encodeValuesOnly: true }), 'a[1][b][2][c]=1');
858
- st.equal(qs.stringify({ a: [, [, , [, , , { c: '1' }]]] }, { encodeValuesOnly: true }), 'a[1][2][3][c]=1');
859
- st.equal(qs.stringify({ a: [, [, , [, , , { c: [, '1'] }]]] }, { encodeValuesOnly: true }), 'a[1][2][3][c][1]=1');
860
-
861
- st.end();
862
- });
863
-
864
- t.end();
865
- });