locize 2.4.6 → 3.0.1

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 (903) hide show
  1. package/.babelrc +3 -0
  2. package/.ts.eslintrc +37 -0
  3. package/CHANGELOG.md +9 -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 +69 -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 +61 -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 +2796 -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/index.js +4 -4
  78. package/locize.js +2796 -286
  79. package/locize.min.js +1 -1
  80. package/package.json +64 -31
  81. package/rollup.config.js +62 -29
  82. package/src/api/handleCommitKey.js +17 -0
  83. package/src/api/handleCommitKeys.js +39 -0
  84. package/src/api/handleConfirmInitialized.js +10 -0
  85. package/src/api/handleEditKey.js +81 -0
  86. package/src/api/handleIsLocizeEnabled.js +13 -0
  87. package/src/api/handleRequestPopupChanges.js +25 -0
  88. package/src/api/handleRequestResourceBundle.js +11 -0
  89. package/src/api/handleSelectedKeys.js +32 -0
  90. package/src/api/handleTurnOff.js +8 -0
  91. package/src/api/handleTurnOn.js +8 -0
  92. package/src/api/index.js +19 -0
  93. package/src/api/postMessage.js +169 -0
  94. package/src/clickHandler.js +48 -0
  95. package/src/index.js +30 -0
  96. package/src/locizePlugin.js +117 -0
  97. package/src/observer.js +93 -0
  98. package/src/parser.js +162 -0
  99. package/src/process.js +62 -0
  100. package/src/processLegacy.js +69 -0
  101. package/src/shims/uniqueID.js +49 -0
  102. package/src/startStandalone.js +19 -0
  103. package/src/store.js +47 -0
  104. package/src/ui/elements/icons.js +92 -0
  105. package/src/ui/elements/popup.js +226 -0
  106. package/src/ui/elements/ribbonBox.js +76 -0
  107. package/src/ui/highlightNode.js +203 -0
  108. package/src/ui/mouseDistance.js +46 -0
  109. package/src/ui/popup.js +135 -0
  110. package/src/ui/stylesheet.js +8 -0
  111. package/src/ui/utils.js +37 -0
  112. package/src/uninstrumentedStore.js +39 -0
  113. package/src/utils.js +158 -0
  114. package/src/vars.js +18 -0
  115. package/tsconfig.json +4 -4
  116. package/.eslintrc.js +0 -20
  117. package/debuggingApp/README.md +0 -11
  118. package/debuggingApp/debugEditor.html +0 -28
  119. package/debuggingApp/index.html +0 -151
  120. package/debuggingApp/node_modules/.package-lock.json +0 -668
  121. package/debuggingApp/node_modules/@babel/runtime/LICENSE +0 -22
  122. package/debuggingApp/node_modules/@babel/runtime/README.md +0 -19
  123. package/debuggingApp/node_modules/@babel/runtime/helpers/AsyncGenerator.js +0 -98
  124. package/debuggingApp/node_modules/@babel/runtime/helpers/AwaitValue.js +0 -5
  125. package/debuggingApp/node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js +0 -30
  126. package/debuggingApp/node_modules/@babel/runtime/helpers/applyDecs.js +0 -284
  127. package/debuggingApp/node_modules/@babel/runtime/helpers/arrayLikeToArray.js +0 -11
  128. package/debuggingApp/node_modules/@babel/runtime/helpers/arrayWithHoles.js +0 -5
  129. package/debuggingApp/node_modules/@babel/runtime/helpers/arrayWithoutHoles.js +0 -7
  130. package/debuggingApp/node_modules/@babel/runtime/helpers/assertThisInitialized.js +0 -9
  131. package/debuggingApp/node_modules/@babel/runtime/helpers/asyncGeneratorDelegate.js +0 -56
  132. package/debuggingApp/node_modules/@babel/runtime/helpers/asyncIterator.js +0 -50
  133. package/debuggingApp/node_modules/@babel/runtime/helpers/asyncToGenerator.js +0 -37
  134. package/debuggingApp/node_modules/@babel/runtime/helpers/awaitAsyncGenerator.js +0 -7
  135. package/debuggingApp/node_modules/@babel/runtime/helpers/checkPrivateRedeclaration.js +0 -7
  136. package/debuggingApp/node_modules/@babel/runtime/helpers/classApplyDescriptorDestructureSet.js +0 -22
  137. package/debuggingApp/node_modules/@babel/runtime/helpers/classApplyDescriptorGet.js +0 -9
  138. package/debuggingApp/node_modules/@babel/runtime/helpers/classApplyDescriptorSet.js +0 -13
  139. package/debuggingApp/node_modules/@babel/runtime/helpers/classCallCheck.js +0 -7
  140. package/debuggingApp/node_modules/@babel/runtime/helpers/classCheckPrivateStaticAccess.js +0 -7
  141. package/debuggingApp/node_modules/@babel/runtime/helpers/classCheckPrivateStaticFieldDescriptor.js +0 -7
  142. package/debuggingApp/node_modules/@babel/runtime/helpers/classExtractFieldDescriptor.js +0 -9
  143. package/debuggingApp/node_modules/@babel/runtime/helpers/classNameTDZError.js +0 -5
  144. package/debuggingApp/node_modules/@babel/runtime/helpers/classPrivateFieldDestructureSet.js +0 -10
  145. package/debuggingApp/node_modules/@babel/runtime/helpers/classPrivateFieldGet.js +0 -10
  146. package/debuggingApp/node_modules/@babel/runtime/helpers/classPrivateFieldInitSpec.js +0 -8
  147. package/debuggingApp/node_modules/@babel/runtime/helpers/classPrivateFieldLooseBase.js +0 -9
  148. package/debuggingApp/node_modules/@babel/runtime/helpers/classPrivateFieldLooseKey.js +0 -7
  149. package/debuggingApp/node_modules/@babel/runtime/helpers/classPrivateFieldSet.js +0 -11
  150. package/debuggingApp/node_modules/@babel/runtime/helpers/classPrivateMethodGet.js +0 -9
  151. package/debuggingApp/node_modules/@babel/runtime/helpers/classPrivateMethodInitSpec.js +0 -8
  152. package/debuggingApp/node_modules/@babel/runtime/helpers/classPrivateMethodSet.js +0 -5
  153. package/debuggingApp/node_modules/@babel/runtime/helpers/classStaticPrivateFieldDestructureSet.js +0 -13
  154. package/debuggingApp/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecGet.js +0 -13
  155. package/debuggingApp/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecSet.js +0 -14
  156. package/debuggingApp/node_modules/@babel/runtime/helpers/classStaticPrivateMethodGet.js +0 -8
  157. package/debuggingApp/node_modules/@babel/runtime/helpers/classStaticPrivateMethodSet.js +0 -5
  158. package/debuggingApp/node_modules/@babel/runtime/helpers/construct.js +0 -22
  159. package/debuggingApp/node_modules/@babel/runtime/helpers/createClass.js +0 -20
  160. package/debuggingApp/node_modules/@babel/runtime/helpers/createForOfIteratorHelper.js +0 -60
  161. package/debuggingApp/node_modules/@babel/runtime/helpers/createForOfIteratorHelperLoose.js +0 -24
  162. package/debuggingApp/node_modules/@babel/runtime/helpers/createSuper.js +0 -24
  163. package/debuggingApp/node_modules/@babel/runtime/helpers/decorate.js +0 -400
  164. package/debuggingApp/node_modules/@babel/runtime/helpers/defaults.js +0 -16
  165. package/debuggingApp/node_modules/@babel/runtime/helpers/defineEnumerableProperties.js +0 -24
  166. package/debuggingApp/node_modules/@babel/runtime/helpers/defineProperty.js +0 -16
  167. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/AsyncGenerator.js +0 -95
  168. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/AwaitValue.js +0 -3
  169. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/applyDecoratedDescriptor.js +0 -28
  170. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/applyDecs.js +0 -282
  171. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +0 -9
  172. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +0 -3
  173. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +0 -4
  174. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +0 -7
  175. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/asyncGeneratorDelegate.js +0 -54
  176. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/asyncIterator.js +0 -48
  177. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js +0 -35
  178. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/awaitAsyncGenerator.js +0 -4
  179. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/checkPrivateRedeclaration.js +0 -5
  180. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorDestructureSet.js +0 -20
  181. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorGet.js +0 -7
  182. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorSet.js +0 -11
  183. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +0 -5
  184. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticAccess.js +0 -5
  185. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticFieldDescriptor.js +0 -5
  186. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classExtractFieldDescriptor.js +0 -7
  187. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classNameTDZError.js +0 -3
  188. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classPrivateFieldDestructureSet.js +0 -6
  189. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet.js +0 -6
  190. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classPrivateFieldInitSpec.js +0 -5
  191. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseBase.js +0 -7
  192. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseKey.js +0 -4
  193. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet.js +0 -7
  194. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classPrivateMethodGet.js +0 -7
  195. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classPrivateMethodInitSpec.js +0 -5
  196. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classPrivateMethodSet.js +0 -3
  197. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldDestructureSet.js +0 -8
  198. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecGet.js +0 -8
  199. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecSet.js +0 -9
  200. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodGet.js +0 -5
  201. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodSet.js +0 -3
  202. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/construct.js +0 -18
  203. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/createClass.js +0 -18
  204. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js +0 -57
  205. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelperLoose.js +0 -21
  206. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/createSuper.js +0 -19
  207. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/decorate.js +0 -396
  208. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/defaults.js +0 -14
  209. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/defineEnumerableProperties.js +0 -22
  210. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/defineProperty.js +0 -14
  211. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/extends.js +0 -16
  212. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/get.js +0 -20
  213. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +0 -6
  214. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/identity.js +0 -3
  215. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/inherits.js +0 -18
  216. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js +0 -6
  217. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/initializerDefineProperty.js +0 -9
  218. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/initializerWarningHelper.js +0 -3
  219. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/instanceof.js +0 -7
  220. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/interopRequireDefault.js +0 -5
  221. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/interopRequireWildcard.js +0 -51
  222. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/isNativeFunction.js +0 -3
  223. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +0 -12
  224. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/iterableToArray.js +0 -3
  225. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +0 -29
  226. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimitLoose.js +0 -14
  227. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/jsx.js +0 -26
  228. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/maybeArrayLike.js +0 -9
  229. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/newArrowCheck.js +0 -5
  230. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +0 -3
  231. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +0 -3
  232. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/objectDestructuringEmpty.js +0 -3
  233. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/objectSpread.js +0 -19
  234. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +0 -27
  235. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +0 -19
  236. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +0 -14
  237. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/package.json +0 -3
  238. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +0 -11
  239. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/readOnlyError.js +0 -3
  240. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js +0 -352
  241. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/set.js +0 -51
  242. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +0 -7
  243. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/skipFirstGeneratorNext.js +0 -7
  244. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +0 -7
  245. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/slicedToArrayLoose.js +0 -7
  246. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/superPropBase.js +0 -9
  247. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js +0 -11
  248. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteralLoose.js +0 -8
  249. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/tdz.js +0 -3
  250. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/temporalRef.js +0 -5
  251. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/temporalUndefined.js +0 -1
  252. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/toArray.js +0 -7
  253. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +0 -7
  254. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +0 -13
  255. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +0 -6
  256. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/typeof.js +0 -9
  257. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +0 -9
  258. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/wrapAsyncGenerator.js +0 -6
  259. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/wrapNativeSuper.js +0 -37
  260. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/wrapRegExp.js +0 -50
  261. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/writeOnlyError.js +0 -3
  262. package/debuggingApp/node_modules/@babel/runtime/helpers/extends.js +0 -18
  263. package/debuggingApp/node_modules/@babel/runtime/helpers/get.js +0 -23
  264. package/debuggingApp/node_modules/@babel/runtime/helpers/getPrototypeOf.js +0 -8
  265. package/debuggingApp/node_modules/@babel/runtime/helpers/identity.js +0 -5
  266. package/debuggingApp/node_modules/@babel/runtime/helpers/inherits.js +0 -21
  267. package/debuggingApp/node_modules/@babel/runtime/helpers/inheritsLoose.js +0 -9
  268. package/debuggingApp/node_modules/@babel/runtime/helpers/initializerDefineProperty.js +0 -11
  269. package/debuggingApp/node_modules/@babel/runtime/helpers/initializerWarningHelper.js +0 -5
  270. package/debuggingApp/node_modules/@babel/runtime/helpers/instanceof.js +0 -9
  271. package/debuggingApp/node_modules/@babel/runtime/helpers/interopRequireDefault.js +0 -7
  272. package/debuggingApp/node_modules/@babel/runtime/helpers/interopRequireWildcard.js +0 -53
  273. package/debuggingApp/node_modules/@babel/runtime/helpers/isNativeFunction.js +0 -5
  274. package/debuggingApp/node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js +0 -14
  275. package/debuggingApp/node_modules/@babel/runtime/helpers/iterableToArray.js +0 -5
  276. package/debuggingApp/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js +0 -31
  277. package/debuggingApp/node_modules/@babel/runtime/helpers/iterableToArrayLimitLoose.js +0 -16
  278. package/debuggingApp/node_modules/@babel/runtime/helpers/jsx.js +0 -29
  279. package/debuggingApp/node_modules/@babel/runtime/helpers/maybeArrayLike.js +0 -12
  280. package/debuggingApp/node_modules/@babel/runtime/helpers/newArrowCheck.js +0 -7
  281. package/debuggingApp/node_modules/@babel/runtime/helpers/nonIterableRest.js +0 -5
  282. package/debuggingApp/node_modules/@babel/runtime/helpers/nonIterableSpread.js +0 -5
  283. package/debuggingApp/node_modules/@babel/runtime/helpers/objectDestructuringEmpty.js +0 -5
  284. package/debuggingApp/node_modules/@babel/runtime/helpers/objectSpread.js +0 -22
  285. package/debuggingApp/node_modules/@babel/runtime/helpers/objectSpread2.js +0 -29
  286. package/debuggingApp/node_modules/@babel/runtime/helpers/objectWithoutProperties.js +0 -22
  287. package/debuggingApp/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js +0 -16
  288. package/debuggingApp/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js +0 -15
  289. package/debuggingApp/node_modules/@babel/runtime/helpers/readOnlyError.js +0 -5
  290. package/debuggingApp/node_modules/@babel/runtime/helpers/regeneratorRuntime.js +0 -354
  291. package/debuggingApp/node_modules/@babel/runtime/helpers/set.js +0 -54
  292. package/debuggingApp/node_modules/@babel/runtime/helpers/setPrototypeOf.js +0 -9
  293. package/debuggingApp/node_modules/@babel/runtime/helpers/skipFirstGeneratorNext.js +0 -9
  294. package/debuggingApp/node_modules/@babel/runtime/helpers/slicedToArray.js +0 -13
  295. package/debuggingApp/node_modules/@babel/runtime/helpers/slicedToArrayLoose.js +0 -13
  296. package/debuggingApp/node_modules/@babel/runtime/helpers/superPropBase.js +0 -12
  297. package/debuggingApp/node_modules/@babel/runtime/helpers/taggedTemplateLiteral.js +0 -13
  298. package/debuggingApp/node_modules/@babel/runtime/helpers/taggedTemplateLiteralLoose.js +0 -10
  299. package/debuggingApp/node_modules/@babel/runtime/helpers/tdz.js +0 -5
  300. package/debuggingApp/node_modules/@babel/runtime/helpers/temporalRef.js +0 -9
  301. package/debuggingApp/node_modules/@babel/runtime/helpers/temporalUndefined.js +0 -3
  302. package/debuggingApp/node_modules/@babel/runtime/helpers/toArray.js +0 -13
  303. package/debuggingApp/node_modules/@babel/runtime/helpers/toConsumableArray.js +0 -13
  304. package/debuggingApp/node_modules/@babel/runtime/helpers/toPrimitive.js +0 -16
  305. package/debuggingApp/node_modules/@babel/runtime/helpers/toPropertyKey.js +0 -10
  306. package/debuggingApp/node_modules/@babel/runtime/helpers/typeof.js +0 -11
  307. package/debuggingApp/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js +0 -12
  308. package/debuggingApp/node_modules/@babel/runtime/helpers/wrapAsyncGenerator.js +0 -9
  309. package/debuggingApp/node_modules/@babel/runtime/helpers/wrapNativeSuper.js +0 -42
  310. package/debuggingApp/node_modules/@babel/runtime/helpers/wrapRegExp.js +0 -55
  311. package/debuggingApp/node_modules/@babel/runtime/helpers/writeOnlyError.js +0 -5
  312. package/debuggingApp/node_modules/@babel/runtime/package.json +0 -876
  313. package/debuggingApp/node_modules/@babel/runtime/regenerator/index.js +0 -15
  314. package/debuggingApp/node_modules/accepts/HISTORY.md +0 -243
  315. package/debuggingApp/node_modules/accepts/LICENSE +0 -23
  316. package/debuggingApp/node_modules/accepts/README.md +0 -140
  317. package/debuggingApp/node_modules/accepts/index.js +0 -238
  318. package/debuggingApp/node_modules/accepts/package.json +0 -47
  319. package/debuggingApp/node_modules/array-flatten/LICENSE +0 -21
  320. package/debuggingApp/node_modules/array-flatten/README.md +0 -43
  321. package/debuggingApp/node_modules/array-flatten/array-flatten.js +0 -64
  322. package/debuggingApp/node_modules/array-flatten/package.json +0 -39
  323. package/debuggingApp/node_modules/body-parser/HISTORY.md +0 -651
  324. package/debuggingApp/node_modules/body-parser/LICENSE +0 -23
  325. package/debuggingApp/node_modules/body-parser/README.md +0 -464
  326. package/debuggingApp/node_modules/body-parser/SECURITY.md +0 -25
  327. package/debuggingApp/node_modules/body-parser/index.js +0 -157
  328. package/debuggingApp/node_modules/body-parser/lib/read.js +0 -205
  329. package/debuggingApp/node_modules/body-parser/lib/types/json.js +0 -236
  330. package/debuggingApp/node_modules/body-parser/lib/types/raw.js +0 -101
  331. package/debuggingApp/node_modules/body-parser/lib/types/text.js +0 -121
  332. package/debuggingApp/node_modules/body-parser/lib/types/urlencoded.js +0 -284
  333. package/debuggingApp/node_modules/body-parser/package.json +0 -56
  334. package/debuggingApp/node_modules/bytes/History.md +0 -97
  335. package/debuggingApp/node_modules/bytes/LICENSE +0 -23
  336. package/debuggingApp/node_modules/bytes/Readme.md +0 -152
  337. package/debuggingApp/node_modules/bytes/index.js +0 -170
  338. package/debuggingApp/node_modules/bytes/package.json +0 -42
  339. package/debuggingApp/node_modules/call-bind/.github/FUNDING.yml +0 -12
  340. package/debuggingApp/node_modules/call-bind/.nycrc +0 -13
  341. package/debuggingApp/node_modules/call-bind/CHANGELOG.md +0 -42
  342. package/debuggingApp/node_modules/call-bind/LICENSE +0 -21
  343. package/debuggingApp/node_modules/call-bind/README.md +0 -2
  344. package/debuggingApp/node_modules/call-bind/callBound.js +0 -15
  345. package/debuggingApp/node_modules/call-bind/index.js +0 -47
  346. package/debuggingApp/node_modules/call-bind/package.json +0 -80
  347. package/debuggingApp/node_modules/call-bind/test/callBound.js +0 -55
  348. package/debuggingApp/node_modules/call-bind/test/index.js +0 -66
  349. package/debuggingApp/node_modules/content-disposition/HISTORY.md +0 -60
  350. package/debuggingApp/node_modules/content-disposition/LICENSE +0 -22
  351. package/debuggingApp/node_modules/content-disposition/README.md +0 -142
  352. package/debuggingApp/node_modules/content-disposition/index.js +0 -458
  353. package/debuggingApp/node_modules/content-disposition/package.json +0 -44
  354. package/debuggingApp/node_modules/content-type/HISTORY.md +0 -24
  355. package/debuggingApp/node_modules/content-type/LICENSE +0 -22
  356. package/debuggingApp/node_modules/content-type/README.md +0 -92
  357. package/debuggingApp/node_modules/content-type/index.js +0 -222
  358. package/debuggingApp/node_modules/content-type/package.json +0 -40
  359. package/debuggingApp/node_modules/cookie/HISTORY.md +0 -142
  360. package/debuggingApp/node_modules/cookie/LICENSE +0 -24
  361. package/debuggingApp/node_modules/cookie/README.md +0 -302
  362. package/debuggingApp/node_modules/cookie/SECURITY.md +0 -25
  363. package/debuggingApp/node_modules/cookie/index.js +0 -270
  364. package/debuggingApp/node_modules/cookie/package.json +0 -44
  365. package/debuggingApp/node_modules/cookie-signature/History.md +0 -38
  366. package/debuggingApp/node_modules/cookie-signature/Readme.md +0 -42
  367. package/debuggingApp/node_modules/cookie-signature/index.js +0 -51
  368. package/debuggingApp/node_modules/cookie-signature/package.json +0 -18
  369. package/debuggingApp/node_modules/cookies/History.md +0 -62
  370. package/debuggingApp/node_modules/cookies/LICENSE.txt +0 -22
  371. package/debuggingApp/node_modules/cookies/README.md +0 -121
  372. package/debuggingApp/node_modules/cookies/lib/cookies.js +0 -181
  373. package/debuggingApp/node_modules/cookies/package.json +0 -24
  374. package/debuggingApp/node_modules/debug/.coveralls.yml +0 -1
  375. package/debuggingApp/node_modules/debug/.travis.yml +0 -14
  376. package/debuggingApp/node_modules/debug/CHANGELOG.md +0 -362
  377. package/debuggingApp/node_modules/debug/LICENSE +0 -19
  378. package/debuggingApp/node_modules/debug/Makefile +0 -50
  379. package/debuggingApp/node_modules/debug/README.md +0 -312
  380. package/debuggingApp/node_modules/debug/component.json +0 -19
  381. package/debuggingApp/node_modules/debug/node.js +0 -1
  382. package/debuggingApp/node_modules/debug/package.json +0 -49
  383. package/debuggingApp/node_modules/debug/src/browser.js +0 -185
  384. package/debuggingApp/node_modules/debug/src/debug.js +0 -202
  385. package/debuggingApp/node_modules/debug/src/index.js +0 -10
  386. package/debuggingApp/node_modules/debug/src/inspector-log.js +0 -15
  387. package/debuggingApp/node_modules/debug/src/node.js +0 -248
  388. package/debuggingApp/node_modules/depd/History.md +0 -103
  389. package/debuggingApp/node_modules/depd/LICENSE +0 -22
  390. package/debuggingApp/node_modules/depd/Readme.md +0 -280
  391. package/debuggingApp/node_modules/depd/index.js +0 -538
  392. package/debuggingApp/node_modules/depd/lib/browser/index.js +0 -77
  393. package/debuggingApp/node_modules/depd/package.json +0 -45
  394. package/debuggingApp/node_modules/destroy/LICENSE +0 -23
  395. package/debuggingApp/node_modules/destroy/README.md +0 -63
  396. package/debuggingApp/node_modules/destroy/index.js +0 -209
  397. package/debuggingApp/node_modules/destroy/package.json +0 -48
  398. package/debuggingApp/node_modules/ee-first/LICENSE +0 -22
  399. package/debuggingApp/node_modules/ee-first/README.md +0 -80
  400. package/debuggingApp/node_modules/ee-first/index.js +0 -95
  401. package/debuggingApp/node_modules/ee-first/package.json +0 -29
  402. package/debuggingApp/node_modules/encodeurl/HISTORY.md +0 -14
  403. package/debuggingApp/node_modules/encodeurl/LICENSE +0 -22
  404. package/debuggingApp/node_modules/encodeurl/README.md +0 -128
  405. package/debuggingApp/node_modules/encodeurl/index.js +0 -60
  406. package/debuggingApp/node_modules/encodeurl/package.json +0 -40
  407. package/debuggingApp/node_modules/escape-html/LICENSE +0 -24
  408. package/debuggingApp/node_modules/escape-html/Readme.md +0 -43
  409. package/debuggingApp/node_modules/escape-html/index.js +0 -78
  410. package/debuggingApp/node_modules/escape-html/package.json +0 -24
  411. package/debuggingApp/node_modules/etag/HISTORY.md +0 -83
  412. package/debuggingApp/node_modules/etag/LICENSE +0 -22
  413. package/debuggingApp/node_modules/etag/README.md +0 -159
  414. package/debuggingApp/node_modules/etag/index.js +0 -131
  415. package/debuggingApp/node_modules/etag/package.json +0 -47
  416. package/debuggingApp/node_modules/express/History.md +0 -3579
  417. package/debuggingApp/node_modules/express/LICENSE +0 -24
  418. package/debuggingApp/node_modules/express/Readme.md +0 -166
  419. package/debuggingApp/node_modules/express/index.js +0 -11
  420. package/debuggingApp/node_modules/express/lib/application.js +0 -661
  421. package/debuggingApp/node_modules/express/lib/express.js +0 -116
  422. package/debuggingApp/node_modules/express/lib/middleware/init.js +0 -43
  423. package/debuggingApp/node_modules/express/lib/middleware/query.js +0 -47
  424. package/debuggingApp/node_modules/express/lib/request.js +0 -525
  425. package/debuggingApp/node_modules/express/lib/response.js +0 -1169
  426. package/debuggingApp/node_modules/express/lib/router/index.js +0 -673
  427. package/debuggingApp/node_modules/express/lib/router/layer.js +0 -181
  428. package/debuggingApp/node_modules/express/lib/router/route.js +0 -225
  429. package/debuggingApp/node_modules/express/lib/utils.js +0 -304
  430. package/debuggingApp/node_modules/express/lib/view.js +0 -182
  431. package/debuggingApp/node_modules/express/package.json +0 -99
  432. package/debuggingApp/node_modules/finalhandler/HISTORY.md +0 -195
  433. package/debuggingApp/node_modules/finalhandler/LICENSE +0 -22
  434. package/debuggingApp/node_modules/finalhandler/README.md +0 -147
  435. package/debuggingApp/node_modules/finalhandler/SECURITY.md +0 -25
  436. package/debuggingApp/node_modules/finalhandler/index.js +0 -336
  437. package/debuggingApp/node_modules/finalhandler/package.json +0 -46
  438. package/debuggingApp/node_modules/forwarded/HISTORY.md +0 -21
  439. package/debuggingApp/node_modules/forwarded/LICENSE +0 -22
  440. package/debuggingApp/node_modules/forwarded/README.md +0 -57
  441. package/debuggingApp/node_modules/forwarded/index.js +0 -90
  442. package/debuggingApp/node_modules/forwarded/package.json +0 -45
  443. package/debuggingApp/node_modules/fresh/HISTORY.md +0 -70
  444. package/debuggingApp/node_modules/fresh/LICENSE +0 -23
  445. package/debuggingApp/node_modules/fresh/README.md +0 -119
  446. package/debuggingApp/node_modules/fresh/index.js +0 -137
  447. package/debuggingApp/node_modules/fresh/package.json +0 -46
  448. package/debuggingApp/node_modules/function-bind/.jscs.json +0 -176
  449. package/debuggingApp/node_modules/function-bind/.travis.yml +0 -168
  450. package/debuggingApp/node_modules/function-bind/LICENSE +0 -20
  451. package/debuggingApp/node_modules/function-bind/README.md +0 -48
  452. package/debuggingApp/node_modules/function-bind/implementation.js +0 -52
  453. package/debuggingApp/node_modules/function-bind/index.js +0 -5
  454. package/debuggingApp/node_modules/function-bind/package.json +0 -63
  455. package/debuggingApp/node_modules/function-bind/test/index.js +0 -252
  456. package/debuggingApp/node_modules/get-intrinsic/.github/FUNDING.yml +0 -12
  457. package/debuggingApp/node_modules/get-intrinsic/.nycrc +0 -9
  458. package/debuggingApp/node_modules/get-intrinsic/CHANGELOG.md +0 -91
  459. package/debuggingApp/node_modules/get-intrinsic/LICENSE +0 -21
  460. package/debuggingApp/node_modules/get-intrinsic/README.md +0 -71
  461. package/debuggingApp/node_modules/get-intrinsic/index.js +0 -334
  462. package/debuggingApp/node_modules/get-intrinsic/package.json +0 -88
  463. package/debuggingApp/node_modules/get-intrinsic/test/GetIntrinsic.js +0 -274
  464. package/debuggingApp/node_modules/has/LICENSE-MIT +0 -22
  465. package/debuggingApp/node_modules/has/README.md +0 -18
  466. package/debuggingApp/node_modules/has/package.json +0 -48
  467. package/debuggingApp/node_modules/has/src/index.js +0 -5
  468. package/debuggingApp/node_modules/has/test/index.js +0 -10
  469. package/debuggingApp/node_modules/has-symbols/.github/FUNDING.yml +0 -12
  470. package/debuggingApp/node_modules/has-symbols/.nycrc +0 -9
  471. package/debuggingApp/node_modules/has-symbols/CHANGELOG.md +0 -75
  472. package/debuggingApp/node_modules/has-symbols/LICENSE +0 -21
  473. package/debuggingApp/node_modules/has-symbols/README.md +0 -46
  474. package/debuggingApp/node_modules/has-symbols/index.js +0 -13
  475. package/debuggingApp/node_modules/has-symbols/package.json +0 -101
  476. package/debuggingApp/node_modules/has-symbols/shams.js +0 -42
  477. package/debuggingApp/node_modules/has-symbols/test/index.js +0 -22
  478. package/debuggingApp/node_modules/has-symbols/test/shams/core-js.js +0 -28
  479. package/debuggingApp/node_modules/has-symbols/test/shams/get-own-property-symbols.js +0 -28
  480. package/debuggingApp/node_modules/has-symbols/test/tests.js +0 -56
  481. package/debuggingApp/node_modules/http-errors/HISTORY.md +0 -180
  482. package/debuggingApp/node_modules/http-errors/LICENSE +0 -23
  483. package/debuggingApp/node_modules/http-errors/README.md +0 -169
  484. package/debuggingApp/node_modules/http-errors/index.js +0 -289
  485. package/debuggingApp/node_modules/http-errors/package.json +0 -50
  486. package/debuggingApp/node_modules/i18next/CONTRIBUTING.md +0 -22
  487. package/debuggingApp/node_modules/i18next/LICENSE +0 -21
  488. package/debuggingApp/node_modules/i18next/README.md +0 -60
  489. package/debuggingApp/node_modules/i18next/dist/cjs/i18next.js +0 -2801
  490. package/debuggingApp/node_modules/i18next/dist/esm/i18next.bundled.js +0 -2954
  491. package/debuggingApp/node_modules/i18next/dist/esm/i18next.js +0 -2802
  492. package/debuggingApp/node_modules/i18next/dist/esm/package.json +0 -1
  493. package/debuggingApp/node_modules/i18next/dist/umd/i18next.js +0 -2922
  494. package/debuggingApp/node_modules/i18next/dist/umd/i18next.min.js +0 -1
  495. package/debuggingApp/node_modules/i18next/i18next.js +0 -2922
  496. package/debuggingApp/node_modules/i18next/i18next.min.js +0 -1
  497. package/debuggingApp/node_modules/i18next/index.d.ts +0 -1257
  498. package/debuggingApp/node_modules/i18next/index.js +0 -5
  499. package/debuggingApp/node_modules/i18next/package.json +0 -126
  500. package/debuggingApp/node_modules/i18next-express-middleware/LICENSE +0 -22
  501. package/debuggingApp/node_modules/i18next-express-middleware/README.md +0 -167
  502. package/debuggingApp/node_modules/i18next-express-middleware/lib/LanguageDetector.js +0 -138
  503. package/debuggingApp/node_modules/i18next-express-middleware/lib/index.js +0 -152
  504. package/debuggingApp/node_modules/i18next-express-middleware/lib/languageLookups/cookie.js +0 -47
  505. package/debuggingApp/node_modules/i18next-express-middleware/lib/languageLookups/header.js +0 -59
  506. package/debuggingApp/node_modules/i18next-express-middleware/lib/languageLookups/path.js +0 -27
  507. package/debuggingApp/node_modules/i18next-express-middleware/lib/languageLookups/querystring.js +0 -31
  508. package/debuggingApp/node_modules/i18next-express-middleware/lib/languageLookups/session.js +0 -27
  509. package/debuggingApp/node_modules/i18next-express-middleware/lib/utils.js +0 -70
  510. package/debuggingApp/node_modules/i18next-express-middleware/package.json +0 -43
  511. package/debuggingApp/node_modules/i18next-node-fs-backend/LICENSE +0 -22
  512. package/debuggingApp/node_modules/i18next-node-fs-backend/README.md +0 -72
  513. package/debuggingApp/node_modules/i18next-node-fs-backend/lib/index.js +0 -162
  514. package/debuggingApp/node_modules/i18next-node-fs-backend/lib/utils.js +0 -78
  515. package/debuggingApp/node_modules/i18next-node-fs-backend/package.json +0 -43
  516. package/debuggingApp/node_modules/iconv-lite/Changelog.md +0 -162
  517. package/debuggingApp/node_modules/iconv-lite/LICENSE +0 -21
  518. package/debuggingApp/node_modules/iconv-lite/README.md +0 -156
  519. package/debuggingApp/node_modules/iconv-lite/encodings/dbcs-codec.js +0 -555
  520. package/debuggingApp/node_modules/iconv-lite/encodings/dbcs-data.js +0 -176
  521. package/debuggingApp/node_modules/iconv-lite/encodings/index.js +0 -22
  522. package/debuggingApp/node_modules/iconv-lite/encodings/internal.js +0 -188
  523. package/debuggingApp/node_modules/iconv-lite/encodings/sbcs-codec.js +0 -72
  524. package/debuggingApp/node_modules/iconv-lite/encodings/sbcs-data-generated.js +0 -451
  525. package/debuggingApp/node_modules/iconv-lite/encodings/sbcs-data.js +0 -174
  526. package/debuggingApp/node_modules/iconv-lite/encodings/tables/big5-added.json +0 -122
  527. package/debuggingApp/node_modules/iconv-lite/encodings/tables/cp936.json +0 -264
  528. package/debuggingApp/node_modules/iconv-lite/encodings/tables/cp949.json +0 -273
  529. package/debuggingApp/node_modules/iconv-lite/encodings/tables/cp950.json +0 -177
  530. package/debuggingApp/node_modules/iconv-lite/encodings/tables/eucjp.json +0 -182
  531. package/debuggingApp/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +0 -1
  532. package/debuggingApp/node_modules/iconv-lite/encodings/tables/gbk-added.json +0 -55
  533. package/debuggingApp/node_modules/iconv-lite/encodings/tables/shiftjis.json +0 -125
  534. package/debuggingApp/node_modules/iconv-lite/encodings/utf16.js +0 -177
  535. package/debuggingApp/node_modules/iconv-lite/encodings/utf7.js +0 -290
  536. package/debuggingApp/node_modules/iconv-lite/lib/bom-handling.js +0 -52
  537. package/debuggingApp/node_modules/iconv-lite/lib/extend-node.js +0 -217
  538. package/debuggingApp/node_modules/iconv-lite/lib/index.d.ts +0 -24
  539. package/debuggingApp/node_modules/iconv-lite/lib/index.js +0 -153
  540. package/debuggingApp/node_modules/iconv-lite/lib/streams.js +0 -121
  541. package/debuggingApp/node_modules/iconv-lite/package.json +0 -46
  542. package/debuggingApp/node_modules/inherits/LICENSE +0 -16
  543. package/debuggingApp/node_modules/inherits/README.md +0 -42
  544. package/debuggingApp/node_modules/inherits/inherits.js +0 -9
  545. package/debuggingApp/node_modules/inherits/inherits_browser.js +0 -27
  546. package/debuggingApp/node_modules/inherits/package.json +0 -29
  547. package/debuggingApp/node_modules/ipaddr.js/LICENSE +0 -19
  548. package/debuggingApp/node_modules/ipaddr.js/README.md +0 -233
  549. package/debuggingApp/node_modules/ipaddr.js/ipaddr.min.js +0 -1
  550. package/debuggingApp/node_modules/ipaddr.js/lib/ipaddr.js +0 -673
  551. package/debuggingApp/node_modules/ipaddr.js/lib/ipaddr.js.d.ts +0 -68
  552. package/debuggingApp/node_modules/ipaddr.js/package.json +0 -35
  553. package/debuggingApp/node_modules/json5/.travis.yml +0 -5
  554. package/debuggingApp/node_modules/json5/CHANGELOG.md +0 -144
  555. package/debuggingApp/node_modules/json5/README.md +0 -271
  556. package/debuggingApp/node_modules/json5/lib/cli.js +0 -41
  557. package/debuggingApp/node_modules/json5/lib/json5.js +0 -754
  558. package/debuggingApp/node_modules/json5/lib/require.js +0 -18
  559. package/debuggingApp/node_modules/json5/package.json +0 -30
  560. package/debuggingApp/node_modules/json5/package.json5 +0 -30
  561. package/debuggingApp/node_modules/json5/test/parse-cases/arrays/empty-array.json +0 -1
  562. package/debuggingApp/node_modules/json5/test/parse-cases/arrays/leading-comma-array.js +0 -3
  563. package/debuggingApp/node_modules/json5/test/parse-cases/arrays/lone-trailing-comma-array.js +0 -3
  564. package/debuggingApp/node_modules/json5/test/parse-cases/arrays/no-comma-array.txt +0 -4
  565. package/debuggingApp/node_modules/json5/test/parse-cases/arrays/regular-array.json +0 -5
  566. package/debuggingApp/node_modules/json5/test/parse-cases/arrays/trailing-comma-array.json5 +0 -3
  567. package/debuggingApp/node_modules/json5/test/parse-cases/comments/block-comment-following-array-element.json5 +0 -6
  568. package/debuggingApp/node_modules/json5/test/parse-cases/comments/block-comment-following-top-level-value.json5 +0 -5
  569. package/debuggingApp/node_modules/json5/test/parse-cases/comments/block-comment-in-string.json +0 -1
  570. package/debuggingApp/node_modules/json5/test/parse-cases/comments/block-comment-preceding-top-level-value.json5 +0 -5
  571. package/debuggingApp/node_modules/json5/test/parse-cases/comments/block-comment-with-asterisks.json5 +0 -7
  572. package/debuggingApp/node_modules/json5/test/parse-cases/comments/inline-comment-following-array-element.json5 +0 -3
  573. package/debuggingApp/node_modules/json5/test/parse-cases/comments/inline-comment-following-top-level-value.json5 +0 -1
  574. package/debuggingApp/node_modules/json5/test/parse-cases/comments/inline-comment-in-string.json +0 -1
  575. package/debuggingApp/node_modules/json5/test/parse-cases/comments/inline-comment-preceding-top-level-value.json5 +0 -2
  576. package/debuggingApp/node_modules/json5/test/parse-cases/comments/top-level-block-comment.txt +0 -4
  577. package/debuggingApp/node_modules/json5/test/parse-cases/comments/top-level-inline-comment.txt +0 -1
  578. package/debuggingApp/node_modules/json5/test/parse-cases/comments/unterminated-block-comment.txt +0 -5
  579. package/debuggingApp/node_modules/json5/test/parse-cases/misc/empty.txt +0 -0
  580. package/debuggingApp/node_modules/json5/test/parse-cases/misc/npm-package.json +0 -106
  581. package/debuggingApp/node_modules/json5/test/parse-cases/misc/npm-package.json5 +0 -106
  582. package/debuggingApp/node_modules/json5/test/parse-cases/misc/readme-example.json5 +0 -25
  583. package/debuggingApp/node_modules/json5/test/parse-cases/misc/valid-whitespace.json5 +0 -5
  584. package/debuggingApp/node_modules/json5/test/parse-cases/new-lines/.gitattributes +0 -4
  585. package/debuggingApp/node_modules/json5/test/parse-cases/new-lines/comment-cr.json5 +0 -1
  586. package/debuggingApp/node_modules/json5/test/parse-cases/new-lines/comment-crlf.json5 +0 -3
  587. package/debuggingApp/node_modules/json5/test/parse-cases/new-lines/comment-lf.json5 +0 -3
  588. package/debuggingApp/node_modules/json5/test/parse-cases/new-lines/escaped-cr.json5 +0 -1
  589. package/debuggingApp/node_modules/json5/test/parse-cases/new-lines/escaped-crlf.json5 +0 -5
  590. package/debuggingApp/node_modules/json5/test/parse-cases/new-lines/escaped-lf.json5 +0 -5
  591. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/binary-coffeescript.txt +0 -1
  592. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/float-leading-decimal-point.json5 +0 -1
  593. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/float-leading-zero.json +0 -1
  594. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/float-trailing-decimal-point-with-integer-exponent.json5 +0 -1
  595. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/float-trailing-decimal-point.json5 +0 -1
  596. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/float-with-integer-exponent.json +0 -1
  597. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/float.json +0 -1
  598. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/hexadecimal-empty.txt +0 -1
  599. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/hexadecimal-lowercase-letter.json5 +0 -1
  600. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/hexadecimal-uppercase-x.json5 +0 -1
  601. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/hexadecimal-with-integer-exponent.json5 +0 -1
  602. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/hexadecimal.json5 +0 -1
  603. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/infinity.json5 +0 -1
  604. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/integer-with-float-exponent.txt +0 -1
  605. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/integer-with-hexadecimal-exponent.txt +0 -1
  606. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/integer-with-integer-exponent.json +0 -1
  607. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/integer-with-negative-float-exponent.txt +0 -1
  608. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/integer-with-negative-hexadecimal-exponent.txt +0 -1
  609. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/integer-with-negative-integer-exponent.json +0 -1
  610. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/integer-with-negative-zero-integer-exponent.json +0 -1
  611. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/integer-with-positive-float-exponent.txt +0 -1
  612. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/integer-with-positive-hexadecimal-exponent.txt +0 -1
  613. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/integer-with-positive-integer-exponent.json +0 -1
  614. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/integer-with-positive-zero-integer-exponent.json +0 -1
  615. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/integer-with-zero-integer-exponent.json +0 -1
  616. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/integer.json +0 -1
  617. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/lone-decimal-point.txt +0 -1
  618. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/nan.json5 +0 -1
  619. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-binary-coffeescript.txt +0 -1
  620. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-float-leading-decimal-point.json5 +0 -1
  621. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-float-leading-zero.json +0 -1
  622. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-float-trailing-decimal-point.json5 +0 -1
  623. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-float.json +0 -1
  624. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-hexadecimal.json5 +0 -1
  625. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-infinity.json5 +0 -1
  626. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-integer.json +0 -1
  627. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-noctal.js +0 -1
  628. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-octal-coffeescript.txt +0 -1
  629. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-octal.txt +0 -1
  630. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-zero-binary-coffeescript.txt +0 -1
  631. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-zero-float-leading-decimal-point.json5 +0 -1
  632. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-zero-float-trailing-decimal-point.json5 +0 -1
  633. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-zero-float.json +0 -1
  634. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-zero-hexadecimal.json5 +0 -1
  635. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-zero-integer.json +0 -1
  636. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-zero-octal-coffeescript.txt +0 -1
  637. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-zero-octal.txt +0 -1
  638. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/noctal-with-leading-octal-digit.js +0 -1
  639. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/noctal.js +0 -1
  640. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/octal-coffeescript.txt +0 -1
  641. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/octal.txt +0 -1
  642. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-binary-coffeescript.txt +0 -1
  643. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-float-leading-decimal-point.json5 +0 -1
  644. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-float-leading-zero.json5 +0 -1
  645. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-float-trailing-decimal-point.json5 +0 -1
  646. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-float.json5 +0 -1
  647. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-hexadecimal.json5 +0 -1
  648. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-infinity.json5 +0 -1
  649. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-integer.json5 +0 -1
  650. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-noctal.js +0 -1
  651. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-octal-coffeescript.txt +0 -1
  652. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-octal.txt +0 -1
  653. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-zero-binary-coffeescript.txt +0 -1
  654. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-zero-float-leading-decimal-point.json5 +0 -1
  655. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-zero-float-trailing-decimal-point.json5 +0 -1
  656. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-zero-float.json5 +0 -1
  657. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-zero-hexadecimal.json5 +0 -1
  658. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-zero-integer.json5 +0 -1
  659. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-zero-octal-coffeescript.txt +0 -1
  660. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-zero-octal.txt +0 -1
  661. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/zero-binary-coffeescript.txt +0 -1
  662. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/zero-float-leading-decimal-point.json5 +0 -1
  663. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/zero-float-trailing-decimal-point.json5 +0 -1
  664. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/zero-float.json +0 -1
  665. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/zero-hexadecimal.json5 +0 -1
  666. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/zero-integer-with-integer-exponent.json +0 -1
  667. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/zero-integer.json +0 -1
  668. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/zero-octal-coffeescript.txt +0 -1
  669. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/zero-octal.txt +0 -1
  670. package/debuggingApp/node_modules/json5/test/parse-cases/objects/duplicate-keys.json +0 -4
  671. package/debuggingApp/node_modules/json5/test/parse-cases/objects/empty-object.json +0 -1
  672. package/debuggingApp/node_modules/json5/test/parse-cases/objects/illegal-unquoted-key-number.txt +0 -3
  673. package/debuggingApp/node_modules/json5/test/parse-cases/objects/illegal-unquoted-key-symbol.txt +0 -3
  674. package/debuggingApp/node_modules/json5/test/parse-cases/objects/leading-comma-object.txt +0 -3
  675. package/debuggingApp/node_modules/json5/test/parse-cases/objects/lone-trailing-comma-object.txt +0 -3
  676. package/debuggingApp/node_modules/json5/test/parse-cases/objects/no-comma-object.txt +0 -4
  677. package/debuggingApp/node_modules/json5/test/parse-cases/objects/reserved-unquoted-key.json5 +0 -3
  678. package/debuggingApp/node_modules/json5/test/parse-cases/objects/single-quoted-key.json5 +0 -3
  679. package/debuggingApp/node_modules/json5/test/parse-cases/objects/trailing-comma-object.json5 +0 -3
  680. package/debuggingApp/node_modules/json5/test/parse-cases/objects/unquoted-keys.json5 +0 -8
  681. package/debuggingApp/node_modules/json5/test/parse-cases/strings/escaped-single-quoted-string.json5 +0 -1
  682. package/debuggingApp/node_modules/json5/test/parse-cases/strings/multi-line-string.json5 +0 -2
  683. package/debuggingApp/node_modules/json5/test/parse-cases/strings/single-quoted-string.json5 +0 -1
  684. package/debuggingApp/node_modules/json5/test/parse-cases/strings/unescaped-multi-line-string.txt +0 -2
  685. package/debuggingApp/node_modules/json5/test/parse-cases/todo/unicode-escaped-unquoted-key.json5 +0 -3
  686. package/debuggingApp/node_modules/json5/test/parse-cases/todo/unicode-unquoted-key.json5 +0 -3
  687. package/debuggingApp/node_modules/json5/test/parse.js +0 -89
  688. package/debuggingApp/node_modules/json5/test/readme.md +0 -23
  689. package/debuggingApp/node_modules/json5/test/require.js +0 -18
  690. package/debuggingApp/node_modules/json5/test/stringify.js +0 -498
  691. package/debuggingApp/node_modules/keygrip/HISTORY.md +0 -20
  692. package/debuggingApp/node_modules/keygrip/LICENSE +0 -21
  693. package/debuggingApp/node_modules/keygrip/README.md +0 -103
  694. package/debuggingApp/node_modules/keygrip/index.js +0 -71
  695. package/debuggingApp/node_modules/keygrip/package.json +0 -25
  696. package/debuggingApp/node_modules/media-typer/HISTORY.md +0 -22
  697. package/debuggingApp/node_modules/media-typer/LICENSE +0 -22
  698. package/debuggingApp/node_modules/media-typer/README.md +0 -81
  699. package/debuggingApp/node_modules/media-typer/index.js +0 -270
  700. package/debuggingApp/node_modules/media-typer/package.json +0 -26
  701. package/debuggingApp/node_modules/merge-descriptors/HISTORY.md +0 -21
  702. package/debuggingApp/node_modules/merge-descriptors/LICENSE +0 -23
  703. package/debuggingApp/node_modules/merge-descriptors/README.md +0 -48
  704. package/debuggingApp/node_modules/merge-descriptors/index.js +0 -60
  705. package/debuggingApp/node_modules/merge-descriptors/package.json +0 -32
  706. package/debuggingApp/node_modules/methods/HISTORY.md +0 -29
  707. package/debuggingApp/node_modules/methods/LICENSE +0 -24
  708. package/debuggingApp/node_modules/methods/README.md +0 -51
  709. package/debuggingApp/node_modules/methods/index.js +0 -69
  710. package/debuggingApp/node_modules/methods/package.json +0 -36
  711. package/debuggingApp/node_modules/mime/CHANGELOG.md +0 -164
  712. package/debuggingApp/node_modules/mime/LICENSE +0 -21
  713. package/debuggingApp/node_modules/mime/README.md +0 -90
  714. package/debuggingApp/node_modules/mime/cli.js +0 -8
  715. package/debuggingApp/node_modules/mime/mime.js +0 -108
  716. package/debuggingApp/node_modules/mime/package.json +0 -44
  717. package/debuggingApp/node_modules/mime/src/build.js +0 -53
  718. package/debuggingApp/node_modules/mime/src/test.js +0 -60
  719. package/debuggingApp/node_modules/mime/types.json +0 -1
  720. package/debuggingApp/node_modules/mime-db/HISTORY.md +0 -507
  721. package/debuggingApp/node_modules/mime-db/LICENSE +0 -23
  722. package/debuggingApp/node_modules/mime-db/README.md +0 -100
  723. package/debuggingApp/node_modules/mime-db/db.json +0 -8519
  724. package/debuggingApp/node_modules/mime-db/index.js +0 -12
  725. package/debuggingApp/node_modules/mime-db/package.json +0 -60
  726. package/debuggingApp/node_modules/mime-types/HISTORY.md +0 -397
  727. package/debuggingApp/node_modules/mime-types/LICENSE +0 -23
  728. package/debuggingApp/node_modules/mime-types/README.md +0 -113
  729. package/debuggingApp/node_modules/mime-types/index.js +0 -188
  730. package/debuggingApp/node_modules/mime-types/package.json +0 -44
  731. package/debuggingApp/node_modules/ms/index.js +0 -152
  732. package/debuggingApp/node_modules/ms/license.md +0 -21
  733. package/debuggingApp/node_modules/ms/package.json +0 -37
  734. package/debuggingApp/node_modules/ms/readme.md +0 -51
  735. package/debuggingApp/node_modules/negotiator/HISTORY.md +0 -108
  736. package/debuggingApp/node_modules/negotiator/LICENSE +0 -24
  737. package/debuggingApp/node_modules/negotiator/README.md +0 -203
  738. package/debuggingApp/node_modules/negotiator/index.js +0 -82
  739. package/debuggingApp/node_modules/negotiator/lib/charset.js +0 -169
  740. package/debuggingApp/node_modules/negotiator/lib/encoding.js +0 -184
  741. package/debuggingApp/node_modules/negotiator/lib/language.js +0 -179
  742. package/debuggingApp/node_modules/negotiator/lib/mediaType.js +0 -294
  743. package/debuggingApp/node_modules/negotiator/package.json +0 -42
  744. package/debuggingApp/node_modules/object-inspect/.github/FUNDING.yml +0 -12
  745. package/debuggingApp/node_modules/object-inspect/.nycrc +0 -13
  746. package/debuggingApp/node_modules/object-inspect/CHANGELOG.md +0 -360
  747. package/debuggingApp/node_modules/object-inspect/LICENSE +0 -21
  748. package/debuggingApp/node_modules/object-inspect/example/all.js +0 -23
  749. package/debuggingApp/node_modules/object-inspect/example/circular.js +0 -6
  750. package/debuggingApp/node_modules/object-inspect/example/fn.js +0 -5
  751. package/debuggingApp/node_modules/object-inspect/example/inspect.js +0 -10
  752. package/debuggingApp/node_modules/object-inspect/index.js +0 -512
  753. package/debuggingApp/node_modules/object-inspect/package-support.json +0 -20
  754. package/debuggingApp/node_modules/object-inspect/package.json +0 -94
  755. package/debuggingApp/node_modules/object-inspect/readme.markdown +0 -86
  756. package/debuggingApp/node_modules/object-inspect/test/bigint.js +0 -58
  757. package/debuggingApp/node_modules/object-inspect/test/browser/dom.js +0 -15
  758. package/debuggingApp/node_modules/object-inspect/test/circular.js +0 -16
  759. package/debuggingApp/node_modules/object-inspect/test/deep.js +0 -12
  760. package/debuggingApp/node_modules/object-inspect/test/element.js +0 -53
  761. package/debuggingApp/node_modules/object-inspect/test/err.js +0 -48
  762. package/debuggingApp/node_modules/object-inspect/test/fakes.js +0 -29
  763. package/debuggingApp/node_modules/object-inspect/test/fn.js +0 -76
  764. package/debuggingApp/node_modules/object-inspect/test/has.js +0 -15
  765. package/debuggingApp/node_modules/object-inspect/test/holes.js +0 -15
  766. package/debuggingApp/node_modules/object-inspect/test/indent-option.js +0 -271
  767. package/debuggingApp/node_modules/object-inspect/test/inspect.js +0 -139
  768. package/debuggingApp/node_modules/object-inspect/test/lowbyte.js +0 -12
  769. package/debuggingApp/node_modules/object-inspect/test/number.js +0 -58
  770. package/debuggingApp/node_modules/object-inspect/test/quoteStyle.js +0 -17
  771. package/debuggingApp/node_modules/object-inspect/test/toStringTag.js +0 -40
  772. package/debuggingApp/node_modules/object-inspect/test/undef.js +0 -12
  773. package/debuggingApp/node_modules/object-inspect/test/values.js +0 -211
  774. package/debuggingApp/node_modules/object-inspect/test-core-js.js +0 -26
  775. package/debuggingApp/node_modules/object-inspect/util.inspect.js +0 -1
  776. package/debuggingApp/node_modules/on-finished/HISTORY.md +0 -98
  777. package/debuggingApp/node_modules/on-finished/LICENSE +0 -23
  778. package/debuggingApp/node_modules/on-finished/README.md +0 -162
  779. package/debuggingApp/node_modules/on-finished/index.js +0 -234
  780. package/debuggingApp/node_modules/on-finished/package.json +0 -39
  781. package/debuggingApp/node_modules/parseurl/HISTORY.md +0 -58
  782. package/debuggingApp/node_modules/parseurl/LICENSE +0 -24
  783. package/debuggingApp/node_modules/parseurl/README.md +0 -133
  784. package/debuggingApp/node_modules/parseurl/index.js +0 -158
  785. package/debuggingApp/node_modules/parseurl/package.json +0 -40
  786. package/debuggingApp/node_modules/path-to-regexp/History.md +0 -36
  787. package/debuggingApp/node_modules/path-to-regexp/LICENSE +0 -21
  788. package/debuggingApp/node_modules/path-to-regexp/Readme.md +0 -35
  789. package/debuggingApp/node_modules/path-to-regexp/index.js +0 -129
  790. package/debuggingApp/node_modules/path-to-regexp/package.json +0 -30
  791. package/debuggingApp/node_modules/proxy-addr/HISTORY.md +0 -161
  792. package/debuggingApp/node_modules/proxy-addr/LICENSE +0 -22
  793. package/debuggingApp/node_modules/proxy-addr/README.md +0 -139
  794. package/debuggingApp/node_modules/proxy-addr/index.js +0 -327
  795. package/debuggingApp/node_modules/proxy-addr/package.json +0 -47
  796. package/debuggingApp/node_modules/qs/.github/FUNDING.yml +0 -12
  797. package/debuggingApp/node_modules/qs/.nycrc +0 -13
  798. package/debuggingApp/node_modules/qs/CHANGELOG.md +0 -388
  799. package/debuggingApp/node_modules/qs/LICENSE.md +0 -29
  800. package/debuggingApp/node_modules/qs/README.md +0 -623
  801. package/debuggingApp/node_modules/qs/dist/qs.js +0 -2044
  802. package/debuggingApp/node_modules/qs/lib/formats.js +0 -23
  803. package/debuggingApp/node_modules/qs/lib/index.js +0 -11
  804. package/debuggingApp/node_modules/qs/lib/parse.js +0 -263
  805. package/debuggingApp/node_modules/qs/lib/stringify.js +0 -317
  806. package/debuggingApp/node_modules/qs/lib/utils.js +0 -252
  807. package/debuggingApp/node_modules/qs/package.json +0 -73
  808. package/debuggingApp/node_modules/qs/test/parse.js +0 -841
  809. package/debuggingApp/node_modules/qs/test/stringify.js +0 -865
  810. package/debuggingApp/node_modules/qs/test/utils.js +0 -136
  811. package/debuggingApp/node_modules/range-parser/HISTORY.md +0 -56
  812. package/debuggingApp/node_modules/range-parser/LICENSE +0 -23
  813. package/debuggingApp/node_modules/range-parser/README.md +0 -84
  814. package/debuggingApp/node_modules/range-parser/index.js +0 -162
  815. package/debuggingApp/node_modules/range-parser/package.json +0 -44
  816. package/debuggingApp/node_modules/raw-body/HISTORY.md +0 -303
  817. package/debuggingApp/node_modules/raw-body/LICENSE +0 -22
  818. package/debuggingApp/node_modules/raw-body/README.md +0 -223
  819. package/debuggingApp/node_modules/raw-body/SECURITY.md +0 -24
  820. package/debuggingApp/node_modules/raw-body/index.d.ts +0 -87
  821. package/debuggingApp/node_modules/raw-body/index.js +0 -329
  822. package/debuggingApp/node_modules/raw-body/package.json +0 -49
  823. package/debuggingApp/node_modules/regenerator-runtime/LICENSE +0 -21
  824. package/debuggingApp/node_modules/regenerator-runtime/README.md +0 -31
  825. package/debuggingApp/node_modules/regenerator-runtime/package.json +0 -19
  826. package/debuggingApp/node_modules/regenerator-runtime/path.js +0 -11
  827. package/debuggingApp/node_modules/regenerator-runtime/runtime.js +0 -754
  828. package/debuggingApp/node_modules/safe-buffer/LICENSE +0 -21
  829. package/debuggingApp/node_modules/safe-buffer/README.md +0 -584
  830. package/debuggingApp/node_modules/safe-buffer/index.d.ts +0 -187
  831. package/debuggingApp/node_modules/safe-buffer/index.js +0 -65
  832. package/debuggingApp/node_modules/safe-buffer/package.json +0 -51
  833. package/debuggingApp/node_modules/safer-buffer/LICENSE +0 -21
  834. package/debuggingApp/node_modules/safer-buffer/Porting-Buffer.md +0 -268
  835. package/debuggingApp/node_modules/safer-buffer/Readme.md +0 -156
  836. package/debuggingApp/node_modules/safer-buffer/dangerous.js +0 -58
  837. package/debuggingApp/node_modules/safer-buffer/package.json +0 -34
  838. package/debuggingApp/node_modules/safer-buffer/safer.js +0 -77
  839. package/debuggingApp/node_modules/safer-buffer/tests.js +0 -406
  840. package/debuggingApp/node_modules/send/HISTORY.md +0 -521
  841. package/debuggingApp/node_modules/send/LICENSE +0 -23
  842. package/debuggingApp/node_modules/send/README.md +0 -327
  843. package/debuggingApp/node_modules/send/SECURITY.md +0 -24
  844. package/debuggingApp/node_modules/send/index.js +0 -1143
  845. package/debuggingApp/node_modules/send/node_modules/ms/index.js +0 -162
  846. package/debuggingApp/node_modules/send/node_modules/ms/license.md +0 -21
  847. package/debuggingApp/node_modules/send/node_modules/ms/package.json +0 -38
  848. package/debuggingApp/node_modules/send/node_modules/ms/readme.md +0 -59
  849. package/debuggingApp/node_modules/send/package.json +0 -62
  850. package/debuggingApp/node_modules/serve-static/HISTORY.md +0 -471
  851. package/debuggingApp/node_modules/serve-static/LICENSE +0 -25
  852. package/debuggingApp/node_modules/serve-static/README.md +0 -257
  853. package/debuggingApp/node_modules/serve-static/index.js +0 -210
  854. package/debuggingApp/node_modules/serve-static/package.json +0 -42
  855. package/debuggingApp/node_modules/setprototypeof/LICENSE +0 -13
  856. package/debuggingApp/node_modules/setprototypeof/README.md +0 -31
  857. package/debuggingApp/node_modules/setprototypeof/index.d.ts +0 -2
  858. package/debuggingApp/node_modules/setprototypeof/index.js +0 -17
  859. package/debuggingApp/node_modules/setprototypeof/package.json +0 -38
  860. package/debuggingApp/node_modules/setprototypeof/test/index.js +0 -24
  861. package/debuggingApp/node_modules/side-channel/.github/FUNDING.yml +0 -12
  862. package/debuggingApp/node_modules/side-channel/.nycrc +0 -13
  863. package/debuggingApp/node_modules/side-channel/CHANGELOG.md +0 -65
  864. package/debuggingApp/node_modules/side-channel/LICENSE +0 -21
  865. package/debuggingApp/node_modules/side-channel/README.md +0 -2
  866. package/debuggingApp/node_modules/side-channel/index.js +0 -124
  867. package/debuggingApp/node_modules/side-channel/package.json +0 -67
  868. package/debuggingApp/node_modules/side-channel/test/index.js +0 -78
  869. package/debuggingApp/node_modules/statuses/HISTORY.md +0 -82
  870. package/debuggingApp/node_modules/statuses/LICENSE +0 -23
  871. package/debuggingApp/node_modules/statuses/README.md +0 -136
  872. package/debuggingApp/node_modules/statuses/codes.json +0 -65
  873. package/debuggingApp/node_modules/statuses/index.js +0 -146
  874. package/debuggingApp/node_modules/statuses/package.json +0 -49
  875. package/debuggingApp/node_modules/toidentifier/HISTORY.md +0 -9
  876. package/debuggingApp/node_modules/toidentifier/LICENSE +0 -21
  877. package/debuggingApp/node_modules/toidentifier/README.md +0 -61
  878. package/debuggingApp/node_modules/toidentifier/index.js +0 -32
  879. package/debuggingApp/node_modules/toidentifier/package.json +0 -38
  880. package/debuggingApp/node_modules/type-is/HISTORY.md +0 -259
  881. package/debuggingApp/node_modules/type-is/LICENSE +0 -23
  882. package/debuggingApp/node_modules/type-is/README.md +0 -170
  883. package/debuggingApp/node_modules/type-is/index.js +0 -266
  884. package/debuggingApp/node_modules/type-is/package.json +0 -45
  885. package/debuggingApp/node_modules/unpipe/HISTORY.md +0 -4
  886. package/debuggingApp/node_modules/unpipe/LICENSE +0 -22
  887. package/debuggingApp/node_modules/unpipe/README.md +0 -43
  888. package/debuggingApp/node_modules/unpipe/index.js +0 -69
  889. package/debuggingApp/node_modules/unpipe/package.json +0 -27
  890. package/debuggingApp/node_modules/utils-merge/LICENSE +0 -20
  891. package/debuggingApp/node_modules/utils-merge/README.md +0 -34
  892. package/debuggingApp/node_modules/utils-merge/index.js +0 -23
  893. package/debuggingApp/node_modules/utils-merge/package.json +0 -40
  894. package/debuggingApp/node_modules/vary/HISTORY.md +0 -39
  895. package/debuggingApp/node_modules/vary/LICENSE +0 -22
  896. package/debuggingApp/node_modules/vary/README.md +0 -101
  897. package/debuggingApp/node_modules/vary/index.js +0 -149
  898. package/debuggingApp/node_modules/vary/package.json +0 -43
  899. package/debuggingApp/package-lock.json +0 -1162
  900. package/debuggingApp/package.json +0 -18
  901. package/debuggingApp/server.js +0 -42
  902. package/dist/cjs/locize.js +0 -464
  903. package/dist/esm/locize.js +0 -454
@@ -1,2044 +0,0 @@
1
- (function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.Qs = f()}})(function(){var define,module,exports;return (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){
2
- 'use strict';
3
-
4
- var replace = String.prototype.replace;
5
- var percentTwenties = /%20/g;
6
-
7
- var Format = {
8
- RFC1738: 'RFC1738',
9
- RFC3986: 'RFC3986'
10
- };
11
-
12
- module.exports = {
13
- 'default': Format.RFC3986,
14
- formatters: {
15
- RFC1738: function (value) {
16
- return replace.call(value, percentTwenties, '+');
17
- },
18
- RFC3986: function (value) {
19
- return String(value);
20
- }
21
- },
22
- RFC1738: Format.RFC1738,
23
- RFC3986: Format.RFC3986
24
- };
25
-
26
- },{}],2:[function(require,module,exports){
27
- 'use strict';
28
-
29
- var stringify = require('./stringify');
30
- var parse = require('./parse');
31
- var formats = require('./formats');
32
-
33
- module.exports = {
34
- formats: formats,
35
- parse: parse,
36
- stringify: stringify
37
- };
38
-
39
- },{"./formats":1,"./parse":3,"./stringify":4}],3:[function(require,module,exports){
40
- 'use strict';
41
-
42
- var utils = require('./utils');
43
-
44
- var has = Object.prototype.hasOwnProperty;
45
- var isArray = Array.isArray;
46
-
47
- var defaults = {
48
- allowDots: false,
49
- allowPrototypes: false,
50
- allowSparse: false,
51
- arrayLimit: 20,
52
- charset: 'utf-8',
53
- charsetSentinel: false,
54
- comma: false,
55
- decoder: utils.decode,
56
- delimiter: '&',
57
- depth: 5,
58
- ignoreQueryPrefix: false,
59
- interpretNumericEntities: false,
60
- parameterLimit: 1000,
61
- parseArrays: true,
62
- plainObjects: false,
63
- strictNullHandling: false
64
- };
65
-
66
- var interpretNumericEntities = function (str) {
67
- return str.replace(/&#(\d+);/g, function ($0, numberStr) {
68
- return String.fromCharCode(parseInt(numberStr, 10));
69
- });
70
- };
71
-
72
- var parseArrayValue = function (val, options) {
73
- if (val && typeof val === 'string' && options.comma && val.indexOf(',') > -1) {
74
- return val.split(',');
75
- }
76
-
77
- return val;
78
- };
79
-
80
- // This is what browsers will submit when the ✓ character occurs in an
81
- // application/x-www-form-urlencoded body and the encoding of the page containing
82
- // the form is iso-8859-1, or when the submitted form has an accept-charset
83
- // attribute of iso-8859-1. Presumably also with other charsets that do not contain
84
- // the ✓ character, such as us-ascii.
85
- var isoSentinel = 'utf8=%26%2310003%3B'; // encodeURIComponent('&#10003;')
86
-
87
- // These are the percent-encoded utf-8 octets representing a checkmark, indicating that the request actually is utf-8 encoded.
88
- var charsetSentinel = 'utf8=%E2%9C%93'; // encodeURIComponent('✓')
89
-
90
- var parseValues = function parseQueryStringValues(str, options) {
91
- var obj = {};
92
- var cleanStr = options.ignoreQueryPrefix ? str.replace(/^\?/, '') : str;
93
- var limit = options.parameterLimit === Infinity ? undefined : options.parameterLimit;
94
- var parts = cleanStr.split(options.delimiter, limit);
95
- var skipIndex = -1; // Keep track of where the utf8 sentinel was found
96
- var i;
97
-
98
- var charset = options.charset;
99
- if (options.charsetSentinel) {
100
- for (i = 0; i < parts.length; ++i) {
101
- if (parts[i].indexOf('utf8=') === 0) {
102
- if (parts[i] === charsetSentinel) {
103
- charset = 'utf-8';
104
- } else if (parts[i] === isoSentinel) {
105
- charset = 'iso-8859-1';
106
- }
107
- skipIndex = i;
108
- i = parts.length; // The eslint settings do not allow break;
109
- }
110
- }
111
- }
112
-
113
- for (i = 0; i < parts.length; ++i) {
114
- if (i === skipIndex) {
115
- continue;
116
- }
117
- var part = parts[i];
118
-
119
- var bracketEqualsPos = part.indexOf(']=');
120
- var pos = bracketEqualsPos === -1 ? part.indexOf('=') : bracketEqualsPos + 1;
121
-
122
- var key, val;
123
- if (pos === -1) {
124
- key = options.decoder(part, defaults.decoder, charset, 'key');
125
- val = options.strictNullHandling ? null : '';
126
- } else {
127
- key = options.decoder(part.slice(0, pos), defaults.decoder, charset, 'key');
128
- val = utils.maybeMap(
129
- parseArrayValue(part.slice(pos + 1), options),
130
- function (encodedVal) {
131
- return options.decoder(encodedVal, defaults.decoder, charset, 'value');
132
- }
133
- );
134
- }
135
-
136
- if (val && options.interpretNumericEntities && charset === 'iso-8859-1') {
137
- val = interpretNumericEntities(val);
138
- }
139
-
140
- if (part.indexOf('[]=') > -1) {
141
- val = isArray(val) ? [val] : val;
142
- }
143
-
144
- if (has.call(obj, key)) {
145
- obj[key] = utils.combine(obj[key], val);
146
- } else {
147
- obj[key] = val;
148
- }
149
- }
150
-
151
- return obj;
152
- };
153
-
154
- var parseObject = function (chain, val, options, valuesParsed) {
155
- var leaf = valuesParsed ? val : parseArrayValue(val, options);
156
-
157
- for (var i = chain.length - 1; i >= 0; --i) {
158
- var obj;
159
- var root = chain[i];
160
-
161
- if (root === '[]' && options.parseArrays) {
162
- obj = [].concat(leaf);
163
- } else {
164
- obj = options.plainObjects ? Object.create(null) : {};
165
- var cleanRoot = root.charAt(0) === '[' && root.charAt(root.length - 1) === ']' ? root.slice(1, -1) : root;
166
- var index = parseInt(cleanRoot, 10);
167
- if (!options.parseArrays && cleanRoot === '') {
168
- obj = { 0: leaf };
169
- } else if (
170
- !isNaN(index)
171
- && root !== cleanRoot
172
- && String(index) === cleanRoot
173
- && index >= 0
174
- && (options.parseArrays && index <= options.arrayLimit)
175
- ) {
176
- obj = [];
177
- obj[index] = leaf;
178
- } else if (cleanRoot !== '__proto__') {
179
- obj[cleanRoot] = leaf;
180
- }
181
- }
182
-
183
- leaf = obj;
184
- }
185
-
186
- return leaf;
187
- };
188
-
189
- var parseKeys = function parseQueryStringKeys(givenKey, val, options, valuesParsed) {
190
- if (!givenKey) {
191
- return;
192
- }
193
-
194
- // Transform dot notation to bracket notation
195
- var key = options.allowDots ? givenKey.replace(/\.([^.[]+)/g, '[$1]') : givenKey;
196
-
197
- // The regex chunks
198
-
199
- var brackets = /(\[[^[\]]*])/;
200
- var child = /(\[[^[\]]*])/g;
201
-
202
- // Get the parent
203
-
204
- var segment = options.depth > 0 && brackets.exec(key);
205
- var parent = segment ? key.slice(0, segment.index) : key;
206
-
207
- // Stash the parent if it exists
208
-
209
- var keys = [];
210
- if (parent) {
211
- // If we aren't using plain objects, optionally prefix keys that would overwrite object prototype properties
212
- if (!options.plainObjects && has.call(Object.prototype, parent)) {
213
- if (!options.allowPrototypes) {
214
- return;
215
- }
216
- }
217
-
218
- keys.push(parent);
219
- }
220
-
221
- // Loop through children appending to the array until we hit depth
222
-
223
- var i = 0;
224
- while (options.depth > 0 && (segment = child.exec(key)) !== null && i < options.depth) {
225
- i += 1;
226
- if (!options.plainObjects && has.call(Object.prototype, segment[1].slice(1, -1))) {
227
- if (!options.allowPrototypes) {
228
- return;
229
- }
230
- }
231
- keys.push(segment[1]);
232
- }
233
-
234
- // If there's a remainder, just add whatever is left
235
-
236
- if (segment) {
237
- keys.push('[' + key.slice(segment.index) + ']');
238
- }
239
-
240
- return parseObject(keys, val, options, valuesParsed);
241
- };
242
-
243
- var normalizeParseOptions = function normalizeParseOptions(opts) {
244
- if (!opts) {
245
- return defaults;
246
- }
247
-
248
- if (opts.decoder !== null && opts.decoder !== undefined && typeof opts.decoder !== 'function') {
249
- throw new TypeError('Decoder has to be a function.');
250
- }
251
-
252
- if (typeof opts.charset !== 'undefined' && opts.charset !== 'utf-8' && opts.charset !== 'iso-8859-1') {
253
- throw new TypeError('The charset option must be either utf-8, iso-8859-1, or undefined');
254
- }
255
- var charset = typeof opts.charset === 'undefined' ? defaults.charset : opts.charset;
256
-
257
- return {
258
- allowDots: typeof opts.allowDots === 'undefined' ? defaults.allowDots : !!opts.allowDots,
259
- allowPrototypes: typeof opts.allowPrototypes === 'boolean' ? opts.allowPrototypes : defaults.allowPrototypes,
260
- allowSparse: typeof opts.allowSparse === 'boolean' ? opts.allowSparse : defaults.allowSparse,
261
- arrayLimit: typeof opts.arrayLimit === 'number' ? opts.arrayLimit : defaults.arrayLimit,
262
- charset: charset,
263
- charsetSentinel: typeof opts.charsetSentinel === 'boolean' ? opts.charsetSentinel : defaults.charsetSentinel,
264
- comma: typeof opts.comma === 'boolean' ? opts.comma : defaults.comma,
265
- decoder: typeof opts.decoder === 'function' ? opts.decoder : defaults.decoder,
266
- delimiter: typeof opts.delimiter === 'string' || utils.isRegExp(opts.delimiter) ? opts.delimiter : defaults.delimiter,
267
- // eslint-disable-next-line no-implicit-coercion, no-extra-parens
268
- depth: (typeof opts.depth === 'number' || opts.depth === false) ? +opts.depth : defaults.depth,
269
- ignoreQueryPrefix: opts.ignoreQueryPrefix === true,
270
- interpretNumericEntities: typeof opts.interpretNumericEntities === 'boolean' ? opts.interpretNumericEntities : defaults.interpretNumericEntities,
271
- parameterLimit: typeof opts.parameterLimit === 'number' ? opts.parameterLimit : defaults.parameterLimit,
272
- parseArrays: opts.parseArrays !== false,
273
- plainObjects: typeof opts.plainObjects === 'boolean' ? opts.plainObjects : defaults.plainObjects,
274
- strictNullHandling: typeof opts.strictNullHandling === 'boolean' ? opts.strictNullHandling : defaults.strictNullHandling
275
- };
276
- };
277
-
278
- module.exports = function (str, opts) {
279
- var options = normalizeParseOptions(opts);
280
-
281
- if (str === '' || str === null || typeof str === 'undefined') {
282
- return options.plainObjects ? Object.create(null) : {};
283
- }
284
-
285
- var tempObj = typeof str === 'string' ? parseValues(str, options) : str;
286
- var obj = options.plainObjects ? Object.create(null) : {};
287
-
288
- // Iterate over the keys and setup the new object
289
-
290
- var keys = Object.keys(tempObj);
291
- for (var i = 0; i < keys.length; ++i) {
292
- var key = keys[i];
293
- var newObj = parseKeys(key, tempObj[key], options, typeof str === 'string');
294
- obj = utils.merge(obj, newObj, options);
295
- }
296
-
297
- if (options.allowSparse === true) {
298
- return obj;
299
- }
300
-
301
- return utils.compact(obj);
302
- };
303
-
304
- },{"./utils":5}],4:[function(require,module,exports){
305
- 'use strict';
306
-
307
- var getSideChannel = require('side-channel');
308
- var utils = require('./utils');
309
- var formats = require('./formats');
310
- var has = Object.prototype.hasOwnProperty;
311
-
312
- var arrayPrefixGenerators = {
313
- brackets: function brackets(prefix) {
314
- return prefix + '[]';
315
- },
316
- comma: 'comma',
317
- indices: function indices(prefix, key) {
318
- return prefix + '[' + key + ']';
319
- },
320
- repeat: function repeat(prefix) {
321
- return prefix;
322
- }
323
- };
324
-
325
- var isArray = Array.isArray;
326
- var split = String.prototype.split;
327
- var push = Array.prototype.push;
328
- var pushToArray = function (arr, valueOrArray) {
329
- push.apply(arr, isArray(valueOrArray) ? valueOrArray : [valueOrArray]);
330
- };
331
-
332
- var toISO = Date.prototype.toISOString;
333
-
334
- var defaultFormat = formats['default'];
335
- var defaults = {
336
- addQueryPrefix: false,
337
- allowDots: false,
338
- charset: 'utf-8',
339
- charsetSentinel: false,
340
- delimiter: '&',
341
- encode: true,
342
- encoder: utils.encode,
343
- encodeValuesOnly: false,
344
- format: defaultFormat,
345
- formatter: formats.formatters[defaultFormat],
346
- // deprecated
347
- indices: false,
348
- serializeDate: function serializeDate(date) {
349
- return toISO.call(date);
350
- },
351
- skipNulls: false,
352
- strictNullHandling: false
353
- };
354
-
355
- var isNonNullishPrimitive = function isNonNullishPrimitive(v) {
356
- return typeof v === 'string'
357
- || typeof v === 'number'
358
- || typeof v === 'boolean'
359
- || typeof v === 'symbol'
360
- || typeof v === 'bigint';
361
- };
362
-
363
- var sentinel = {};
364
-
365
- var stringify = function stringify(
366
- object,
367
- prefix,
368
- generateArrayPrefix,
369
- strictNullHandling,
370
- skipNulls,
371
- encoder,
372
- filter,
373
- sort,
374
- allowDots,
375
- serializeDate,
376
- format,
377
- formatter,
378
- encodeValuesOnly,
379
- charset,
380
- sideChannel
381
- ) {
382
- var obj = object;
383
-
384
- var tmpSc = sideChannel;
385
- var step = 0;
386
- var findFlag = false;
387
- while ((tmpSc = tmpSc.get(sentinel)) !== void undefined && !findFlag) {
388
- // Where object last appeared in the ref tree
389
- var pos = tmpSc.get(object);
390
- step += 1;
391
- if (typeof pos !== 'undefined') {
392
- if (pos === step) {
393
- throw new RangeError('Cyclic object value');
394
- } else {
395
- findFlag = true; // Break while
396
- }
397
- }
398
- if (typeof tmpSc.get(sentinel) === 'undefined') {
399
- step = 0;
400
- }
401
- }
402
-
403
- if (typeof filter === 'function') {
404
- obj = filter(prefix, obj);
405
- } else if (obj instanceof Date) {
406
- obj = serializeDate(obj);
407
- } else if (generateArrayPrefix === 'comma' && isArray(obj)) {
408
- obj = utils.maybeMap(obj, function (value) {
409
- if (value instanceof Date) {
410
- return serializeDate(value);
411
- }
412
- return value;
413
- });
414
- }
415
-
416
- if (obj === null) {
417
- if (strictNullHandling) {
418
- return encoder && !encodeValuesOnly ? encoder(prefix, defaults.encoder, charset, 'key', format) : prefix;
419
- }
420
-
421
- obj = '';
422
- }
423
-
424
- if (isNonNullishPrimitive(obj) || utils.isBuffer(obj)) {
425
- if (encoder) {
426
- var keyValue = encodeValuesOnly ? prefix : encoder(prefix, defaults.encoder, charset, 'key', format);
427
- if (generateArrayPrefix === 'comma' && encodeValuesOnly) {
428
- var valuesArray = split.call(String(obj), ',');
429
- var valuesJoined = '';
430
- for (var i = 0; i < valuesArray.length; ++i) {
431
- valuesJoined += (i === 0 ? '' : ',') + formatter(encoder(valuesArray[i], defaults.encoder, charset, 'value', format));
432
- }
433
- return [formatter(keyValue) + '=' + valuesJoined];
434
- }
435
- return [formatter(keyValue) + '=' + formatter(encoder(obj, defaults.encoder, charset, 'value', format))];
436
- }
437
- return [formatter(prefix) + '=' + formatter(String(obj))];
438
- }
439
-
440
- var values = [];
441
-
442
- if (typeof obj === 'undefined') {
443
- return values;
444
- }
445
-
446
- var objKeys;
447
- if (generateArrayPrefix === 'comma' && isArray(obj)) {
448
- // we need to join elements in
449
- objKeys = [{ value: obj.length > 0 ? obj.join(',') || null : void undefined }];
450
- } else if (isArray(filter)) {
451
- objKeys = filter;
452
- } else {
453
- var keys = Object.keys(obj);
454
- objKeys = sort ? keys.sort(sort) : keys;
455
- }
456
-
457
- for (var j = 0; j < objKeys.length; ++j) {
458
- var key = objKeys[j];
459
- var value = typeof key === 'object' && typeof key.value !== 'undefined' ? key.value : obj[key];
460
-
461
- if (skipNulls && value === null) {
462
- continue;
463
- }
464
-
465
- var keyPrefix = isArray(obj)
466
- ? typeof generateArrayPrefix === 'function' ? generateArrayPrefix(prefix, key) : prefix
467
- : prefix + (allowDots ? '.' + key : '[' + key + ']');
468
-
469
- sideChannel.set(object, step);
470
- var valueSideChannel = getSideChannel();
471
- valueSideChannel.set(sentinel, sideChannel);
472
- pushToArray(values, stringify(
473
- value,
474
- keyPrefix,
475
- generateArrayPrefix,
476
- strictNullHandling,
477
- skipNulls,
478
- encoder,
479
- filter,
480
- sort,
481
- allowDots,
482
- serializeDate,
483
- format,
484
- formatter,
485
- encodeValuesOnly,
486
- charset,
487
- valueSideChannel
488
- ));
489
- }
490
-
491
- return values;
492
- };
493
-
494
- var normalizeStringifyOptions = function normalizeStringifyOptions(opts) {
495
- if (!opts) {
496
- return defaults;
497
- }
498
-
499
- if (opts.encoder !== null && typeof opts.encoder !== 'undefined' && typeof opts.encoder !== 'function') {
500
- throw new TypeError('Encoder has to be a function.');
501
- }
502
-
503
- var charset = opts.charset || defaults.charset;
504
- if (typeof opts.charset !== 'undefined' && opts.charset !== 'utf-8' && opts.charset !== 'iso-8859-1') {
505
- throw new TypeError('The charset option must be either utf-8, iso-8859-1, or undefined');
506
- }
507
-
508
- var format = formats['default'];
509
- if (typeof opts.format !== 'undefined') {
510
- if (!has.call(formats.formatters, opts.format)) {
511
- throw new TypeError('Unknown format option provided.');
512
- }
513
- format = opts.format;
514
- }
515
- var formatter = formats.formatters[format];
516
-
517
- var filter = defaults.filter;
518
- if (typeof opts.filter === 'function' || isArray(opts.filter)) {
519
- filter = opts.filter;
520
- }
521
-
522
- return {
523
- addQueryPrefix: typeof opts.addQueryPrefix === 'boolean' ? opts.addQueryPrefix : defaults.addQueryPrefix,
524
- allowDots: typeof opts.allowDots === 'undefined' ? defaults.allowDots : !!opts.allowDots,
525
- charset: charset,
526
- charsetSentinel: typeof opts.charsetSentinel === 'boolean' ? opts.charsetSentinel : defaults.charsetSentinel,
527
- delimiter: typeof opts.delimiter === 'undefined' ? defaults.delimiter : opts.delimiter,
528
- encode: typeof opts.encode === 'boolean' ? opts.encode : defaults.encode,
529
- encoder: typeof opts.encoder === 'function' ? opts.encoder : defaults.encoder,
530
- encodeValuesOnly: typeof opts.encodeValuesOnly === 'boolean' ? opts.encodeValuesOnly : defaults.encodeValuesOnly,
531
- filter: filter,
532
- format: format,
533
- formatter: formatter,
534
- serializeDate: typeof opts.serializeDate === 'function' ? opts.serializeDate : defaults.serializeDate,
535
- skipNulls: typeof opts.skipNulls === 'boolean' ? opts.skipNulls : defaults.skipNulls,
536
- sort: typeof opts.sort === 'function' ? opts.sort : null,
537
- strictNullHandling: typeof opts.strictNullHandling === 'boolean' ? opts.strictNullHandling : defaults.strictNullHandling
538
- };
539
- };
540
-
541
- module.exports = function (object, opts) {
542
- var obj = object;
543
- var options = normalizeStringifyOptions(opts);
544
-
545
- var objKeys;
546
- var filter;
547
-
548
- if (typeof options.filter === 'function') {
549
- filter = options.filter;
550
- obj = filter('', obj);
551
- } else if (isArray(options.filter)) {
552
- filter = options.filter;
553
- objKeys = filter;
554
- }
555
-
556
- var keys = [];
557
-
558
- if (typeof obj !== 'object' || obj === null) {
559
- return '';
560
- }
561
-
562
- var arrayFormat;
563
- if (opts && opts.arrayFormat in arrayPrefixGenerators) {
564
- arrayFormat = opts.arrayFormat;
565
- } else if (opts && 'indices' in opts) {
566
- arrayFormat = opts.indices ? 'indices' : 'repeat';
567
- } else {
568
- arrayFormat = 'indices';
569
- }
570
-
571
- var generateArrayPrefix = arrayPrefixGenerators[arrayFormat];
572
-
573
- if (!objKeys) {
574
- objKeys = Object.keys(obj);
575
- }
576
-
577
- if (options.sort) {
578
- objKeys.sort(options.sort);
579
- }
580
-
581
- var sideChannel = getSideChannel();
582
- for (var i = 0; i < objKeys.length; ++i) {
583
- var key = objKeys[i];
584
-
585
- if (options.skipNulls && obj[key] === null) {
586
- continue;
587
- }
588
- pushToArray(keys, stringify(
589
- obj[key],
590
- key,
591
- generateArrayPrefix,
592
- options.strictNullHandling,
593
- options.skipNulls,
594
- options.encode ? options.encoder : null,
595
- options.filter,
596
- options.sort,
597
- options.allowDots,
598
- options.serializeDate,
599
- options.format,
600
- options.formatter,
601
- options.encodeValuesOnly,
602
- options.charset,
603
- sideChannel
604
- ));
605
- }
606
-
607
- var joined = keys.join(options.delimiter);
608
- var prefix = options.addQueryPrefix === true ? '?' : '';
609
-
610
- if (options.charsetSentinel) {
611
- if (options.charset === 'iso-8859-1') {
612
- // encodeURIComponent('&#10003;'), the "numeric entity" representation of a checkmark
613
- prefix += 'utf8=%26%2310003%3B&';
614
- } else {
615
- // encodeURIComponent('✓')
616
- prefix += 'utf8=%E2%9C%93&';
617
- }
618
- }
619
-
620
- return joined.length > 0 ? prefix + joined : '';
621
- };
622
-
623
- },{"./formats":1,"./utils":5,"side-channel":16}],5:[function(require,module,exports){
624
- 'use strict';
625
-
626
- var formats = require('./formats');
627
-
628
- var has = Object.prototype.hasOwnProperty;
629
- var isArray = Array.isArray;
630
-
631
- var hexTable = (function () {
632
- var array = [];
633
- for (var i = 0; i < 256; ++i) {
634
- array.push('%' + ((i < 16 ? '0' : '') + i.toString(16)).toUpperCase());
635
- }
636
-
637
- return array;
638
- }());
639
-
640
- var compactQueue = function compactQueue(queue) {
641
- while (queue.length > 1) {
642
- var item = queue.pop();
643
- var obj = item.obj[item.prop];
644
-
645
- if (isArray(obj)) {
646
- var compacted = [];
647
-
648
- for (var j = 0; j < obj.length; ++j) {
649
- if (typeof obj[j] !== 'undefined') {
650
- compacted.push(obj[j]);
651
- }
652
- }
653
-
654
- item.obj[item.prop] = compacted;
655
- }
656
- }
657
- };
658
-
659
- var arrayToObject = function arrayToObject(source, options) {
660
- var obj = options && options.plainObjects ? Object.create(null) : {};
661
- for (var i = 0; i < source.length; ++i) {
662
- if (typeof source[i] !== 'undefined') {
663
- obj[i] = source[i];
664
- }
665
- }
666
-
667
- return obj;
668
- };
669
-
670
- var merge = function merge(target, source, options) {
671
- /* eslint no-param-reassign: 0 */
672
- if (!source) {
673
- return target;
674
- }
675
-
676
- if (typeof source !== 'object') {
677
- if (isArray(target)) {
678
- target.push(source);
679
- } else if (target && typeof target === 'object') {
680
- if ((options && (options.plainObjects || options.allowPrototypes)) || !has.call(Object.prototype, source)) {
681
- target[source] = true;
682
- }
683
- } else {
684
- return [target, source];
685
- }
686
-
687
- return target;
688
- }
689
-
690
- if (!target || typeof target !== 'object') {
691
- return [target].concat(source);
692
- }
693
-
694
- var mergeTarget = target;
695
- if (isArray(target) && !isArray(source)) {
696
- mergeTarget = arrayToObject(target, options);
697
- }
698
-
699
- if (isArray(target) && isArray(source)) {
700
- source.forEach(function (item, i) {
701
- if (has.call(target, i)) {
702
- var targetItem = target[i];
703
- if (targetItem && typeof targetItem === 'object' && item && typeof item === 'object') {
704
- target[i] = merge(targetItem, item, options);
705
- } else {
706
- target.push(item);
707
- }
708
- } else {
709
- target[i] = item;
710
- }
711
- });
712
- return target;
713
- }
714
-
715
- return Object.keys(source).reduce(function (acc, key) {
716
- var value = source[key];
717
-
718
- if (has.call(acc, key)) {
719
- acc[key] = merge(acc[key], value, options);
720
- } else {
721
- acc[key] = value;
722
- }
723
- return acc;
724
- }, mergeTarget);
725
- };
726
-
727
- var assign = function assignSingleSource(target, source) {
728
- return Object.keys(source).reduce(function (acc, key) {
729
- acc[key] = source[key];
730
- return acc;
731
- }, target);
732
- };
733
-
734
- var decode = function (str, decoder, charset) {
735
- var strWithoutPlus = str.replace(/\+/g, ' ');
736
- if (charset === 'iso-8859-1') {
737
- // unescape never throws, no try...catch needed:
738
- return strWithoutPlus.replace(/%[0-9a-f]{2}/gi, unescape);
739
- }
740
- // utf-8
741
- try {
742
- return decodeURIComponent(strWithoutPlus);
743
- } catch (e) {
744
- return strWithoutPlus;
745
- }
746
- };
747
-
748
- var encode = function encode(str, defaultEncoder, charset, kind, format) {
749
- // This code was originally written by Brian White (mscdex) for the io.js core querystring library.
750
- // It has been adapted here for stricter adherence to RFC 3986
751
- if (str.length === 0) {
752
- return str;
753
- }
754
-
755
- var string = str;
756
- if (typeof str === 'symbol') {
757
- string = Symbol.prototype.toString.call(str);
758
- } else if (typeof str !== 'string') {
759
- string = String(str);
760
- }
761
-
762
- if (charset === 'iso-8859-1') {
763
- return escape(string).replace(/%u[0-9a-f]{4}/gi, function ($0) {
764
- return '%26%23' + parseInt($0.slice(2), 16) + '%3B';
765
- });
766
- }
767
-
768
- var out = '';
769
- for (var i = 0; i < string.length; ++i) {
770
- var c = string.charCodeAt(i);
771
-
772
- if (
773
- c === 0x2D // -
774
- || c === 0x2E // .
775
- || c === 0x5F // _
776
- || c === 0x7E // ~
777
- || (c >= 0x30 && c <= 0x39) // 0-9
778
- || (c >= 0x41 && c <= 0x5A) // a-z
779
- || (c >= 0x61 && c <= 0x7A) // A-Z
780
- || (format === formats.RFC1738 && (c === 0x28 || c === 0x29)) // ( )
781
- ) {
782
- out += string.charAt(i);
783
- continue;
784
- }
785
-
786
- if (c < 0x80) {
787
- out = out + hexTable[c];
788
- continue;
789
- }
790
-
791
- if (c < 0x800) {
792
- out = out + (hexTable[0xC0 | (c >> 6)] + hexTable[0x80 | (c & 0x3F)]);
793
- continue;
794
- }
795
-
796
- if (c < 0xD800 || c >= 0xE000) {
797
- out = out + (hexTable[0xE0 | (c >> 12)] + hexTable[0x80 | ((c >> 6) & 0x3F)] + hexTable[0x80 | (c & 0x3F)]);
798
- continue;
799
- }
800
-
801
- i += 1;
802
- c = 0x10000 + (((c & 0x3FF) << 10) | (string.charCodeAt(i) & 0x3FF));
803
- /* eslint operator-linebreak: [2, "before"] */
804
- out += hexTable[0xF0 | (c >> 18)]
805
- + hexTable[0x80 | ((c >> 12) & 0x3F)]
806
- + hexTable[0x80 | ((c >> 6) & 0x3F)]
807
- + hexTable[0x80 | (c & 0x3F)];
808
- }
809
-
810
- return out;
811
- };
812
-
813
- var compact = function compact(value) {
814
- var queue = [{ obj: { o: value }, prop: 'o' }];
815
- var refs = [];
816
-
817
- for (var i = 0; i < queue.length; ++i) {
818
- var item = queue[i];
819
- var obj = item.obj[item.prop];
820
-
821
- var keys = Object.keys(obj);
822
- for (var j = 0; j < keys.length; ++j) {
823
- var key = keys[j];
824
- var val = obj[key];
825
- if (typeof val === 'object' && val !== null && refs.indexOf(val) === -1) {
826
- queue.push({ obj: obj, prop: key });
827
- refs.push(val);
828
- }
829
- }
830
- }
831
-
832
- compactQueue(queue);
833
-
834
- return value;
835
- };
836
-
837
- var isRegExp = function isRegExp(obj) {
838
- return Object.prototype.toString.call(obj) === '[object RegExp]';
839
- };
840
-
841
- var isBuffer = function isBuffer(obj) {
842
- if (!obj || typeof obj !== 'object') {
843
- return false;
844
- }
845
-
846
- return !!(obj.constructor && obj.constructor.isBuffer && obj.constructor.isBuffer(obj));
847
- };
848
-
849
- var combine = function combine(a, b) {
850
- return [].concat(a, b);
851
- };
852
-
853
- var maybeMap = function maybeMap(val, fn) {
854
- if (isArray(val)) {
855
- var mapped = [];
856
- for (var i = 0; i < val.length; i += 1) {
857
- mapped.push(fn(val[i]));
858
- }
859
- return mapped;
860
- }
861
- return fn(val);
862
- };
863
-
864
- module.exports = {
865
- arrayToObject: arrayToObject,
866
- assign: assign,
867
- combine: combine,
868
- compact: compact,
869
- decode: decode,
870
- encode: encode,
871
- isBuffer: isBuffer,
872
- isRegExp: isRegExp,
873
- maybeMap: maybeMap,
874
- merge: merge
875
- };
876
-
877
- },{"./formats":1}],6:[function(require,module,exports){
878
-
879
- },{}],7:[function(require,module,exports){
880
- 'use strict';
881
-
882
- var GetIntrinsic = require('get-intrinsic');
883
-
884
- var callBind = require('./');
885
-
886
- var $indexOf = callBind(GetIntrinsic('String.prototype.indexOf'));
887
-
888
- module.exports = function callBoundIntrinsic(name, allowMissing) {
889
- var intrinsic = GetIntrinsic(name, !!allowMissing);
890
- if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) {
891
- return callBind(intrinsic);
892
- }
893
- return intrinsic;
894
- };
895
-
896
- },{"./":8,"get-intrinsic":11}],8:[function(require,module,exports){
897
- 'use strict';
898
-
899
- var bind = require('function-bind');
900
- var GetIntrinsic = require('get-intrinsic');
901
-
902
- var $apply = GetIntrinsic('%Function.prototype.apply%');
903
- var $call = GetIntrinsic('%Function.prototype.call%');
904
- var $reflectApply = GetIntrinsic('%Reflect.apply%', true) || bind.call($call, $apply);
905
-
906
- var $gOPD = GetIntrinsic('%Object.getOwnPropertyDescriptor%', true);
907
- var $defineProperty = GetIntrinsic('%Object.defineProperty%', true);
908
- var $max = GetIntrinsic('%Math.max%');
909
-
910
- if ($defineProperty) {
911
- try {
912
- $defineProperty({}, 'a', { value: 1 });
913
- } catch (e) {
914
- // IE 8 has a broken defineProperty
915
- $defineProperty = null;
916
- }
917
- }
918
-
919
- module.exports = function callBind(originalFunction) {
920
- var func = $reflectApply(bind, $call, arguments);
921
- if ($gOPD && $defineProperty) {
922
- var desc = $gOPD(func, 'length');
923
- if (desc.configurable) {
924
- // original length, plus the receiver, minus any additional arguments (after the receiver)
925
- $defineProperty(
926
- func,
927
- 'length',
928
- { value: 1 + $max(0, originalFunction.length - (arguments.length - 1)) }
929
- );
930
- }
931
- }
932
- return func;
933
- };
934
-
935
- var applyBind = function applyBind() {
936
- return $reflectApply(bind, $apply, arguments);
937
- };
938
-
939
- if ($defineProperty) {
940
- $defineProperty(module.exports, 'apply', { value: applyBind });
941
- } else {
942
- module.exports.apply = applyBind;
943
- }
944
-
945
- },{"function-bind":10,"get-intrinsic":11}],9:[function(require,module,exports){
946
- 'use strict';
947
-
948
- /* eslint no-invalid-this: 1 */
949
-
950
- var ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';
951
- var slice = Array.prototype.slice;
952
- var toStr = Object.prototype.toString;
953
- var funcType = '[object Function]';
954
-
955
- module.exports = function bind(that) {
956
- var target = this;
957
- if (typeof target !== 'function' || toStr.call(target) !== funcType) {
958
- throw new TypeError(ERROR_MESSAGE + target);
959
- }
960
- var args = slice.call(arguments, 1);
961
-
962
- var bound;
963
- var binder = function () {
964
- if (this instanceof bound) {
965
- var result = target.apply(
966
- this,
967
- args.concat(slice.call(arguments))
968
- );
969
- if (Object(result) === result) {
970
- return result;
971
- }
972
- return this;
973
- } else {
974
- return target.apply(
975
- that,
976
- args.concat(slice.call(arguments))
977
- );
978
- }
979
- };
980
-
981
- var boundLength = Math.max(0, target.length - args.length);
982
- var boundArgs = [];
983
- for (var i = 0; i < boundLength; i++) {
984
- boundArgs.push('$' + i);
985
- }
986
-
987
- bound = Function('binder', 'return function (' + boundArgs.join(',') + '){ return binder.apply(this,arguments); }')(binder);
988
-
989
- if (target.prototype) {
990
- var Empty = function Empty() {};
991
- Empty.prototype = target.prototype;
992
- bound.prototype = new Empty();
993
- Empty.prototype = null;
994
- }
995
-
996
- return bound;
997
- };
998
-
999
- },{}],10:[function(require,module,exports){
1000
- 'use strict';
1001
-
1002
- var implementation = require('./implementation');
1003
-
1004
- module.exports = Function.prototype.bind || implementation;
1005
-
1006
- },{"./implementation":9}],11:[function(require,module,exports){
1007
- 'use strict';
1008
-
1009
- var undefined;
1010
-
1011
- var $SyntaxError = SyntaxError;
1012
- var $Function = Function;
1013
- var $TypeError = TypeError;
1014
-
1015
- // eslint-disable-next-line consistent-return
1016
- var getEvalledConstructor = function (expressionSyntax) {
1017
- try {
1018
- return $Function('"use strict"; return (' + expressionSyntax + ').constructor;')();
1019
- } catch (e) {}
1020
- };
1021
-
1022
- var $gOPD = Object.getOwnPropertyDescriptor;
1023
- if ($gOPD) {
1024
- try {
1025
- $gOPD({}, '');
1026
- } catch (e) {
1027
- $gOPD = null; // this is IE 8, which has a broken gOPD
1028
- }
1029
- }
1030
-
1031
- var throwTypeError = function () {
1032
- throw new $TypeError();
1033
- };
1034
- var ThrowTypeError = $gOPD
1035
- ? (function () {
1036
- try {
1037
- // eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties
1038
- arguments.callee; // IE 8 does not throw here
1039
- return throwTypeError;
1040
- } catch (calleeThrows) {
1041
- try {
1042
- // IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '')
1043
- return $gOPD(arguments, 'callee').get;
1044
- } catch (gOPDthrows) {
1045
- return throwTypeError;
1046
- }
1047
- }
1048
- }())
1049
- : throwTypeError;
1050
-
1051
- var hasSymbols = require('has-symbols')();
1052
-
1053
- var getProto = Object.getPrototypeOf || function (x) { return x.__proto__; }; // eslint-disable-line no-proto
1054
-
1055
- var needsEval = {};
1056
-
1057
- var TypedArray = typeof Uint8Array === 'undefined' ? undefined : getProto(Uint8Array);
1058
-
1059
- var INTRINSICS = {
1060
- '%AggregateError%': typeof AggregateError === 'undefined' ? undefined : AggregateError,
1061
- '%Array%': Array,
1062
- '%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer,
1063
- '%ArrayIteratorPrototype%': hasSymbols ? getProto([][Symbol.iterator]()) : undefined,
1064
- '%AsyncFromSyncIteratorPrototype%': undefined,
1065
- '%AsyncFunction%': needsEval,
1066
- '%AsyncGenerator%': needsEval,
1067
- '%AsyncGeneratorFunction%': needsEval,
1068
- '%AsyncIteratorPrototype%': needsEval,
1069
- '%Atomics%': typeof Atomics === 'undefined' ? undefined : Atomics,
1070
- '%BigInt%': typeof BigInt === 'undefined' ? undefined : BigInt,
1071
- '%Boolean%': Boolean,
1072
- '%DataView%': typeof DataView === 'undefined' ? undefined : DataView,
1073
- '%Date%': Date,
1074
- '%decodeURI%': decodeURI,
1075
- '%decodeURIComponent%': decodeURIComponent,
1076
- '%encodeURI%': encodeURI,
1077
- '%encodeURIComponent%': encodeURIComponent,
1078
- '%Error%': Error,
1079
- '%eval%': eval, // eslint-disable-line no-eval
1080
- '%EvalError%': EvalError,
1081
- '%Float32Array%': typeof Float32Array === 'undefined' ? undefined : Float32Array,
1082
- '%Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array,
1083
- '%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined : FinalizationRegistry,
1084
- '%Function%': $Function,
1085
- '%GeneratorFunction%': needsEval,
1086
- '%Int8Array%': typeof Int8Array === 'undefined' ? undefined : Int8Array,
1087
- '%Int16Array%': typeof Int16Array === 'undefined' ? undefined : Int16Array,
1088
- '%Int32Array%': typeof Int32Array === 'undefined' ? undefined : Int32Array,
1089
- '%isFinite%': isFinite,
1090
- '%isNaN%': isNaN,
1091
- '%IteratorPrototype%': hasSymbols ? getProto(getProto([][Symbol.iterator]())) : undefined,
1092
- '%JSON%': typeof JSON === 'object' ? JSON : undefined,
1093
- '%Map%': typeof Map === 'undefined' ? undefined : Map,
1094
- '%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols ? undefined : getProto(new Map()[Symbol.iterator]()),
1095
- '%Math%': Math,
1096
- '%Number%': Number,
1097
- '%Object%': Object,
1098
- '%parseFloat%': parseFloat,
1099
- '%parseInt%': parseInt,
1100
- '%Promise%': typeof Promise === 'undefined' ? undefined : Promise,
1101
- '%Proxy%': typeof Proxy === 'undefined' ? undefined : Proxy,
1102
- '%RangeError%': RangeError,
1103
- '%ReferenceError%': ReferenceError,
1104
- '%Reflect%': typeof Reflect === 'undefined' ? undefined : Reflect,
1105
- '%RegExp%': RegExp,
1106
- '%Set%': typeof Set === 'undefined' ? undefined : Set,
1107
- '%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols ? undefined : getProto(new Set()[Symbol.iterator]()),
1108
- '%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined : SharedArrayBuffer,
1109
- '%String%': String,
1110
- '%StringIteratorPrototype%': hasSymbols ? getProto(''[Symbol.iterator]()) : undefined,
1111
- '%Symbol%': hasSymbols ? Symbol : undefined,
1112
- '%SyntaxError%': $SyntaxError,
1113
- '%ThrowTypeError%': ThrowTypeError,
1114
- '%TypedArray%': TypedArray,
1115
- '%TypeError%': $TypeError,
1116
- '%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined : Uint8Array,
1117
- '%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined : Uint8ClampedArray,
1118
- '%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined : Uint16Array,
1119
- '%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined : Uint32Array,
1120
- '%URIError%': URIError,
1121
- '%WeakMap%': typeof WeakMap === 'undefined' ? undefined : WeakMap,
1122
- '%WeakRef%': typeof WeakRef === 'undefined' ? undefined : WeakRef,
1123
- '%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet
1124
- };
1125
-
1126
- var doEval = function doEval(name) {
1127
- var value;
1128
- if (name === '%AsyncFunction%') {
1129
- value = getEvalledConstructor('async function () {}');
1130
- } else if (name === '%GeneratorFunction%') {
1131
- value = getEvalledConstructor('function* () {}');
1132
- } else if (name === '%AsyncGeneratorFunction%') {
1133
- value = getEvalledConstructor('async function* () {}');
1134
- } else if (name === '%AsyncGenerator%') {
1135
- var fn = doEval('%AsyncGeneratorFunction%');
1136
- if (fn) {
1137
- value = fn.prototype;
1138
- }
1139
- } else if (name === '%AsyncIteratorPrototype%') {
1140
- var gen = doEval('%AsyncGenerator%');
1141
- if (gen) {
1142
- value = getProto(gen.prototype);
1143
- }
1144
- }
1145
-
1146
- INTRINSICS[name] = value;
1147
-
1148
- return value;
1149
- };
1150
-
1151
- var LEGACY_ALIASES = {
1152
- '%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],
1153
- '%ArrayPrototype%': ['Array', 'prototype'],
1154
- '%ArrayProto_entries%': ['Array', 'prototype', 'entries'],
1155
- '%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'],
1156
- '%ArrayProto_keys%': ['Array', 'prototype', 'keys'],
1157
- '%ArrayProto_values%': ['Array', 'prototype', 'values'],
1158
- '%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'],
1159
- '%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'],
1160
- '%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'],
1161
- '%BooleanPrototype%': ['Boolean', 'prototype'],
1162
- '%DataViewPrototype%': ['DataView', 'prototype'],
1163
- '%DatePrototype%': ['Date', 'prototype'],
1164
- '%ErrorPrototype%': ['Error', 'prototype'],
1165
- '%EvalErrorPrototype%': ['EvalError', 'prototype'],
1166
- '%Float32ArrayPrototype%': ['Float32Array', 'prototype'],
1167
- '%Float64ArrayPrototype%': ['Float64Array', 'prototype'],
1168
- '%FunctionPrototype%': ['Function', 'prototype'],
1169
- '%Generator%': ['GeneratorFunction', 'prototype'],
1170
- '%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'],
1171
- '%Int8ArrayPrototype%': ['Int8Array', 'prototype'],
1172
- '%Int16ArrayPrototype%': ['Int16Array', 'prototype'],
1173
- '%Int32ArrayPrototype%': ['Int32Array', 'prototype'],
1174
- '%JSONParse%': ['JSON', 'parse'],
1175
- '%JSONStringify%': ['JSON', 'stringify'],
1176
- '%MapPrototype%': ['Map', 'prototype'],
1177
- '%NumberPrototype%': ['Number', 'prototype'],
1178
- '%ObjectPrototype%': ['Object', 'prototype'],
1179
- '%ObjProto_toString%': ['Object', 'prototype', 'toString'],
1180
- '%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'],
1181
- '%PromisePrototype%': ['Promise', 'prototype'],
1182
- '%PromiseProto_then%': ['Promise', 'prototype', 'then'],
1183
- '%Promise_all%': ['Promise', 'all'],
1184
- '%Promise_reject%': ['Promise', 'reject'],
1185
- '%Promise_resolve%': ['Promise', 'resolve'],
1186
- '%RangeErrorPrototype%': ['RangeError', 'prototype'],
1187
- '%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'],
1188
- '%RegExpPrototype%': ['RegExp', 'prototype'],
1189
- '%SetPrototype%': ['Set', 'prototype'],
1190
- '%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'],
1191
- '%StringPrototype%': ['String', 'prototype'],
1192
- '%SymbolPrototype%': ['Symbol', 'prototype'],
1193
- '%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'],
1194
- '%TypedArrayPrototype%': ['TypedArray', 'prototype'],
1195
- '%TypeErrorPrototype%': ['TypeError', 'prototype'],
1196
- '%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'],
1197
- '%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'],
1198
- '%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'],
1199
- '%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'],
1200
- '%URIErrorPrototype%': ['URIError', 'prototype'],
1201
- '%WeakMapPrototype%': ['WeakMap', 'prototype'],
1202
- '%WeakSetPrototype%': ['WeakSet', 'prototype']
1203
- };
1204
-
1205
- var bind = require('function-bind');
1206
- var hasOwn = require('has');
1207
- var $concat = bind.call(Function.call, Array.prototype.concat);
1208
- var $spliceApply = bind.call(Function.apply, Array.prototype.splice);
1209
- var $replace = bind.call(Function.call, String.prototype.replace);
1210
- var $strSlice = bind.call(Function.call, String.prototype.slice);
1211
-
1212
- /* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */
1213
- var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
1214
- var reEscapeChar = /\\(\\)?/g; /** Used to match backslashes in property paths. */
1215
- var stringToPath = function stringToPath(string) {
1216
- var first = $strSlice(string, 0, 1);
1217
- var last = $strSlice(string, -1);
1218
- if (first === '%' && last !== '%') {
1219
- throw new $SyntaxError('invalid intrinsic syntax, expected closing `%`');
1220
- } else if (last === '%' && first !== '%') {
1221
- throw new $SyntaxError('invalid intrinsic syntax, expected opening `%`');
1222
- }
1223
- var result = [];
1224
- $replace(string, rePropName, function (match, number, quote, subString) {
1225
- result[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match;
1226
- });
1227
- return result;
1228
- };
1229
- /* end adaptation */
1230
-
1231
- var getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) {
1232
- var intrinsicName = name;
1233
- var alias;
1234
- if (hasOwn(LEGACY_ALIASES, intrinsicName)) {
1235
- alias = LEGACY_ALIASES[intrinsicName];
1236
- intrinsicName = '%' + alias[0] + '%';
1237
- }
1238
-
1239
- if (hasOwn(INTRINSICS, intrinsicName)) {
1240
- var value = INTRINSICS[intrinsicName];
1241
- if (value === needsEval) {
1242
- value = doEval(intrinsicName);
1243
- }
1244
- if (typeof value === 'undefined' && !allowMissing) {
1245
- throw new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!');
1246
- }
1247
-
1248
- return {
1249
- alias: alias,
1250
- name: intrinsicName,
1251
- value: value
1252
- };
1253
- }
1254
-
1255
- throw new $SyntaxError('intrinsic ' + name + ' does not exist!');
1256
- };
1257
-
1258
- module.exports = function GetIntrinsic(name, allowMissing) {
1259
- if (typeof name !== 'string' || name.length === 0) {
1260
- throw new $TypeError('intrinsic name must be a non-empty string');
1261
- }
1262
- if (arguments.length > 1 && typeof allowMissing !== 'boolean') {
1263
- throw new $TypeError('"allowMissing" argument must be a boolean');
1264
- }
1265
-
1266
- var parts = stringToPath(name);
1267
- var intrinsicBaseName = parts.length > 0 ? parts[0] : '';
1268
-
1269
- var intrinsic = getBaseIntrinsic('%' + intrinsicBaseName + '%', allowMissing);
1270
- var intrinsicRealName = intrinsic.name;
1271
- var value = intrinsic.value;
1272
- var skipFurtherCaching = false;
1273
-
1274
- var alias = intrinsic.alias;
1275
- if (alias) {
1276
- intrinsicBaseName = alias[0];
1277
- $spliceApply(parts, $concat([0, 1], alias));
1278
- }
1279
-
1280
- for (var i = 1, isOwn = true; i < parts.length; i += 1) {
1281
- var part = parts[i];
1282
- var first = $strSlice(part, 0, 1);
1283
- var last = $strSlice(part, -1);
1284
- if (
1285
- (
1286
- (first === '"' || first === "'" || first === '`')
1287
- || (last === '"' || last === "'" || last === '`')
1288
- )
1289
- && first !== last
1290
- ) {
1291
- throw new $SyntaxError('property names with quotes must have matching quotes');
1292
- }
1293
- if (part === 'constructor' || !isOwn) {
1294
- skipFurtherCaching = true;
1295
- }
1296
-
1297
- intrinsicBaseName += '.' + part;
1298
- intrinsicRealName = '%' + intrinsicBaseName + '%';
1299
-
1300
- if (hasOwn(INTRINSICS, intrinsicRealName)) {
1301
- value = INTRINSICS[intrinsicRealName];
1302
- } else if (value != null) {
1303
- if (!(part in value)) {
1304
- if (!allowMissing) {
1305
- throw new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.');
1306
- }
1307
- return void undefined;
1308
- }
1309
- if ($gOPD && (i + 1) >= parts.length) {
1310
- var desc = $gOPD(value, part);
1311
- isOwn = !!desc;
1312
-
1313
- // By convention, when a data property is converted to an accessor
1314
- // property to emulate a data property that does not suffer from
1315
- // the override mistake, that accessor's getter is marked with
1316
- // an `originalValue` property. Here, when we detect this, we
1317
- // uphold the illusion by pretending to see that original data
1318
- // property, i.e., returning the value rather than the getter
1319
- // itself.
1320
- if (isOwn && 'get' in desc && !('originalValue' in desc.get)) {
1321
- value = desc.get;
1322
- } else {
1323
- value = value[part];
1324
- }
1325
- } else {
1326
- isOwn = hasOwn(value, part);
1327
- value = value[part];
1328
- }
1329
-
1330
- if (isOwn && !skipFurtherCaching) {
1331
- INTRINSICS[intrinsicRealName] = value;
1332
- }
1333
- }
1334
- }
1335
- return value;
1336
- };
1337
-
1338
- },{"function-bind":10,"has":14,"has-symbols":12}],12:[function(require,module,exports){
1339
- 'use strict';
1340
-
1341
- var origSymbol = typeof Symbol !== 'undefined' && Symbol;
1342
- var hasSymbolSham = require('./shams');
1343
-
1344
- module.exports = function hasNativeSymbols() {
1345
- if (typeof origSymbol !== 'function') { return false; }
1346
- if (typeof Symbol !== 'function') { return false; }
1347
- if (typeof origSymbol('foo') !== 'symbol') { return false; }
1348
- if (typeof Symbol('bar') !== 'symbol') { return false; }
1349
-
1350
- return hasSymbolSham();
1351
- };
1352
-
1353
- },{"./shams":13}],13:[function(require,module,exports){
1354
- 'use strict';
1355
-
1356
- /* eslint complexity: [2, 18], max-statements: [2, 33] */
1357
- module.exports = function hasSymbols() {
1358
- if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }
1359
- if (typeof Symbol.iterator === 'symbol') { return true; }
1360
-
1361
- var obj = {};
1362
- var sym = Symbol('test');
1363
- var symObj = Object(sym);
1364
- if (typeof sym === 'string') { return false; }
1365
-
1366
- if (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; }
1367
- if (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; }
1368
-
1369
- // temp disabled per https://github.com/ljharb/object.assign/issues/17
1370
- // if (sym instanceof Symbol) { return false; }
1371
- // temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4
1372
- // if (!(symObj instanceof Symbol)) { return false; }
1373
-
1374
- // if (typeof Symbol.prototype.toString !== 'function') { return false; }
1375
- // if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }
1376
-
1377
- var symVal = 42;
1378
- obj[sym] = symVal;
1379
- for (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop
1380
- if (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }
1381
-
1382
- if (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }
1383
-
1384
- var syms = Object.getOwnPropertySymbols(obj);
1385
- if (syms.length !== 1 || syms[0] !== sym) { return false; }
1386
-
1387
- if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; }
1388
-
1389
- if (typeof Object.getOwnPropertyDescriptor === 'function') {
1390
- var descriptor = Object.getOwnPropertyDescriptor(obj, sym);
1391
- if (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; }
1392
- }
1393
-
1394
- return true;
1395
- };
1396
-
1397
- },{}],14:[function(require,module,exports){
1398
- 'use strict';
1399
-
1400
- var bind = require('function-bind');
1401
-
1402
- module.exports = bind.call(Function.call, Object.prototype.hasOwnProperty);
1403
-
1404
- },{"function-bind":10}],15:[function(require,module,exports){
1405
- var hasMap = typeof Map === 'function' && Map.prototype;
1406
- var mapSizeDescriptor = Object.getOwnPropertyDescriptor && hasMap ? Object.getOwnPropertyDescriptor(Map.prototype, 'size') : null;
1407
- var mapSize = hasMap && mapSizeDescriptor && typeof mapSizeDescriptor.get === 'function' ? mapSizeDescriptor.get : null;
1408
- var mapForEach = hasMap && Map.prototype.forEach;
1409
- var hasSet = typeof Set === 'function' && Set.prototype;
1410
- var setSizeDescriptor = Object.getOwnPropertyDescriptor && hasSet ? Object.getOwnPropertyDescriptor(Set.prototype, 'size') : null;
1411
- var setSize = hasSet && setSizeDescriptor && typeof setSizeDescriptor.get === 'function' ? setSizeDescriptor.get : null;
1412
- var setForEach = hasSet && Set.prototype.forEach;
1413
- var hasWeakMap = typeof WeakMap === 'function' && WeakMap.prototype;
1414
- var weakMapHas = hasWeakMap ? WeakMap.prototype.has : null;
1415
- var hasWeakSet = typeof WeakSet === 'function' && WeakSet.prototype;
1416
- var weakSetHas = hasWeakSet ? WeakSet.prototype.has : null;
1417
- var hasWeakRef = typeof WeakRef === 'function' && WeakRef.prototype;
1418
- var weakRefDeref = hasWeakRef ? WeakRef.prototype.deref : null;
1419
- var booleanValueOf = Boolean.prototype.valueOf;
1420
- var objectToString = Object.prototype.toString;
1421
- var functionToString = Function.prototype.toString;
1422
- var $match = String.prototype.match;
1423
- var $slice = String.prototype.slice;
1424
- var $replace = String.prototype.replace;
1425
- var $toUpperCase = String.prototype.toUpperCase;
1426
- var $toLowerCase = String.prototype.toLowerCase;
1427
- var $test = RegExp.prototype.test;
1428
- var $concat = Array.prototype.concat;
1429
- var $join = Array.prototype.join;
1430
- var $arrSlice = Array.prototype.slice;
1431
- var $floor = Math.floor;
1432
- var bigIntValueOf = typeof BigInt === 'function' ? BigInt.prototype.valueOf : null;
1433
- var gOPS = Object.getOwnPropertySymbols;
1434
- var symToString = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol' ? Symbol.prototype.toString : null;
1435
- var hasShammedSymbols = typeof Symbol === 'function' && typeof Symbol.iterator === 'object';
1436
- // ie, `has-tostringtag/shams
1437
- var toStringTag = typeof Symbol === 'function' && Symbol.toStringTag && (typeof Symbol.toStringTag === hasShammedSymbols ? 'object' : 'symbol')
1438
- ? Symbol.toStringTag
1439
- : null;
1440
- var isEnumerable = Object.prototype.propertyIsEnumerable;
1441
-
1442
- var gPO = (typeof Reflect === 'function' ? Reflect.getPrototypeOf : Object.getPrototypeOf) || (
1443
- [].__proto__ === Array.prototype // eslint-disable-line no-proto
1444
- ? function (O) {
1445
- return O.__proto__; // eslint-disable-line no-proto
1446
- }
1447
- : null
1448
- );
1449
-
1450
- function addNumericSeparator(num, str) {
1451
- if (
1452
- num === Infinity
1453
- || num === -Infinity
1454
- || num !== num
1455
- || (num && num > -1000 && num < 1000)
1456
- || $test.call(/e/, str)
1457
- ) {
1458
- return str;
1459
- }
1460
- var sepRegex = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;
1461
- if (typeof num === 'number') {
1462
- var int = num < 0 ? -$floor(-num) : $floor(num); // trunc(num)
1463
- if (int !== num) {
1464
- var intStr = String(int);
1465
- var dec = $slice.call(str, intStr.length + 1);
1466
- return $replace.call(intStr, sepRegex, '$&_') + '.' + $replace.call($replace.call(dec, /([0-9]{3})/g, '$&_'), /_$/, '');
1467
- }
1468
- }
1469
- return $replace.call(str, sepRegex, '$&_');
1470
- }
1471
-
1472
- var inspectCustom = require('./util.inspect').custom;
1473
- var inspectSymbol = inspectCustom && isSymbol(inspectCustom) ? inspectCustom : null;
1474
-
1475
- module.exports = function inspect_(obj, options, depth, seen) {
1476
- var opts = options || {};
1477
-
1478
- if (has(opts, 'quoteStyle') && (opts.quoteStyle !== 'single' && opts.quoteStyle !== 'double')) {
1479
- throw new TypeError('option "quoteStyle" must be "single" or "double"');
1480
- }
1481
- if (
1482
- has(opts, 'maxStringLength') && (typeof opts.maxStringLength === 'number'
1483
- ? opts.maxStringLength < 0 && opts.maxStringLength !== Infinity
1484
- : opts.maxStringLength !== null
1485
- )
1486
- ) {
1487
- throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');
1488
- }
1489
- var customInspect = has(opts, 'customInspect') ? opts.customInspect : true;
1490
- if (typeof customInspect !== 'boolean' && customInspect !== 'symbol') {
1491
- throw new TypeError('option "customInspect", if provided, must be `true`, `false`, or `\'symbol\'`');
1492
- }
1493
-
1494
- if (
1495
- has(opts, 'indent')
1496
- && opts.indent !== null
1497
- && opts.indent !== '\t'
1498
- && !(parseInt(opts.indent, 10) === opts.indent && opts.indent > 0)
1499
- ) {
1500
- throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');
1501
- }
1502
- if (has(opts, 'numericSeparator') && typeof opts.numericSeparator !== 'boolean') {
1503
- throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');
1504
- }
1505
- var numericSeparator = opts.numericSeparator;
1506
-
1507
- if (typeof obj === 'undefined') {
1508
- return 'undefined';
1509
- }
1510
- if (obj === null) {
1511
- return 'null';
1512
- }
1513
- if (typeof obj === 'boolean') {
1514
- return obj ? 'true' : 'false';
1515
- }
1516
-
1517
- if (typeof obj === 'string') {
1518
- return inspectString(obj, opts);
1519
- }
1520
- if (typeof obj === 'number') {
1521
- if (obj === 0) {
1522
- return Infinity / obj > 0 ? '0' : '-0';
1523
- }
1524
- var str = String(obj);
1525
- return numericSeparator ? addNumericSeparator(obj, str) : str;
1526
- }
1527
- if (typeof obj === 'bigint') {
1528
- var bigIntStr = String(obj) + 'n';
1529
- return numericSeparator ? addNumericSeparator(obj, bigIntStr) : bigIntStr;
1530
- }
1531
-
1532
- var maxDepth = typeof opts.depth === 'undefined' ? 5 : opts.depth;
1533
- if (typeof depth === 'undefined') { depth = 0; }
1534
- if (depth >= maxDepth && maxDepth > 0 && typeof obj === 'object') {
1535
- return isArray(obj) ? '[Array]' : '[Object]';
1536
- }
1537
-
1538
- var indent = getIndent(opts, depth);
1539
-
1540
- if (typeof seen === 'undefined') {
1541
- seen = [];
1542
- } else if (indexOf(seen, obj) >= 0) {
1543
- return '[Circular]';
1544
- }
1545
-
1546
- function inspect(value, from, noIndent) {
1547
- if (from) {
1548
- seen = $arrSlice.call(seen);
1549
- seen.push(from);
1550
- }
1551
- if (noIndent) {
1552
- var newOpts = {
1553
- depth: opts.depth
1554
- };
1555
- if (has(opts, 'quoteStyle')) {
1556
- newOpts.quoteStyle = opts.quoteStyle;
1557
- }
1558
- return inspect_(value, newOpts, depth + 1, seen);
1559
- }
1560
- return inspect_(value, opts, depth + 1, seen);
1561
- }
1562
-
1563
- if (typeof obj === 'function') {
1564
- var name = nameOf(obj);
1565
- var keys = arrObjKeys(obj, inspect);
1566
- return '[Function' + (name ? ': ' + name : ' (anonymous)') + ']' + (keys.length > 0 ? ' { ' + $join.call(keys, ', ') + ' }' : '');
1567
- }
1568
- if (isSymbol(obj)) {
1569
- var symString = hasShammedSymbols ? $replace.call(String(obj), /^(Symbol\(.*\))_[^)]*$/, '$1') : symToString.call(obj);
1570
- return typeof obj === 'object' && !hasShammedSymbols ? markBoxed(symString) : symString;
1571
- }
1572
- if (isElement(obj)) {
1573
- var s = '<' + $toLowerCase.call(String(obj.nodeName));
1574
- var attrs = obj.attributes || [];
1575
- for (var i = 0; i < attrs.length; i++) {
1576
- s += ' ' + attrs[i].name + '=' + wrapQuotes(quote(attrs[i].value), 'double', opts);
1577
- }
1578
- s += '>';
1579
- if (obj.childNodes && obj.childNodes.length) { s += '...'; }
1580
- s += '</' + $toLowerCase.call(String(obj.nodeName)) + '>';
1581
- return s;
1582
- }
1583
- if (isArray(obj)) {
1584
- if (obj.length === 0) { return '[]'; }
1585
- var xs = arrObjKeys(obj, inspect);
1586
- if (indent && !singleLineValues(xs)) {
1587
- return '[' + indentedJoin(xs, indent) + ']';
1588
- }
1589
- return '[ ' + $join.call(xs, ', ') + ' ]';
1590
- }
1591
- if (isError(obj)) {
1592
- var parts = arrObjKeys(obj, inspect);
1593
- if ('cause' in obj && !isEnumerable.call(obj, 'cause')) {
1594
- return '{ [' + String(obj) + '] ' + $join.call($concat.call('[cause]: ' + inspect(obj.cause), parts), ', ') + ' }';
1595
- }
1596
- if (parts.length === 0) { return '[' + String(obj) + ']'; }
1597
- return '{ [' + String(obj) + '] ' + $join.call(parts, ', ') + ' }';
1598
- }
1599
- if (typeof obj === 'object' && customInspect) {
1600
- if (inspectSymbol && typeof obj[inspectSymbol] === 'function') {
1601
- return obj[inspectSymbol]();
1602
- } else if (customInspect !== 'symbol' && typeof obj.inspect === 'function') {
1603
- return obj.inspect();
1604
- }
1605
- }
1606
- if (isMap(obj)) {
1607
- var mapParts = [];
1608
- mapForEach.call(obj, function (value, key) {
1609
- mapParts.push(inspect(key, obj, true) + ' => ' + inspect(value, obj));
1610
- });
1611
- return collectionOf('Map', mapSize.call(obj), mapParts, indent);
1612
- }
1613
- if (isSet(obj)) {
1614
- var setParts = [];
1615
- setForEach.call(obj, function (value) {
1616
- setParts.push(inspect(value, obj));
1617
- });
1618
- return collectionOf('Set', setSize.call(obj), setParts, indent);
1619
- }
1620
- if (isWeakMap(obj)) {
1621
- return weakCollectionOf('WeakMap');
1622
- }
1623
- if (isWeakSet(obj)) {
1624
- return weakCollectionOf('WeakSet');
1625
- }
1626
- if (isWeakRef(obj)) {
1627
- return weakCollectionOf('WeakRef');
1628
- }
1629
- if (isNumber(obj)) {
1630
- return markBoxed(inspect(Number(obj)));
1631
- }
1632
- if (isBigInt(obj)) {
1633
- return markBoxed(inspect(bigIntValueOf.call(obj)));
1634
- }
1635
- if (isBoolean(obj)) {
1636
- return markBoxed(booleanValueOf.call(obj));
1637
- }
1638
- if (isString(obj)) {
1639
- return markBoxed(inspect(String(obj)));
1640
- }
1641
- if (!isDate(obj) && !isRegExp(obj)) {
1642
- var ys = arrObjKeys(obj, inspect);
1643
- var isPlainObject = gPO ? gPO(obj) === Object.prototype : obj instanceof Object || obj.constructor === Object;
1644
- var protoTag = obj instanceof Object ? '' : 'null prototype';
1645
- var stringTag = !isPlainObject && toStringTag && Object(obj) === obj && toStringTag in obj ? $slice.call(toStr(obj), 8, -1) : protoTag ? 'Object' : '';
1646
- var constructorTag = isPlainObject || typeof obj.constructor !== 'function' ? '' : obj.constructor.name ? obj.constructor.name + ' ' : '';
1647
- var tag = constructorTag + (stringTag || protoTag ? '[' + $join.call($concat.call([], stringTag || [], protoTag || []), ': ') + '] ' : '');
1648
- if (ys.length === 0) { return tag + '{}'; }
1649
- if (indent) {
1650
- return tag + '{' + indentedJoin(ys, indent) + '}';
1651
- }
1652
- return tag + '{ ' + $join.call(ys, ', ') + ' }';
1653
- }
1654
- return String(obj);
1655
- };
1656
-
1657
- function wrapQuotes(s, defaultStyle, opts) {
1658
- var quoteChar = (opts.quoteStyle || defaultStyle) === 'double' ? '"' : "'";
1659
- return quoteChar + s + quoteChar;
1660
- }
1661
-
1662
- function quote(s) {
1663
- return $replace.call(String(s), /"/g, '&quot;');
1664
- }
1665
-
1666
- function isArray(obj) { return toStr(obj) === '[object Array]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
1667
- function isDate(obj) { return toStr(obj) === '[object Date]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
1668
- function isRegExp(obj) { return toStr(obj) === '[object RegExp]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
1669
- function isError(obj) { return toStr(obj) === '[object Error]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
1670
- function isString(obj) { return toStr(obj) === '[object String]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
1671
- function isNumber(obj) { return toStr(obj) === '[object Number]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
1672
- function isBoolean(obj) { return toStr(obj) === '[object Boolean]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
1673
-
1674
- // Symbol and BigInt do have Symbol.toStringTag by spec, so that can't be used to eliminate false positives
1675
- function isSymbol(obj) {
1676
- if (hasShammedSymbols) {
1677
- return obj && typeof obj === 'object' && obj instanceof Symbol;
1678
- }
1679
- if (typeof obj === 'symbol') {
1680
- return true;
1681
- }
1682
- if (!obj || typeof obj !== 'object' || !symToString) {
1683
- return false;
1684
- }
1685
- try {
1686
- symToString.call(obj);
1687
- return true;
1688
- } catch (e) {}
1689
- return false;
1690
- }
1691
-
1692
- function isBigInt(obj) {
1693
- if (!obj || typeof obj !== 'object' || !bigIntValueOf) {
1694
- return false;
1695
- }
1696
- try {
1697
- bigIntValueOf.call(obj);
1698
- return true;
1699
- } catch (e) {}
1700
- return false;
1701
- }
1702
-
1703
- var hasOwn = Object.prototype.hasOwnProperty || function (key) { return key in this; };
1704
- function has(obj, key) {
1705
- return hasOwn.call(obj, key);
1706
- }
1707
-
1708
- function toStr(obj) {
1709
- return objectToString.call(obj);
1710
- }
1711
-
1712
- function nameOf(f) {
1713
- if (f.name) { return f.name; }
1714
- var m = $match.call(functionToString.call(f), /^function\s*([\w$]+)/);
1715
- if (m) { return m[1]; }
1716
- return null;
1717
- }
1718
-
1719
- function indexOf(xs, x) {
1720
- if (xs.indexOf) { return xs.indexOf(x); }
1721
- for (var i = 0, l = xs.length; i < l; i++) {
1722
- if (xs[i] === x) { return i; }
1723
- }
1724
- return -1;
1725
- }
1726
-
1727
- function isMap(x) {
1728
- if (!mapSize || !x || typeof x !== 'object') {
1729
- return false;
1730
- }
1731
- try {
1732
- mapSize.call(x);
1733
- try {
1734
- setSize.call(x);
1735
- } catch (s) {
1736
- return true;
1737
- }
1738
- return x instanceof Map; // core-js workaround, pre-v2.5.0
1739
- } catch (e) {}
1740
- return false;
1741
- }
1742
-
1743
- function isWeakMap(x) {
1744
- if (!weakMapHas || !x || typeof x !== 'object') {
1745
- return false;
1746
- }
1747
- try {
1748
- weakMapHas.call(x, weakMapHas);
1749
- try {
1750
- weakSetHas.call(x, weakSetHas);
1751
- } catch (s) {
1752
- return true;
1753
- }
1754
- return x instanceof WeakMap; // core-js workaround, pre-v2.5.0
1755
- } catch (e) {}
1756
- return false;
1757
- }
1758
-
1759
- function isWeakRef(x) {
1760
- if (!weakRefDeref || !x || typeof x !== 'object') {
1761
- return false;
1762
- }
1763
- try {
1764
- weakRefDeref.call(x);
1765
- return true;
1766
- } catch (e) {}
1767
- return false;
1768
- }
1769
-
1770
- function isSet(x) {
1771
- if (!setSize || !x || typeof x !== 'object') {
1772
- return false;
1773
- }
1774
- try {
1775
- setSize.call(x);
1776
- try {
1777
- mapSize.call(x);
1778
- } catch (m) {
1779
- return true;
1780
- }
1781
- return x instanceof Set; // core-js workaround, pre-v2.5.0
1782
- } catch (e) {}
1783
- return false;
1784
- }
1785
-
1786
- function isWeakSet(x) {
1787
- if (!weakSetHas || !x || typeof x !== 'object') {
1788
- return false;
1789
- }
1790
- try {
1791
- weakSetHas.call(x, weakSetHas);
1792
- try {
1793
- weakMapHas.call(x, weakMapHas);
1794
- } catch (s) {
1795
- return true;
1796
- }
1797
- return x instanceof WeakSet; // core-js workaround, pre-v2.5.0
1798
- } catch (e) {}
1799
- return false;
1800
- }
1801
-
1802
- function isElement(x) {
1803
- if (!x || typeof x !== 'object') { return false; }
1804
- if (typeof HTMLElement !== 'undefined' && x instanceof HTMLElement) {
1805
- return true;
1806
- }
1807
- return typeof x.nodeName === 'string' && typeof x.getAttribute === 'function';
1808
- }
1809
-
1810
- function inspectString(str, opts) {
1811
- if (str.length > opts.maxStringLength) {
1812
- var remaining = str.length - opts.maxStringLength;
1813
- var trailer = '... ' + remaining + ' more character' + (remaining > 1 ? 's' : '');
1814
- return inspectString($slice.call(str, 0, opts.maxStringLength), opts) + trailer;
1815
- }
1816
- // eslint-disable-next-line no-control-regex
1817
- var s = $replace.call($replace.call(str, /(['\\])/g, '\\$1'), /[\x00-\x1f]/g, lowbyte);
1818
- return wrapQuotes(s, 'single', opts);
1819
- }
1820
-
1821
- function lowbyte(c) {
1822
- var n = c.charCodeAt(0);
1823
- var x = {
1824
- 8: 'b',
1825
- 9: 't',
1826
- 10: 'n',
1827
- 12: 'f',
1828
- 13: 'r'
1829
- }[n];
1830
- if (x) { return '\\' + x; }
1831
- return '\\x' + (n < 0x10 ? '0' : '') + $toUpperCase.call(n.toString(16));
1832
- }
1833
-
1834
- function markBoxed(str) {
1835
- return 'Object(' + str + ')';
1836
- }
1837
-
1838
- function weakCollectionOf(type) {
1839
- return type + ' { ? }';
1840
- }
1841
-
1842
- function collectionOf(type, size, entries, indent) {
1843
- var joinedEntries = indent ? indentedJoin(entries, indent) : $join.call(entries, ', ');
1844
- return type + ' (' + size + ') {' + joinedEntries + '}';
1845
- }
1846
-
1847
- function singleLineValues(xs) {
1848
- for (var i = 0; i < xs.length; i++) {
1849
- if (indexOf(xs[i], '\n') >= 0) {
1850
- return false;
1851
- }
1852
- }
1853
- return true;
1854
- }
1855
-
1856
- function getIndent(opts, depth) {
1857
- var baseIndent;
1858
- if (opts.indent === '\t') {
1859
- baseIndent = '\t';
1860
- } else if (typeof opts.indent === 'number' && opts.indent > 0) {
1861
- baseIndent = $join.call(Array(opts.indent + 1), ' ');
1862
- } else {
1863
- return null;
1864
- }
1865
- return {
1866
- base: baseIndent,
1867
- prev: $join.call(Array(depth + 1), baseIndent)
1868
- };
1869
- }
1870
-
1871
- function indentedJoin(xs, indent) {
1872
- if (xs.length === 0) { return ''; }
1873
- var lineJoiner = '\n' + indent.prev + indent.base;
1874
- return lineJoiner + $join.call(xs, ',' + lineJoiner) + '\n' + indent.prev;
1875
- }
1876
-
1877
- function arrObjKeys(obj, inspect) {
1878
- var isArr = isArray(obj);
1879
- var xs = [];
1880
- if (isArr) {
1881
- xs.length = obj.length;
1882
- for (var i = 0; i < obj.length; i++) {
1883
- xs[i] = has(obj, i) ? inspect(obj[i], obj) : '';
1884
- }
1885
- }
1886
- var syms = typeof gOPS === 'function' ? gOPS(obj) : [];
1887
- var symMap;
1888
- if (hasShammedSymbols) {
1889
- symMap = {};
1890
- for (var k = 0; k < syms.length; k++) {
1891
- symMap['$' + syms[k]] = syms[k];
1892
- }
1893
- }
1894
-
1895
- for (var key in obj) { // eslint-disable-line no-restricted-syntax
1896
- if (!has(obj, key)) { continue; } // eslint-disable-line no-restricted-syntax, no-continue
1897
- if (isArr && String(Number(key)) === key && key < obj.length) { continue; } // eslint-disable-line no-restricted-syntax, no-continue
1898
- if (hasShammedSymbols && symMap['$' + key] instanceof Symbol) {
1899
- // this is to prevent shammed Symbols, which are stored as strings, from being included in the string key section
1900
- continue; // eslint-disable-line no-restricted-syntax, no-continue
1901
- } else if ($test.call(/[^\w$]/, key)) {
1902
- xs.push(inspect(key, obj) + ': ' + inspect(obj[key], obj));
1903
- } else {
1904
- xs.push(key + ': ' + inspect(obj[key], obj));
1905
- }
1906
- }
1907
- if (typeof gOPS === 'function') {
1908
- for (var j = 0; j < syms.length; j++) {
1909
- if (isEnumerable.call(obj, syms[j])) {
1910
- xs.push('[' + inspect(syms[j]) + ']: ' + inspect(obj[syms[j]], obj));
1911
- }
1912
- }
1913
- }
1914
- return xs;
1915
- }
1916
-
1917
- },{"./util.inspect":6}],16:[function(require,module,exports){
1918
- 'use strict';
1919
-
1920
- var GetIntrinsic = require('get-intrinsic');
1921
- var callBound = require('call-bind/callBound');
1922
- var inspect = require('object-inspect');
1923
-
1924
- var $TypeError = GetIntrinsic('%TypeError%');
1925
- var $WeakMap = GetIntrinsic('%WeakMap%', true);
1926
- var $Map = GetIntrinsic('%Map%', true);
1927
-
1928
- var $weakMapGet = callBound('WeakMap.prototype.get', true);
1929
- var $weakMapSet = callBound('WeakMap.prototype.set', true);
1930
- var $weakMapHas = callBound('WeakMap.prototype.has', true);
1931
- var $mapGet = callBound('Map.prototype.get', true);
1932
- var $mapSet = callBound('Map.prototype.set', true);
1933
- var $mapHas = callBound('Map.prototype.has', true);
1934
-
1935
- /*
1936
- * This function traverses the list returning the node corresponding to the
1937
- * given key.
1938
- *
1939
- * That node is also moved to the head of the list, so that if it's accessed
1940
- * again we don't need to traverse the whole list. By doing so, all the recently
1941
- * used nodes can be accessed relatively quickly.
1942
- */
1943
- var listGetNode = function (list, key) { // eslint-disable-line consistent-return
1944
- for (var prev = list, curr; (curr = prev.next) !== null; prev = curr) {
1945
- if (curr.key === key) {
1946
- prev.next = curr.next;
1947
- curr.next = list.next;
1948
- list.next = curr; // eslint-disable-line no-param-reassign
1949
- return curr;
1950
- }
1951
- }
1952
- };
1953
-
1954
- var listGet = function (objects, key) {
1955
- var node = listGetNode(objects, key);
1956
- return node && node.value;
1957
- };
1958
- var listSet = function (objects, key, value) {
1959
- var node = listGetNode(objects, key);
1960
- if (node) {
1961
- node.value = value;
1962
- } else {
1963
- // Prepend the new node to the beginning of the list
1964
- objects.next = { // eslint-disable-line no-param-reassign
1965
- key: key,
1966
- next: objects.next,
1967
- value: value
1968
- };
1969
- }
1970
- };
1971
- var listHas = function (objects, key) {
1972
- return !!listGetNode(objects, key);
1973
- };
1974
-
1975
- module.exports = function getSideChannel() {
1976
- var $wm;
1977
- var $m;
1978
- var $o;
1979
- var channel = {
1980
- assert: function (key) {
1981
- if (!channel.has(key)) {
1982
- throw new $TypeError('Side channel does not contain ' + inspect(key));
1983
- }
1984
- },
1985
- get: function (key) { // eslint-disable-line consistent-return
1986
- if ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {
1987
- if ($wm) {
1988
- return $weakMapGet($wm, key);
1989
- }
1990
- } else if ($Map) {
1991
- if ($m) {
1992
- return $mapGet($m, key);
1993
- }
1994
- } else {
1995
- if ($o) { // eslint-disable-line no-lonely-if
1996
- return listGet($o, key);
1997
- }
1998
- }
1999
- },
2000
- has: function (key) {
2001
- if ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {
2002
- if ($wm) {
2003
- return $weakMapHas($wm, key);
2004
- }
2005
- } else if ($Map) {
2006
- if ($m) {
2007
- return $mapHas($m, key);
2008
- }
2009
- } else {
2010
- if ($o) { // eslint-disable-line no-lonely-if
2011
- return listHas($o, key);
2012
- }
2013
- }
2014
- return false;
2015
- },
2016
- set: function (key, value) {
2017
- if ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {
2018
- if (!$wm) {
2019
- $wm = new $WeakMap();
2020
- }
2021
- $weakMapSet($wm, key, value);
2022
- } else if ($Map) {
2023
- if (!$m) {
2024
- $m = new $Map();
2025
- }
2026
- $mapSet($m, key, value);
2027
- } else {
2028
- if (!$o) {
2029
- /*
2030
- * Initialize the linked list as an empty node, so that we don't have
2031
- * to special-case handling of the first node: we can always refer to
2032
- * it as (previous node).next, instead of something like (list).head
2033
- */
2034
- $o = { key: {}, next: null };
2035
- }
2036
- listSet($o, key, value);
2037
- }
2038
- }
2039
- };
2040
- return channel;
2041
- };
2042
-
2043
- },{"call-bind/callBound":7,"get-intrinsic":11,"object-inspect":15}]},{},[2])(2)
2044
- });