locize 2.4.6 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.babelrc +3 -0
- package/.ts.eslintrc +37 -0
- package/CHANGELOG.md +5 -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 +63 -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 +55 -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 +2790 -286
- package/dist/umd/locize.min.js +1 -1
- package/index.d.mts +1 -0
- package/index.d.ts +5 -6
- package/locize.js +2790 -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 +55 -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,302 +0,0 @@
|
|
|
1
|
-
# cookie
|
|
2
|
-
|
|
3
|
-
[![NPM Version][npm-version-image]][npm-url]
|
|
4
|
-
[![NPM Downloads][npm-downloads-image]][npm-url]
|
|
5
|
-
[![Node.js Version][node-version-image]][node-version-url]
|
|
6
|
-
[![Build Status][github-actions-ci-image]][github-actions-ci-url]
|
|
7
|
-
[![Test Coverage][coveralls-image]][coveralls-url]
|
|
8
|
-
|
|
9
|
-
Basic HTTP cookie parser and serializer for HTTP servers.
|
|
10
|
-
|
|
11
|
-
## Installation
|
|
12
|
-
|
|
13
|
-
This is a [Node.js](https://nodejs.org/en/) module available through the
|
|
14
|
-
[npm registry](https://www.npmjs.com/). Installation is done using the
|
|
15
|
-
[`npm install` command](https://docs.npmjs.com/getting-started/installing-npm-packages-locally):
|
|
16
|
-
|
|
17
|
-
```sh
|
|
18
|
-
$ npm install cookie
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
## API
|
|
22
|
-
|
|
23
|
-
```js
|
|
24
|
-
var cookie = require('cookie');
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
### cookie.parse(str, options)
|
|
28
|
-
|
|
29
|
-
Parse an HTTP `Cookie` header string and returning an object of all cookie name-value pairs.
|
|
30
|
-
The `str` argument is the string representing a `Cookie` header value and `options` is an
|
|
31
|
-
optional object containing additional parsing options.
|
|
32
|
-
|
|
33
|
-
```js
|
|
34
|
-
var cookies = cookie.parse('foo=bar; equation=E%3Dmc%5E2');
|
|
35
|
-
// { foo: 'bar', equation: 'E=mc^2' }
|
|
36
|
-
```
|
|
37
|
-
|
|
38
|
-
#### Options
|
|
39
|
-
|
|
40
|
-
`cookie.parse` accepts these properties in the options object.
|
|
41
|
-
|
|
42
|
-
##### decode
|
|
43
|
-
|
|
44
|
-
Specifies a function that will be used to decode a cookie's value. Since the value of a cookie
|
|
45
|
-
has a limited character set (and must be a simple string), this function can be used to decode
|
|
46
|
-
a previously-encoded cookie value into a JavaScript string or other object.
|
|
47
|
-
|
|
48
|
-
The default function is the global `decodeURIComponent`, which will decode any URL-encoded
|
|
49
|
-
sequences into their byte representations.
|
|
50
|
-
|
|
51
|
-
**note** if an error is thrown from this function, the original, non-decoded cookie value will
|
|
52
|
-
be returned as the cookie's value.
|
|
53
|
-
|
|
54
|
-
### cookie.serialize(name, value, options)
|
|
55
|
-
|
|
56
|
-
Serialize a cookie name-value pair into a `Set-Cookie` header string. The `name` argument is the
|
|
57
|
-
name for the cookie, the `value` argument is the value to set the cookie to, and the `options`
|
|
58
|
-
argument is an optional object containing additional serialization options.
|
|
59
|
-
|
|
60
|
-
```js
|
|
61
|
-
var setCookie = cookie.serialize('foo', 'bar');
|
|
62
|
-
// foo=bar
|
|
63
|
-
```
|
|
64
|
-
|
|
65
|
-
#### Options
|
|
66
|
-
|
|
67
|
-
`cookie.serialize` accepts these properties in the options object.
|
|
68
|
-
|
|
69
|
-
##### domain
|
|
70
|
-
|
|
71
|
-
Specifies the value for the [`Domain` `Set-Cookie` attribute][rfc-6265-5.2.3]. By default, no
|
|
72
|
-
domain is set, and most clients will consider the cookie to apply to only the current domain.
|
|
73
|
-
|
|
74
|
-
##### encode
|
|
75
|
-
|
|
76
|
-
Specifies a function that will be used to encode a cookie's value. Since value of a cookie
|
|
77
|
-
has a limited character set (and must be a simple string), this function can be used to encode
|
|
78
|
-
a value into a string suited for a cookie's value.
|
|
79
|
-
|
|
80
|
-
The default function is the global `encodeURIComponent`, which will encode a JavaScript string
|
|
81
|
-
into UTF-8 byte sequences and then URL-encode any that fall outside of the cookie range.
|
|
82
|
-
|
|
83
|
-
##### expires
|
|
84
|
-
|
|
85
|
-
Specifies the `Date` object to be the value for the [`Expires` `Set-Cookie` attribute][rfc-6265-5.2.1].
|
|
86
|
-
By default, no expiration is set, and most clients will consider this a "non-persistent cookie" and
|
|
87
|
-
will delete it on a condition like exiting a web browser application.
|
|
88
|
-
|
|
89
|
-
**note** the [cookie storage model specification][rfc-6265-5.3] states that if both `expires` and
|
|
90
|
-
`maxAge` are set, then `maxAge` takes precedence, but it is possible not all clients by obey this,
|
|
91
|
-
so if both are set, they should point to the same date and time.
|
|
92
|
-
|
|
93
|
-
##### httpOnly
|
|
94
|
-
|
|
95
|
-
Specifies the `boolean` value for the [`HttpOnly` `Set-Cookie` attribute][rfc-6265-5.2.6]. When truthy,
|
|
96
|
-
the `HttpOnly` attribute is set, otherwise it is not. By default, the `HttpOnly` attribute is not set.
|
|
97
|
-
|
|
98
|
-
**note** be careful when setting this to `true`, as compliant clients will not allow client-side
|
|
99
|
-
JavaScript to see the cookie in `document.cookie`.
|
|
100
|
-
|
|
101
|
-
##### maxAge
|
|
102
|
-
|
|
103
|
-
Specifies the `number` (in seconds) to be the value for the [`Max-Age` `Set-Cookie` attribute][rfc-6265-5.2.2].
|
|
104
|
-
The given number will be converted to an integer by rounding down. By default, no maximum age is set.
|
|
105
|
-
|
|
106
|
-
**note** the [cookie storage model specification][rfc-6265-5.3] states that if both `expires` and
|
|
107
|
-
`maxAge` are set, then `maxAge` takes precedence, but it is possible not all clients by obey this,
|
|
108
|
-
so if both are set, they should point to the same date and time.
|
|
109
|
-
|
|
110
|
-
##### path
|
|
111
|
-
|
|
112
|
-
Specifies the value for the [`Path` `Set-Cookie` attribute][rfc-6265-5.2.4]. By default, the path
|
|
113
|
-
is considered the ["default path"][rfc-6265-5.1.4].
|
|
114
|
-
|
|
115
|
-
##### priority
|
|
116
|
-
|
|
117
|
-
Specifies the `string` to be the value for the [`Priority` `Set-Cookie` attribute][rfc-west-cookie-priority-00-4.1].
|
|
118
|
-
|
|
119
|
-
- `'low'` will set the `Priority` attribute to `Low`.
|
|
120
|
-
- `'medium'` will set the `Priority` attribute to `Medium`, the default priority when not set.
|
|
121
|
-
- `'high'` will set the `Priority` attribute to `High`.
|
|
122
|
-
|
|
123
|
-
More information about the different priority levels can be found in
|
|
124
|
-
[the specification][rfc-west-cookie-priority-00-4.1].
|
|
125
|
-
|
|
126
|
-
**note** This is an attribute that has not yet been fully standardized, and may change in the future.
|
|
127
|
-
This also means many clients may ignore this attribute until they understand it.
|
|
128
|
-
|
|
129
|
-
##### sameSite
|
|
130
|
-
|
|
131
|
-
Specifies the `boolean` or `string` to be the value for the [`SameSite` `Set-Cookie` attribute][rfc-6265bis-09-5.4.7].
|
|
132
|
-
|
|
133
|
-
- `true` will set the `SameSite` attribute to `Strict` for strict same site enforcement.
|
|
134
|
-
- `false` will not set the `SameSite` attribute.
|
|
135
|
-
- `'lax'` will set the `SameSite` attribute to `Lax` for lax same site enforcement.
|
|
136
|
-
- `'none'` will set the `SameSite` attribute to `None` for an explicit cross-site cookie.
|
|
137
|
-
- `'strict'` will set the `SameSite` attribute to `Strict` for strict same site enforcement.
|
|
138
|
-
|
|
139
|
-
More information about the different enforcement levels can be found in
|
|
140
|
-
[the specification][rfc-6265bis-09-5.4.7].
|
|
141
|
-
|
|
142
|
-
**note** This is an attribute that has not yet been fully standardized, and may change in the future.
|
|
143
|
-
This also means many clients may ignore this attribute until they understand it.
|
|
144
|
-
|
|
145
|
-
##### secure
|
|
146
|
-
|
|
147
|
-
Specifies the `boolean` value for the [`Secure` `Set-Cookie` attribute][rfc-6265-5.2.5]. When truthy,
|
|
148
|
-
the `Secure` attribute is set, otherwise it is not. By default, the `Secure` attribute is not set.
|
|
149
|
-
|
|
150
|
-
**note** be careful when setting this to `true`, as compliant clients will not send the cookie back to
|
|
151
|
-
the server in the future if the browser does not have an HTTPS connection.
|
|
152
|
-
|
|
153
|
-
## Example
|
|
154
|
-
|
|
155
|
-
The following example uses this module in conjunction with the Node.js core HTTP server
|
|
156
|
-
to prompt a user for their name and display it back on future visits.
|
|
157
|
-
|
|
158
|
-
```js
|
|
159
|
-
var cookie = require('cookie');
|
|
160
|
-
var escapeHtml = require('escape-html');
|
|
161
|
-
var http = require('http');
|
|
162
|
-
var url = require('url');
|
|
163
|
-
|
|
164
|
-
function onRequest(req, res) {
|
|
165
|
-
// Parse the query string
|
|
166
|
-
var query = url.parse(req.url, true, true).query;
|
|
167
|
-
|
|
168
|
-
if (query && query.name) {
|
|
169
|
-
// Set a new cookie with the name
|
|
170
|
-
res.setHeader('Set-Cookie', cookie.serialize('name', String(query.name), {
|
|
171
|
-
httpOnly: true,
|
|
172
|
-
maxAge: 60 * 60 * 24 * 7 // 1 week
|
|
173
|
-
}));
|
|
174
|
-
|
|
175
|
-
// Redirect back after setting cookie
|
|
176
|
-
res.statusCode = 302;
|
|
177
|
-
res.setHeader('Location', req.headers.referer || '/');
|
|
178
|
-
res.end();
|
|
179
|
-
return;
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
// Parse the cookies on the request
|
|
183
|
-
var cookies = cookie.parse(req.headers.cookie || '');
|
|
184
|
-
|
|
185
|
-
// Get the visitor name set in the cookie
|
|
186
|
-
var name = cookies.name;
|
|
187
|
-
|
|
188
|
-
res.setHeader('Content-Type', 'text/html; charset=UTF-8');
|
|
189
|
-
|
|
190
|
-
if (name) {
|
|
191
|
-
res.write('<p>Welcome back, <b>' + escapeHtml(name) + '</b>!</p>');
|
|
192
|
-
} else {
|
|
193
|
-
res.write('<p>Hello, new visitor!</p>');
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
res.write('<form method="GET">');
|
|
197
|
-
res.write('<input placeholder="enter your name" name="name"> <input type="submit" value="Set Name">');
|
|
198
|
-
res.end('</form>');
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
http.createServer(onRequest).listen(3000);
|
|
202
|
-
```
|
|
203
|
-
|
|
204
|
-
## Testing
|
|
205
|
-
|
|
206
|
-
```sh
|
|
207
|
-
$ npm test
|
|
208
|
-
```
|
|
209
|
-
|
|
210
|
-
## Benchmark
|
|
211
|
-
|
|
212
|
-
```
|
|
213
|
-
$ npm run bench
|
|
214
|
-
|
|
215
|
-
> cookie@0.4.2 bench
|
|
216
|
-
> node benchmark/index.js
|
|
217
|
-
|
|
218
|
-
node@16.14.0
|
|
219
|
-
v8@9.4.146.24-node.20
|
|
220
|
-
uv@1.43.0
|
|
221
|
-
zlib@1.2.11
|
|
222
|
-
brotli@1.0.9
|
|
223
|
-
ares@1.18.1
|
|
224
|
-
modules@93
|
|
225
|
-
nghttp2@1.45.1
|
|
226
|
-
napi@8
|
|
227
|
-
llhttp@6.0.4
|
|
228
|
-
openssl@1.1.1m+quic
|
|
229
|
-
cldr@40.0
|
|
230
|
-
icu@70.1
|
|
231
|
-
tz@2021a3
|
|
232
|
-
unicode@14.0
|
|
233
|
-
ngtcp2@0.1.0-DEV
|
|
234
|
-
nghttp3@0.1.0-DEV
|
|
235
|
-
|
|
236
|
-
> node benchmark/parse-top.js
|
|
237
|
-
|
|
238
|
-
cookie.parse - top sites
|
|
239
|
-
|
|
240
|
-
15 tests completed.
|
|
241
|
-
|
|
242
|
-
parse accounts.google.com x 2,421,245 ops/sec ±0.80% (188 runs sampled)
|
|
243
|
-
parse apple.com x 2,684,710 ops/sec ±0.59% (189 runs sampled)
|
|
244
|
-
parse cloudflare.com x 2,231,418 ops/sec ±0.76% (186 runs sampled)
|
|
245
|
-
parse docs.google.com x 2,316,357 ops/sec ±1.28% (187 runs sampled)
|
|
246
|
-
parse drive.google.com x 2,363,543 ops/sec ±0.49% (189 runs sampled)
|
|
247
|
-
parse en.wikipedia.org x 839,414 ops/sec ±0.53% (189 runs sampled)
|
|
248
|
-
parse linkedin.com x 553,797 ops/sec ±0.63% (190 runs sampled)
|
|
249
|
-
parse maps.google.com x 1,314,779 ops/sec ±0.72% (189 runs sampled)
|
|
250
|
-
parse microsoft.com x 153,783 ops/sec ±0.53% (190 runs sampled)
|
|
251
|
-
parse play.google.com x 2,249,574 ops/sec ±0.59% (187 runs sampled)
|
|
252
|
-
parse plus.google.com x 2,258,682 ops/sec ±0.60% (188 runs sampled)
|
|
253
|
-
parse sites.google.com x 2,247,069 ops/sec ±0.68% (189 runs sampled)
|
|
254
|
-
parse support.google.com x 1,456,840 ops/sec ±0.70% (187 runs sampled)
|
|
255
|
-
parse www.google.com x 1,046,028 ops/sec ±0.58% (188 runs sampled)
|
|
256
|
-
parse youtu.be x 937,428 ops/sec ±1.47% (190 runs sampled)
|
|
257
|
-
parse youtube.com x 963,878 ops/sec ±0.59% (190 runs sampled)
|
|
258
|
-
|
|
259
|
-
> node benchmark/parse.js
|
|
260
|
-
|
|
261
|
-
cookie.parse - generic
|
|
262
|
-
|
|
263
|
-
6 tests completed.
|
|
264
|
-
|
|
265
|
-
simple x 2,745,604 ops/sec ±0.77% (185 runs sampled)
|
|
266
|
-
decode x 557,287 ops/sec ±0.60% (188 runs sampled)
|
|
267
|
-
unquote x 2,498,475 ops/sec ±0.55% (189 runs sampled)
|
|
268
|
-
duplicates x 868,591 ops/sec ±0.89% (187 runs sampled)
|
|
269
|
-
10 cookies x 306,745 ops/sec ±0.49% (190 runs sampled)
|
|
270
|
-
100 cookies x 22,414 ops/sec ±2.38% (182 runs sampled)
|
|
271
|
-
```
|
|
272
|
-
|
|
273
|
-
## References
|
|
274
|
-
|
|
275
|
-
- [RFC 6265: HTTP State Management Mechanism][rfc-6265]
|
|
276
|
-
- [Same-site Cookies][rfc-6265bis-09-5.4.7]
|
|
277
|
-
|
|
278
|
-
[rfc-west-cookie-priority-00-4.1]: https://tools.ietf.org/html/draft-west-cookie-priority-00#section-4.1
|
|
279
|
-
[rfc-6265bis-09-5.4.7]: https://tools.ietf.org/html/draft-ietf-httpbis-rfc6265bis-09#section-5.4.7
|
|
280
|
-
[rfc-6265]: https://tools.ietf.org/html/rfc6265
|
|
281
|
-
[rfc-6265-5.1.4]: https://tools.ietf.org/html/rfc6265#section-5.1.4
|
|
282
|
-
[rfc-6265-5.2.1]: https://tools.ietf.org/html/rfc6265#section-5.2.1
|
|
283
|
-
[rfc-6265-5.2.2]: https://tools.ietf.org/html/rfc6265#section-5.2.2
|
|
284
|
-
[rfc-6265-5.2.3]: https://tools.ietf.org/html/rfc6265#section-5.2.3
|
|
285
|
-
[rfc-6265-5.2.4]: https://tools.ietf.org/html/rfc6265#section-5.2.4
|
|
286
|
-
[rfc-6265-5.2.5]: https://tools.ietf.org/html/rfc6265#section-5.2.5
|
|
287
|
-
[rfc-6265-5.2.6]: https://tools.ietf.org/html/rfc6265#section-5.2.6
|
|
288
|
-
[rfc-6265-5.3]: https://tools.ietf.org/html/rfc6265#section-5.3
|
|
289
|
-
|
|
290
|
-
## License
|
|
291
|
-
|
|
292
|
-
[MIT](LICENSE)
|
|
293
|
-
|
|
294
|
-
[coveralls-image]: https://badgen.net/coveralls/c/github/jshttp/cookie/master
|
|
295
|
-
[coveralls-url]: https://coveralls.io/r/jshttp/cookie?branch=master
|
|
296
|
-
[github-actions-ci-image]: https://img.shields.io/github/workflow/status/jshttp/cookie/ci/master?label=ci
|
|
297
|
-
[github-actions-ci-url]: https://github.com/jshttp/cookie/actions/workflows/ci.yml
|
|
298
|
-
[node-version-image]: https://badgen.net/npm/node/cookie
|
|
299
|
-
[node-version-url]: https://nodejs.org/en/download
|
|
300
|
-
[npm-downloads-image]: https://badgen.net/npm/dm/cookie
|
|
301
|
-
[npm-url]: https://npmjs.org/package/cookie
|
|
302
|
-
[npm-version-image]: https://badgen.net/npm/v/cookie
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
# Security Policies and Procedures
|
|
2
|
-
|
|
3
|
-
## Reporting a Bug
|
|
4
|
-
|
|
5
|
-
The `cookie` team and community take all security bugs seriously. Thank
|
|
6
|
-
you for improving the security of the project. We appreciate your efforts and
|
|
7
|
-
responsible disclosure and will make every effort to acknowledge your
|
|
8
|
-
contributions.
|
|
9
|
-
|
|
10
|
-
Report security bugs by emailing the current owner(s) of `cookie`. This
|
|
11
|
-
information can be found in the npm registry using the command
|
|
12
|
-
`npm owner ls cookie`.
|
|
13
|
-
If unsure or unable to get the information from the above, open an issue
|
|
14
|
-
in the [project issue tracker](https://github.com/jshttp/cookie/issues)
|
|
15
|
-
asking for the current contact information.
|
|
16
|
-
|
|
17
|
-
To ensure the timely response to your report, please ensure that the entirety
|
|
18
|
-
of the report is contained within the email body and not solely behind a web
|
|
19
|
-
link or an attachment.
|
|
20
|
-
|
|
21
|
-
At least one owner will acknowledge your email within 48 hours, and will send a
|
|
22
|
-
more detailed response within 48 hours indicating the next steps in handling
|
|
23
|
-
your report. After the initial reply to your report, the owners will
|
|
24
|
-
endeavor to keep you informed of the progress towards a fix and full
|
|
25
|
-
announcement, and may ask for additional information or guidance.
|
|
@@ -1,270 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* cookie
|
|
3
|
-
* Copyright(c) 2012-2014 Roman Shtylman
|
|
4
|
-
* Copyright(c) 2015 Douglas Christopher Wilson
|
|
5
|
-
* MIT Licensed
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
'use strict';
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* Module exports.
|
|
12
|
-
* @public
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
exports.parse = parse;
|
|
16
|
-
exports.serialize = serialize;
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* Module variables.
|
|
20
|
-
* @private
|
|
21
|
-
*/
|
|
22
|
-
|
|
23
|
-
var __toString = Object.prototype.toString
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* RegExp to match field-content in RFC 7230 sec 3.2
|
|
27
|
-
*
|
|
28
|
-
* field-content = field-vchar [ 1*( SP / HTAB ) field-vchar ]
|
|
29
|
-
* field-vchar = VCHAR / obs-text
|
|
30
|
-
* obs-text = %x80-FF
|
|
31
|
-
*/
|
|
32
|
-
|
|
33
|
-
var fieldContentRegExp = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;
|
|
34
|
-
|
|
35
|
-
/**
|
|
36
|
-
* Parse a cookie header.
|
|
37
|
-
*
|
|
38
|
-
* Parse the given cookie header string into an object
|
|
39
|
-
* The object has the various cookies as keys(names) => values
|
|
40
|
-
*
|
|
41
|
-
* @param {string} str
|
|
42
|
-
* @param {object} [options]
|
|
43
|
-
* @return {object}
|
|
44
|
-
* @public
|
|
45
|
-
*/
|
|
46
|
-
|
|
47
|
-
function parse(str, options) {
|
|
48
|
-
if (typeof str !== 'string') {
|
|
49
|
-
throw new TypeError('argument str must be a string');
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
var obj = {}
|
|
53
|
-
var opt = options || {};
|
|
54
|
-
var dec = opt.decode || decode;
|
|
55
|
-
|
|
56
|
-
var index = 0
|
|
57
|
-
while (index < str.length) {
|
|
58
|
-
var eqIdx = str.indexOf('=', index)
|
|
59
|
-
|
|
60
|
-
// no more cookie pairs
|
|
61
|
-
if (eqIdx === -1) {
|
|
62
|
-
break
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
var endIdx = str.indexOf(';', index)
|
|
66
|
-
|
|
67
|
-
if (endIdx === -1) {
|
|
68
|
-
endIdx = str.length
|
|
69
|
-
} else if (endIdx < eqIdx) {
|
|
70
|
-
// backtrack on prior semicolon
|
|
71
|
-
index = str.lastIndexOf(';', eqIdx - 1) + 1
|
|
72
|
-
continue
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
var key = str.slice(index, eqIdx).trim()
|
|
76
|
-
|
|
77
|
-
// only assign once
|
|
78
|
-
if (undefined === obj[key]) {
|
|
79
|
-
var val = str.slice(eqIdx + 1, endIdx).trim()
|
|
80
|
-
|
|
81
|
-
// quoted values
|
|
82
|
-
if (val.charCodeAt(0) === 0x22) {
|
|
83
|
-
val = val.slice(1, -1)
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
obj[key] = tryDecode(val, dec);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
index = endIdx + 1
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
return obj;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
/**
|
|
96
|
-
* Serialize data into a cookie header.
|
|
97
|
-
*
|
|
98
|
-
* Serialize the a name value pair into a cookie string suitable for
|
|
99
|
-
* http headers. An optional options object specified cookie parameters.
|
|
100
|
-
*
|
|
101
|
-
* serialize('foo', 'bar', { httpOnly: true })
|
|
102
|
-
* => "foo=bar; httpOnly"
|
|
103
|
-
*
|
|
104
|
-
* @param {string} name
|
|
105
|
-
* @param {string} val
|
|
106
|
-
* @param {object} [options]
|
|
107
|
-
* @return {string}
|
|
108
|
-
* @public
|
|
109
|
-
*/
|
|
110
|
-
|
|
111
|
-
function serialize(name, val, options) {
|
|
112
|
-
var opt = options || {};
|
|
113
|
-
var enc = opt.encode || encode;
|
|
114
|
-
|
|
115
|
-
if (typeof enc !== 'function') {
|
|
116
|
-
throw new TypeError('option encode is invalid');
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
if (!fieldContentRegExp.test(name)) {
|
|
120
|
-
throw new TypeError('argument name is invalid');
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
var value = enc(val);
|
|
124
|
-
|
|
125
|
-
if (value && !fieldContentRegExp.test(value)) {
|
|
126
|
-
throw new TypeError('argument val is invalid');
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
var str = name + '=' + value;
|
|
130
|
-
|
|
131
|
-
if (null != opt.maxAge) {
|
|
132
|
-
var maxAge = opt.maxAge - 0;
|
|
133
|
-
|
|
134
|
-
if (isNaN(maxAge) || !isFinite(maxAge)) {
|
|
135
|
-
throw new TypeError('option maxAge is invalid')
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
str += '; Max-Age=' + Math.floor(maxAge);
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
if (opt.domain) {
|
|
142
|
-
if (!fieldContentRegExp.test(opt.domain)) {
|
|
143
|
-
throw new TypeError('option domain is invalid');
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
str += '; Domain=' + opt.domain;
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
if (opt.path) {
|
|
150
|
-
if (!fieldContentRegExp.test(opt.path)) {
|
|
151
|
-
throw new TypeError('option path is invalid');
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
str += '; Path=' + opt.path;
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
if (opt.expires) {
|
|
158
|
-
var expires = opt.expires
|
|
159
|
-
|
|
160
|
-
if (!isDate(expires) || isNaN(expires.valueOf())) {
|
|
161
|
-
throw new TypeError('option expires is invalid');
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
str += '; Expires=' + expires.toUTCString()
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
if (opt.httpOnly) {
|
|
168
|
-
str += '; HttpOnly';
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
if (opt.secure) {
|
|
172
|
-
str += '; Secure';
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
if (opt.priority) {
|
|
176
|
-
var priority = typeof opt.priority === 'string'
|
|
177
|
-
? opt.priority.toLowerCase()
|
|
178
|
-
: opt.priority
|
|
179
|
-
|
|
180
|
-
switch (priority) {
|
|
181
|
-
case 'low':
|
|
182
|
-
str += '; Priority=Low'
|
|
183
|
-
break
|
|
184
|
-
case 'medium':
|
|
185
|
-
str += '; Priority=Medium'
|
|
186
|
-
break
|
|
187
|
-
case 'high':
|
|
188
|
-
str += '; Priority=High'
|
|
189
|
-
break
|
|
190
|
-
default:
|
|
191
|
-
throw new TypeError('option priority is invalid')
|
|
192
|
-
}
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
if (opt.sameSite) {
|
|
196
|
-
var sameSite = typeof opt.sameSite === 'string'
|
|
197
|
-
? opt.sameSite.toLowerCase() : opt.sameSite;
|
|
198
|
-
|
|
199
|
-
switch (sameSite) {
|
|
200
|
-
case true:
|
|
201
|
-
str += '; SameSite=Strict';
|
|
202
|
-
break;
|
|
203
|
-
case 'lax':
|
|
204
|
-
str += '; SameSite=Lax';
|
|
205
|
-
break;
|
|
206
|
-
case 'strict':
|
|
207
|
-
str += '; SameSite=Strict';
|
|
208
|
-
break;
|
|
209
|
-
case 'none':
|
|
210
|
-
str += '; SameSite=None';
|
|
211
|
-
break;
|
|
212
|
-
default:
|
|
213
|
-
throw new TypeError('option sameSite is invalid');
|
|
214
|
-
}
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
return str;
|
|
218
|
-
}
|
|
219
|
-
|
|
220
|
-
/**
|
|
221
|
-
* URL-decode string value. Optimized to skip native call when no %.
|
|
222
|
-
*
|
|
223
|
-
* @param {string} str
|
|
224
|
-
* @returns {string}
|
|
225
|
-
*/
|
|
226
|
-
|
|
227
|
-
function decode (str) {
|
|
228
|
-
return str.indexOf('%') !== -1
|
|
229
|
-
? decodeURIComponent(str)
|
|
230
|
-
: str
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
/**
|
|
234
|
-
* URL-encode value.
|
|
235
|
-
*
|
|
236
|
-
* @param {string} str
|
|
237
|
-
* @returns {string}
|
|
238
|
-
*/
|
|
239
|
-
|
|
240
|
-
function encode (val) {
|
|
241
|
-
return encodeURIComponent(val)
|
|
242
|
-
}
|
|
243
|
-
|
|
244
|
-
/**
|
|
245
|
-
* Determine if value is a Date.
|
|
246
|
-
*
|
|
247
|
-
* @param {*} val
|
|
248
|
-
* @private
|
|
249
|
-
*/
|
|
250
|
-
|
|
251
|
-
function isDate (val) {
|
|
252
|
-
return __toString.call(val) === '[object Date]' ||
|
|
253
|
-
val instanceof Date
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
/**
|
|
257
|
-
* Try decoding a string using a decoding function.
|
|
258
|
-
*
|
|
259
|
-
* @param {string} str
|
|
260
|
-
* @param {function} decode
|
|
261
|
-
* @private
|
|
262
|
-
*/
|
|
263
|
-
|
|
264
|
-
function tryDecode(str, decode) {
|
|
265
|
-
try {
|
|
266
|
-
return decode(str);
|
|
267
|
-
} catch (e) {
|
|
268
|
-
return str;
|
|
269
|
-
}
|
|
270
|
-
}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "cookie",
|
|
3
|
-
"description": "HTTP server cookie parsing and serialization",
|
|
4
|
-
"version": "0.5.0",
|
|
5
|
-
"author": "Roman Shtylman <shtylman@gmail.com>",
|
|
6
|
-
"contributors": [
|
|
7
|
-
"Douglas Christopher Wilson <doug@somethingdoug.com>"
|
|
8
|
-
],
|
|
9
|
-
"license": "MIT",
|
|
10
|
-
"keywords": [
|
|
11
|
-
"cookie",
|
|
12
|
-
"cookies"
|
|
13
|
-
],
|
|
14
|
-
"repository": "jshttp/cookie",
|
|
15
|
-
"devDependencies": {
|
|
16
|
-
"beautify-benchmark": "0.2.4",
|
|
17
|
-
"benchmark": "2.1.4",
|
|
18
|
-
"eslint": "7.32.0",
|
|
19
|
-
"eslint-plugin-markdown": "2.2.1",
|
|
20
|
-
"mocha": "9.2.2",
|
|
21
|
-
"nyc": "15.1.0",
|
|
22
|
-
"safe-buffer": "5.2.1",
|
|
23
|
-
"top-sites": "1.1.97"
|
|
24
|
-
},
|
|
25
|
-
"files": [
|
|
26
|
-
"HISTORY.md",
|
|
27
|
-
"LICENSE",
|
|
28
|
-
"README.md",
|
|
29
|
-
"SECURITY.md",
|
|
30
|
-
"index.js"
|
|
31
|
-
],
|
|
32
|
-
"engines": {
|
|
33
|
-
"node": ">= 0.6"
|
|
34
|
-
},
|
|
35
|
-
"scripts": {
|
|
36
|
-
"bench": "node benchmark/index.js",
|
|
37
|
-
"lint": "eslint .",
|
|
38
|
-
"test": "mocha --reporter spec --bail --check-leaks test/",
|
|
39
|
-
"test-ci": "nyc --reporter=lcov --reporter=text npm test",
|
|
40
|
-
"test-cov": "nyc --reporter=html --reporter=text npm test",
|
|
41
|
-
"update-bench": "node scripts/update-benchmark.js",
|
|
42
|
-
"version": "node scripts/version-history.js && git add HISTORY.md"
|
|
43
|
-
}
|
|
44
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
1.0.6 / 2015-02-03
|
|
2
|
-
==================
|
|
3
|
-
|
|
4
|
-
* use `npm test` instead of `make test` to run tests
|
|
5
|
-
* clearer assertion messages when checking input
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
1.0.5 / 2014-09-05
|
|
9
|
-
==================
|
|
10
|
-
|
|
11
|
-
* add license to package.json
|
|
12
|
-
|
|
13
|
-
1.0.4 / 2014-06-25
|
|
14
|
-
==================
|
|
15
|
-
|
|
16
|
-
* corrected avoidance of timing attacks (thanks @tenbits!)
|
|
17
|
-
|
|
18
|
-
1.0.3 / 2014-01-28
|
|
19
|
-
==================
|
|
20
|
-
|
|
21
|
-
* [incorrect] fix for timing attacks
|
|
22
|
-
|
|
23
|
-
1.0.2 / 2014-01-28
|
|
24
|
-
==================
|
|
25
|
-
|
|
26
|
-
* fix missing repository warning
|
|
27
|
-
* fix typo in test
|
|
28
|
-
|
|
29
|
-
1.0.1 / 2013-04-15
|
|
30
|
-
==================
|
|
31
|
-
|
|
32
|
-
* Revert "Changed underlying HMAC algo. to sha512."
|
|
33
|
-
* Revert "Fix for timing attacks on MAC verification."
|
|
34
|
-
|
|
35
|
-
0.0.1 / 2010-01-03
|
|
36
|
-
==================
|
|
37
|
-
|
|
38
|
-
* Initial release
|