locize 2.4.6 → 3.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.babelrc +3 -0
- package/.ts.eslintrc +37 -0
- package/CHANGELOG.md +9 -0
- package/README.md +10 -19
- package/dist/cjs/api/handleCommitKey.js +17 -0
- package/dist/cjs/api/handleCommitKeys.js +39 -0
- package/dist/cjs/api/handleConfirmInitialized.js +11 -0
- package/dist/cjs/api/handleEditKey.js +60 -0
- package/dist/cjs/api/handleIsLocizeEnabled.js +11 -0
- package/dist/cjs/api/handleRequestPopupChanges.js +21 -0
- package/dist/cjs/api/handleRequestResourceBundle.js +27 -0
- package/dist/cjs/api/handleSelectedKeys.js +27 -0
- package/dist/cjs/api/handleTurnOff.js +8 -0
- package/dist/cjs/api/handleTurnOn.js +8 -0
- package/dist/cjs/api/postMessage.js +161 -0
- package/dist/cjs/clickHandler.js +48 -0
- package/dist/cjs/index.d.ts +15 -0
- package/dist/cjs/index.js +55 -0
- package/dist/cjs/locizePlugin.js +110 -0
- package/dist/cjs/observer.js +74 -0
- package/dist/cjs/package.json +1 -0
- package/dist/cjs/parser.js +122 -0
- package/dist/cjs/process.js +69 -0
- package/dist/cjs/processLegacy.js +80 -0
- package/dist/cjs/shims/uniqueID.js +31 -0
- package/dist/cjs/startStandalone.js +24 -0
- package/dist/cjs/store.js +49 -0
- package/dist/cjs/ui/elements/icons.js +48 -0
- package/dist/cjs/ui/elements/popup.js +80 -0
- package/dist/cjs/ui/elements/ribbonBox.js +67 -0
- package/dist/cjs/ui/highlightNode.js +167 -0
- package/dist/cjs/ui/mouseDistance.js +44 -0
- package/dist/cjs/ui/popup.js +113 -0
- package/dist/cjs/ui/stylesheet.js +12 -0
- package/dist/cjs/ui/utils.js +39 -0
- package/dist/cjs/uninstrumentedStore.js +43 -0
- package/dist/cjs/utils.js +138 -0
- package/dist/cjs/vars.js +22 -0
- package/dist/esm/api/handleCommitKey.js +15 -0
- package/dist/esm/api/handleCommitKeys.js +33 -0
- package/dist/esm/api/handleConfirmInitialized.js +9 -0
- package/dist/esm/api/handleEditKey.js +56 -0
- package/dist/esm/api/handleIsLocizeEnabled.js +9 -0
- package/dist/esm/api/handleRequestPopupChanges.js +19 -0
- package/dist/esm/api/handleRequestResourceBundle.js +20 -0
- package/dist/esm/api/handleSelectedKeys.js +25 -0
- package/dist/esm/api/handleTurnOff.js +6 -0
- package/dist/esm/api/handleTurnOn.js +6 -0
- package/dist/esm/api/postMessage.js +148 -0
- package/dist/esm/clickHandler.js +44 -0
- package/dist/esm/index.d.mts +1 -0
- package/dist/esm/index.d.ts +15 -0
- package/dist/esm/index.js +33 -0
- package/dist/esm/locizePlugin.js +99 -0
- package/dist/esm/observer.js +70 -0
- package/dist/esm/parser.js +113 -0
- package/dist/esm/process.js +61 -0
- package/dist/esm/processLegacy.js +72 -0
- package/dist/esm/shims/uniqueID.js +29 -0
- package/dist/esm/startStandalone.js +20 -0
- package/dist/esm/store.js +41 -0
- package/dist/esm/ui/elements/icons.js +39 -0
- package/dist/esm/ui/elements/popup.js +76 -0
- package/dist/esm/ui/elements/ribbonBox.js +62 -0
- package/dist/esm/ui/highlightNode.js +156 -0
- package/dist/esm/ui/mouseDistance.js +39 -0
- package/dist/esm/ui/popup.js +108 -0
- package/dist/esm/ui/stylesheet.js +8 -0
- package/dist/esm/ui/utils.js +34 -0
- package/dist/esm/uninstrumentedStore.js +35 -0
- package/dist/esm/utils.js +123 -0
- package/dist/esm/vars.js +16 -0
- package/dist/umd/locize.js +2796 -286
- package/dist/umd/locize.min.js +1 -1
- package/index.d.mts +1 -0
- package/index.d.ts +5 -6
- package/index.js +4 -4
- package/locize.js +2796 -286
- package/locize.min.js +1 -1
- package/package.json +64 -31
- package/rollup.config.js +62 -29
- package/src/api/handleCommitKey.js +17 -0
- package/src/api/handleCommitKeys.js +39 -0
- package/src/api/handleConfirmInitialized.js +10 -0
- package/src/api/handleEditKey.js +81 -0
- package/src/api/handleIsLocizeEnabled.js +13 -0
- package/src/api/handleRequestPopupChanges.js +25 -0
- package/src/api/handleRequestResourceBundle.js +11 -0
- package/src/api/handleSelectedKeys.js +32 -0
- package/src/api/handleTurnOff.js +8 -0
- package/src/api/handleTurnOn.js +8 -0
- package/src/api/index.js +19 -0
- package/src/api/postMessage.js +169 -0
- package/src/clickHandler.js +48 -0
- package/src/index.js +30 -0
- package/src/locizePlugin.js +117 -0
- package/src/observer.js +93 -0
- package/src/parser.js +162 -0
- package/src/process.js +62 -0
- package/src/processLegacy.js +69 -0
- package/src/shims/uniqueID.js +49 -0
- package/src/startStandalone.js +19 -0
- package/src/store.js +47 -0
- package/src/ui/elements/icons.js +92 -0
- package/src/ui/elements/popup.js +226 -0
- package/src/ui/elements/ribbonBox.js +76 -0
- package/src/ui/highlightNode.js +203 -0
- package/src/ui/mouseDistance.js +46 -0
- package/src/ui/popup.js +135 -0
- package/src/ui/stylesheet.js +8 -0
- package/src/ui/utils.js +37 -0
- package/src/uninstrumentedStore.js +39 -0
- package/src/utils.js +158 -0
- package/src/vars.js +18 -0
- package/tsconfig.json +4 -4
- package/.eslintrc.js +0 -20
- package/debuggingApp/README.md +0 -11
- package/debuggingApp/debugEditor.html +0 -28
- package/debuggingApp/index.html +0 -151
- package/debuggingApp/node_modules/.package-lock.json +0 -668
- package/debuggingApp/node_modules/@babel/runtime/LICENSE +0 -22
- package/debuggingApp/node_modules/@babel/runtime/README.md +0 -19
- package/debuggingApp/node_modules/@babel/runtime/helpers/AsyncGenerator.js +0 -98
- package/debuggingApp/node_modules/@babel/runtime/helpers/AwaitValue.js +0 -5
- package/debuggingApp/node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js +0 -30
- package/debuggingApp/node_modules/@babel/runtime/helpers/applyDecs.js +0 -284
- package/debuggingApp/node_modules/@babel/runtime/helpers/arrayLikeToArray.js +0 -11
- package/debuggingApp/node_modules/@babel/runtime/helpers/arrayWithHoles.js +0 -5
- package/debuggingApp/node_modules/@babel/runtime/helpers/arrayWithoutHoles.js +0 -7
- package/debuggingApp/node_modules/@babel/runtime/helpers/assertThisInitialized.js +0 -9
- package/debuggingApp/node_modules/@babel/runtime/helpers/asyncGeneratorDelegate.js +0 -56
- package/debuggingApp/node_modules/@babel/runtime/helpers/asyncIterator.js +0 -50
- package/debuggingApp/node_modules/@babel/runtime/helpers/asyncToGenerator.js +0 -37
- package/debuggingApp/node_modules/@babel/runtime/helpers/awaitAsyncGenerator.js +0 -7
- package/debuggingApp/node_modules/@babel/runtime/helpers/checkPrivateRedeclaration.js +0 -7
- package/debuggingApp/node_modules/@babel/runtime/helpers/classApplyDescriptorDestructureSet.js +0 -22
- package/debuggingApp/node_modules/@babel/runtime/helpers/classApplyDescriptorGet.js +0 -9
- package/debuggingApp/node_modules/@babel/runtime/helpers/classApplyDescriptorSet.js +0 -13
- package/debuggingApp/node_modules/@babel/runtime/helpers/classCallCheck.js +0 -7
- package/debuggingApp/node_modules/@babel/runtime/helpers/classCheckPrivateStaticAccess.js +0 -7
- package/debuggingApp/node_modules/@babel/runtime/helpers/classCheckPrivateStaticFieldDescriptor.js +0 -7
- package/debuggingApp/node_modules/@babel/runtime/helpers/classExtractFieldDescriptor.js +0 -9
- package/debuggingApp/node_modules/@babel/runtime/helpers/classNameTDZError.js +0 -5
- package/debuggingApp/node_modules/@babel/runtime/helpers/classPrivateFieldDestructureSet.js +0 -10
- package/debuggingApp/node_modules/@babel/runtime/helpers/classPrivateFieldGet.js +0 -10
- package/debuggingApp/node_modules/@babel/runtime/helpers/classPrivateFieldInitSpec.js +0 -8
- package/debuggingApp/node_modules/@babel/runtime/helpers/classPrivateFieldLooseBase.js +0 -9
- package/debuggingApp/node_modules/@babel/runtime/helpers/classPrivateFieldLooseKey.js +0 -7
- package/debuggingApp/node_modules/@babel/runtime/helpers/classPrivateFieldSet.js +0 -11
- package/debuggingApp/node_modules/@babel/runtime/helpers/classPrivateMethodGet.js +0 -9
- package/debuggingApp/node_modules/@babel/runtime/helpers/classPrivateMethodInitSpec.js +0 -8
- package/debuggingApp/node_modules/@babel/runtime/helpers/classPrivateMethodSet.js +0 -5
- package/debuggingApp/node_modules/@babel/runtime/helpers/classStaticPrivateFieldDestructureSet.js +0 -13
- package/debuggingApp/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecGet.js +0 -13
- package/debuggingApp/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecSet.js +0 -14
- package/debuggingApp/node_modules/@babel/runtime/helpers/classStaticPrivateMethodGet.js +0 -8
- package/debuggingApp/node_modules/@babel/runtime/helpers/classStaticPrivateMethodSet.js +0 -5
- package/debuggingApp/node_modules/@babel/runtime/helpers/construct.js +0 -22
- package/debuggingApp/node_modules/@babel/runtime/helpers/createClass.js +0 -20
- package/debuggingApp/node_modules/@babel/runtime/helpers/createForOfIteratorHelper.js +0 -60
- package/debuggingApp/node_modules/@babel/runtime/helpers/createForOfIteratorHelperLoose.js +0 -24
- package/debuggingApp/node_modules/@babel/runtime/helpers/createSuper.js +0 -24
- package/debuggingApp/node_modules/@babel/runtime/helpers/decorate.js +0 -400
- package/debuggingApp/node_modules/@babel/runtime/helpers/defaults.js +0 -16
- package/debuggingApp/node_modules/@babel/runtime/helpers/defineEnumerableProperties.js +0 -24
- package/debuggingApp/node_modules/@babel/runtime/helpers/defineProperty.js +0 -16
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/AsyncGenerator.js +0 -95
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/AwaitValue.js +0 -3
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/applyDecoratedDescriptor.js +0 -28
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/applyDecs.js +0 -282
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +0 -9
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +0 -3
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +0 -4
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +0 -7
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/asyncGeneratorDelegate.js +0 -54
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/asyncIterator.js +0 -48
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js +0 -35
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/awaitAsyncGenerator.js +0 -4
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/checkPrivateRedeclaration.js +0 -5
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorDestructureSet.js +0 -20
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorGet.js +0 -7
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorSet.js +0 -11
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +0 -5
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticAccess.js +0 -5
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticFieldDescriptor.js +0 -5
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classExtractFieldDescriptor.js +0 -7
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classNameTDZError.js +0 -3
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classPrivateFieldDestructureSet.js +0 -6
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet.js +0 -6
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classPrivateFieldInitSpec.js +0 -5
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseBase.js +0 -7
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseKey.js +0 -4
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet.js +0 -7
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classPrivateMethodGet.js +0 -7
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classPrivateMethodInitSpec.js +0 -5
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classPrivateMethodSet.js +0 -3
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldDestructureSet.js +0 -8
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecGet.js +0 -8
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecSet.js +0 -9
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodGet.js +0 -5
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodSet.js +0 -3
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/construct.js +0 -18
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/createClass.js +0 -18
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js +0 -57
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelperLoose.js +0 -21
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/createSuper.js +0 -19
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/decorate.js +0 -396
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/defaults.js +0 -14
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/defineEnumerableProperties.js +0 -22
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/defineProperty.js +0 -14
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/extends.js +0 -16
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/get.js +0 -20
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +0 -6
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/identity.js +0 -3
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/inherits.js +0 -18
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js +0 -6
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/initializerDefineProperty.js +0 -9
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/initializerWarningHelper.js +0 -3
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/instanceof.js +0 -7
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/interopRequireDefault.js +0 -5
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/interopRequireWildcard.js +0 -51
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/isNativeFunction.js +0 -3
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +0 -12
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/iterableToArray.js +0 -3
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +0 -29
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimitLoose.js +0 -14
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/jsx.js +0 -26
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/maybeArrayLike.js +0 -9
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/newArrowCheck.js +0 -5
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +0 -3
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +0 -3
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/objectDestructuringEmpty.js +0 -3
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/objectSpread.js +0 -19
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +0 -27
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +0 -19
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +0 -14
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/package.json +0 -3
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +0 -11
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/readOnlyError.js +0 -3
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js +0 -352
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/set.js +0 -51
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +0 -7
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/skipFirstGeneratorNext.js +0 -7
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +0 -7
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/slicedToArrayLoose.js +0 -7
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/superPropBase.js +0 -9
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js +0 -11
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteralLoose.js +0 -8
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/tdz.js +0 -3
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/temporalRef.js +0 -5
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/temporalUndefined.js +0 -1
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/toArray.js +0 -7
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +0 -7
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +0 -13
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +0 -6
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/typeof.js +0 -9
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +0 -9
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/wrapAsyncGenerator.js +0 -6
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/wrapNativeSuper.js +0 -37
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/wrapRegExp.js +0 -50
- package/debuggingApp/node_modules/@babel/runtime/helpers/esm/writeOnlyError.js +0 -3
- package/debuggingApp/node_modules/@babel/runtime/helpers/extends.js +0 -18
- package/debuggingApp/node_modules/@babel/runtime/helpers/get.js +0 -23
- package/debuggingApp/node_modules/@babel/runtime/helpers/getPrototypeOf.js +0 -8
- package/debuggingApp/node_modules/@babel/runtime/helpers/identity.js +0 -5
- package/debuggingApp/node_modules/@babel/runtime/helpers/inherits.js +0 -21
- package/debuggingApp/node_modules/@babel/runtime/helpers/inheritsLoose.js +0 -9
- package/debuggingApp/node_modules/@babel/runtime/helpers/initializerDefineProperty.js +0 -11
- package/debuggingApp/node_modules/@babel/runtime/helpers/initializerWarningHelper.js +0 -5
- package/debuggingApp/node_modules/@babel/runtime/helpers/instanceof.js +0 -9
- package/debuggingApp/node_modules/@babel/runtime/helpers/interopRequireDefault.js +0 -7
- package/debuggingApp/node_modules/@babel/runtime/helpers/interopRequireWildcard.js +0 -53
- package/debuggingApp/node_modules/@babel/runtime/helpers/isNativeFunction.js +0 -5
- package/debuggingApp/node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js +0 -14
- package/debuggingApp/node_modules/@babel/runtime/helpers/iterableToArray.js +0 -5
- package/debuggingApp/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js +0 -31
- package/debuggingApp/node_modules/@babel/runtime/helpers/iterableToArrayLimitLoose.js +0 -16
- package/debuggingApp/node_modules/@babel/runtime/helpers/jsx.js +0 -29
- package/debuggingApp/node_modules/@babel/runtime/helpers/maybeArrayLike.js +0 -12
- package/debuggingApp/node_modules/@babel/runtime/helpers/newArrowCheck.js +0 -7
- package/debuggingApp/node_modules/@babel/runtime/helpers/nonIterableRest.js +0 -5
- package/debuggingApp/node_modules/@babel/runtime/helpers/nonIterableSpread.js +0 -5
- package/debuggingApp/node_modules/@babel/runtime/helpers/objectDestructuringEmpty.js +0 -5
- package/debuggingApp/node_modules/@babel/runtime/helpers/objectSpread.js +0 -22
- package/debuggingApp/node_modules/@babel/runtime/helpers/objectSpread2.js +0 -29
- package/debuggingApp/node_modules/@babel/runtime/helpers/objectWithoutProperties.js +0 -22
- package/debuggingApp/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js +0 -16
- package/debuggingApp/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js +0 -15
- package/debuggingApp/node_modules/@babel/runtime/helpers/readOnlyError.js +0 -5
- package/debuggingApp/node_modules/@babel/runtime/helpers/regeneratorRuntime.js +0 -354
- package/debuggingApp/node_modules/@babel/runtime/helpers/set.js +0 -54
- package/debuggingApp/node_modules/@babel/runtime/helpers/setPrototypeOf.js +0 -9
- package/debuggingApp/node_modules/@babel/runtime/helpers/skipFirstGeneratorNext.js +0 -9
- package/debuggingApp/node_modules/@babel/runtime/helpers/slicedToArray.js +0 -13
- package/debuggingApp/node_modules/@babel/runtime/helpers/slicedToArrayLoose.js +0 -13
- package/debuggingApp/node_modules/@babel/runtime/helpers/superPropBase.js +0 -12
- package/debuggingApp/node_modules/@babel/runtime/helpers/taggedTemplateLiteral.js +0 -13
- package/debuggingApp/node_modules/@babel/runtime/helpers/taggedTemplateLiteralLoose.js +0 -10
- package/debuggingApp/node_modules/@babel/runtime/helpers/tdz.js +0 -5
- package/debuggingApp/node_modules/@babel/runtime/helpers/temporalRef.js +0 -9
- package/debuggingApp/node_modules/@babel/runtime/helpers/temporalUndefined.js +0 -3
- package/debuggingApp/node_modules/@babel/runtime/helpers/toArray.js +0 -13
- package/debuggingApp/node_modules/@babel/runtime/helpers/toConsumableArray.js +0 -13
- package/debuggingApp/node_modules/@babel/runtime/helpers/toPrimitive.js +0 -16
- package/debuggingApp/node_modules/@babel/runtime/helpers/toPropertyKey.js +0 -10
- package/debuggingApp/node_modules/@babel/runtime/helpers/typeof.js +0 -11
- package/debuggingApp/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js +0 -12
- package/debuggingApp/node_modules/@babel/runtime/helpers/wrapAsyncGenerator.js +0 -9
- package/debuggingApp/node_modules/@babel/runtime/helpers/wrapNativeSuper.js +0 -42
- package/debuggingApp/node_modules/@babel/runtime/helpers/wrapRegExp.js +0 -55
- package/debuggingApp/node_modules/@babel/runtime/helpers/writeOnlyError.js +0 -5
- package/debuggingApp/node_modules/@babel/runtime/package.json +0 -876
- package/debuggingApp/node_modules/@babel/runtime/regenerator/index.js +0 -15
- package/debuggingApp/node_modules/accepts/HISTORY.md +0 -243
- package/debuggingApp/node_modules/accepts/LICENSE +0 -23
- package/debuggingApp/node_modules/accepts/README.md +0 -140
- package/debuggingApp/node_modules/accepts/index.js +0 -238
- package/debuggingApp/node_modules/accepts/package.json +0 -47
- package/debuggingApp/node_modules/array-flatten/LICENSE +0 -21
- package/debuggingApp/node_modules/array-flatten/README.md +0 -43
- package/debuggingApp/node_modules/array-flatten/array-flatten.js +0 -64
- package/debuggingApp/node_modules/array-flatten/package.json +0 -39
- package/debuggingApp/node_modules/body-parser/HISTORY.md +0 -651
- package/debuggingApp/node_modules/body-parser/LICENSE +0 -23
- package/debuggingApp/node_modules/body-parser/README.md +0 -464
- package/debuggingApp/node_modules/body-parser/SECURITY.md +0 -25
- package/debuggingApp/node_modules/body-parser/index.js +0 -157
- package/debuggingApp/node_modules/body-parser/lib/read.js +0 -205
- package/debuggingApp/node_modules/body-parser/lib/types/json.js +0 -236
- package/debuggingApp/node_modules/body-parser/lib/types/raw.js +0 -101
- package/debuggingApp/node_modules/body-parser/lib/types/text.js +0 -121
- package/debuggingApp/node_modules/body-parser/lib/types/urlencoded.js +0 -284
- package/debuggingApp/node_modules/body-parser/package.json +0 -56
- package/debuggingApp/node_modules/bytes/History.md +0 -97
- package/debuggingApp/node_modules/bytes/LICENSE +0 -23
- package/debuggingApp/node_modules/bytes/Readme.md +0 -152
- package/debuggingApp/node_modules/bytes/index.js +0 -170
- package/debuggingApp/node_modules/bytes/package.json +0 -42
- package/debuggingApp/node_modules/call-bind/.github/FUNDING.yml +0 -12
- package/debuggingApp/node_modules/call-bind/.nycrc +0 -13
- package/debuggingApp/node_modules/call-bind/CHANGELOG.md +0 -42
- package/debuggingApp/node_modules/call-bind/LICENSE +0 -21
- package/debuggingApp/node_modules/call-bind/README.md +0 -2
- package/debuggingApp/node_modules/call-bind/callBound.js +0 -15
- package/debuggingApp/node_modules/call-bind/index.js +0 -47
- package/debuggingApp/node_modules/call-bind/package.json +0 -80
- package/debuggingApp/node_modules/call-bind/test/callBound.js +0 -55
- package/debuggingApp/node_modules/call-bind/test/index.js +0 -66
- package/debuggingApp/node_modules/content-disposition/HISTORY.md +0 -60
- package/debuggingApp/node_modules/content-disposition/LICENSE +0 -22
- package/debuggingApp/node_modules/content-disposition/README.md +0 -142
- package/debuggingApp/node_modules/content-disposition/index.js +0 -458
- package/debuggingApp/node_modules/content-disposition/package.json +0 -44
- package/debuggingApp/node_modules/content-type/HISTORY.md +0 -24
- package/debuggingApp/node_modules/content-type/LICENSE +0 -22
- package/debuggingApp/node_modules/content-type/README.md +0 -92
- package/debuggingApp/node_modules/content-type/index.js +0 -222
- package/debuggingApp/node_modules/content-type/package.json +0 -40
- package/debuggingApp/node_modules/cookie/HISTORY.md +0 -142
- package/debuggingApp/node_modules/cookie/LICENSE +0 -24
- package/debuggingApp/node_modules/cookie/README.md +0 -302
- package/debuggingApp/node_modules/cookie/SECURITY.md +0 -25
- package/debuggingApp/node_modules/cookie/index.js +0 -270
- package/debuggingApp/node_modules/cookie/package.json +0 -44
- package/debuggingApp/node_modules/cookie-signature/History.md +0 -38
- package/debuggingApp/node_modules/cookie-signature/Readme.md +0 -42
- package/debuggingApp/node_modules/cookie-signature/index.js +0 -51
- package/debuggingApp/node_modules/cookie-signature/package.json +0 -18
- package/debuggingApp/node_modules/cookies/History.md +0 -62
- package/debuggingApp/node_modules/cookies/LICENSE.txt +0 -22
- package/debuggingApp/node_modules/cookies/README.md +0 -121
- package/debuggingApp/node_modules/cookies/lib/cookies.js +0 -181
- package/debuggingApp/node_modules/cookies/package.json +0 -24
- package/debuggingApp/node_modules/debug/.coveralls.yml +0 -1
- package/debuggingApp/node_modules/debug/.travis.yml +0 -14
- package/debuggingApp/node_modules/debug/CHANGELOG.md +0 -362
- package/debuggingApp/node_modules/debug/LICENSE +0 -19
- package/debuggingApp/node_modules/debug/Makefile +0 -50
- package/debuggingApp/node_modules/debug/README.md +0 -312
- package/debuggingApp/node_modules/debug/component.json +0 -19
- package/debuggingApp/node_modules/debug/node.js +0 -1
- package/debuggingApp/node_modules/debug/package.json +0 -49
- package/debuggingApp/node_modules/debug/src/browser.js +0 -185
- package/debuggingApp/node_modules/debug/src/debug.js +0 -202
- package/debuggingApp/node_modules/debug/src/index.js +0 -10
- package/debuggingApp/node_modules/debug/src/inspector-log.js +0 -15
- package/debuggingApp/node_modules/debug/src/node.js +0 -248
- package/debuggingApp/node_modules/depd/History.md +0 -103
- package/debuggingApp/node_modules/depd/LICENSE +0 -22
- package/debuggingApp/node_modules/depd/Readme.md +0 -280
- package/debuggingApp/node_modules/depd/index.js +0 -538
- package/debuggingApp/node_modules/depd/lib/browser/index.js +0 -77
- package/debuggingApp/node_modules/depd/package.json +0 -45
- package/debuggingApp/node_modules/destroy/LICENSE +0 -23
- package/debuggingApp/node_modules/destroy/README.md +0 -63
- package/debuggingApp/node_modules/destroy/index.js +0 -209
- package/debuggingApp/node_modules/destroy/package.json +0 -48
- package/debuggingApp/node_modules/ee-first/LICENSE +0 -22
- package/debuggingApp/node_modules/ee-first/README.md +0 -80
- package/debuggingApp/node_modules/ee-first/index.js +0 -95
- package/debuggingApp/node_modules/ee-first/package.json +0 -29
- package/debuggingApp/node_modules/encodeurl/HISTORY.md +0 -14
- package/debuggingApp/node_modules/encodeurl/LICENSE +0 -22
- package/debuggingApp/node_modules/encodeurl/README.md +0 -128
- package/debuggingApp/node_modules/encodeurl/index.js +0 -60
- package/debuggingApp/node_modules/encodeurl/package.json +0 -40
- package/debuggingApp/node_modules/escape-html/LICENSE +0 -24
- package/debuggingApp/node_modules/escape-html/Readme.md +0 -43
- package/debuggingApp/node_modules/escape-html/index.js +0 -78
- package/debuggingApp/node_modules/escape-html/package.json +0 -24
- package/debuggingApp/node_modules/etag/HISTORY.md +0 -83
- package/debuggingApp/node_modules/etag/LICENSE +0 -22
- package/debuggingApp/node_modules/etag/README.md +0 -159
- package/debuggingApp/node_modules/etag/index.js +0 -131
- package/debuggingApp/node_modules/etag/package.json +0 -47
- package/debuggingApp/node_modules/express/History.md +0 -3579
- package/debuggingApp/node_modules/express/LICENSE +0 -24
- package/debuggingApp/node_modules/express/Readme.md +0 -166
- package/debuggingApp/node_modules/express/index.js +0 -11
- package/debuggingApp/node_modules/express/lib/application.js +0 -661
- package/debuggingApp/node_modules/express/lib/express.js +0 -116
- package/debuggingApp/node_modules/express/lib/middleware/init.js +0 -43
- package/debuggingApp/node_modules/express/lib/middleware/query.js +0 -47
- package/debuggingApp/node_modules/express/lib/request.js +0 -525
- package/debuggingApp/node_modules/express/lib/response.js +0 -1169
- package/debuggingApp/node_modules/express/lib/router/index.js +0 -673
- package/debuggingApp/node_modules/express/lib/router/layer.js +0 -181
- package/debuggingApp/node_modules/express/lib/router/route.js +0 -225
- package/debuggingApp/node_modules/express/lib/utils.js +0 -304
- package/debuggingApp/node_modules/express/lib/view.js +0 -182
- package/debuggingApp/node_modules/express/package.json +0 -99
- package/debuggingApp/node_modules/finalhandler/HISTORY.md +0 -195
- package/debuggingApp/node_modules/finalhandler/LICENSE +0 -22
- package/debuggingApp/node_modules/finalhandler/README.md +0 -147
- package/debuggingApp/node_modules/finalhandler/SECURITY.md +0 -25
- package/debuggingApp/node_modules/finalhandler/index.js +0 -336
- package/debuggingApp/node_modules/finalhandler/package.json +0 -46
- package/debuggingApp/node_modules/forwarded/HISTORY.md +0 -21
- package/debuggingApp/node_modules/forwarded/LICENSE +0 -22
- package/debuggingApp/node_modules/forwarded/README.md +0 -57
- package/debuggingApp/node_modules/forwarded/index.js +0 -90
- package/debuggingApp/node_modules/forwarded/package.json +0 -45
- package/debuggingApp/node_modules/fresh/HISTORY.md +0 -70
- package/debuggingApp/node_modules/fresh/LICENSE +0 -23
- package/debuggingApp/node_modules/fresh/README.md +0 -119
- package/debuggingApp/node_modules/fresh/index.js +0 -137
- package/debuggingApp/node_modules/fresh/package.json +0 -46
- package/debuggingApp/node_modules/function-bind/.jscs.json +0 -176
- package/debuggingApp/node_modules/function-bind/.travis.yml +0 -168
- package/debuggingApp/node_modules/function-bind/LICENSE +0 -20
- package/debuggingApp/node_modules/function-bind/README.md +0 -48
- package/debuggingApp/node_modules/function-bind/implementation.js +0 -52
- package/debuggingApp/node_modules/function-bind/index.js +0 -5
- package/debuggingApp/node_modules/function-bind/package.json +0 -63
- package/debuggingApp/node_modules/function-bind/test/index.js +0 -252
- package/debuggingApp/node_modules/get-intrinsic/.github/FUNDING.yml +0 -12
- package/debuggingApp/node_modules/get-intrinsic/.nycrc +0 -9
- package/debuggingApp/node_modules/get-intrinsic/CHANGELOG.md +0 -91
- package/debuggingApp/node_modules/get-intrinsic/LICENSE +0 -21
- package/debuggingApp/node_modules/get-intrinsic/README.md +0 -71
- package/debuggingApp/node_modules/get-intrinsic/index.js +0 -334
- package/debuggingApp/node_modules/get-intrinsic/package.json +0 -88
- package/debuggingApp/node_modules/get-intrinsic/test/GetIntrinsic.js +0 -274
- package/debuggingApp/node_modules/has/LICENSE-MIT +0 -22
- package/debuggingApp/node_modules/has/README.md +0 -18
- package/debuggingApp/node_modules/has/package.json +0 -48
- package/debuggingApp/node_modules/has/src/index.js +0 -5
- package/debuggingApp/node_modules/has/test/index.js +0 -10
- package/debuggingApp/node_modules/has-symbols/.github/FUNDING.yml +0 -12
- package/debuggingApp/node_modules/has-symbols/.nycrc +0 -9
- package/debuggingApp/node_modules/has-symbols/CHANGELOG.md +0 -75
- package/debuggingApp/node_modules/has-symbols/LICENSE +0 -21
- package/debuggingApp/node_modules/has-symbols/README.md +0 -46
- package/debuggingApp/node_modules/has-symbols/index.js +0 -13
- package/debuggingApp/node_modules/has-symbols/package.json +0 -101
- package/debuggingApp/node_modules/has-symbols/shams.js +0 -42
- package/debuggingApp/node_modules/has-symbols/test/index.js +0 -22
- package/debuggingApp/node_modules/has-symbols/test/shams/core-js.js +0 -28
- package/debuggingApp/node_modules/has-symbols/test/shams/get-own-property-symbols.js +0 -28
- package/debuggingApp/node_modules/has-symbols/test/tests.js +0 -56
- package/debuggingApp/node_modules/http-errors/HISTORY.md +0 -180
- package/debuggingApp/node_modules/http-errors/LICENSE +0 -23
- package/debuggingApp/node_modules/http-errors/README.md +0 -169
- package/debuggingApp/node_modules/http-errors/index.js +0 -289
- package/debuggingApp/node_modules/http-errors/package.json +0 -50
- package/debuggingApp/node_modules/i18next/CONTRIBUTING.md +0 -22
- package/debuggingApp/node_modules/i18next/LICENSE +0 -21
- package/debuggingApp/node_modules/i18next/README.md +0 -60
- package/debuggingApp/node_modules/i18next/dist/cjs/i18next.js +0 -2801
- package/debuggingApp/node_modules/i18next/dist/esm/i18next.bundled.js +0 -2954
- package/debuggingApp/node_modules/i18next/dist/esm/i18next.js +0 -2802
- package/debuggingApp/node_modules/i18next/dist/esm/package.json +0 -1
- package/debuggingApp/node_modules/i18next/dist/umd/i18next.js +0 -2922
- package/debuggingApp/node_modules/i18next/dist/umd/i18next.min.js +0 -1
- package/debuggingApp/node_modules/i18next/i18next.js +0 -2922
- package/debuggingApp/node_modules/i18next/i18next.min.js +0 -1
- package/debuggingApp/node_modules/i18next/index.d.ts +0 -1257
- package/debuggingApp/node_modules/i18next/index.js +0 -5
- package/debuggingApp/node_modules/i18next/package.json +0 -126
- package/debuggingApp/node_modules/i18next-express-middleware/LICENSE +0 -22
- package/debuggingApp/node_modules/i18next-express-middleware/README.md +0 -167
- package/debuggingApp/node_modules/i18next-express-middleware/lib/LanguageDetector.js +0 -138
- package/debuggingApp/node_modules/i18next-express-middleware/lib/index.js +0 -152
- package/debuggingApp/node_modules/i18next-express-middleware/lib/languageLookups/cookie.js +0 -47
- package/debuggingApp/node_modules/i18next-express-middleware/lib/languageLookups/header.js +0 -59
- package/debuggingApp/node_modules/i18next-express-middleware/lib/languageLookups/path.js +0 -27
- package/debuggingApp/node_modules/i18next-express-middleware/lib/languageLookups/querystring.js +0 -31
- package/debuggingApp/node_modules/i18next-express-middleware/lib/languageLookups/session.js +0 -27
- package/debuggingApp/node_modules/i18next-express-middleware/lib/utils.js +0 -70
- package/debuggingApp/node_modules/i18next-express-middleware/package.json +0 -43
- package/debuggingApp/node_modules/i18next-node-fs-backend/LICENSE +0 -22
- package/debuggingApp/node_modules/i18next-node-fs-backend/README.md +0 -72
- package/debuggingApp/node_modules/i18next-node-fs-backend/lib/index.js +0 -162
- package/debuggingApp/node_modules/i18next-node-fs-backend/lib/utils.js +0 -78
- package/debuggingApp/node_modules/i18next-node-fs-backend/package.json +0 -43
- package/debuggingApp/node_modules/iconv-lite/Changelog.md +0 -162
- package/debuggingApp/node_modules/iconv-lite/LICENSE +0 -21
- package/debuggingApp/node_modules/iconv-lite/README.md +0 -156
- package/debuggingApp/node_modules/iconv-lite/encodings/dbcs-codec.js +0 -555
- package/debuggingApp/node_modules/iconv-lite/encodings/dbcs-data.js +0 -176
- package/debuggingApp/node_modules/iconv-lite/encodings/index.js +0 -22
- package/debuggingApp/node_modules/iconv-lite/encodings/internal.js +0 -188
- package/debuggingApp/node_modules/iconv-lite/encodings/sbcs-codec.js +0 -72
- package/debuggingApp/node_modules/iconv-lite/encodings/sbcs-data-generated.js +0 -451
- package/debuggingApp/node_modules/iconv-lite/encodings/sbcs-data.js +0 -174
- package/debuggingApp/node_modules/iconv-lite/encodings/tables/big5-added.json +0 -122
- package/debuggingApp/node_modules/iconv-lite/encodings/tables/cp936.json +0 -264
- package/debuggingApp/node_modules/iconv-lite/encodings/tables/cp949.json +0 -273
- package/debuggingApp/node_modules/iconv-lite/encodings/tables/cp950.json +0 -177
- package/debuggingApp/node_modules/iconv-lite/encodings/tables/eucjp.json +0 -182
- package/debuggingApp/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +0 -1
- package/debuggingApp/node_modules/iconv-lite/encodings/tables/gbk-added.json +0 -55
- package/debuggingApp/node_modules/iconv-lite/encodings/tables/shiftjis.json +0 -125
- package/debuggingApp/node_modules/iconv-lite/encodings/utf16.js +0 -177
- package/debuggingApp/node_modules/iconv-lite/encodings/utf7.js +0 -290
- package/debuggingApp/node_modules/iconv-lite/lib/bom-handling.js +0 -52
- package/debuggingApp/node_modules/iconv-lite/lib/extend-node.js +0 -217
- package/debuggingApp/node_modules/iconv-lite/lib/index.d.ts +0 -24
- package/debuggingApp/node_modules/iconv-lite/lib/index.js +0 -153
- package/debuggingApp/node_modules/iconv-lite/lib/streams.js +0 -121
- package/debuggingApp/node_modules/iconv-lite/package.json +0 -46
- package/debuggingApp/node_modules/inherits/LICENSE +0 -16
- package/debuggingApp/node_modules/inherits/README.md +0 -42
- package/debuggingApp/node_modules/inherits/inherits.js +0 -9
- package/debuggingApp/node_modules/inherits/inherits_browser.js +0 -27
- package/debuggingApp/node_modules/inherits/package.json +0 -29
- package/debuggingApp/node_modules/ipaddr.js/LICENSE +0 -19
- package/debuggingApp/node_modules/ipaddr.js/README.md +0 -233
- package/debuggingApp/node_modules/ipaddr.js/ipaddr.min.js +0 -1
- package/debuggingApp/node_modules/ipaddr.js/lib/ipaddr.js +0 -673
- package/debuggingApp/node_modules/ipaddr.js/lib/ipaddr.js.d.ts +0 -68
- package/debuggingApp/node_modules/ipaddr.js/package.json +0 -35
- package/debuggingApp/node_modules/json5/.travis.yml +0 -5
- package/debuggingApp/node_modules/json5/CHANGELOG.md +0 -144
- package/debuggingApp/node_modules/json5/README.md +0 -271
- package/debuggingApp/node_modules/json5/lib/cli.js +0 -41
- package/debuggingApp/node_modules/json5/lib/json5.js +0 -754
- package/debuggingApp/node_modules/json5/lib/require.js +0 -18
- package/debuggingApp/node_modules/json5/package.json +0 -30
- package/debuggingApp/node_modules/json5/package.json5 +0 -30
- package/debuggingApp/node_modules/json5/test/parse-cases/arrays/empty-array.json +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/arrays/leading-comma-array.js +0 -3
- package/debuggingApp/node_modules/json5/test/parse-cases/arrays/lone-trailing-comma-array.js +0 -3
- package/debuggingApp/node_modules/json5/test/parse-cases/arrays/no-comma-array.txt +0 -4
- package/debuggingApp/node_modules/json5/test/parse-cases/arrays/regular-array.json +0 -5
- package/debuggingApp/node_modules/json5/test/parse-cases/arrays/trailing-comma-array.json5 +0 -3
- package/debuggingApp/node_modules/json5/test/parse-cases/comments/block-comment-following-array-element.json5 +0 -6
- package/debuggingApp/node_modules/json5/test/parse-cases/comments/block-comment-following-top-level-value.json5 +0 -5
- package/debuggingApp/node_modules/json5/test/parse-cases/comments/block-comment-in-string.json +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/comments/block-comment-preceding-top-level-value.json5 +0 -5
- package/debuggingApp/node_modules/json5/test/parse-cases/comments/block-comment-with-asterisks.json5 +0 -7
- package/debuggingApp/node_modules/json5/test/parse-cases/comments/inline-comment-following-array-element.json5 +0 -3
- package/debuggingApp/node_modules/json5/test/parse-cases/comments/inline-comment-following-top-level-value.json5 +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/comments/inline-comment-in-string.json +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/comments/inline-comment-preceding-top-level-value.json5 +0 -2
- package/debuggingApp/node_modules/json5/test/parse-cases/comments/top-level-block-comment.txt +0 -4
- package/debuggingApp/node_modules/json5/test/parse-cases/comments/top-level-inline-comment.txt +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/comments/unterminated-block-comment.txt +0 -5
- package/debuggingApp/node_modules/json5/test/parse-cases/misc/empty.txt +0 -0
- package/debuggingApp/node_modules/json5/test/parse-cases/misc/npm-package.json +0 -106
- package/debuggingApp/node_modules/json5/test/parse-cases/misc/npm-package.json5 +0 -106
- package/debuggingApp/node_modules/json5/test/parse-cases/misc/readme-example.json5 +0 -25
- package/debuggingApp/node_modules/json5/test/parse-cases/misc/valid-whitespace.json5 +0 -5
- package/debuggingApp/node_modules/json5/test/parse-cases/new-lines/.gitattributes +0 -4
- package/debuggingApp/node_modules/json5/test/parse-cases/new-lines/comment-cr.json5 +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/new-lines/comment-crlf.json5 +0 -3
- package/debuggingApp/node_modules/json5/test/parse-cases/new-lines/comment-lf.json5 +0 -3
- package/debuggingApp/node_modules/json5/test/parse-cases/new-lines/escaped-cr.json5 +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/new-lines/escaped-crlf.json5 +0 -5
- package/debuggingApp/node_modules/json5/test/parse-cases/new-lines/escaped-lf.json5 +0 -5
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/binary-coffeescript.txt +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/float-leading-decimal-point.json5 +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/float-leading-zero.json +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/float-trailing-decimal-point-with-integer-exponent.json5 +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/float-trailing-decimal-point.json5 +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/float-with-integer-exponent.json +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/float.json +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/hexadecimal-empty.txt +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/hexadecimal-lowercase-letter.json5 +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/hexadecimal-uppercase-x.json5 +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/hexadecimal-with-integer-exponent.json5 +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/hexadecimal.json5 +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/infinity.json5 +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/integer-with-float-exponent.txt +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/integer-with-hexadecimal-exponent.txt +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/integer-with-integer-exponent.json +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/integer-with-negative-float-exponent.txt +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/integer-with-negative-hexadecimal-exponent.txt +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/integer-with-negative-integer-exponent.json +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/integer-with-negative-zero-integer-exponent.json +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/integer-with-positive-float-exponent.txt +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/integer-with-positive-hexadecimal-exponent.txt +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/integer-with-positive-integer-exponent.json +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/integer-with-positive-zero-integer-exponent.json +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/integer-with-zero-integer-exponent.json +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/integer.json +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/lone-decimal-point.txt +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/nan.json5 +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-binary-coffeescript.txt +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-float-leading-decimal-point.json5 +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-float-leading-zero.json +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-float-trailing-decimal-point.json5 +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-float.json +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-hexadecimal.json5 +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-infinity.json5 +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-integer.json +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-noctal.js +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-octal-coffeescript.txt +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-octal.txt +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-zero-binary-coffeescript.txt +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-zero-float-leading-decimal-point.json5 +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-zero-float-trailing-decimal-point.json5 +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-zero-float.json +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-zero-hexadecimal.json5 +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-zero-integer.json +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-zero-octal-coffeescript.txt +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-zero-octal.txt +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/noctal-with-leading-octal-digit.js +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/noctal.js +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/octal-coffeescript.txt +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/octal.txt +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-binary-coffeescript.txt +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-float-leading-decimal-point.json5 +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-float-leading-zero.json5 +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-float-trailing-decimal-point.json5 +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-float.json5 +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-hexadecimal.json5 +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-infinity.json5 +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-integer.json5 +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-noctal.js +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-octal-coffeescript.txt +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-octal.txt +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-zero-binary-coffeescript.txt +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-zero-float-leading-decimal-point.json5 +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-zero-float-trailing-decimal-point.json5 +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-zero-float.json5 +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-zero-hexadecimal.json5 +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-zero-integer.json5 +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-zero-octal-coffeescript.txt +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-zero-octal.txt +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/zero-binary-coffeescript.txt +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/zero-float-leading-decimal-point.json5 +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/zero-float-trailing-decimal-point.json5 +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/zero-float.json +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/zero-hexadecimal.json5 +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/zero-integer-with-integer-exponent.json +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/zero-integer.json +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/zero-octal-coffeescript.txt +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/numbers/zero-octal.txt +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/objects/duplicate-keys.json +0 -4
- package/debuggingApp/node_modules/json5/test/parse-cases/objects/empty-object.json +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/objects/illegal-unquoted-key-number.txt +0 -3
- package/debuggingApp/node_modules/json5/test/parse-cases/objects/illegal-unquoted-key-symbol.txt +0 -3
- package/debuggingApp/node_modules/json5/test/parse-cases/objects/leading-comma-object.txt +0 -3
- package/debuggingApp/node_modules/json5/test/parse-cases/objects/lone-trailing-comma-object.txt +0 -3
- package/debuggingApp/node_modules/json5/test/parse-cases/objects/no-comma-object.txt +0 -4
- package/debuggingApp/node_modules/json5/test/parse-cases/objects/reserved-unquoted-key.json5 +0 -3
- package/debuggingApp/node_modules/json5/test/parse-cases/objects/single-quoted-key.json5 +0 -3
- package/debuggingApp/node_modules/json5/test/parse-cases/objects/trailing-comma-object.json5 +0 -3
- package/debuggingApp/node_modules/json5/test/parse-cases/objects/unquoted-keys.json5 +0 -8
- package/debuggingApp/node_modules/json5/test/parse-cases/strings/escaped-single-quoted-string.json5 +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/strings/multi-line-string.json5 +0 -2
- package/debuggingApp/node_modules/json5/test/parse-cases/strings/single-quoted-string.json5 +0 -1
- package/debuggingApp/node_modules/json5/test/parse-cases/strings/unescaped-multi-line-string.txt +0 -2
- package/debuggingApp/node_modules/json5/test/parse-cases/todo/unicode-escaped-unquoted-key.json5 +0 -3
- package/debuggingApp/node_modules/json5/test/parse-cases/todo/unicode-unquoted-key.json5 +0 -3
- package/debuggingApp/node_modules/json5/test/parse.js +0 -89
- package/debuggingApp/node_modules/json5/test/readme.md +0 -23
- package/debuggingApp/node_modules/json5/test/require.js +0 -18
- package/debuggingApp/node_modules/json5/test/stringify.js +0 -498
- package/debuggingApp/node_modules/keygrip/HISTORY.md +0 -20
- package/debuggingApp/node_modules/keygrip/LICENSE +0 -21
- package/debuggingApp/node_modules/keygrip/README.md +0 -103
- package/debuggingApp/node_modules/keygrip/index.js +0 -71
- package/debuggingApp/node_modules/keygrip/package.json +0 -25
- package/debuggingApp/node_modules/media-typer/HISTORY.md +0 -22
- package/debuggingApp/node_modules/media-typer/LICENSE +0 -22
- package/debuggingApp/node_modules/media-typer/README.md +0 -81
- package/debuggingApp/node_modules/media-typer/index.js +0 -270
- package/debuggingApp/node_modules/media-typer/package.json +0 -26
- package/debuggingApp/node_modules/merge-descriptors/HISTORY.md +0 -21
- package/debuggingApp/node_modules/merge-descriptors/LICENSE +0 -23
- package/debuggingApp/node_modules/merge-descriptors/README.md +0 -48
- package/debuggingApp/node_modules/merge-descriptors/index.js +0 -60
- package/debuggingApp/node_modules/merge-descriptors/package.json +0 -32
- package/debuggingApp/node_modules/methods/HISTORY.md +0 -29
- package/debuggingApp/node_modules/methods/LICENSE +0 -24
- package/debuggingApp/node_modules/methods/README.md +0 -51
- package/debuggingApp/node_modules/methods/index.js +0 -69
- package/debuggingApp/node_modules/methods/package.json +0 -36
- package/debuggingApp/node_modules/mime/CHANGELOG.md +0 -164
- package/debuggingApp/node_modules/mime/LICENSE +0 -21
- package/debuggingApp/node_modules/mime/README.md +0 -90
- package/debuggingApp/node_modules/mime/cli.js +0 -8
- package/debuggingApp/node_modules/mime/mime.js +0 -108
- package/debuggingApp/node_modules/mime/package.json +0 -44
- package/debuggingApp/node_modules/mime/src/build.js +0 -53
- package/debuggingApp/node_modules/mime/src/test.js +0 -60
- package/debuggingApp/node_modules/mime/types.json +0 -1
- package/debuggingApp/node_modules/mime-db/HISTORY.md +0 -507
- package/debuggingApp/node_modules/mime-db/LICENSE +0 -23
- package/debuggingApp/node_modules/mime-db/README.md +0 -100
- package/debuggingApp/node_modules/mime-db/db.json +0 -8519
- package/debuggingApp/node_modules/mime-db/index.js +0 -12
- package/debuggingApp/node_modules/mime-db/package.json +0 -60
- package/debuggingApp/node_modules/mime-types/HISTORY.md +0 -397
- package/debuggingApp/node_modules/mime-types/LICENSE +0 -23
- package/debuggingApp/node_modules/mime-types/README.md +0 -113
- package/debuggingApp/node_modules/mime-types/index.js +0 -188
- package/debuggingApp/node_modules/mime-types/package.json +0 -44
- package/debuggingApp/node_modules/ms/index.js +0 -152
- package/debuggingApp/node_modules/ms/license.md +0 -21
- package/debuggingApp/node_modules/ms/package.json +0 -37
- package/debuggingApp/node_modules/ms/readme.md +0 -51
- package/debuggingApp/node_modules/negotiator/HISTORY.md +0 -108
- package/debuggingApp/node_modules/negotiator/LICENSE +0 -24
- package/debuggingApp/node_modules/negotiator/README.md +0 -203
- package/debuggingApp/node_modules/negotiator/index.js +0 -82
- package/debuggingApp/node_modules/negotiator/lib/charset.js +0 -169
- package/debuggingApp/node_modules/negotiator/lib/encoding.js +0 -184
- package/debuggingApp/node_modules/negotiator/lib/language.js +0 -179
- package/debuggingApp/node_modules/negotiator/lib/mediaType.js +0 -294
- package/debuggingApp/node_modules/negotiator/package.json +0 -42
- package/debuggingApp/node_modules/object-inspect/.github/FUNDING.yml +0 -12
- package/debuggingApp/node_modules/object-inspect/.nycrc +0 -13
- package/debuggingApp/node_modules/object-inspect/CHANGELOG.md +0 -360
- package/debuggingApp/node_modules/object-inspect/LICENSE +0 -21
- package/debuggingApp/node_modules/object-inspect/example/all.js +0 -23
- package/debuggingApp/node_modules/object-inspect/example/circular.js +0 -6
- package/debuggingApp/node_modules/object-inspect/example/fn.js +0 -5
- package/debuggingApp/node_modules/object-inspect/example/inspect.js +0 -10
- package/debuggingApp/node_modules/object-inspect/index.js +0 -512
- package/debuggingApp/node_modules/object-inspect/package-support.json +0 -20
- package/debuggingApp/node_modules/object-inspect/package.json +0 -94
- package/debuggingApp/node_modules/object-inspect/readme.markdown +0 -86
- package/debuggingApp/node_modules/object-inspect/test/bigint.js +0 -58
- package/debuggingApp/node_modules/object-inspect/test/browser/dom.js +0 -15
- package/debuggingApp/node_modules/object-inspect/test/circular.js +0 -16
- package/debuggingApp/node_modules/object-inspect/test/deep.js +0 -12
- package/debuggingApp/node_modules/object-inspect/test/element.js +0 -53
- package/debuggingApp/node_modules/object-inspect/test/err.js +0 -48
- package/debuggingApp/node_modules/object-inspect/test/fakes.js +0 -29
- package/debuggingApp/node_modules/object-inspect/test/fn.js +0 -76
- package/debuggingApp/node_modules/object-inspect/test/has.js +0 -15
- package/debuggingApp/node_modules/object-inspect/test/holes.js +0 -15
- package/debuggingApp/node_modules/object-inspect/test/indent-option.js +0 -271
- package/debuggingApp/node_modules/object-inspect/test/inspect.js +0 -139
- package/debuggingApp/node_modules/object-inspect/test/lowbyte.js +0 -12
- package/debuggingApp/node_modules/object-inspect/test/number.js +0 -58
- package/debuggingApp/node_modules/object-inspect/test/quoteStyle.js +0 -17
- package/debuggingApp/node_modules/object-inspect/test/toStringTag.js +0 -40
- package/debuggingApp/node_modules/object-inspect/test/undef.js +0 -12
- package/debuggingApp/node_modules/object-inspect/test/values.js +0 -211
- package/debuggingApp/node_modules/object-inspect/test-core-js.js +0 -26
- package/debuggingApp/node_modules/object-inspect/util.inspect.js +0 -1
- package/debuggingApp/node_modules/on-finished/HISTORY.md +0 -98
- package/debuggingApp/node_modules/on-finished/LICENSE +0 -23
- package/debuggingApp/node_modules/on-finished/README.md +0 -162
- package/debuggingApp/node_modules/on-finished/index.js +0 -234
- package/debuggingApp/node_modules/on-finished/package.json +0 -39
- package/debuggingApp/node_modules/parseurl/HISTORY.md +0 -58
- package/debuggingApp/node_modules/parseurl/LICENSE +0 -24
- package/debuggingApp/node_modules/parseurl/README.md +0 -133
- package/debuggingApp/node_modules/parseurl/index.js +0 -158
- package/debuggingApp/node_modules/parseurl/package.json +0 -40
- package/debuggingApp/node_modules/path-to-regexp/History.md +0 -36
- package/debuggingApp/node_modules/path-to-regexp/LICENSE +0 -21
- package/debuggingApp/node_modules/path-to-regexp/Readme.md +0 -35
- package/debuggingApp/node_modules/path-to-regexp/index.js +0 -129
- package/debuggingApp/node_modules/path-to-regexp/package.json +0 -30
- package/debuggingApp/node_modules/proxy-addr/HISTORY.md +0 -161
- package/debuggingApp/node_modules/proxy-addr/LICENSE +0 -22
- package/debuggingApp/node_modules/proxy-addr/README.md +0 -139
- package/debuggingApp/node_modules/proxy-addr/index.js +0 -327
- package/debuggingApp/node_modules/proxy-addr/package.json +0 -47
- package/debuggingApp/node_modules/qs/.github/FUNDING.yml +0 -12
- package/debuggingApp/node_modules/qs/.nycrc +0 -13
- package/debuggingApp/node_modules/qs/CHANGELOG.md +0 -388
- package/debuggingApp/node_modules/qs/LICENSE.md +0 -29
- package/debuggingApp/node_modules/qs/README.md +0 -623
- package/debuggingApp/node_modules/qs/dist/qs.js +0 -2044
- package/debuggingApp/node_modules/qs/lib/formats.js +0 -23
- package/debuggingApp/node_modules/qs/lib/index.js +0 -11
- package/debuggingApp/node_modules/qs/lib/parse.js +0 -263
- package/debuggingApp/node_modules/qs/lib/stringify.js +0 -317
- package/debuggingApp/node_modules/qs/lib/utils.js +0 -252
- package/debuggingApp/node_modules/qs/package.json +0 -73
- package/debuggingApp/node_modules/qs/test/parse.js +0 -841
- package/debuggingApp/node_modules/qs/test/stringify.js +0 -865
- package/debuggingApp/node_modules/qs/test/utils.js +0 -136
- package/debuggingApp/node_modules/range-parser/HISTORY.md +0 -56
- package/debuggingApp/node_modules/range-parser/LICENSE +0 -23
- package/debuggingApp/node_modules/range-parser/README.md +0 -84
- package/debuggingApp/node_modules/range-parser/index.js +0 -162
- package/debuggingApp/node_modules/range-parser/package.json +0 -44
- package/debuggingApp/node_modules/raw-body/HISTORY.md +0 -303
- package/debuggingApp/node_modules/raw-body/LICENSE +0 -22
- package/debuggingApp/node_modules/raw-body/README.md +0 -223
- package/debuggingApp/node_modules/raw-body/SECURITY.md +0 -24
- package/debuggingApp/node_modules/raw-body/index.d.ts +0 -87
- package/debuggingApp/node_modules/raw-body/index.js +0 -329
- package/debuggingApp/node_modules/raw-body/package.json +0 -49
- package/debuggingApp/node_modules/regenerator-runtime/LICENSE +0 -21
- package/debuggingApp/node_modules/regenerator-runtime/README.md +0 -31
- package/debuggingApp/node_modules/regenerator-runtime/package.json +0 -19
- package/debuggingApp/node_modules/regenerator-runtime/path.js +0 -11
- package/debuggingApp/node_modules/regenerator-runtime/runtime.js +0 -754
- package/debuggingApp/node_modules/safe-buffer/LICENSE +0 -21
- package/debuggingApp/node_modules/safe-buffer/README.md +0 -584
- package/debuggingApp/node_modules/safe-buffer/index.d.ts +0 -187
- package/debuggingApp/node_modules/safe-buffer/index.js +0 -65
- package/debuggingApp/node_modules/safe-buffer/package.json +0 -51
- package/debuggingApp/node_modules/safer-buffer/LICENSE +0 -21
- package/debuggingApp/node_modules/safer-buffer/Porting-Buffer.md +0 -268
- package/debuggingApp/node_modules/safer-buffer/Readme.md +0 -156
- package/debuggingApp/node_modules/safer-buffer/dangerous.js +0 -58
- package/debuggingApp/node_modules/safer-buffer/package.json +0 -34
- package/debuggingApp/node_modules/safer-buffer/safer.js +0 -77
- package/debuggingApp/node_modules/safer-buffer/tests.js +0 -406
- package/debuggingApp/node_modules/send/HISTORY.md +0 -521
- package/debuggingApp/node_modules/send/LICENSE +0 -23
- package/debuggingApp/node_modules/send/README.md +0 -327
- package/debuggingApp/node_modules/send/SECURITY.md +0 -24
- package/debuggingApp/node_modules/send/index.js +0 -1143
- package/debuggingApp/node_modules/send/node_modules/ms/index.js +0 -162
- package/debuggingApp/node_modules/send/node_modules/ms/license.md +0 -21
- package/debuggingApp/node_modules/send/node_modules/ms/package.json +0 -38
- package/debuggingApp/node_modules/send/node_modules/ms/readme.md +0 -59
- package/debuggingApp/node_modules/send/package.json +0 -62
- package/debuggingApp/node_modules/serve-static/HISTORY.md +0 -471
- package/debuggingApp/node_modules/serve-static/LICENSE +0 -25
- package/debuggingApp/node_modules/serve-static/README.md +0 -257
- package/debuggingApp/node_modules/serve-static/index.js +0 -210
- package/debuggingApp/node_modules/serve-static/package.json +0 -42
- package/debuggingApp/node_modules/setprototypeof/LICENSE +0 -13
- package/debuggingApp/node_modules/setprototypeof/README.md +0 -31
- package/debuggingApp/node_modules/setprototypeof/index.d.ts +0 -2
- package/debuggingApp/node_modules/setprototypeof/index.js +0 -17
- package/debuggingApp/node_modules/setprototypeof/package.json +0 -38
- package/debuggingApp/node_modules/setprototypeof/test/index.js +0 -24
- package/debuggingApp/node_modules/side-channel/.github/FUNDING.yml +0 -12
- package/debuggingApp/node_modules/side-channel/.nycrc +0 -13
- package/debuggingApp/node_modules/side-channel/CHANGELOG.md +0 -65
- package/debuggingApp/node_modules/side-channel/LICENSE +0 -21
- package/debuggingApp/node_modules/side-channel/README.md +0 -2
- package/debuggingApp/node_modules/side-channel/index.js +0 -124
- package/debuggingApp/node_modules/side-channel/package.json +0 -67
- package/debuggingApp/node_modules/side-channel/test/index.js +0 -78
- package/debuggingApp/node_modules/statuses/HISTORY.md +0 -82
- package/debuggingApp/node_modules/statuses/LICENSE +0 -23
- package/debuggingApp/node_modules/statuses/README.md +0 -136
- package/debuggingApp/node_modules/statuses/codes.json +0 -65
- package/debuggingApp/node_modules/statuses/index.js +0 -146
- package/debuggingApp/node_modules/statuses/package.json +0 -49
- package/debuggingApp/node_modules/toidentifier/HISTORY.md +0 -9
- package/debuggingApp/node_modules/toidentifier/LICENSE +0 -21
- package/debuggingApp/node_modules/toidentifier/README.md +0 -61
- package/debuggingApp/node_modules/toidentifier/index.js +0 -32
- package/debuggingApp/node_modules/toidentifier/package.json +0 -38
- package/debuggingApp/node_modules/type-is/HISTORY.md +0 -259
- package/debuggingApp/node_modules/type-is/LICENSE +0 -23
- package/debuggingApp/node_modules/type-is/README.md +0 -170
- package/debuggingApp/node_modules/type-is/index.js +0 -266
- package/debuggingApp/node_modules/type-is/package.json +0 -45
- package/debuggingApp/node_modules/unpipe/HISTORY.md +0 -4
- package/debuggingApp/node_modules/unpipe/LICENSE +0 -22
- package/debuggingApp/node_modules/unpipe/README.md +0 -43
- package/debuggingApp/node_modules/unpipe/index.js +0 -69
- package/debuggingApp/node_modules/unpipe/package.json +0 -27
- package/debuggingApp/node_modules/utils-merge/LICENSE +0 -20
- package/debuggingApp/node_modules/utils-merge/README.md +0 -34
- package/debuggingApp/node_modules/utils-merge/index.js +0 -23
- package/debuggingApp/node_modules/utils-merge/package.json +0 -40
- package/debuggingApp/node_modules/vary/HISTORY.md +0 -39
- package/debuggingApp/node_modules/vary/LICENSE +0 -22
- package/debuggingApp/node_modules/vary/README.md +0 -101
- package/debuggingApp/node_modules/vary/index.js +0 -149
- package/debuggingApp/node_modules/vary/package.json +0 -43
- package/debuggingApp/package-lock.json +0 -1162
- package/debuggingApp/package.json +0 -18
- package/debuggingApp/server.js +0 -42
- package/dist/cjs/locize.js +0 -464
- package/dist/esm/locize.js +0 -454
|
@@ -1,623 +0,0 @@
|
|
|
1
|
-
# qs <sup>[![Version Badge][2]][1]</sup>
|
|
2
|
-
|
|
3
|
-
[![github actions][actions-image]][actions-url]
|
|
4
|
-
[![coverage][codecov-image]][codecov-url]
|
|
5
|
-
[![dependency status][deps-svg]][deps-url]
|
|
6
|
-
[![dev dependency status][dev-deps-svg]][dev-deps-url]
|
|
7
|
-
[![License][license-image]][license-url]
|
|
8
|
-
[![Downloads][downloads-image]][downloads-url]
|
|
9
|
-
|
|
10
|
-
[![npm badge][npm-badge-png]][package-url]
|
|
11
|
-
|
|
12
|
-
A querystring parsing and stringifying library with some added security.
|
|
13
|
-
|
|
14
|
-
Lead Maintainer: [Jordan Harband](https://github.com/ljharb)
|
|
15
|
-
|
|
16
|
-
The **qs** module was originally created and maintained by [TJ Holowaychuk](https://github.com/visionmedia/node-querystring).
|
|
17
|
-
|
|
18
|
-
## Usage
|
|
19
|
-
|
|
20
|
-
```javascript
|
|
21
|
-
var qs = require('qs');
|
|
22
|
-
var assert = require('assert');
|
|
23
|
-
|
|
24
|
-
var obj = qs.parse('a=c');
|
|
25
|
-
assert.deepEqual(obj, { a: 'c' });
|
|
26
|
-
|
|
27
|
-
var str = qs.stringify(obj);
|
|
28
|
-
assert.equal(str, 'a=c');
|
|
29
|
-
```
|
|
30
|
-
|
|
31
|
-
### Parsing Objects
|
|
32
|
-
|
|
33
|
-
[](#preventEval)
|
|
34
|
-
```javascript
|
|
35
|
-
qs.parse(string, [options]);
|
|
36
|
-
```
|
|
37
|
-
|
|
38
|
-
**qs** allows you to create nested objects within your query strings, by surrounding the name of sub-keys with square brackets `[]`.
|
|
39
|
-
For example, the string `'foo[bar]=baz'` converts to:
|
|
40
|
-
|
|
41
|
-
```javascript
|
|
42
|
-
assert.deepEqual(qs.parse('foo[bar]=baz'), {
|
|
43
|
-
foo: {
|
|
44
|
-
bar: 'baz'
|
|
45
|
-
}
|
|
46
|
-
});
|
|
47
|
-
```
|
|
48
|
-
|
|
49
|
-
When using the `plainObjects` option the parsed value is returned as a null object, created via `Object.create(null)` and as such you should be aware that prototype methods will not exist on it and a user may set those names to whatever value they like:
|
|
50
|
-
|
|
51
|
-
```javascript
|
|
52
|
-
var nullObject = qs.parse('a[hasOwnProperty]=b', { plainObjects: true });
|
|
53
|
-
assert.deepEqual(nullObject, { a: { hasOwnProperty: 'b' } });
|
|
54
|
-
```
|
|
55
|
-
|
|
56
|
-
By default parameters that would overwrite properties on the object prototype are ignored, if you wish to keep the data from those fields either use `plainObjects` as mentioned above, or set `allowPrototypes` to `true` which will allow user input to overwrite those properties. *WARNING* It is generally a bad idea to enable this option as it can cause problems when attempting to use the properties that have been overwritten. Always be careful with this option.
|
|
57
|
-
|
|
58
|
-
```javascript
|
|
59
|
-
var protoObject = qs.parse('a[hasOwnProperty]=b', { allowPrototypes: true });
|
|
60
|
-
assert.deepEqual(protoObject, { a: { hasOwnProperty: 'b' } });
|
|
61
|
-
```
|
|
62
|
-
|
|
63
|
-
URI encoded strings work too:
|
|
64
|
-
|
|
65
|
-
```javascript
|
|
66
|
-
assert.deepEqual(qs.parse('a%5Bb%5D=c'), {
|
|
67
|
-
a: { b: 'c' }
|
|
68
|
-
});
|
|
69
|
-
```
|
|
70
|
-
|
|
71
|
-
You can also nest your objects, like `'foo[bar][baz]=foobarbaz'`:
|
|
72
|
-
|
|
73
|
-
```javascript
|
|
74
|
-
assert.deepEqual(qs.parse('foo[bar][baz]=foobarbaz'), {
|
|
75
|
-
foo: {
|
|
76
|
-
bar: {
|
|
77
|
-
baz: 'foobarbaz'
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
});
|
|
81
|
-
```
|
|
82
|
-
|
|
83
|
-
By default, when nesting objects **qs** will only parse up to 5 children deep. This means if you attempt to parse a string like
|
|
84
|
-
`'a[b][c][d][e][f][g][h][i]=j'` your resulting object will be:
|
|
85
|
-
|
|
86
|
-
```javascript
|
|
87
|
-
var expected = {
|
|
88
|
-
a: {
|
|
89
|
-
b: {
|
|
90
|
-
c: {
|
|
91
|
-
d: {
|
|
92
|
-
e: {
|
|
93
|
-
f: {
|
|
94
|
-
'[g][h][i]': 'j'
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
};
|
|
102
|
-
var string = 'a[b][c][d][e][f][g][h][i]=j';
|
|
103
|
-
assert.deepEqual(qs.parse(string), expected);
|
|
104
|
-
```
|
|
105
|
-
|
|
106
|
-
This depth can be overridden by passing a `depth` option to `qs.parse(string, [options])`:
|
|
107
|
-
|
|
108
|
-
```javascript
|
|
109
|
-
var deep = qs.parse('a[b][c][d][e][f][g][h][i]=j', { depth: 1 });
|
|
110
|
-
assert.deepEqual(deep, { a: { b: { '[c][d][e][f][g][h][i]': 'j' } } });
|
|
111
|
-
```
|
|
112
|
-
|
|
113
|
-
The depth limit helps mitigate abuse when **qs** is used to parse user input, and it is recommended to keep it a reasonably small number.
|
|
114
|
-
|
|
115
|
-
For similar reasons, by default **qs** will only parse up to 1000 parameters. This can be overridden by passing a `parameterLimit` option:
|
|
116
|
-
|
|
117
|
-
```javascript
|
|
118
|
-
var limited = qs.parse('a=b&c=d', { parameterLimit: 1 });
|
|
119
|
-
assert.deepEqual(limited, { a: 'b' });
|
|
120
|
-
```
|
|
121
|
-
|
|
122
|
-
To bypass the leading question mark, use `ignoreQueryPrefix`:
|
|
123
|
-
|
|
124
|
-
```javascript
|
|
125
|
-
var prefixed = qs.parse('?a=b&c=d', { ignoreQueryPrefix: true });
|
|
126
|
-
assert.deepEqual(prefixed, { a: 'b', c: 'd' });
|
|
127
|
-
```
|
|
128
|
-
|
|
129
|
-
An optional delimiter can also be passed:
|
|
130
|
-
|
|
131
|
-
```javascript
|
|
132
|
-
var delimited = qs.parse('a=b;c=d', { delimiter: ';' });
|
|
133
|
-
assert.deepEqual(delimited, { a: 'b', c: 'd' });
|
|
134
|
-
```
|
|
135
|
-
|
|
136
|
-
Delimiters can be a regular expression too:
|
|
137
|
-
|
|
138
|
-
```javascript
|
|
139
|
-
var regexed = qs.parse('a=b;c=d,e=f', { delimiter: /[;,]/ });
|
|
140
|
-
assert.deepEqual(regexed, { a: 'b', c: 'd', e: 'f' });
|
|
141
|
-
```
|
|
142
|
-
|
|
143
|
-
Option `allowDots` can be used to enable dot notation:
|
|
144
|
-
|
|
145
|
-
```javascript
|
|
146
|
-
var withDots = qs.parse('a.b=c', { allowDots: true });
|
|
147
|
-
assert.deepEqual(withDots, { a: { b: 'c' } });
|
|
148
|
-
```
|
|
149
|
-
|
|
150
|
-
If you have to deal with legacy browsers or services, there's
|
|
151
|
-
also support for decoding percent-encoded octets as iso-8859-1:
|
|
152
|
-
|
|
153
|
-
```javascript
|
|
154
|
-
var oldCharset = qs.parse('a=%A7', { charset: 'iso-8859-1' });
|
|
155
|
-
assert.deepEqual(oldCharset, { a: '§' });
|
|
156
|
-
```
|
|
157
|
-
|
|
158
|
-
Some services add an initial `utf8=✓` value to forms so that old
|
|
159
|
-
Internet Explorer versions are more likely to submit the form as
|
|
160
|
-
utf-8. Additionally, the server can check the value against wrong
|
|
161
|
-
encodings of the checkmark character and detect that a query string
|
|
162
|
-
or `application/x-www-form-urlencoded` body was *not* sent as
|
|
163
|
-
utf-8, eg. if the form had an `accept-charset` parameter or the
|
|
164
|
-
containing page had a different character set.
|
|
165
|
-
|
|
166
|
-
**qs** supports this mechanism via the `charsetSentinel` option.
|
|
167
|
-
If specified, the `utf8` parameter will be omitted from the
|
|
168
|
-
returned object. It will be used to switch to `iso-8859-1`/`utf-8`
|
|
169
|
-
mode depending on how the checkmark is encoded.
|
|
170
|
-
|
|
171
|
-
**Important**: When you specify both the `charset` option and the
|
|
172
|
-
`charsetSentinel` option, the `charset` will be overridden when
|
|
173
|
-
the request contains a `utf8` parameter from which the actual
|
|
174
|
-
charset can be deduced. In that sense the `charset` will behave
|
|
175
|
-
as the default charset rather than the authoritative charset.
|
|
176
|
-
|
|
177
|
-
```javascript
|
|
178
|
-
var detectedAsUtf8 = qs.parse('utf8=%E2%9C%93&a=%C3%B8', {
|
|
179
|
-
charset: 'iso-8859-1',
|
|
180
|
-
charsetSentinel: true
|
|
181
|
-
});
|
|
182
|
-
assert.deepEqual(detectedAsUtf8, { a: 'ø' });
|
|
183
|
-
|
|
184
|
-
// Browsers encode the checkmark as ✓ when submitting as iso-8859-1:
|
|
185
|
-
var detectedAsIso8859_1 = qs.parse('utf8=%26%2310003%3B&a=%F8', {
|
|
186
|
-
charset: 'utf-8',
|
|
187
|
-
charsetSentinel: true
|
|
188
|
-
});
|
|
189
|
-
assert.deepEqual(detectedAsIso8859_1, { a: 'ø' });
|
|
190
|
-
```
|
|
191
|
-
|
|
192
|
-
If you want to decode the `&#...;` syntax to the actual character,
|
|
193
|
-
you can specify the `interpretNumericEntities` option as well:
|
|
194
|
-
|
|
195
|
-
```javascript
|
|
196
|
-
var detectedAsIso8859_1 = qs.parse('a=%26%239786%3B', {
|
|
197
|
-
charset: 'iso-8859-1',
|
|
198
|
-
interpretNumericEntities: true
|
|
199
|
-
});
|
|
200
|
-
assert.deepEqual(detectedAsIso8859_1, { a: '☺' });
|
|
201
|
-
```
|
|
202
|
-
|
|
203
|
-
It also works when the charset has been detected in `charsetSentinel`
|
|
204
|
-
mode.
|
|
205
|
-
|
|
206
|
-
### Parsing Arrays
|
|
207
|
-
|
|
208
|
-
**qs** can also parse arrays using a similar `[]` notation:
|
|
209
|
-
|
|
210
|
-
```javascript
|
|
211
|
-
var withArray = qs.parse('a[]=b&a[]=c');
|
|
212
|
-
assert.deepEqual(withArray, { a: ['b', 'c'] });
|
|
213
|
-
```
|
|
214
|
-
|
|
215
|
-
You may specify an index as well:
|
|
216
|
-
|
|
217
|
-
```javascript
|
|
218
|
-
var withIndexes = qs.parse('a[1]=c&a[0]=b');
|
|
219
|
-
assert.deepEqual(withIndexes, { a: ['b', 'c'] });
|
|
220
|
-
```
|
|
221
|
-
|
|
222
|
-
Note that the only difference between an index in an array and a key in an object is that the value between the brackets must be a number
|
|
223
|
-
to create an array. When creating arrays with specific indices, **qs** will compact a sparse array to only the existing values preserving
|
|
224
|
-
their order:
|
|
225
|
-
|
|
226
|
-
```javascript
|
|
227
|
-
var noSparse = qs.parse('a[1]=b&a[15]=c');
|
|
228
|
-
assert.deepEqual(noSparse, { a: ['b', 'c'] });
|
|
229
|
-
```
|
|
230
|
-
|
|
231
|
-
You may also use `allowSparse` option to parse sparse arrays:
|
|
232
|
-
|
|
233
|
-
```javascript
|
|
234
|
-
var sparseArray = qs.parse('a[1]=2&a[3]=5', { allowSparse: true });
|
|
235
|
-
assert.deepEqual(sparseArray, { a: [, '2', , '5'] });
|
|
236
|
-
```
|
|
237
|
-
|
|
238
|
-
Note that an empty string is also a value, and will be preserved:
|
|
239
|
-
|
|
240
|
-
```javascript
|
|
241
|
-
var withEmptyString = qs.parse('a[]=&a[]=b');
|
|
242
|
-
assert.deepEqual(withEmptyString, { a: ['', 'b'] });
|
|
243
|
-
|
|
244
|
-
var withIndexedEmptyString = qs.parse('a[0]=b&a[1]=&a[2]=c');
|
|
245
|
-
assert.deepEqual(withIndexedEmptyString, { a: ['b', '', 'c'] });
|
|
246
|
-
```
|
|
247
|
-
|
|
248
|
-
**qs** will also limit specifying indices in an array to a maximum index of `20`. Any array members with an index of greater than `20` will
|
|
249
|
-
instead be converted to an object with the index as the key. This is needed to handle cases when someone sent, for example, `a[999999999]` and it will take significant time to iterate over this huge array.
|
|
250
|
-
|
|
251
|
-
```javascript
|
|
252
|
-
var withMaxIndex = qs.parse('a[100]=b');
|
|
253
|
-
assert.deepEqual(withMaxIndex, { a: { '100': 'b' } });
|
|
254
|
-
```
|
|
255
|
-
|
|
256
|
-
This limit can be overridden by passing an `arrayLimit` option:
|
|
257
|
-
|
|
258
|
-
```javascript
|
|
259
|
-
var withArrayLimit = qs.parse('a[1]=b', { arrayLimit: 0 });
|
|
260
|
-
assert.deepEqual(withArrayLimit, { a: { '1': 'b' } });
|
|
261
|
-
```
|
|
262
|
-
|
|
263
|
-
To disable array parsing entirely, set `parseArrays` to `false`.
|
|
264
|
-
|
|
265
|
-
```javascript
|
|
266
|
-
var noParsingArrays = qs.parse('a[]=b', { parseArrays: false });
|
|
267
|
-
assert.deepEqual(noParsingArrays, { a: { '0': 'b' } });
|
|
268
|
-
```
|
|
269
|
-
|
|
270
|
-
If you mix notations, **qs** will merge the two items into an object:
|
|
271
|
-
|
|
272
|
-
```javascript
|
|
273
|
-
var mixedNotation = qs.parse('a[0]=b&a[b]=c');
|
|
274
|
-
assert.deepEqual(mixedNotation, { a: { '0': 'b', b: 'c' } });
|
|
275
|
-
```
|
|
276
|
-
|
|
277
|
-
You can also create arrays of objects:
|
|
278
|
-
|
|
279
|
-
```javascript
|
|
280
|
-
var arraysOfObjects = qs.parse('a[][b]=c');
|
|
281
|
-
assert.deepEqual(arraysOfObjects, { a: [{ b: 'c' }] });
|
|
282
|
-
```
|
|
283
|
-
|
|
284
|
-
Some people use comma to join array, **qs** can parse it:
|
|
285
|
-
```javascript
|
|
286
|
-
var arraysOfObjects = qs.parse('a=b,c', { comma: true })
|
|
287
|
-
assert.deepEqual(arraysOfObjects, { a: ['b', 'c'] })
|
|
288
|
-
```
|
|
289
|
-
(_this cannot convert nested objects, such as `a={b:1},{c:d}`_)
|
|
290
|
-
|
|
291
|
-
### Parsing primitive/scalar values (numbers, booleans, null, etc)
|
|
292
|
-
|
|
293
|
-
By default, all values are parsed as strings. This behavior will not change and is explained in [issue #91](https://github.com/ljharb/qs/issues/91).
|
|
294
|
-
|
|
295
|
-
```javascript
|
|
296
|
-
var primitiveValues = qs.parse('a=15&b=true&c=null');
|
|
297
|
-
assert.deepEqual(primitiveValues, { a: '15', b: 'true', c: 'null' });
|
|
298
|
-
```
|
|
299
|
-
|
|
300
|
-
If you wish to auto-convert values which look like numbers, booleans, and other values into their primitive counterparts, you can use the [query-types Express JS middleware](https://github.com/xpepermint/query-types) which will auto-convert all request query parameters.
|
|
301
|
-
|
|
302
|
-
### Stringifying
|
|
303
|
-
|
|
304
|
-
[](#preventEval)
|
|
305
|
-
```javascript
|
|
306
|
-
qs.stringify(object, [options]);
|
|
307
|
-
```
|
|
308
|
-
|
|
309
|
-
When stringifying, **qs** by default URI encodes output. Objects are stringified as you would expect:
|
|
310
|
-
|
|
311
|
-
```javascript
|
|
312
|
-
assert.equal(qs.stringify({ a: 'b' }), 'a=b');
|
|
313
|
-
assert.equal(qs.stringify({ a: { b: 'c' } }), 'a%5Bb%5D=c');
|
|
314
|
-
```
|
|
315
|
-
|
|
316
|
-
This encoding can be disabled by setting the `encode` option to `false`:
|
|
317
|
-
|
|
318
|
-
```javascript
|
|
319
|
-
var unencoded = qs.stringify({ a: { b: 'c' } }, { encode: false });
|
|
320
|
-
assert.equal(unencoded, 'a[b]=c');
|
|
321
|
-
```
|
|
322
|
-
|
|
323
|
-
Encoding can be disabled for keys by setting the `encodeValuesOnly` option to `true`:
|
|
324
|
-
```javascript
|
|
325
|
-
var encodedValues = qs.stringify(
|
|
326
|
-
{ a: 'b', c: ['d', 'e=f'], f: [['g'], ['h']] },
|
|
327
|
-
{ encodeValuesOnly: true }
|
|
328
|
-
);
|
|
329
|
-
assert.equal(encodedValues,'a=b&c[0]=d&c[1]=e%3Df&f[0][0]=g&f[1][0]=h');
|
|
330
|
-
```
|
|
331
|
-
|
|
332
|
-
This encoding can also be replaced by a custom encoding method set as `encoder` option:
|
|
333
|
-
|
|
334
|
-
```javascript
|
|
335
|
-
var encoded = qs.stringify({ a: { b: 'c' } }, { encoder: function (str) {
|
|
336
|
-
// Passed in values `a`, `b`, `c`
|
|
337
|
-
return // Return encoded string
|
|
338
|
-
}})
|
|
339
|
-
```
|
|
340
|
-
|
|
341
|
-
_(Note: the `encoder` option does not apply if `encode` is `false`)_
|
|
342
|
-
|
|
343
|
-
Analogue to the `encoder` there is a `decoder` option for `parse` to override decoding of properties and values:
|
|
344
|
-
|
|
345
|
-
```javascript
|
|
346
|
-
var decoded = qs.parse('x=z', { decoder: function (str) {
|
|
347
|
-
// Passed in values `x`, `z`
|
|
348
|
-
return // Return decoded string
|
|
349
|
-
}})
|
|
350
|
-
```
|
|
351
|
-
|
|
352
|
-
You can encode keys and values using different logic by using the type argument provided to the encoder:
|
|
353
|
-
|
|
354
|
-
```javascript
|
|
355
|
-
var encoded = qs.stringify({ a: { b: 'c' } }, { encoder: function (str, defaultEncoder, charset, type) {
|
|
356
|
-
if (type === 'key') {
|
|
357
|
-
return // Encoded key
|
|
358
|
-
} else if (type === 'value') {
|
|
359
|
-
return // Encoded value
|
|
360
|
-
}
|
|
361
|
-
}})
|
|
362
|
-
```
|
|
363
|
-
|
|
364
|
-
The type argument is also provided to the decoder:
|
|
365
|
-
|
|
366
|
-
```javascript
|
|
367
|
-
var decoded = qs.parse('x=z', { decoder: function (str, defaultDecoder, charset, type) {
|
|
368
|
-
if (type === 'key') {
|
|
369
|
-
return // Decoded key
|
|
370
|
-
} else if (type === 'value') {
|
|
371
|
-
return // Decoded value
|
|
372
|
-
}
|
|
373
|
-
}})
|
|
374
|
-
```
|
|
375
|
-
|
|
376
|
-
Examples beyond this point will be shown as though the output is not URI encoded for clarity. Please note that the return values in these cases *will* be URI encoded during real usage.
|
|
377
|
-
|
|
378
|
-
When arrays are stringified, by default they are given explicit indices:
|
|
379
|
-
|
|
380
|
-
```javascript
|
|
381
|
-
qs.stringify({ a: ['b', 'c', 'd'] });
|
|
382
|
-
// 'a[0]=b&a[1]=c&a[2]=d'
|
|
383
|
-
```
|
|
384
|
-
|
|
385
|
-
You may override this by setting the `indices` option to `false`:
|
|
386
|
-
|
|
387
|
-
```javascript
|
|
388
|
-
qs.stringify({ a: ['b', 'c', 'd'] }, { indices: false });
|
|
389
|
-
// 'a=b&a=c&a=d'
|
|
390
|
-
```
|
|
391
|
-
|
|
392
|
-
You may use the `arrayFormat` option to specify the format of the output array:
|
|
393
|
-
|
|
394
|
-
```javascript
|
|
395
|
-
qs.stringify({ a: ['b', 'c'] }, { arrayFormat: 'indices' })
|
|
396
|
-
// 'a[0]=b&a[1]=c'
|
|
397
|
-
qs.stringify({ a: ['b', 'c'] }, { arrayFormat: 'brackets' })
|
|
398
|
-
// 'a[]=b&a[]=c'
|
|
399
|
-
qs.stringify({ a: ['b', 'c'] }, { arrayFormat: 'repeat' })
|
|
400
|
-
// 'a=b&a=c'
|
|
401
|
-
qs.stringify({ a: ['b', 'c'] }, { arrayFormat: 'comma' })
|
|
402
|
-
// 'a=b,c'
|
|
403
|
-
```
|
|
404
|
-
|
|
405
|
-
When objects are stringified, by default they use bracket notation:
|
|
406
|
-
|
|
407
|
-
```javascript
|
|
408
|
-
qs.stringify({ a: { b: { c: 'd', e: 'f' } } });
|
|
409
|
-
// 'a[b][c]=d&a[b][e]=f'
|
|
410
|
-
```
|
|
411
|
-
|
|
412
|
-
You may override this to use dot notation by setting the `allowDots` option to `true`:
|
|
413
|
-
|
|
414
|
-
```javascript
|
|
415
|
-
qs.stringify({ a: { b: { c: 'd', e: 'f' } } }, { allowDots: true });
|
|
416
|
-
// 'a.b.c=d&a.b.e=f'
|
|
417
|
-
```
|
|
418
|
-
|
|
419
|
-
Empty strings and null values will omit the value, but the equals sign (=) remains in place:
|
|
420
|
-
|
|
421
|
-
```javascript
|
|
422
|
-
assert.equal(qs.stringify({ a: '' }), 'a=');
|
|
423
|
-
```
|
|
424
|
-
|
|
425
|
-
Key with no values (such as an empty object or array) will return nothing:
|
|
426
|
-
|
|
427
|
-
```javascript
|
|
428
|
-
assert.equal(qs.stringify({ a: [] }), '');
|
|
429
|
-
assert.equal(qs.stringify({ a: {} }), '');
|
|
430
|
-
assert.equal(qs.stringify({ a: [{}] }), '');
|
|
431
|
-
assert.equal(qs.stringify({ a: { b: []} }), '');
|
|
432
|
-
assert.equal(qs.stringify({ a: { b: {}} }), '');
|
|
433
|
-
```
|
|
434
|
-
|
|
435
|
-
Properties that are set to `undefined` will be omitted entirely:
|
|
436
|
-
|
|
437
|
-
```javascript
|
|
438
|
-
assert.equal(qs.stringify({ a: null, b: undefined }), 'a=');
|
|
439
|
-
```
|
|
440
|
-
|
|
441
|
-
The query string may optionally be prepended with a question mark:
|
|
442
|
-
|
|
443
|
-
```javascript
|
|
444
|
-
assert.equal(qs.stringify({ a: 'b', c: 'd' }, { addQueryPrefix: true }), '?a=b&c=d');
|
|
445
|
-
```
|
|
446
|
-
|
|
447
|
-
The delimiter may be overridden with stringify as well:
|
|
448
|
-
|
|
449
|
-
```javascript
|
|
450
|
-
assert.equal(qs.stringify({ a: 'b', c: 'd' }, { delimiter: ';' }), 'a=b;c=d');
|
|
451
|
-
```
|
|
452
|
-
|
|
453
|
-
If you only want to override the serialization of `Date` objects, you can provide a `serializeDate` option:
|
|
454
|
-
|
|
455
|
-
```javascript
|
|
456
|
-
var date = new Date(7);
|
|
457
|
-
assert.equal(qs.stringify({ a: date }), 'a=1970-01-01T00:00:00.007Z'.replace(/:/g, '%3A'));
|
|
458
|
-
assert.equal(
|
|
459
|
-
qs.stringify({ a: date }, { serializeDate: function (d) { return d.getTime(); } }),
|
|
460
|
-
'a=7'
|
|
461
|
-
);
|
|
462
|
-
```
|
|
463
|
-
|
|
464
|
-
You may use the `sort` option to affect the order of parameter keys:
|
|
465
|
-
|
|
466
|
-
```javascript
|
|
467
|
-
function alphabeticalSort(a, b) {
|
|
468
|
-
return a.localeCompare(b);
|
|
469
|
-
}
|
|
470
|
-
assert.equal(qs.stringify({ a: 'c', z: 'y', b : 'f' }, { sort: alphabeticalSort }), 'a=c&b=f&z=y');
|
|
471
|
-
```
|
|
472
|
-
|
|
473
|
-
Finally, you can use the `filter` option to restrict which keys will be included in the stringified output.
|
|
474
|
-
If you pass a function, it will be called for each key to obtain the replacement value. Otherwise, if you
|
|
475
|
-
pass an array, it will be used to select properties and array indices for stringification:
|
|
476
|
-
|
|
477
|
-
```javascript
|
|
478
|
-
function filterFunc(prefix, value) {
|
|
479
|
-
if (prefix == 'b') {
|
|
480
|
-
// Return an `undefined` value to omit a property.
|
|
481
|
-
return;
|
|
482
|
-
}
|
|
483
|
-
if (prefix == 'e[f]') {
|
|
484
|
-
return value.getTime();
|
|
485
|
-
}
|
|
486
|
-
if (prefix == 'e[g][0]') {
|
|
487
|
-
return value * 2;
|
|
488
|
-
}
|
|
489
|
-
return value;
|
|
490
|
-
}
|
|
491
|
-
qs.stringify({ a: 'b', c: 'd', e: { f: new Date(123), g: [2] } }, { filter: filterFunc });
|
|
492
|
-
// 'a=b&c=d&e[f]=123&e[g][0]=4'
|
|
493
|
-
qs.stringify({ a: 'b', c: 'd', e: 'f' }, { filter: ['a', 'e'] });
|
|
494
|
-
// 'a=b&e=f'
|
|
495
|
-
qs.stringify({ a: ['b', 'c', 'd'], e: 'f' }, { filter: ['a', 0, 2] });
|
|
496
|
-
// 'a[0]=b&a[2]=d'
|
|
497
|
-
```
|
|
498
|
-
|
|
499
|
-
### Handling of `null` values
|
|
500
|
-
|
|
501
|
-
By default, `null` values are treated like empty strings:
|
|
502
|
-
|
|
503
|
-
```javascript
|
|
504
|
-
var withNull = qs.stringify({ a: null, b: '' });
|
|
505
|
-
assert.equal(withNull, 'a=&b=');
|
|
506
|
-
```
|
|
507
|
-
|
|
508
|
-
Parsing does not distinguish between parameters with and without equal signs. Both are converted to empty strings.
|
|
509
|
-
|
|
510
|
-
```javascript
|
|
511
|
-
var equalsInsensitive = qs.parse('a&b=');
|
|
512
|
-
assert.deepEqual(equalsInsensitive, { a: '', b: '' });
|
|
513
|
-
```
|
|
514
|
-
|
|
515
|
-
To distinguish between `null` values and empty strings use the `strictNullHandling` flag. In the result string the `null`
|
|
516
|
-
values have no `=` sign:
|
|
517
|
-
|
|
518
|
-
```javascript
|
|
519
|
-
var strictNull = qs.stringify({ a: null, b: '' }, { strictNullHandling: true });
|
|
520
|
-
assert.equal(strictNull, 'a&b=');
|
|
521
|
-
```
|
|
522
|
-
|
|
523
|
-
To parse values without `=` back to `null` use the `strictNullHandling` flag:
|
|
524
|
-
|
|
525
|
-
```javascript
|
|
526
|
-
var parsedStrictNull = qs.parse('a&b=', { strictNullHandling: true });
|
|
527
|
-
assert.deepEqual(parsedStrictNull, { a: null, b: '' });
|
|
528
|
-
```
|
|
529
|
-
|
|
530
|
-
To completely skip rendering keys with `null` values, use the `skipNulls` flag:
|
|
531
|
-
|
|
532
|
-
```javascript
|
|
533
|
-
var nullsSkipped = qs.stringify({ a: 'b', c: null}, { skipNulls: true });
|
|
534
|
-
assert.equal(nullsSkipped, 'a=b');
|
|
535
|
-
```
|
|
536
|
-
|
|
537
|
-
If you're communicating with legacy systems, you can switch to `iso-8859-1`
|
|
538
|
-
using the `charset` option:
|
|
539
|
-
|
|
540
|
-
```javascript
|
|
541
|
-
var iso = qs.stringify({ æ: 'æ' }, { charset: 'iso-8859-1' });
|
|
542
|
-
assert.equal(iso, '%E6=%E6');
|
|
543
|
-
```
|
|
544
|
-
|
|
545
|
-
Characters that don't exist in `iso-8859-1` will be converted to numeric
|
|
546
|
-
entities, similar to what browsers do:
|
|
547
|
-
|
|
548
|
-
```javascript
|
|
549
|
-
var numeric = qs.stringify({ a: '☺' }, { charset: 'iso-8859-1' });
|
|
550
|
-
assert.equal(numeric, 'a=%26%239786%3B');
|
|
551
|
-
```
|
|
552
|
-
|
|
553
|
-
You can use the `charsetSentinel` option to announce the character by
|
|
554
|
-
including an `utf8=✓` parameter with the proper encoding if the checkmark,
|
|
555
|
-
similar to what Ruby on Rails and others do when submitting forms.
|
|
556
|
-
|
|
557
|
-
```javascript
|
|
558
|
-
var sentinel = qs.stringify({ a: '☺' }, { charsetSentinel: true });
|
|
559
|
-
assert.equal(sentinel, 'utf8=%E2%9C%93&a=%E2%98%BA');
|
|
560
|
-
|
|
561
|
-
var isoSentinel = qs.stringify({ a: 'æ' }, { charsetSentinel: true, charset: 'iso-8859-1' });
|
|
562
|
-
assert.equal(isoSentinel, 'utf8=%26%2310003%3B&a=%E6');
|
|
563
|
-
```
|
|
564
|
-
|
|
565
|
-
### Dealing with special character sets
|
|
566
|
-
|
|
567
|
-
By default the encoding and decoding of characters is done in `utf-8`,
|
|
568
|
-
and `iso-8859-1` support is also built in via the `charset` parameter.
|
|
569
|
-
|
|
570
|
-
If you wish to encode querystrings to a different character set (i.e.
|
|
571
|
-
[Shift JIS](https://en.wikipedia.org/wiki/Shift_JIS)) you can use the
|
|
572
|
-
[`qs-iconv`](https://github.com/martinheidegger/qs-iconv) library:
|
|
573
|
-
|
|
574
|
-
```javascript
|
|
575
|
-
var encoder = require('qs-iconv/encoder')('shift_jis');
|
|
576
|
-
var shiftJISEncoded = qs.stringify({ a: 'こんにちは!' }, { encoder: encoder });
|
|
577
|
-
assert.equal(shiftJISEncoded, 'a=%82%B1%82%F1%82%C9%82%BF%82%CD%81I');
|
|
578
|
-
```
|
|
579
|
-
|
|
580
|
-
This also works for decoding of query strings:
|
|
581
|
-
|
|
582
|
-
```javascript
|
|
583
|
-
var decoder = require('qs-iconv/decoder')('shift_jis');
|
|
584
|
-
var obj = qs.parse('a=%82%B1%82%F1%82%C9%82%BF%82%CD%81I', { decoder: decoder });
|
|
585
|
-
assert.deepEqual(obj, { a: 'こんにちは!' });
|
|
586
|
-
```
|
|
587
|
-
|
|
588
|
-
### RFC 3986 and RFC 1738 space encoding
|
|
589
|
-
|
|
590
|
-
RFC3986 used as default option and encodes ' ' to *%20* which is backward compatible.
|
|
591
|
-
In the same time, output can be stringified as per RFC1738 with ' ' equal to '+'.
|
|
592
|
-
|
|
593
|
-
```
|
|
594
|
-
assert.equal(qs.stringify({ a: 'b c' }), 'a=b%20c');
|
|
595
|
-
assert.equal(qs.stringify({ a: 'b c' }, { format : 'RFC3986' }), 'a=b%20c');
|
|
596
|
-
assert.equal(qs.stringify({ a: 'b c' }, { format : 'RFC1738' }), 'a=b+c');
|
|
597
|
-
```
|
|
598
|
-
|
|
599
|
-
## Security
|
|
600
|
-
|
|
601
|
-
Please email [@ljharb](https://github.com/ljharb) or see https://tidelift.com/security if you have a potential security vulnerability to report.
|
|
602
|
-
|
|
603
|
-
## qs for enterprise
|
|
604
|
-
|
|
605
|
-
Available as part of the Tidelift Subscription
|
|
606
|
-
|
|
607
|
-
The maintainers of qs and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. [Learn more.](https://tidelift.com/subscription/pkg/npm-qs?utm_source=npm-qs&utm_medium=referral&utm_campaign=enterprise&utm_term=repo)
|
|
608
|
-
|
|
609
|
-
[package-url]: https://npmjs.org/package/qs
|
|
610
|
-
[npm-version-svg]: https://versionbadg.es/ljharb/qs.svg
|
|
611
|
-
[deps-svg]: https://david-dm.org/ljharb/qs.svg
|
|
612
|
-
[deps-url]: https://david-dm.org/ljharb/qs
|
|
613
|
-
[dev-deps-svg]: https://david-dm.org/ljharb/qs/dev-status.svg
|
|
614
|
-
[dev-deps-url]: https://david-dm.org/ljharb/qs#info=devDependencies
|
|
615
|
-
[npm-badge-png]: https://nodei.co/npm/qs.png?downloads=true&stars=true
|
|
616
|
-
[license-image]: https://img.shields.io/npm/l/qs.svg
|
|
617
|
-
[license-url]: LICENSE
|
|
618
|
-
[downloads-image]: https://img.shields.io/npm/dm/qs.svg
|
|
619
|
-
[downloads-url]: https://npm-stat.com/charts.html?package=qs
|
|
620
|
-
[codecov-image]: https://codecov.io/gh/ljharb/qs/branch/main/graphs/badge.svg
|
|
621
|
-
[codecov-url]: https://app.codecov.io/gh/ljharb/qs/
|
|
622
|
-
[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/ljharb/qs
|
|
623
|
-
[actions-url]: https://github.com/ljharb/qs/actions
|