locize 2.4.6 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (902) hide show
  1. package/.babelrc +3 -0
  2. package/.ts.eslintrc +37 -0
  3. package/CHANGELOG.md +5 -0
  4. package/README.md +10 -19
  5. package/dist/cjs/api/handleCommitKey.js +17 -0
  6. package/dist/cjs/api/handleCommitKeys.js +39 -0
  7. package/dist/cjs/api/handleConfirmInitialized.js +11 -0
  8. package/dist/cjs/api/handleEditKey.js +60 -0
  9. package/dist/cjs/api/handleIsLocizeEnabled.js +11 -0
  10. package/dist/cjs/api/handleRequestPopupChanges.js +21 -0
  11. package/dist/cjs/api/handleRequestResourceBundle.js +27 -0
  12. package/dist/cjs/api/handleSelectedKeys.js +27 -0
  13. package/dist/cjs/api/handleTurnOff.js +8 -0
  14. package/dist/cjs/api/handleTurnOn.js +8 -0
  15. package/dist/cjs/api/postMessage.js +161 -0
  16. package/dist/cjs/clickHandler.js +48 -0
  17. package/dist/cjs/index.d.ts +15 -0
  18. package/dist/cjs/index.js +55 -0
  19. package/dist/cjs/locizePlugin.js +110 -0
  20. package/dist/cjs/observer.js +74 -0
  21. package/dist/cjs/package.json +1 -0
  22. package/dist/cjs/parser.js +122 -0
  23. package/dist/cjs/process.js +63 -0
  24. package/dist/cjs/processLegacy.js +80 -0
  25. package/dist/cjs/shims/uniqueID.js +31 -0
  26. package/dist/cjs/startStandalone.js +24 -0
  27. package/dist/cjs/store.js +49 -0
  28. package/dist/cjs/ui/elements/icons.js +48 -0
  29. package/dist/cjs/ui/elements/popup.js +80 -0
  30. package/dist/cjs/ui/elements/ribbonBox.js +67 -0
  31. package/dist/cjs/ui/highlightNode.js +167 -0
  32. package/dist/cjs/ui/mouseDistance.js +44 -0
  33. package/dist/cjs/ui/popup.js +113 -0
  34. package/dist/cjs/ui/stylesheet.js +12 -0
  35. package/dist/cjs/ui/utils.js +39 -0
  36. package/dist/cjs/uninstrumentedStore.js +43 -0
  37. package/dist/cjs/utils.js +138 -0
  38. package/dist/cjs/vars.js +22 -0
  39. package/dist/esm/api/handleCommitKey.js +15 -0
  40. package/dist/esm/api/handleCommitKeys.js +33 -0
  41. package/dist/esm/api/handleConfirmInitialized.js +9 -0
  42. package/dist/esm/api/handleEditKey.js +56 -0
  43. package/dist/esm/api/handleIsLocizeEnabled.js +9 -0
  44. package/dist/esm/api/handleRequestPopupChanges.js +19 -0
  45. package/dist/esm/api/handleRequestResourceBundle.js +20 -0
  46. package/dist/esm/api/handleSelectedKeys.js +25 -0
  47. package/dist/esm/api/handleTurnOff.js +6 -0
  48. package/dist/esm/api/handleTurnOn.js +6 -0
  49. package/dist/esm/api/postMessage.js +148 -0
  50. package/dist/esm/clickHandler.js +44 -0
  51. package/dist/esm/index.d.mts +1 -0
  52. package/dist/esm/index.d.ts +15 -0
  53. package/dist/esm/index.js +33 -0
  54. package/dist/esm/locizePlugin.js +99 -0
  55. package/dist/esm/observer.js +70 -0
  56. package/dist/esm/parser.js +113 -0
  57. package/dist/esm/process.js +55 -0
  58. package/dist/esm/processLegacy.js +72 -0
  59. package/dist/esm/shims/uniqueID.js +29 -0
  60. package/dist/esm/startStandalone.js +20 -0
  61. package/dist/esm/store.js +41 -0
  62. package/dist/esm/ui/elements/icons.js +39 -0
  63. package/dist/esm/ui/elements/popup.js +76 -0
  64. package/dist/esm/ui/elements/ribbonBox.js +62 -0
  65. package/dist/esm/ui/highlightNode.js +156 -0
  66. package/dist/esm/ui/mouseDistance.js +39 -0
  67. package/dist/esm/ui/popup.js +108 -0
  68. package/dist/esm/ui/stylesheet.js +8 -0
  69. package/dist/esm/ui/utils.js +34 -0
  70. package/dist/esm/uninstrumentedStore.js +35 -0
  71. package/dist/esm/utils.js +123 -0
  72. package/dist/esm/vars.js +16 -0
  73. package/dist/umd/locize.js +2790 -286
  74. package/dist/umd/locize.min.js +1 -1
  75. package/index.d.mts +1 -0
  76. package/index.d.ts +5 -6
  77. package/locize.js +2790 -286
  78. package/locize.min.js +1 -1
  79. package/package.json +64 -31
  80. package/rollup.config.js +62 -29
  81. package/src/api/handleCommitKey.js +17 -0
  82. package/src/api/handleCommitKeys.js +39 -0
  83. package/src/api/handleConfirmInitialized.js +10 -0
  84. package/src/api/handleEditKey.js +81 -0
  85. package/src/api/handleIsLocizeEnabled.js +13 -0
  86. package/src/api/handleRequestPopupChanges.js +25 -0
  87. package/src/api/handleRequestResourceBundle.js +11 -0
  88. package/src/api/handleSelectedKeys.js +32 -0
  89. package/src/api/handleTurnOff.js +8 -0
  90. package/src/api/handleTurnOn.js +8 -0
  91. package/src/api/index.js +19 -0
  92. package/src/api/postMessage.js +169 -0
  93. package/src/clickHandler.js +48 -0
  94. package/src/index.js +30 -0
  95. package/src/locizePlugin.js +117 -0
  96. package/src/observer.js +93 -0
  97. package/src/parser.js +162 -0
  98. package/src/process.js +55 -0
  99. package/src/processLegacy.js +69 -0
  100. package/src/shims/uniqueID.js +49 -0
  101. package/src/startStandalone.js +19 -0
  102. package/src/store.js +47 -0
  103. package/src/ui/elements/icons.js +92 -0
  104. package/src/ui/elements/popup.js +226 -0
  105. package/src/ui/elements/ribbonBox.js +76 -0
  106. package/src/ui/highlightNode.js +203 -0
  107. package/src/ui/mouseDistance.js +46 -0
  108. package/src/ui/popup.js +135 -0
  109. package/src/ui/stylesheet.js +8 -0
  110. package/src/ui/utils.js +37 -0
  111. package/src/uninstrumentedStore.js +39 -0
  112. package/src/utils.js +158 -0
  113. package/src/vars.js +18 -0
  114. package/tsconfig.json +4 -4
  115. package/.eslintrc.js +0 -20
  116. package/debuggingApp/README.md +0 -11
  117. package/debuggingApp/debugEditor.html +0 -28
  118. package/debuggingApp/index.html +0 -151
  119. package/debuggingApp/node_modules/.package-lock.json +0 -668
  120. package/debuggingApp/node_modules/@babel/runtime/LICENSE +0 -22
  121. package/debuggingApp/node_modules/@babel/runtime/README.md +0 -19
  122. package/debuggingApp/node_modules/@babel/runtime/helpers/AsyncGenerator.js +0 -98
  123. package/debuggingApp/node_modules/@babel/runtime/helpers/AwaitValue.js +0 -5
  124. package/debuggingApp/node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js +0 -30
  125. package/debuggingApp/node_modules/@babel/runtime/helpers/applyDecs.js +0 -284
  126. package/debuggingApp/node_modules/@babel/runtime/helpers/arrayLikeToArray.js +0 -11
  127. package/debuggingApp/node_modules/@babel/runtime/helpers/arrayWithHoles.js +0 -5
  128. package/debuggingApp/node_modules/@babel/runtime/helpers/arrayWithoutHoles.js +0 -7
  129. package/debuggingApp/node_modules/@babel/runtime/helpers/assertThisInitialized.js +0 -9
  130. package/debuggingApp/node_modules/@babel/runtime/helpers/asyncGeneratorDelegate.js +0 -56
  131. package/debuggingApp/node_modules/@babel/runtime/helpers/asyncIterator.js +0 -50
  132. package/debuggingApp/node_modules/@babel/runtime/helpers/asyncToGenerator.js +0 -37
  133. package/debuggingApp/node_modules/@babel/runtime/helpers/awaitAsyncGenerator.js +0 -7
  134. package/debuggingApp/node_modules/@babel/runtime/helpers/checkPrivateRedeclaration.js +0 -7
  135. package/debuggingApp/node_modules/@babel/runtime/helpers/classApplyDescriptorDestructureSet.js +0 -22
  136. package/debuggingApp/node_modules/@babel/runtime/helpers/classApplyDescriptorGet.js +0 -9
  137. package/debuggingApp/node_modules/@babel/runtime/helpers/classApplyDescriptorSet.js +0 -13
  138. package/debuggingApp/node_modules/@babel/runtime/helpers/classCallCheck.js +0 -7
  139. package/debuggingApp/node_modules/@babel/runtime/helpers/classCheckPrivateStaticAccess.js +0 -7
  140. package/debuggingApp/node_modules/@babel/runtime/helpers/classCheckPrivateStaticFieldDescriptor.js +0 -7
  141. package/debuggingApp/node_modules/@babel/runtime/helpers/classExtractFieldDescriptor.js +0 -9
  142. package/debuggingApp/node_modules/@babel/runtime/helpers/classNameTDZError.js +0 -5
  143. package/debuggingApp/node_modules/@babel/runtime/helpers/classPrivateFieldDestructureSet.js +0 -10
  144. package/debuggingApp/node_modules/@babel/runtime/helpers/classPrivateFieldGet.js +0 -10
  145. package/debuggingApp/node_modules/@babel/runtime/helpers/classPrivateFieldInitSpec.js +0 -8
  146. package/debuggingApp/node_modules/@babel/runtime/helpers/classPrivateFieldLooseBase.js +0 -9
  147. package/debuggingApp/node_modules/@babel/runtime/helpers/classPrivateFieldLooseKey.js +0 -7
  148. package/debuggingApp/node_modules/@babel/runtime/helpers/classPrivateFieldSet.js +0 -11
  149. package/debuggingApp/node_modules/@babel/runtime/helpers/classPrivateMethodGet.js +0 -9
  150. package/debuggingApp/node_modules/@babel/runtime/helpers/classPrivateMethodInitSpec.js +0 -8
  151. package/debuggingApp/node_modules/@babel/runtime/helpers/classPrivateMethodSet.js +0 -5
  152. package/debuggingApp/node_modules/@babel/runtime/helpers/classStaticPrivateFieldDestructureSet.js +0 -13
  153. package/debuggingApp/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecGet.js +0 -13
  154. package/debuggingApp/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecSet.js +0 -14
  155. package/debuggingApp/node_modules/@babel/runtime/helpers/classStaticPrivateMethodGet.js +0 -8
  156. package/debuggingApp/node_modules/@babel/runtime/helpers/classStaticPrivateMethodSet.js +0 -5
  157. package/debuggingApp/node_modules/@babel/runtime/helpers/construct.js +0 -22
  158. package/debuggingApp/node_modules/@babel/runtime/helpers/createClass.js +0 -20
  159. package/debuggingApp/node_modules/@babel/runtime/helpers/createForOfIteratorHelper.js +0 -60
  160. package/debuggingApp/node_modules/@babel/runtime/helpers/createForOfIteratorHelperLoose.js +0 -24
  161. package/debuggingApp/node_modules/@babel/runtime/helpers/createSuper.js +0 -24
  162. package/debuggingApp/node_modules/@babel/runtime/helpers/decorate.js +0 -400
  163. package/debuggingApp/node_modules/@babel/runtime/helpers/defaults.js +0 -16
  164. package/debuggingApp/node_modules/@babel/runtime/helpers/defineEnumerableProperties.js +0 -24
  165. package/debuggingApp/node_modules/@babel/runtime/helpers/defineProperty.js +0 -16
  166. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/AsyncGenerator.js +0 -95
  167. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/AwaitValue.js +0 -3
  168. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/applyDecoratedDescriptor.js +0 -28
  169. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/applyDecs.js +0 -282
  170. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +0 -9
  171. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +0 -3
  172. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +0 -4
  173. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +0 -7
  174. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/asyncGeneratorDelegate.js +0 -54
  175. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/asyncIterator.js +0 -48
  176. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js +0 -35
  177. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/awaitAsyncGenerator.js +0 -4
  178. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/checkPrivateRedeclaration.js +0 -5
  179. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorDestructureSet.js +0 -20
  180. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorGet.js +0 -7
  181. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorSet.js +0 -11
  182. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +0 -5
  183. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticAccess.js +0 -5
  184. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticFieldDescriptor.js +0 -5
  185. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classExtractFieldDescriptor.js +0 -7
  186. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classNameTDZError.js +0 -3
  187. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classPrivateFieldDestructureSet.js +0 -6
  188. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet.js +0 -6
  189. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classPrivateFieldInitSpec.js +0 -5
  190. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseBase.js +0 -7
  191. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseKey.js +0 -4
  192. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet.js +0 -7
  193. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classPrivateMethodGet.js +0 -7
  194. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classPrivateMethodInitSpec.js +0 -5
  195. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classPrivateMethodSet.js +0 -3
  196. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldDestructureSet.js +0 -8
  197. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecGet.js +0 -8
  198. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecSet.js +0 -9
  199. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodGet.js +0 -5
  200. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodSet.js +0 -3
  201. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/construct.js +0 -18
  202. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/createClass.js +0 -18
  203. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js +0 -57
  204. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelperLoose.js +0 -21
  205. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/createSuper.js +0 -19
  206. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/decorate.js +0 -396
  207. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/defaults.js +0 -14
  208. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/defineEnumerableProperties.js +0 -22
  209. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/defineProperty.js +0 -14
  210. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/extends.js +0 -16
  211. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/get.js +0 -20
  212. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +0 -6
  213. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/identity.js +0 -3
  214. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/inherits.js +0 -18
  215. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js +0 -6
  216. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/initializerDefineProperty.js +0 -9
  217. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/initializerWarningHelper.js +0 -3
  218. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/instanceof.js +0 -7
  219. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/interopRequireDefault.js +0 -5
  220. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/interopRequireWildcard.js +0 -51
  221. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/isNativeFunction.js +0 -3
  222. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +0 -12
  223. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/iterableToArray.js +0 -3
  224. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +0 -29
  225. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimitLoose.js +0 -14
  226. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/jsx.js +0 -26
  227. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/maybeArrayLike.js +0 -9
  228. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/newArrowCheck.js +0 -5
  229. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +0 -3
  230. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +0 -3
  231. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/objectDestructuringEmpty.js +0 -3
  232. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/objectSpread.js +0 -19
  233. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +0 -27
  234. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +0 -19
  235. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +0 -14
  236. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/package.json +0 -3
  237. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +0 -11
  238. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/readOnlyError.js +0 -3
  239. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js +0 -352
  240. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/set.js +0 -51
  241. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +0 -7
  242. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/skipFirstGeneratorNext.js +0 -7
  243. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +0 -7
  244. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/slicedToArrayLoose.js +0 -7
  245. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/superPropBase.js +0 -9
  246. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js +0 -11
  247. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteralLoose.js +0 -8
  248. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/tdz.js +0 -3
  249. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/temporalRef.js +0 -5
  250. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/temporalUndefined.js +0 -1
  251. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/toArray.js +0 -7
  252. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +0 -7
  253. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +0 -13
  254. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +0 -6
  255. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/typeof.js +0 -9
  256. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +0 -9
  257. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/wrapAsyncGenerator.js +0 -6
  258. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/wrapNativeSuper.js +0 -37
  259. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/wrapRegExp.js +0 -50
  260. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/writeOnlyError.js +0 -3
  261. package/debuggingApp/node_modules/@babel/runtime/helpers/extends.js +0 -18
  262. package/debuggingApp/node_modules/@babel/runtime/helpers/get.js +0 -23
  263. package/debuggingApp/node_modules/@babel/runtime/helpers/getPrototypeOf.js +0 -8
  264. package/debuggingApp/node_modules/@babel/runtime/helpers/identity.js +0 -5
  265. package/debuggingApp/node_modules/@babel/runtime/helpers/inherits.js +0 -21
  266. package/debuggingApp/node_modules/@babel/runtime/helpers/inheritsLoose.js +0 -9
  267. package/debuggingApp/node_modules/@babel/runtime/helpers/initializerDefineProperty.js +0 -11
  268. package/debuggingApp/node_modules/@babel/runtime/helpers/initializerWarningHelper.js +0 -5
  269. package/debuggingApp/node_modules/@babel/runtime/helpers/instanceof.js +0 -9
  270. package/debuggingApp/node_modules/@babel/runtime/helpers/interopRequireDefault.js +0 -7
  271. package/debuggingApp/node_modules/@babel/runtime/helpers/interopRequireWildcard.js +0 -53
  272. package/debuggingApp/node_modules/@babel/runtime/helpers/isNativeFunction.js +0 -5
  273. package/debuggingApp/node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js +0 -14
  274. package/debuggingApp/node_modules/@babel/runtime/helpers/iterableToArray.js +0 -5
  275. package/debuggingApp/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js +0 -31
  276. package/debuggingApp/node_modules/@babel/runtime/helpers/iterableToArrayLimitLoose.js +0 -16
  277. package/debuggingApp/node_modules/@babel/runtime/helpers/jsx.js +0 -29
  278. package/debuggingApp/node_modules/@babel/runtime/helpers/maybeArrayLike.js +0 -12
  279. package/debuggingApp/node_modules/@babel/runtime/helpers/newArrowCheck.js +0 -7
  280. package/debuggingApp/node_modules/@babel/runtime/helpers/nonIterableRest.js +0 -5
  281. package/debuggingApp/node_modules/@babel/runtime/helpers/nonIterableSpread.js +0 -5
  282. package/debuggingApp/node_modules/@babel/runtime/helpers/objectDestructuringEmpty.js +0 -5
  283. package/debuggingApp/node_modules/@babel/runtime/helpers/objectSpread.js +0 -22
  284. package/debuggingApp/node_modules/@babel/runtime/helpers/objectSpread2.js +0 -29
  285. package/debuggingApp/node_modules/@babel/runtime/helpers/objectWithoutProperties.js +0 -22
  286. package/debuggingApp/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js +0 -16
  287. package/debuggingApp/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js +0 -15
  288. package/debuggingApp/node_modules/@babel/runtime/helpers/readOnlyError.js +0 -5
  289. package/debuggingApp/node_modules/@babel/runtime/helpers/regeneratorRuntime.js +0 -354
  290. package/debuggingApp/node_modules/@babel/runtime/helpers/set.js +0 -54
  291. package/debuggingApp/node_modules/@babel/runtime/helpers/setPrototypeOf.js +0 -9
  292. package/debuggingApp/node_modules/@babel/runtime/helpers/skipFirstGeneratorNext.js +0 -9
  293. package/debuggingApp/node_modules/@babel/runtime/helpers/slicedToArray.js +0 -13
  294. package/debuggingApp/node_modules/@babel/runtime/helpers/slicedToArrayLoose.js +0 -13
  295. package/debuggingApp/node_modules/@babel/runtime/helpers/superPropBase.js +0 -12
  296. package/debuggingApp/node_modules/@babel/runtime/helpers/taggedTemplateLiteral.js +0 -13
  297. package/debuggingApp/node_modules/@babel/runtime/helpers/taggedTemplateLiteralLoose.js +0 -10
  298. package/debuggingApp/node_modules/@babel/runtime/helpers/tdz.js +0 -5
  299. package/debuggingApp/node_modules/@babel/runtime/helpers/temporalRef.js +0 -9
  300. package/debuggingApp/node_modules/@babel/runtime/helpers/temporalUndefined.js +0 -3
  301. package/debuggingApp/node_modules/@babel/runtime/helpers/toArray.js +0 -13
  302. package/debuggingApp/node_modules/@babel/runtime/helpers/toConsumableArray.js +0 -13
  303. package/debuggingApp/node_modules/@babel/runtime/helpers/toPrimitive.js +0 -16
  304. package/debuggingApp/node_modules/@babel/runtime/helpers/toPropertyKey.js +0 -10
  305. package/debuggingApp/node_modules/@babel/runtime/helpers/typeof.js +0 -11
  306. package/debuggingApp/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js +0 -12
  307. package/debuggingApp/node_modules/@babel/runtime/helpers/wrapAsyncGenerator.js +0 -9
  308. package/debuggingApp/node_modules/@babel/runtime/helpers/wrapNativeSuper.js +0 -42
  309. package/debuggingApp/node_modules/@babel/runtime/helpers/wrapRegExp.js +0 -55
  310. package/debuggingApp/node_modules/@babel/runtime/helpers/writeOnlyError.js +0 -5
  311. package/debuggingApp/node_modules/@babel/runtime/package.json +0 -876
  312. package/debuggingApp/node_modules/@babel/runtime/regenerator/index.js +0 -15
  313. package/debuggingApp/node_modules/accepts/HISTORY.md +0 -243
  314. package/debuggingApp/node_modules/accepts/LICENSE +0 -23
  315. package/debuggingApp/node_modules/accepts/README.md +0 -140
  316. package/debuggingApp/node_modules/accepts/index.js +0 -238
  317. package/debuggingApp/node_modules/accepts/package.json +0 -47
  318. package/debuggingApp/node_modules/array-flatten/LICENSE +0 -21
  319. package/debuggingApp/node_modules/array-flatten/README.md +0 -43
  320. package/debuggingApp/node_modules/array-flatten/array-flatten.js +0 -64
  321. package/debuggingApp/node_modules/array-flatten/package.json +0 -39
  322. package/debuggingApp/node_modules/body-parser/HISTORY.md +0 -651
  323. package/debuggingApp/node_modules/body-parser/LICENSE +0 -23
  324. package/debuggingApp/node_modules/body-parser/README.md +0 -464
  325. package/debuggingApp/node_modules/body-parser/SECURITY.md +0 -25
  326. package/debuggingApp/node_modules/body-parser/index.js +0 -157
  327. package/debuggingApp/node_modules/body-parser/lib/read.js +0 -205
  328. package/debuggingApp/node_modules/body-parser/lib/types/json.js +0 -236
  329. package/debuggingApp/node_modules/body-parser/lib/types/raw.js +0 -101
  330. package/debuggingApp/node_modules/body-parser/lib/types/text.js +0 -121
  331. package/debuggingApp/node_modules/body-parser/lib/types/urlencoded.js +0 -284
  332. package/debuggingApp/node_modules/body-parser/package.json +0 -56
  333. package/debuggingApp/node_modules/bytes/History.md +0 -97
  334. package/debuggingApp/node_modules/bytes/LICENSE +0 -23
  335. package/debuggingApp/node_modules/bytes/Readme.md +0 -152
  336. package/debuggingApp/node_modules/bytes/index.js +0 -170
  337. package/debuggingApp/node_modules/bytes/package.json +0 -42
  338. package/debuggingApp/node_modules/call-bind/.github/FUNDING.yml +0 -12
  339. package/debuggingApp/node_modules/call-bind/.nycrc +0 -13
  340. package/debuggingApp/node_modules/call-bind/CHANGELOG.md +0 -42
  341. package/debuggingApp/node_modules/call-bind/LICENSE +0 -21
  342. package/debuggingApp/node_modules/call-bind/README.md +0 -2
  343. package/debuggingApp/node_modules/call-bind/callBound.js +0 -15
  344. package/debuggingApp/node_modules/call-bind/index.js +0 -47
  345. package/debuggingApp/node_modules/call-bind/package.json +0 -80
  346. package/debuggingApp/node_modules/call-bind/test/callBound.js +0 -55
  347. package/debuggingApp/node_modules/call-bind/test/index.js +0 -66
  348. package/debuggingApp/node_modules/content-disposition/HISTORY.md +0 -60
  349. package/debuggingApp/node_modules/content-disposition/LICENSE +0 -22
  350. package/debuggingApp/node_modules/content-disposition/README.md +0 -142
  351. package/debuggingApp/node_modules/content-disposition/index.js +0 -458
  352. package/debuggingApp/node_modules/content-disposition/package.json +0 -44
  353. package/debuggingApp/node_modules/content-type/HISTORY.md +0 -24
  354. package/debuggingApp/node_modules/content-type/LICENSE +0 -22
  355. package/debuggingApp/node_modules/content-type/README.md +0 -92
  356. package/debuggingApp/node_modules/content-type/index.js +0 -222
  357. package/debuggingApp/node_modules/content-type/package.json +0 -40
  358. package/debuggingApp/node_modules/cookie/HISTORY.md +0 -142
  359. package/debuggingApp/node_modules/cookie/LICENSE +0 -24
  360. package/debuggingApp/node_modules/cookie/README.md +0 -302
  361. package/debuggingApp/node_modules/cookie/SECURITY.md +0 -25
  362. package/debuggingApp/node_modules/cookie/index.js +0 -270
  363. package/debuggingApp/node_modules/cookie/package.json +0 -44
  364. package/debuggingApp/node_modules/cookie-signature/History.md +0 -38
  365. package/debuggingApp/node_modules/cookie-signature/Readme.md +0 -42
  366. package/debuggingApp/node_modules/cookie-signature/index.js +0 -51
  367. package/debuggingApp/node_modules/cookie-signature/package.json +0 -18
  368. package/debuggingApp/node_modules/cookies/History.md +0 -62
  369. package/debuggingApp/node_modules/cookies/LICENSE.txt +0 -22
  370. package/debuggingApp/node_modules/cookies/README.md +0 -121
  371. package/debuggingApp/node_modules/cookies/lib/cookies.js +0 -181
  372. package/debuggingApp/node_modules/cookies/package.json +0 -24
  373. package/debuggingApp/node_modules/debug/.coveralls.yml +0 -1
  374. package/debuggingApp/node_modules/debug/.travis.yml +0 -14
  375. package/debuggingApp/node_modules/debug/CHANGELOG.md +0 -362
  376. package/debuggingApp/node_modules/debug/LICENSE +0 -19
  377. package/debuggingApp/node_modules/debug/Makefile +0 -50
  378. package/debuggingApp/node_modules/debug/README.md +0 -312
  379. package/debuggingApp/node_modules/debug/component.json +0 -19
  380. package/debuggingApp/node_modules/debug/node.js +0 -1
  381. package/debuggingApp/node_modules/debug/package.json +0 -49
  382. package/debuggingApp/node_modules/debug/src/browser.js +0 -185
  383. package/debuggingApp/node_modules/debug/src/debug.js +0 -202
  384. package/debuggingApp/node_modules/debug/src/index.js +0 -10
  385. package/debuggingApp/node_modules/debug/src/inspector-log.js +0 -15
  386. package/debuggingApp/node_modules/debug/src/node.js +0 -248
  387. package/debuggingApp/node_modules/depd/History.md +0 -103
  388. package/debuggingApp/node_modules/depd/LICENSE +0 -22
  389. package/debuggingApp/node_modules/depd/Readme.md +0 -280
  390. package/debuggingApp/node_modules/depd/index.js +0 -538
  391. package/debuggingApp/node_modules/depd/lib/browser/index.js +0 -77
  392. package/debuggingApp/node_modules/depd/package.json +0 -45
  393. package/debuggingApp/node_modules/destroy/LICENSE +0 -23
  394. package/debuggingApp/node_modules/destroy/README.md +0 -63
  395. package/debuggingApp/node_modules/destroy/index.js +0 -209
  396. package/debuggingApp/node_modules/destroy/package.json +0 -48
  397. package/debuggingApp/node_modules/ee-first/LICENSE +0 -22
  398. package/debuggingApp/node_modules/ee-first/README.md +0 -80
  399. package/debuggingApp/node_modules/ee-first/index.js +0 -95
  400. package/debuggingApp/node_modules/ee-first/package.json +0 -29
  401. package/debuggingApp/node_modules/encodeurl/HISTORY.md +0 -14
  402. package/debuggingApp/node_modules/encodeurl/LICENSE +0 -22
  403. package/debuggingApp/node_modules/encodeurl/README.md +0 -128
  404. package/debuggingApp/node_modules/encodeurl/index.js +0 -60
  405. package/debuggingApp/node_modules/encodeurl/package.json +0 -40
  406. package/debuggingApp/node_modules/escape-html/LICENSE +0 -24
  407. package/debuggingApp/node_modules/escape-html/Readme.md +0 -43
  408. package/debuggingApp/node_modules/escape-html/index.js +0 -78
  409. package/debuggingApp/node_modules/escape-html/package.json +0 -24
  410. package/debuggingApp/node_modules/etag/HISTORY.md +0 -83
  411. package/debuggingApp/node_modules/etag/LICENSE +0 -22
  412. package/debuggingApp/node_modules/etag/README.md +0 -159
  413. package/debuggingApp/node_modules/etag/index.js +0 -131
  414. package/debuggingApp/node_modules/etag/package.json +0 -47
  415. package/debuggingApp/node_modules/express/History.md +0 -3579
  416. package/debuggingApp/node_modules/express/LICENSE +0 -24
  417. package/debuggingApp/node_modules/express/Readme.md +0 -166
  418. package/debuggingApp/node_modules/express/index.js +0 -11
  419. package/debuggingApp/node_modules/express/lib/application.js +0 -661
  420. package/debuggingApp/node_modules/express/lib/express.js +0 -116
  421. package/debuggingApp/node_modules/express/lib/middleware/init.js +0 -43
  422. package/debuggingApp/node_modules/express/lib/middleware/query.js +0 -47
  423. package/debuggingApp/node_modules/express/lib/request.js +0 -525
  424. package/debuggingApp/node_modules/express/lib/response.js +0 -1169
  425. package/debuggingApp/node_modules/express/lib/router/index.js +0 -673
  426. package/debuggingApp/node_modules/express/lib/router/layer.js +0 -181
  427. package/debuggingApp/node_modules/express/lib/router/route.js +0 -225
  428. package/debuggingApp/node_modules/express/lib/utils.js +0 -304
  429. package/debuggingApp/node_modules/express/lib/view.js +0 -182
  430. package/debuggingApp/node_modules/express/package.json +0 -99
  431. package/debuggingApp/node_modules/finalhandler/HISTORY.md +0 -195
  432. package/debuggingApp/node_modules/finalhandler/LICENSE +0 -22
  433. package/debuggingApp/node_modules/finalhandler/README.md +0 -147
  434. package/debuggingApp/node_modules/finalhandler/SECURITY.md +0 -25
  435. package/debuggingApp/node_modules/finalhandler/index.js +0 -336
  436. package/debuggingApp/node_modules/finalhandler/package.json +0 -46
  437. package/debuggingApp/node_modules/forwarded/HISTORY.md +0 -21
  438. package/debuggingApp/node_modules/forwarded/LICENSE +0 -22
  439. package/debuggingApp/node_modules/forwarded/README.md +0 -57
  440. package/debuggingApp/node_modules/forwarded/index.js +0 -90
  441. package/debuggingApp/node_modules/forwarded/package.json +0 -45
  442. package/debuggingApp/node_modules/fresh/HISTORY.md +0 -70
  443. package/debuggingApp/node_modules/fresh/LICENSE +0 -23
  444. package/debuggingApp/node_modules/fresh/README.md +0 -119
  445. package/debuggingApp/node_modules/fresh/index.js +0 -137
  446. package/debuggingApp/node_modules/fresh/package.json +0 -46
  447. package/debuggingApp/node_modules/function-bind/.jscs.json +0 -176
  448. package/debuggingApp/node_modules/function-bind/.travis.yml +0 -168
  449. package/debuggingApp/node_modules/function-bind/LICENSE +0 -20
  450. package/debuggingApp/node_modules/function-bind/README.md +0 -48
  451. package/debuggingApp/node_modules/function-bind/implementation.js +0 -52
  452. package/debuggingApp/node_modules/function-bind/index.js +0 -5
  453. package/debuggingApp/node_modules/function-bind/package.json +0 -63
  454. package/debuggingApp/node_modules/function-bind/test/index.js +0 -252
  455. package/debuggingApp/node_modules/get-intrinsic/.github/FUNDING.yml +0 -12
  456. package/debuggingApp/node_modules/get-intrinsic/.nycrc +0 -9
  457. package/debuggingApp/node_modules/get-intrinsic/CHANGELOG.md +0 -91
  458. package/debuggingApp/node_modules/get-intrinsic/LICENSE +0 -21
  459. package/debuggingApp/node_modules/get-intrinsic/README.md +0 -71
  460. package/debuggingApp/node_modules/get-intrinsic/index.js +0 -334
  461. package/debuggingApp/node_modules/get-intrinsic/package.json +0 -88
  462. package/debuggingApp/node_modules/get-intrinsic/test/GetIntrinsic.js +0 -274
  463. package/debuggingApp/node_modules/has/LICENSE-MIT +0 -22
  464. package/debuggingApp/node_modules/has/README.md +0 -18
  465. package/debuggingApp/node_modules/has/package.json +0 -48
  466. package/debuggingApp/node_modules/has/src/index.js +0 -5
  467. package/debuggingApp/node_modules/has/test/index.js +0 -10
  468. package/debuggingApp/node_modules/has-symbols/.github/FUNDING.yml +0 -12
  469. package/debuggingApp/node_modules/has-symbols/.nycrc +0 -9
  470. package/debuggingApp/node_modules/has-symbols/CHANGELOG.md +0 -75
  471. package/debuggingApp/node_modules/has-symbols/LICENSE +0 -21
  472. package/debuggingApp/node_modules/has-symbols/README.md +0 -46
  473. package/debuggingApp/node_modules/has-symbols/index.js +0 -13
  474. package/debuggingApp/node_modules/has-symbols/package.json +0 -101
  475. package/debuggingApp/node_modules/has-symbols/shams.js +0 -42
  476. package/debuggingApp/node_modules/has-symbols/test/index.js +0 -22
  477. package/debuggingApp/node_modules/has-symbols/test/shams/core-js.js +0 -28
  478. package/debuggingApp/node_modules/has-symbols/test/shams/get-own-property-symbols.js +0 -28
  479. package/debuggingApp/node_modules/has-symbols/test/tests.js +0 -56
  480. package/debuggingApp/node_modules/http-errors/HISTORY.md +0 -180
  481. package/debuggingApp/node_modules/http-errors/LICENSE +0 -23
  482. package/debuggingApp/node_modules/http-errors/README.md +0 -169
  483. package/debuggingApp/node_modules/http-errors/index.js +0 -289
  484. package/debuggingApp/node_modules/http-errors/package.json +0 -50
  485. package/debuggingApp/node_modules/i18next/CONTRIBUTING.md +0 -22
  486. package/debuggingApp/node_modules/i18next/LICENSE +0 -21
  487. package/debuggingApp/node_modules/i18next/README.md +0 -60
  488. package/debuggingApp/node_modules/i18next/dist/cjs/i18next.js +0 -2801
  489. package/debuggingApp/node_modules/i18next/dist/esm/i18next.bundled.js +0 -2954
  490. package/debuggingApp/node_modules/i18next/dist/esm/i18next.js +0 -2802
  491. package/debuggingApp/node_modules/i18next/dist/esm/package.json +0 -1
  492. package/debuggingApp/node_modules/i18next/dist/umd/i18next.js +0 -2922
  493. package/debuggingApp/node_modules/i18next/dist/umd/i18next.min.js +0 -1
  494. package/debuggingApp/node_modules/i18next/i18next.js +0 -2922
  495. package/debuggingApp/node_modules/i18next/i18next.min.js +0 -1
  496. package/debuggingApp/node_modules/i18next/index.d.ts +0 -1257
  497. package/debuggingApp/node_modules/i18next/index.js +0 -5
  498. package/debuggingApp/node_modules/i18next/package.json +0 -126
  499. package/debuggingApp/node_modules/i18next-express-middleware/LICENSE +0 -22
  500. package/debuggingApp/node_modules/i18next-express-middleware/README.md +0 -167
  501. package/debuggingApp/node_modules/i18next-express-middleware/lib/LanguageDetector.js +0 -138
  502. package/debuggingApp/node_modules/i18next-express-middleware/lib/index.js +0 -152
  503. package/debuggingApp/node_modules/i18next-express-middleware/lib/languageLookups/cookie.js +0 -47
  504. package/debuggingApp/node_modules/i18next-express-middleware/lib/languageLookups/header.js +0 -59
  505. package/debuggingApp/node_modules/i18next-express-middleware/lib/languageLookups/path.js +0 -27
  506. package/debuggingApp/node_modules/i18next-express-middleware/lib/languageLookups/querystring.js +0 -31
  507. package/debuggingApp/node_modules/i18next-express-middleware/lib/languageLookups/session.js +0 -27
  508. package/debuggingApp/node_modules/i18next-express-middleware/lib/utils.js +0 -70
  509. package/debuggingApp/node_modules/i18next-express-middleware/package.json +0 -43
  510. package/debuggingApp/node_modules/i18next-node-fs-backend/LICENSE +0 -22
  511. package/debuggingApp/node_modules/i18next-node-fs-backend/README.md +0 -72
  512. package/debuggingApp/node_modules/i18next-node-fs-backend/lib/index.js +0 -162
  513. package/debuggingApp/node_modules/i18next-node-fs-backend/lib/utils.js +0 -78
  514. package/debuggingApp/node_modules/i18next-node-fs-backend/package.json +0 -43
  515. package/debuggingApp/node_modules/iconv-lite/Changelog.md +0 -162
  516. package/debuggingApp/node_modules/iconv-lite/LICENSE +0 -21
  517. package/debuggingApp/node_modules/iconv-lite/README.md +0 -156
  518. package/debuggingApp/node_modules/iconv-lite/encodings/dbcs-codec.js +0 -555
  519. package/debuggingApp/node_modules/iconv-lite/encodings/dbcs-data.js +0 -176
  520. package/debuggingApp/node_modules/iconv-lite/encodings/index.js +0 -22
  521. package/debuggingApp/node_modules/iconv-lite/encodings/internal.js +0 -188
  522. package/debuggingApp/node_modules/iconv-lite/encodings/sbcs-codec.js +0 -72
  523. package/debuggingApp/node_modules/iconv-lite/encodings/sbcs-data-generated.js +0 -451
  524. package/debuggingApp/node_modules/iconv-lite/encodings/sbcs-data.js +0 -174
  525. package/debuggingApp/node_modules/iconv-lite/encodings/tables/big5-added.json +0 -122
  526. package/debuggingApp/node_modules/iconv-lite/encodings/tables/cp936.json +0 -264
  527. package/debuggingApp/node_modules/iconv-lite/encodings/tables/cp949.json +0 -273
  528. package/debuggingApp/node_modules/iconv-lite/encodings/tables/cp950.json +0 -177
  529. package/debuggingApp/node_modules/iconv-lite/encodings/tables/eucjp.json +0 -182
  530. package/debuggingApp/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +0 -1
  531. package/debuggingApp/node_modules/iconv-lite/encodings/tables/gbk-added.json +0 -55
  532. package/debuggingApp/node_modules/iconv-lite/encodings/tables/shiftjis.json +0 -125
  533. package/debuggingApp/node_modules/iconv-lite/encodings/utf16.js +0 -177
  534. package/debuggingApp/node_modules/iconv-lite/encodings/utf7.js +0 -290
  535. package/debuggingApp/node_modules/iconv-lite/lib/bom-handling.js +0 -52
  536. package/debuggingApp/node_modules/iconv-lite/lib/extend-node.js +0 -217
  537. package/debuggingApp/node_modules/iconv-lite/lib/index.d.ts +0 -24
  538. package/debuggingApp/node_modules/iconv-lite/lib/index.js +0 -153
  539. package/debuggingApp/node_modules/iconv-lite/lib/streams.js +0 -121
  540. package/debuggingApp/node_modules/iconv-lite/package.json +0 -46
  541. package/debuggingApp/node_modules/inherits/LICENSE +0 -16
  542. package/debuggingApp/node_modules/inherits/README.md +0 -42
  543. package/debuggingApp/node_modules/inherits/inherits.js +0 -9
  544. package/debuggingApp/node_modules/inherits/inherits_browser.js +0 -27
  545. package/debuggingApp/node_modules/inherits/package.json +0 -29
  546. package/debuggingApp/node_modules/ipaddr.js/LICENSE +0 -19
  547. package/debuggingApp/node_modules/ipaddr.js/README.md +0 -233
  548. package/debuggingApp/node_modules/ipaddr.js/ipaddr.min.js +0 -1
  549. package/debuggingApp/node_modules/ipaddr.js/lib/ipaddr.js +0 -673
  550. package/debuggingApp/node_modules/ipaddr.js/lib/ipaddr.js.d.ts +0 -68
  551. package/debuggingApp/node_modules/ipaddr.js/package.json +0 -35
  552. package/debuggingApp/node_modules/json5/.travis.yml +0 -5
  553. package/debuggingApp/node_modules/json5/CHANGELOG.md +0 -144
  554. package/debuggingApp/node_modules/json5/README.md +0 -271
  555. package/debuggingApp/node_modules/json5/lib/cli.js +0 -41
  556. package/debuggingApp/node_modules/json5/lib/json5.js +0 -754
  557. package/debuggingApp/node_modules/json5/lib/require.js +0 -18
  558. package/debuggingApp/node_modules/json5/package.json +0 -30
  559. package/debuggingApp/node_modules/json5/package.json5 +0 -30
  560. package/debuggingApp/node_modules/json5/test/parse-cases/arrays/empty-array.json +0 -1
  561. package/debuggingApp/node_modules/json5/test/parse-cases/arrays/leading-comma-array.js +0 -3
  562. package/debuggingApp/node_modules/json5/test/parse-cases/arrays/lone-trailing-comma-array.js +0 -3
  563. package/debuggingApp/node_modules/json5/test/parse-cases/arrays/no-comma-array.txt +0 -4
  564. package/debuggingApp/node_modules/json5/test/parse-cases/arrays/regular-array.json +0 -5
  565. package/debuggingApp/node_modules/json5/test/parse-cases/arrays/trailing-comma-array.json5 +0 -3
  566. package/debuggingApp/node_modules/json5/test/parse-cases/comments/block-comment-following-array-element.json5 +0 -6
  567. package/debuggingApp/node_modules/json5/test/parse-cases/comments/block-comment-following-top-level-value.json5 +0 -5
  568. package/debuggingApp/node_modules/json5/test/parse-cases/comments/block-comment-in-string.json +0 -1
  569. package/debuggingApp/node_modules/json5/test/parse-cases/comments/block-comment-preceding-top-level-value.json5 +0 -5
  570. package/debuggingApp/node_modules/json5/test/parse-cases/comments/block-comment-with-asterisks.json5 +0 -7
  571. package/debuggingApp/node_modules/json5/test/parse-cases/comments/inline-comment-following-array-element.json5 +0 -3
  572. package/debuggingApp/node_modules/json5/test/parse-cases/comments/inline-comment-following-top-level-value.json5 +0 -1
  573. package/debuggingApp/node_modules/json5/test/parse-cases/comments/inline-comment-in-string.json +0 -1
  574. package/debuggingApp/node_modules/json5/test/parse-cases/comments/inline-comment-preceding-top-level-value.json5 +0 -2
  575. package/debuggingApp/node_modules/json5/test/parse-cases/comments/top-level-block-comment.txt +0 -4
  576. package/debuggingApp/node_modules/json5/test/parse-cases/comments/top-level-inline-comment.txt +0 -1
  577. package/debuggingApp/node_modules/json5/test/parse-cases/comments/unterminated-block-comment.txt +0 -5
  578. package/debuggingApp/node_modules/json5/test/parse-cases/misc/empty.txt +0 -0
  579. package/debuggingApp/node_modules/json5/test/parse-cases/misc/npm-package.json +0 -106
  580. package/debuggingApp/node_modules/json5/test/parse-cases/misc/npm-package.json5 +0 -106
  581. package/debuggingApp/node_modules/json5/test/parse-cases/misc/readme-example.json5 +0 -25
  582. package/debuggingApp/node_modules/json5/test/parse-cases/misc/valid-whitespace.json5 +0 -5
  583. package/debuggingApp/node_modules/json5/test/parse-cases/new-lines/.gitattributes +0 -4
  584. package/debuggingApp/node_modules/json5/test/parse-cases/new-lines/comment-cr.json5 +0 -1
  585. package/debuggingApp/node_modules/json5/test/parse-cases/new-lines/comment-crlf.json5 +0 -3
  586. package/debuggingApp/node_modules/json5/test/parse-cases/new-lines/comment-lf.json5 +0 -3
  587. package/debuggingApp/node_modules/json5/test/parse-cases/new-lines/escaped-cr.json5 +0 -1
  588. package/debuggingApp/node_modules/json5/test/parse-cases/new-lines/escaped-crlf.json5 +0 -5
  589. package/debuggingApp/node_modules/json5/test/parse-cases/new-lines/escaped-lf.json5 +0 -5
  590. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/binary-coffeescript.txt +0 -1
  591. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/float-leading-decimal-point.json5 +0 -1
  592. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/float-leading-zero.json +0 -1
  593. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/float-trailing-decimal-point-with-integer-exponent.json5 +0 -1
  594. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/float-trailing-decimal-point.json5 +0 -1
  595. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/float-with-integer-exponent.json +0 -1
  596. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/float.json +0 -1
  597. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/hexadecimal-empty.txt +0 -1
  598. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/hexadecimal-lowercase-letter.json5 +0 -1
  599. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/hexadecimal-uppercase-x.json5 +0 -1
  600. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/hexadecimal-with-integer-exponent.json5 +0 -1
  601. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/hexadecimal.json5 +0 -1
  602. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/infinity.json5 +0 -1
  603. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/integer-with-float-exponent.txt +0 -1
  604. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/integer-with-hexadecimal-exponent.txt +0 -1
  605. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/integer-with-integer-exponent.json +0 -1
  606. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/integer-with-negative-float-exponent.txt +0 -1
  607. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/integer-with-negative-hexadecimal-exponent.txt +0 -1
  608. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/integer-with-negative-integer-exponent.json +0 -1
  609. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/integer-with-negative-zero-integer-exponent.json +0 -1
  610. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/integer-with-positive-float-exponent.txt +0 -1
  611. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/integer-with-positive-hexadecimal-exponent.txt +0 -1
  612. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/integer-with-positive-integer-exponent.json +0 -1
  613. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/integer-with-positive-zero-integer-exponent.json +0 -1
  614. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/integer-with-zero-integer-exponent.json +0 -1
  615. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/integer.json +0 -1
  616. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/lone-decimal-point.txt +0 -1
  617. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/nan.json5 +0 -1
  618. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-binary-coffeescript.txt +0 -1
  619. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-float-leading-decimal-point.json5 +0 -1
  620. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-float-leading-zero.json +0 -1
  621. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-float-trailing-decimal-point.json5 +0 -1
  622. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-float.json +0 -1
  623. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-hexadecimal.json5 +0 -1
  624. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-infinity.json5 +0 -1
  625. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-integer.json +0 -1
  626. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-noctal.js +0 -1
  627. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-octal-coffeescript.txt +0 -1
  628. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-octal.txt +0 -1
  629. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-zero-binary-coffeescript.txt +0 -1
  630. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-zero-float-leading-decimal-point.json5 +0 -1
  631. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-zero-float-trailing-decimal-point.json5 +0 -1
  632. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-zero-float.json +0 -1
  633. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-zero-hexadecimal.json5 +0 -1
  634. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-zero-integer.json +0 -1
  635. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-zero-octal-coffeescript.txt +0 -1
  636. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-zero-octal.txt +0 -1
  637. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/noctal-with-leading-octal-digit.js +0 -1
  638. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/noctal.js +0 -1
  639. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/octal-coffeescript.txt +0 -1
  640. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/octal.txt +0 -1
  641. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-binary-coffeescript.txt +0 -1
  642. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-float-leading-decimal-point.json5 +0 -1
  643. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-float-leading-zero.json5 +0 -1
  644. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-float-trailing-decimal-point.json5 +0 -1
  645. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-float.json5 +0 -1
  646. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-hexadecimal.json5 +0 -1
  647. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-infinity.json5 +0 -1
  648. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-integer.json5 +0 -1
  649. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-noctal.js +0 -1
  650. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-octal-coffeescript.txt +0 -1
  651. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-octal.txt +0 -1
  652. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-zero-binary-coffeescript.txt +0 -1
  653. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-zero-float-leading-decimal-point.json5 +0 -1
  654. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-zero-float-trailing-decimal-point.json5 +0 -1
  655. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-zero-float.json5 +0 -1
  656. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-zero-hexadecimal.json5 +0 -1
  657. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-zero-integer.json5 +0 -1
  658. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-zero-octal-coffeescript.txt +0 -1
  659. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-zero-octal.txt +0 -1
  660. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/zero-binary-coffeescript.txt +0 -1
  661. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/zero-float-leading-decimal-point.json5 +0 -1
  662. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/zero-float-trailing-decimal-point.json5 +0 -1
  663. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/zero-float.json +0 -1
  664. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/zero-hexadecimal.json5 +0 -1
  665. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/zero-integer-with-integer-exponent.json +0 -1
  666. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/zero-integer.json +0 -1
  667. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/zero-octal-coffeescript.txt +0 -1
  668. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/zero-octal.txt +0 -1
  669. package/debuggingApp/node_modules/json5/test/parse-cases/objects/duplicate-keys.json +0 -4
  670. package/debuggingApp/node_modules/json5/test/parse-cases/objects/empty-object.json +0 -1
  671. package/debuggingApp/node_modules/json5/test/parse-cases/objects/illegal-unquoted-key-number.txt +0 -3
  672. package/debuggingApp/node_modules/json5/test/parse-cases/objects/illegal-unquoted-key-symbol.txt +0 -3
  673. package/debuggingApp/node_modules/json5/test/parse-cases/objects/leading-comma-object.txt +0 -3
  674. package/debuggingApp/node_modules/json5/test/parse-cases/objects/lone-trailing-comma-object.txt +0 -3
  675. package/debuggingApp/node_modules/json5/test/parse-cases/objects/no-comma-object.txt +0 -4
  676. package/debuggingApp/node_modules/json5/test/parse-cases/objects/reserved-unquoted-key.json5 +0 -3
  677. package/debuggingApp/node_modules/json5/test/parse-cases/objects/single-quoted-key.json5 +0 -3
  678. package/debuggingApp/node_modules/json5/test/parse-cases/objects/trailing-comma-object.json5 +0 -3
  679. package/debuggingApp/node_modules/json5/test/parse-cases/objects/unquoted-keys.json5 +0 -8
  680. package/debuggingApp/node_modules/json5/test/parse-cases/strings/escaped-single-quoted-string.json5 +0 -1
  681. package/debuggingApp/node_modules/json5/test/parse-cases/strings/multi-line-string.json5 +0 -2
  682. package/debuggingApp/node_modules/json5/test/parse-cases/strings/single-quoted-string.json5 +0 -1
  683. package/debuggingApp/node_modules/json5/test/parse-cases/strings/unescaped-multi-line-string.txt +0 -2
  684. package/debuggingApp/node_modules/json5/test/parse-cases/todo/unicode-escaped-unquoted-key.json5 +0 -3
  685. package/debuggingApp/node_modules/json5/test/parse-cases/todo/unicode-unquoted-key.json5 +0 -3
  686. package/debuggingApp/node_modules/json5/test/parse.js +0 -89
  687. package/debuggingApp/node_modules/json5/test/readme.md +0 -23
  688. package/debuggingApp/node_modules/json5/test/require.js +0 -18
  689. package/debuggingApp/node_modules/json5/test/stringify.js +0 -498
  690. package/debuggingApp/node_modules/keygrip/HISTORY.md +0 -20
  691. package/debuggingApp/node_modules/keygrip/LICENSE +0 -21
  692. package/debuggingApp/node_modules/keygrip/README.md +0 -103
  693. package/debuggingApp/node_modules/keygrip/index.js +0 -71
  694. package/debuggingApp/node_modules/keygrip/package.json +0 -25
  695. package/debuggingApp/node_modules/media-typer/HISTORY.md +0 -22
  696. package/debuggingApp/node_modules/media-typer/LICENSE +0 -22
  697. package/debuggingApp/node_modules/media-typer/README.md +0 -81
  698. package/debuggingApp/node_modules/media-typer/index.js +0 -270
  699. package/debuggingApp/node_modules/media-typer/package.json +0 -26
  700. package/debuggingApp/node_modules/merge-descriptors/HISTORY.md +0 -21
  701. package/debuggingApp/node_modules/merge-descriptors/LICENSE +0 -23
  702. package/debuggingApp/node_modules/merge-descriptors/README.md +0 -48
  703. package/debuggingApp/node_modules/merge-descriptors/index.js +0 -60
  704. package/debuggingApp/node_modules/merge-descriptors/package.json +0 -32
  705. package/debuggingApp/node_modules/methods/HISTORY.md +0 -29
  706. package/debuggingApp/node_modules/methods/LICENSE +0 -24
  707. package/debuggingApp/node_modules/methods/README.md +0 -51
  708. package/debuggingApp/node_modules/methods/index.js +0 -69
  709. package/debuggingApp/node_modules/methods/package.json +0 -36
  710. package/debuggingApp/node_modules/mime/CHANGELOG.md +0 -164
  711. package/debuggingApp/node_modules/mime/LICENSE +0 -21
  712. package/debuggingApp/node_modules/mime/README.md +0 -90
  713. package/debuggingApp/node_modules/mime/cli.js +0 -8
  714. package/debuggingApp/node_modules/mime/mime.js +0 -108
  715. package/debuggingApp/node_modules/mime/package.json +0 -44
  716. package/debuggingApp/node_modules/mime/src/build.js +0 -53
  717. package/debuggingApp/node_modules/mime/src/test.js +0 -60
  718. package/debuggingApp/node_modules/mime/types.json +0 -1
  719. package/debuggingApp/node_modules/mime-db/HISTORY.md +0 -507
  720. package/debuggingApp/node_modules/mime-db/LICENSE +0 -23
  721. package/debuggingApp/node_modules/mime-db/README.md +0 -100
  722. package/debuggingApp/node_modules/mime-db/db.json +0 -8519
  723. package/debuggingApp/node_modules/mime-db/index.js +0 -12
  724. package/debuggingApp/node_modules/mime-db/package.json +0 -60
  725. package/debuggingApp/node_modules/mime-types/HISTORY.md +0 -397
  726. package/debuggingApp/node_modules/mime-types/LICENSE +0 -23
  727. package/debuggingApp/node_modules/mime-types/README.md +0 -113
  728. package/debuggingApp/node_modules/mime-types/index.js +0 -188
  729. package/debuggingApp/node_modules/mime-types/package.json +0 -44
  730. package/debuggingApp/node_modules/ms/index.js +0 -152
  731. package/debuggingApp/node_modules/ms/license.md +0 -21
  732. package/debuggingApp/node_modules/ms/package.json +0 -37
  733. package/debuggingApp/node_modules/ms/readme.md +0 -51
  734. package/debuggingApp/node_modules/negotiator/HISTORY.md +0 -108
  735. package/debuggingApp/node_modules/negotiator/LICENSE +0 -24
  736. package/debuggingApp/node_modules/negotiator/README.md +0 -203
  737. package/debuggingApp/node_modules/negotiator/index.js +0 -82
  738. package/debuggingApp/node_modules/negotiator/lib/charset.js +0 -169
  739. package/debuggingApp/node_modules/negotiator/lib/encoding.js +0 -184
  740. package/debuggingApp/node_modules/negotiator/lib/language.js +0 -179
  741. package/debuggingApp/node_modules/negotiator/lib/mediaType.js +0 -294
  742. package/debuggingApp/node_modules/negotiator/package.json +0 -42
  743. package/debuggingApp/node_modules/object-inspect/.github/FUNDING.yml +0 -12
  744. package/debuggingApp/node_modules/object-inspect/.nycrc +0 -13
  745. package/debuggingApp/node_modules/object-inspect/CHANGELOG.md +0 -360
  746. package/debuggingApp/node_modules/object-inspect/LICENSE +0 -21
  747. package/debuggingApp/node_modules/object-inspect/example/all.js +0 -23
  748. package/debuggingApp/node_modules/object-inspect/example/circular.js +0 -6
  749. package/debuggingApp/node_modules/object-inspect/example/fn.js +0 -5
  750. package/debuggingApp/node_modules/object-inspect/example/inspect.js +0 -10
  751. package/debuggingApp/node_modules/object-inspect/index.js +0 -512
  752. package/debuggingApp/node_modules/object-inspect/package-support.json +0 -20
  753. package/debuggingApp/node_modules/object-inspect/package.json +0 -94
  754. package/debuggingApp/node_modules/object-inspect/readme.markdown +0 -86
  755. package/debuggingApp/node_modules/object-inspect/test/bigint.js +0 -58
  756. package/debuggingApp/node_modules/object-inspect/test/browser/dom.js +0 -15
  757. package/debuggingApp/node_modules/object-inspect/test/circular.js +0 -16
  758. package/debuggingApp/node_modules/object-inspect/test/deep.js +0 -12
  759. package/debuggingApp/node_modules/object-inspect/test/element.js +0 -53
  760. package/debuggingApp/node_modules/object-inspect/test/err.js +0 -48
  761. package/debuggingApp/node_modules/object-inspect/test/fakes.js +0 -29
  762. package/debuggingApp/node_modules/object-inspect/test/fn.js +0 -76
  763. package/debuggingApp/node_modules/object-inspect/test/has.js +0 -15
  764. package/debuggingApp/node_modules/object-inspect/test/holes.js +0 -15
  765. package/debuggingApp/node_modules/object-inspect/test/indent-option.js +0 -271
  766. package/debuggingApp/node_modules/object-inspect/test/inspect.js +0 -139
  767. package/debuggingApp/node_modules/object-inspect/test/lowbyte.js +0 -12
  768. package/debuggingApp/node_modules/object-inspect/test/number.js +0 -58
  769. package/debuggingApp/node_modules/object-inspect/test/quoteStyle.js +0 -17
  770. package/debuggingApp/node_modules/object-inspect/test/toStringTag.js +0 -40
  771. package/debuggingApp/node_modules/object-inspect/test/undef.js +0 -12
  772. package/debuggingApp/node_modules/object-inspect/test/values.js +0 -211
  773. package/debuggingApp/node_modules/object-inspect/test-core-js.js +0 -26
  774. package/debuggingApp/node_modules/object-inspect/util.inspect.js +0 -1
  775. package/debuggingApp/node_modules/on-finished/HISTORY.md +0 -98
  776. package/debuggingApp/node_modules/on-finished/LICENSE +0 -23
  777. package/debuggingApp/node_modules/on-finished/README.md +0 -162
  778. package/debuggingApp/node_modules/on-finished/index.js +0 -234
  779. package/debuggingApp/node_modules/on-finished/package.json +0 -39
  780. package/debuggingApp/node_modules/parseurl/HISTORY.md +0 -58
  781. package/debuggingApp/node_modules/parseurl/LICENSE +0 -24
  782. package/debuggingApp/node_modules/parseurl/README.md +0 -133
  783. package/debuggingApp/node_modules/parseurl/index.js +0 -158
  784. package/debuggingApp/node_modules/parseurl/package.json +0 -40
  785. package/debuggingApp/node_modules/path-to-regexp/History.md +0 -36
  786. package/debuggingApp/node_modules/path-to-regexp/LICENSE +0 -21
  787. package/debuggingApp/node_modules/path-to-regexp/Readme.md +0 -35
  788. package/debuggingApp/node_modules/path-to-regexp/index.js +0 -129
  789. package/debuggingApp/node_modules/path-to-regexp/package.json +0 -30
  790. package/debuggingApp/node_modules/proxy-addr/HISTORY.md +0 -161
  791. package/debuggingApp/node_modules/proxy-addr/LICENSE +0 -22
  792. package/debuggingApp/node_modules/proxy-addr/README.md +0 -139
  793. package/debuggingApp/node_modules/proxy-addr/index.js +0 -327
  794. package/debuggingApp/node_modules/proxy-addr/package.json +0 -47
  795. package/debuggingApp/node_modules/qs/.github/FUNDING.yml +0 -12
  796. package/debuggingApp/node_modules/qs/.nycrc +0 -13
  797. package/debuggingApp/node_modules/qs/CHANGELOG.md +0 -388
  798. package/debuggingApp/node_modules/qs/LICENSE.md +0 -29
  799. package/debuggingApp/node_modules/qs/README.md +0 -623
  800. package/debuggingApp/node_modules/qs/dist/qs.js +0 -2044
  801. package/debuggingApp/node_modules/qs/lib/formats.js +0 -23
  802. package/debuggingApp/node_modules/qs/lib/index.js +0 -11
  803. package/debuggingApp/node_modules/qs/lib/parse.js +0 -263
  804. package/debuggingApp/node_modules/qs/lib/stringify.js +0 -317
  805. package/debuggingApp/node_modules/qs/lib/utils.js +0 -252
  806. package/debuggingApp/node_modules/qs/package.json +0 -73
  807. package/debuggingApp/node_modules/qs/test/parse.js +0 -841
  808. package/debuggingApp/node_modules/qs/test/stringify.js +0 -865
  809. package/debuggingApp/node_modules/qs/test/utils.js +0 -136
  810. package/debuggingApp/node_modules/range-parser/HISTORY.md +0 -56
  811. package/debuggingApp/node_modules/range-parser/LICENSE +0 -23
  812. package/debuggingApp/node_modules/range-parser/README.md +0 -84
  813. package/debuggingApp/node_modules/range-parser/index.js +0 -162
  814. package/debuggingApp/node_modules/range-parser/package.json +0 -44
  815. package/debuggingApp/node_modules/raw-body/HISTORY.md +0 -303
  816. package/debuggingApp/node_modules/raw-body/LICENSE +0 -22
  817. package/debuggingApp/node_modules/raw-body/README.md +0 -223
  818. package/debuggingApp/node_modules/raw-body/SECURITY.md +0 -24
  819. package/debuggingApp/node_modules/raw-body/index.d.ts +0 -87
  820. package/debuggingApp/node_modules/raw-body/index.js +0 -329
  821. package/debuggingApp/node_modules/raw-body/package.json +0 -49
  822. package/debuggingApp/node_modules/regenerator-runtime/LICENSE +0 -21
  823. package/debuggingApp/node_modules/regenerator-runtime/README.md +0 -31
  824. package/debuggingApp/node_modules/regenerator-runtime/package.json +0 -19
  825. package/debuggingApp/node_modules/regenerator-runtime/path.js +0 -11
  826. package/debuggingApp/node_modules/regenerator-runtime/runtime.js +0 -754
  827. package/debuggingApp/node_modules/safe-buffer/LICENSE +0 -21
  828. package/debuggingApp/node_modules/safe-buffer/README.md +0 -584
  829. package/debuggingApp/node_modules/safe-buffer/index.d.ts +0 -187
  830. package/debuggingApp/node_modules/safe-buffer/index.js +0 -65
  831. package/debuggingApp/node_modules/safe-buffer/package.json +0 -51
  832. package/debuggingApp/node_modules/safer-buffer/LICENSE +0 -21
  833. package/debuggingApp/node_modules/safer-buffer/Porting-Buffer.md +0 -268
  834. package/debuggingApp/node_modules/safer-buffer/Readme.md +0 -156
  835. package/debuggingApp/node_modules/safer-buffer/dangerous.js +0 -58
  836. package/debuggingApp/node_modules/safer-buffer/package.json +0 -34
  837. package/debuggingApp/node_modules/safer-buffer/safer.js +0 -77
  838. package/debuggingApp/node_modules/safer-buffer/tests.js +0 -406
  839. package/debuggingApp/node_modules/send/HISTORY.md +0 -521
  840. package/debuggingApp/node_modules/send/LICENSE +0 -23
  841. package/debuggingApp/node_modules/send/README.md +0 -327
  842. package/debuggingApp/node_modules/send/SECURITY.md +0 -24
  843. package/debuggingApp/node_modules/send/index.js +0 -1143
  844. package/debuggingApp/node_modules/send/node_modules/ms/index.js +0 -162
  845. package/debuggingApp/node_modules/send/node_modules/ms/license.md +0 -21
  846. package/debuggingApp/node_modules/send/node_modules/ms/package.json +0 -38
  847. package/debuggingApp/node_modules/send/node_modules/ms/readme.md +0 -59
  848. package/debuggingApp/node_modules/send/package.json +0 -62
  849. package/debuggingApp/node_modules/serve-static/HISTORY.md +0 -471
  850. package/debuggingApp/node_modules/serve-static/LICENSE +0 -25
  851. package/debuggingApp/node_modules/serve-static/README.md +0 -257
  852. package/debuggingApp/node_modules/serve-static/index.js +0 -210
  853. package/debuggingApp/node_modules/serve-static/package.json +0 -42
  854. package/debuggingApp/node_modules/setprototypeof/LICENSE +0 -13
  855. package/debuggingApp/node_modules/setprototypeof/README.md +0 -31
  856. package/debuggingApp/node_modules/setprototypeof/index.d.ts +0 -2
  857. package/debuggingApp/node_modules/setprototypeof/index.js +0 -17
  858. package/debuggingApp/node_modules/setprototypeof/package.json +0 -38
  859. package/debuggingApp/node_modules/setprototypeof/test/index.js +0 -24
  860. package/debuggingApp/node_modules/side-channel/.github/FUNDING.yml +0 -12
  861. package/debuggingApp/node_modules/side-channel/.nycrc +0 -13
  862. package/debuggingApp/node_modules/side-channel/CHANGELOG.md +0 -65
  863. package/debuggingApp/node_modules/side-channel/LICENSE +0 -21
  864. package/debuggingApp/node_modules/side-channel/README.md +0 -2
  865. package/debuggingApp/node_modules/side-channel/index.js +0 -124
  866. package/debuggingApp/node_modules/side-channel/package.json +0 -67
  867. package/debuggingApp/node_modules/side-channel/test/index.js +0 -78
  868. package/debuggingApp/node_modules/statuses/HISTORY.md +0 -82
  869. package/debuggingApp/node_modules/statuses/LICENSE +0 -23
  870. package/debuggingApp/node_modules/statuses/README.md +0 -136
  871. package/debuggingApp/node_modules/statuses/codes.json +0 -65
  872. package/debuggingApp/node_modules/statuses/index.js +0 -146
  873. package/debuggingApp/node_modules/statuses/package.json +0 -49
  874. package/debuggingApp/node_modules/toidentifier/HISTORY.md +0 -9
  875. package/debuggingApp/node_modules/toidentifier/LICENSE +0 -21
  876. package/debuggingApp/node_modules/toidentifier/README.md +0 -61
  877. package/debuggingApp/node_modules/toidentifier/index.js +0 -32
  878. package/debuggingApp/node_modules/toidentifier/package.json +0 -38
  879. package/debuggingApp/node_modules/type-is/HISTORY.md +0 -259
  880. package/debuggingApp/node_modules/type-is/LICENSE +0 -23
  881. package/debuggingApp/node_modules/type-is/README.md +0 -170
  882. package/debuggingApp/node_modules/type-is/index.js +0 -266
  883. package/debuggingApp/node_modules/type-is/package.json +0 -45
  884. package/debuggingApp/node_modules/unpipe/HISTORY.md +0 -4
  885. package/debuggingApp/node_modules/unpipe/LICENSE +0 -22
  886. package/debuggingApp/node_modules/unpipe/README.md +0 -43
  887. package/debuggingApp/node_modules/unpipe/index.js +0 -69
  888. package/debuggingApp/node_modules/unpipe/package.json +0 -27
  889. package/debuggingApp/node_modules/utils-merge/LICENSE +0 -20
  890. package/debuggingApp/node_modules/utils-merge/README.md +0 -34
  891. package/debuggingApp/node_modules/utils-merge/index.js +0 -23
  892. package/debuggingApp/node_modules/utils-merge/package.json +0 -40
  893. package/debuggingApp/node_modules/vary/HISTORY.md +0 -39
  894. package/debuggingApp/node_modules/vary/LICENSE +0 -22
  895. package/debuggingApp/node_modules/vary/README.md +0 -101
  896. package/debuggingApp/node_modules/vary/index.js +0 -149
  897. package/debuggingApp/node_modules/vary/package.json +0 -43
  898. package/debuggingApp/package-lock.json +0 -1162
  899. package/debuggingApp/package.json +0 -18
  900. package/debuggingApp/server.js +0 -42
  901. package/dist/cjs/locize.js +0 -464
  902. package/dist/esm/locize.js +0 -454
@@ -1,464 +0,0 @@
1
- # body-parser
2
-
3
- [![NPM Version][npm-image]][npm-url]
4
- [![NPM Downloads][downloads-image]][downloads-url]
5
- [![Build Status][github-actions-ci-image]][github-actions-ci-url]
6
- [![Test Coverage][coveralls-image]][coveralls-url]
7
-
8
- Node.js body parsing middleware.
9
-
10
- Parse incoming request bodies in a middleware before your handlers, available
11
- under the `req.body` property.
12
-
13
- **Note** As `req.body`'s shape is based on user-controlled input, all
14
- properties and values in this object are untrusted and should be validated
15
- before trusting. For example, `req.body.foo.toString()` may fail in multiple
16
- ways, for example the `foo` property may not be there or may not be a string,
17
- and `toString` may not be a function and instead a string or other user input.
18
-
19
- [Learn about the anatomy of an HTTP transaction in Node.js](https://nodejs.org/en/docs/guides/anatomy-of-an-http-transaction/).
20
-
21
- _This does not handle multipart bodies_, due to their complex and typically
22
- large nature. For multipart bodies, you may be interested in the following
23
- modules:
24
-
25
- * [busboy](https://www.npmjs.org/package/busboy#readme) and
26
- [connect-busboy](https://www.npmjs.org/package/connect-busboy#readme)
27
- * [multiparty](https://www.npmjs.org/package/multiparty#readme) and
28
- [connect-multiparty](https://www.npmjs.org/package/connect-multiparty#readme)
29
- * [formidable](https://www.npmjs.org/package/formidable#readme)
30
- * [multer](https://www.npmjs.org/package/multer#readme)
31
-
32
- This module provides the following parsers:
33
-
34
- * [JSON body parser](#bodyparserjsonoptions)
35
- * [Raw body parser](#bodyparserrawoptions)
36
- * [Text body parser](#bodyparsertextoptions)
37
- * [URL-encoded form body parser](#bodyparserurlencodedoptions)
38
-
39
- Other body parsers you might be interested in:
40
-
41
- - [body](https://www.npmjs.org/package/body#readme)
42
- - [co-body](https://www.npmjs.org/package/co-body#readme)
43
-
44
- ## Installation
45
-
46
- ```sh
47
- $ npm install body-parser
48
- ```
49
-
50
- ## API
51
-
52
- ```js
53
- var bodyParser = require('body-parser')
54
- ```
55
-
56
- The `bodyParser` object exposes various factories to create middlewares. All
57
- middlewares will populate the `req.body` property with the parsed body when
58
- the `Content-Type` request header matches the `type` option, or an empty
59
- object (`{}`) if there was no body to parse, the `Content-Type` was not matched,
60
- or an error occurred.
61
-
62
- The various errors returned by this module are described in the
63
- [errors section](#errors).
64
-
65
- ### bodyParser.json([options])
66
-
67
- Returns middleware that only parses `json` and only looks at requests where
68
- the `Content-Type` header matches the `type` option. This parser accepts any
69
- Unicode encoding of the body and supports automatic inflation of `gzip` and
70
- `deflate` encodings.
71
-
72
- A new `body` object containing the parsed data is populated on the `request`
73
- object after the middleware (i.e. `req.body`).
74
-
75
- #### Options
76
-
77
- The `json` function takes an optional `options` object that may contain any of
78
- the following keys:
79
-
80
- ##### inflate
81
-
82
- When set to `true`, then deflated (compressed) bodies will be inflated; when
83
- `false`, deflated bodies are rejected. Defaults to `true`.
84
-
85
- ##### limit
86
-
87
- Controls the maximum request body size. If this is a number, then the value
88
- specifies the number of bytes; if it is a string, the value is passed to the
89
- [bytes](https://www.npmjs.com/package/bytes) library for parsing. Defaults
90
- to `'100kb'`.
91
-
92
- ##### reviver
93
-
94
- The `reviver` option is passed directly to `JSON.parse` as the second
95
- argument. You can find more information on this argument
96
- [in the MDN documentation about JSON.parse](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/parse#Example.3A_Using_the_reviver_parameter).
97
-
98
- ##### strict
99
-
100
- When set to `true`, will only accept arrays and objects; when `false` will
101
- accept anything `JSON.parse` accepts. Defaults to `true`.
102
-
103
- ##### type
104
-
105
- The `type` option is used to determine what media type the middleware will
106
- parse. This option can be a string, array of strings, or a function. If not a
107
- function, `type` option is passed directly to the
108
- [type-is](https://www.npmjs.org/package/type-is#readme) library and this can
109
- be an extension name (like `json`), a mime type (like `application/json`), or
110
- a mime type with a wildcard (like `*/*` or `*/json`). If a function, the `type`
111
- option is called as `fn(req)` and the request is parsed if it returns a truthy
112
- value. Defaults to `application/json`.
113
-
114
- ##### verify
115
-
116
- The `verify` option, if supplied, is called as `verify(req, res, buf, encoding)`,
117
- where `buf` is a `Buffer` of the raw request body and `encoding` is the
118
- encoding of the request. The parsing can be aborted by throwing an error.
119
-
120
- ### bodyParser.raw([options])
121
-
122
- Returns middleware that parses all bodies as a `Buffer` and only looks at
123
- requests where the `Content-Type` header matches the `type` option. This
124
- parser supports automatic inflation of `gzip` and `deflate` encodings.
125
-
126
- A new `body` object containing the parsed data is populated on the `request`
127
- object after the middleware (i.e. `req.body`). This will be a `Buffer` object
128
- of the body.
129
-
130
- #### Options
131
-
132
- The `raw` function takes an optional `options` object that may contain any of
133
- the following keys:
134
-
135
- ##### inflate
136
-
137
- When set to `true`, then deflated (compressed) bodies will be inflated; when
138
- `false`, deflated bodies are rejected. Defaults to `true`.
139
-
140
- ##### limit
141
-
142
- Controls the maximum request body size. If this is a number, then the value
143
- specifies the number of bytes; if it is a string, the value is passed to the
144
- [bytes](https://www.npmjs.com/package/bytes) library for parsing. Defaults
145
- to `'100kb'`.
146
-
147
- ##### type
148
-
149
- The `type` option is used to determine what media type the middleware will
150
- parse. This option can be a string, array of strings, or a function.
151
- If not a function, `type` option is passed directly to the
152
- [type-is](https://www.npmjs.org/package/type-is#readme) library and this
153
- can be an extension name (like `bin`), a mime type (like
154
- `application/octet-stream`), or a mime type with a wildcard (like `*/*` or
155
- `application/*`). If a function, the `type` option is called as `fn(req)`
156
- and the request is parsed if it returns a truthy value. Defaults to
157
- `application/octet-stream`.
158
-
159
- ##### verify
160
-
161
- The `verify` option, if supplied, is called as `verify(req, res, buf, encoding)`,
162
- where `buf` is a `Buffer` of the raw request body and `encoding` is the
163
- encoding of the request. The parsing can be aborted by throwing an error.
164
-
165
- ### bodyParser.text([options])
166
-
167
- Returns middleware that parses all bodies as a string and only looks at
168
- requests where the `Content-Type` header matches the `type` option. This
169
- parser supports automatic inflation of `gzip` and `deflate` encodings.
170
-
171
- A new `body` string containing the parsed data is populated on the `request`
172
- object after the middleware (i.e. `req.body`). This will be a string of the
173
- body.
174
-
175
- #### Options
176
-
177
- The `text` function takes an optional `options` object that may contain any of
178
- the following keys:
179
-
180
- ##### defaultCharset
181
-
182
- Specify the default character set for the text content if the charset is not
183
- specified in the `Content-Type` header of the request. Defaults to `utf-8`.
184
-
185
- ##### inflate
186
-
187
- When set to `true`, then deflated (compressed) bodies will be inflated; when
188
- `false`, deflated bodies are rejected. Defaults to `true`.
189
-
190
- ##### limit
191
-
192
- Controls the maximum request body size. If this is a number, then the value
193
- specifies the number of bytes; if it is a string, the value is passed to the
194
- [bytes](https://www.npmjs.com/package/bytes) library for parsing. Defaults
195
- to `'100kb'`.
196
-
197
- ##### type
198
-
199
- The `type` option is used to determine what media type the middleware will
200
- parse. This option can be a string, array of strings, or a function. If not
201
- a function, `type` option is passed directly to the
202
- [type-is](https://www.npmjs.org/package/type-is#readme) library and this can
203
- be an extension name (like `txt`), a mime type (like `text/plain`), or a mime
204
- type with a wildcard (like `*/*` or `text/*`). If a function, the `type`
205
- option is called as `fn(req)` and the request is parsed if it returns a
206
- truthy value. Defaults to `text/plain`.
207
-
208
- ##### verify
209
-
210
- The `verify` option, if supplied, is called as `verify(req, res, buf, encoding)`,
211
- where `buf` is a `Buffer` of the raw request body and `encoding` is the
212
- encoding of the request. The parsing can be aborted by throwing an error.
213
-
214
- ### bodyParser.urlencoded([options])
215
-
216
- Returns middleware that only parses `urlencoded` bodies and only looks at
217
- requests where the `Content-Type` header matches the `type` option. This
218
- parser accepts only UTF-8 encoding of the body and supports automatic
219
- inflation of `gzip` and `deflate` encodings.
220
-
221
- A new `body` object containing the parsed data is populated on the `request`
222
- object after the middleware (i.e. `req.body`). This object will contain
223
- key-value pairs, where the value can be a string or array (when `extended` is
224
- `false`), or any type (when `extended` is `true`).
225
-
226
- #### Options
227
-
228
- The `urlencoded` function takes an optional `options` object that may contain
229
- any of the following keys:
230
-
231
- ##### extended
232
-
233
- The `extended` option allows to choose between parsing the URL-encoded data
234
- with the `querystring` library (when `false`) or the `qs` library (when
235
- `true`). The "extended" syntax allows for rich objects and arrays to be
236
- encoded into the URL-encoded format, allowing for a JSON-like experience
237
- with URL-encoded. For more information, please
238
- [see the qs library](https://www.npmjs.org/package/qs#readme).
239
-
240
- Defaults to `true`, but using the default has been deprecated. Please
241
- research into the difference between `qs` and `querystring` and choose the
242
- appropriate setting.
243
-
244
- ##### inflate
245
-
246
- When set to `true`, then deflated (compressed) bodies will be inflated; when
247
- `false`, deflated bodies are rejected. Defaults to `true`.
248
-
249
- ##### limit
250
-
251
- Controls the maximum request body size. If this is a number, then the value
252
- specifies the number of bytes; if it is a string, the value is passed to the
253
- [bytes](https://www.npmjs.com/package/bytes) library for parsing. Defaults
254
- to `'100kb'`.
255
-
256
- ##### parameterLimit
257
-
258
- The `parameterLimit` option controls the maximum number of parameters that
259
- are allowed in the URL-encoded data. If a request contains more parameters
260
- than this value, a 413 will be returned to the client. Defaults to `1000`.
261
-
262
- ##### type
263
-
264
- The `type` option is used to determine what media type the middleware will
265
- parse. This option can be a string, array of strings, or a function. If not
266
- a function, `type` option is passed directly to the
267
- [type-is](https://www.npmjs.org/package/type-is#readme) library and this can
268
- be an extension name (like `urlencoded`), a mime type (like
269
- `application/x-www-form-urlencoded`), or a mime type with a wildcard (like
270
- `*/x-www-form-urlencoded`). If a function, the `type` option is called as
271
- `fn(req)` and the request is parsed if it returns a truthy value. Defaults
272
- to `application/x-www-form-urlencoded`.
273
-
274
- ##### verify
275
-
276
- The `verify` option, if supplied, is called as `verify(req, res, buf, encoding)`,
277
- where `buf` is a `Buffer` of the raw request body and `encoding` is the
278
- encoding of the request. The parsing can be aborted by throwing an error.
279
-
280
- ## Errors
281
-
282
- The middlewares provided by this module create errors using the
283
- [`http-errors` module](https://www.npmjs.com/package/http-errors). The errors
284
- will typically have a `status`/`statusCode` property that contains the suggested
285
- HTTP response code, an `expose` property to determine if the `message` property
286
- should be displayed to the client, a `type` property to determine the type of
287
- error without matching against the `message`, and a `body` property containing
288
- the read body, if available.
289
-
290
- The following are the common errors created, though any error can come through
291
- for various reasons.
292
-
293
- ### content encoding unsupported
294
-
295
- This error will occur when the request had a `Content-Encoding` header that
296
- contained an encoding but the "inflation" option was set to `false`. The
297
- `status` property is set to `415`, the `type` property is set to
298
- `'encoding.unsupported'`, and the `charset` property will be set to the
299
- encoding that is unsupported.
300
-
301
- ### entity parse failed
302
-
303
- This error will occur when the request contained an entity that could not be
304
- parsed by the middleware. The `status` property is set to `400`, the `type`
305
- property is set to `'entity.parse.failed'`, and the `body` property is set to
306
- the entity value that failed parsing.
307
-
308
- ### entity verify failed
309
-
310
- This error will occur when the request contained an entity that could not be
311
- failed verification by the defined `verify` option. The `status` property is
312
- set to `403`, the `type` property is set to `'entity.verify.failed'`, and the
313
- `body` property is set to the entity value that failed verification.
314
-
315
- ### request aborted
316
-
317
- This error will occur when the request is aborted by the client before reading
318
- the body has finished. The `received` property will be set to the number of
319
- bytes received before the request was aborted and the `expected` property is
320
- set to the number of expected bytes. The `status` property is set to `400`
321
- and `type` property is set to `'request.aborted'`.
322
-
323
- ### request entity too large
324
-
325
- This error will occur when the request body's size is larger than the "limit"
326
- option. The `limit` property will be set to the byte limit and the `length`
327
- property will be set to the request body's length. The `status` property is
328
- set to `413` and the `type` property is set to `'entity.too.large'`.
329
-
330
- ### request size did not match content length
331
-
332
- This error will occur when the request's length did not match the length from
333
- the `Content-Length` header. This typically occurs when the request is malformed,
334
- typically when the `Content-Length` header was calculated based on characters
335
- instead of bytes. The `status` property is set to `400` and the `type` property
336
- is set to `'request.size.invalid'`.
337
-
338
- ### stream encoding should not be set
339
-
340
- This error will occur when something called the `req.setEncoding` method prior
341
- to this middleware. This module operates directly on bytes only and you cannot
342
- call `req.setEncoding` when using this module. The `status` property is set to
343
- `500` and the `type` property is set to `'stream.encoding.set'`.
344
-
345
- ### stream is not readable
346
-
347
- This error will occur when the request is no longer readable when this middleware
348
- attempts to read it. This typically means something other than a middleware from
349
- this module read the reqest body already and the middleware was also configured to
350
- read the same request. The `status` property is set to `500` and the `type`
351
- property is set to `'stream.not.readable'`.
352
-
353
- ### too many parameters
354
-
355
- This error will occur when the content of the request exceeds the configured
356
- `parameterLimit` for the `urlencoded` parser. The `status` property is set to
357
- `413` and the `type` property is set to `'parameters.too.many'`.
358
-
359
- ### unsupported charset "BOGUS"
360
-
361
- This error will occur when the request had a charset parameter in the
362
- `Content-Type` header, but the `iconv-lite` module does not support it OR the
363
- parser does not support it. The charset is contained in the message as well
364
- as in the `charset` property. The `status` property is set to `415`, the
365
- `type` property is set to `'charset.unsupported'`, and the `charset` property
366
- is set to the charset that is unsupported.
367
-
368
- ### unsupported content encoding "bogus"
369
-
370
- This error will occur when the request had a `Content-Encoding` header that
371
- contained an unsupported encoding. The encoding is contained in the message
372
- as well as in the `encoding` property. The `status` property is set to `415`,
373
- the `type` property is set to `'encoding.unsupported'`, and the `encoding`
374
- property is set to the encoding that is unsupported.
375
-
376
- ## Examples
377
-
378
- ### Express/Connect top-level generic
379
-
380
- This example demonstrates adding a generic JSON and URL-encoded parser as a
381
- top-level middleware, which will parse the bodies of all incoming requests.
382
- This is the simplest setup.
383
-
384
- ```js
385
- var express = require('express')
386
- var bodyParser = require('body-parser')
387
-
388
- var app = express()
389
-
390
- // parse application/x-www-form-urlencoded
391
- app.use(bodyParser.urlencoded({ extended: false }))
392
-
393
- // parse application/json
394
- app.use(bodyParser.json())
395
-
396
- app.use(function (req, res) {
397
- res.setHeader('Content-Type', 'text/plain')
398
- res.write('you posted:\n')
399
- res.end(JSON.stringify(req.body, null, 2))
400
- })
401
- ```
402
-
403
- ### Express route-specific
404
-
405
- This example demonstrates adding body parsers specifically to the routes that
406
- need them. In general, this is the most recommended way to use body-parser with
407
- Express.
408
-
409
- ```js
410
- var express = require('express')
411
- var bodyParser = require('body-parser')
412
-
413
- var app = express()
414
-
415
- // create application/json parser
416
- var jsonParser = bodyParser.json()
417
-
418
- // create application/x-www-form-urlencoded parser
419
- var urlencodedParser = bodyParser.urlencoded({ extended: false })
420
-
421
- // POST /login gets urlencoded bodies
422
- app.post('/login', urlencodedParser, function (req, res) {
423
- res.send('welcome, ' + req.body.username)
424
- })
425
-
426
- // POST /api/users gets JSON bodies
427
- app.post('/api/users', jsonParser, function (req, res) {
428
- // create user in req.body
429
- })
430
- ```
431
-
432
- ### Change accepted type for parsers
433
-
434
- All the parsers accept a `type` option which allows you to change the
435
- `Content-Type` that the middleware will parse.
436
-
437
- ```js
438
- var express = require('express')
439
- var bodyParser = require('body-parser')
440
-
441
- var app = express()
442
-
443
- // parse various different custom JSON types as JSON
444
- app.use(bodyParser.json({ type: 'application/*+json' }))
445
-
446
- // parse some custom thing into a Buffer
447
- app.use(bodyParser.raw({ type: 'application/vnd.custom-type' }))
448
-
449
- // parse an HTML body into a string
450
- app.use(bodyParser.text({ type: 'text/html' }))
451
- ```
452
-
453
- ## License
454
-
455
- [MIT](LICENSE)
456
-
457
- [npm-image]: https://img.shields.io/npm/v/body-parser.svg
458
- [npm-url]: https://npmjs.org/package/body-parser
459
- [coveralls-image]: https://img.shields.io/coveralls/expressjs/body-parser/master.svg
460
- [coveralls-url]: https://coveralls.io/r/expressjs/body-parser?branch=master
461
- [downloads-image]: https://img.shields.io/npm/dm/body-parser.svg
462
- [downloads-url]: https://npmjs.org/package/body-parser
463
- [github-actions-ci-image]: https://img.shields.io/github/workflow/status/expressjs/body-parser/ci/master?label=ci
464
- [github-actions-ci-url]: https://github.com/expressjs/body-parser/actions/workflows/ci.yml
@@ -1,25 +0,0 @@
1
- # Security Policies and Procedures
2
-
3
- ## Reporting a Bug
4
-
5
- The Express team and community take all security bugs seriously. Thank you
6
- for improving the security of Express. We appreciate your efforts and
7
- responsible disclosure and will make every effort to acknowledge your
8
- contributions.
9
-
10
- Report security bugs by emailing the current owner(s) of `body-parser`. This
11
- information can be found in the npm registry using the command
12
- `npm owner ls body-parser`.
13
- If unsure or unable to get the information from the above, open an issue
14
- in the [project issue tracker](https://github.com/expressjs/body-parser/issues)
15
- asking for the current contact information.
16
-
17
- To ensure the timely response to your report, please ensure that the entirety
18
- of the report is contained within the email body and not solely behind a web
19
- link or an attachment.
20
-
21
- At least one owner will acknowledge your email within 48 hours, and will send a
22
- more detailed response within 48 hours indicating the next steps in handling
23
- your report. After the initial reply to your report, the owners will
24
- endeavor to keep you informed of the progress towards a fix and full
25
- announcement, and may ask for additional information or guidance.
@@ -1,157 +0,0 @@
1
- /*!
2
- * body-parser
3
- * Copyright(c) 2014-2015 Douglas Christopher Wilson
4
- * MIT Licensed
5
- */
6
-
7
- 'use strict'
8
-
9
- /**
10
- * Module dependencies.
11
- * @private
12
- */
13
-
14
- var deprecate = require('depd')('body-parser')
15
-
16
- /**
17
- * Cache of loaded parsers.
18
- * @private
19
- */
20
-
21
- var parsers = Object.create(null)
22
-
23
- /**
24
- * @typedef Parsers
25
- * @type {function}
26
- * @property {function} json
27
- * @property {function} raw
28
- * @property {function} text
29
- * @property {function} urlencoded
30
- */
31
-
32
- /**
33
- * Module exports.
34
- * @type {Parsers}
35
- */
36
-
37
- exports = module.exports = deprecate.function(bodyParser,
38
- 'bodyParser: use individual json/urlencoded middlewares')
39
-
40
- /**
41
- * JSON parser.
42
- * @public
43
- */
44
-
45
- Object.defineProperty(exports, 'json', {
46
- configurable: true,
47
- enumerable: true,
48
- get: createParserGetter('json')
49
- })
50
-
51
- /**
52
- * Raw parser.
53
- * @public
54
- */
55
-
56
- Object.defineProperty(exports, 'raw', {
57
- configurable: true,
58
- enumerable: true,
59
- get: createParserGetter('raw')
60
- })
61
-
62
- /**
63
- * Text parser.
64
- * @public
65
- */
66
-
67
- Object.defineProperty(exports, 'text', {
68
- configurable: true,
69
- enumerable: true,
70
- get: createParserGetter('text')
71
- })
72
-
73
- /**
74
- * URL-encoded parser.
75
- * @public
76
- */
77
-
78
- Object.defineProperty(exports, 'urlencoded', {
79
- configurable: true,
80
- enumerable: true,
81
- get: createParserGetter('urlencoded')
82
- })
83
-
84
- /**
85
- * Create a middleware to parse json and urlencoded bodies.
86
- *
87
- * @param {object} [options]
88
- * @return {function}
89
- * @deprecated
90
- * @public
91
- */
92
-
93
- function bodyParser (options) {
94
- var opts = {}
95
-
96
- // exclude type option
97
- if (options) {
98
- for (var prop in options) {
99
- if (prop !== 'type') {
100
- opts[prop] = options[prop]
101
- }
102
- }
103
- }
104
-
105
- var _urlencoded = exports.urlencoded(opts)
106
- var _json = exports.json(opts)
107
-
108
- return function bodyParser (req, res, next) {
109
- _json(req, res, function (err) {
110
- if (err) return next(err)
111
- _urlencoded(req, res, next)
112
- })
113
- }
114
- }
115
-
116
- /**
117
- * Create a getter for loading a parser.
118
- * @private
119
- */
120
-
121
- function createParserGetter (name) {
122
- return function get () {
123
- return loadParser(name)
124
- }
125
- }
126
-
127
- /**
128
- * Load a parser module.
129
- * @private
130
- */
131
-
132
- function loadParser (parserName) {
133
- var parser = parsers[parserName]
134
-
135
- if (parser !== undefined) {
136
- return parser
137
- }
138
-
139
- // this uses a switch for static require analysis
140
- switch (parserName) {
141
- case 'json':
142
- parser = require('./lib/types/json')
143
- break
144
- case 'raw':
145
- parser = require('./lib/types/raw')
146
- break
147
- case 'text':
148
- parser = require('./lib/types/text')
149
- break
150
- case 'urlencoded':
151
- parser = require('./lib/types/urlencoded')
152
- break
153
- }
154
-
155
- // store to prevent invoking require()
156
- return (parsers[parserName] = parser)
157
- }