nodejs-insta-private-api-mqtt 1.3.21 → 1.3.23
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/dist/fbns/fbns.client.js +2 -2
- package/dist/mqttot/mqttot.client.js +18 -8
- package/dist/node_modules/.package-lock.json +1158 -0
- package/dist/node_modules/@babel/runtime/LICENSE +22 -0
- package/dist/node_modules/@babel/runtime/README.md +19 -0
- package/dist/node_modules/@babel/runtime/helpers/AwaitValue.js +4 -0
- package/dist/node_modules/@babel/runtime/helpers/OverloadYield.js +4 -0
- package/dist/node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js +9 -0
- package/dist/node_modules/@babel/runtime/helpers/applyDecs.js +236 -0
- package/dist/node_modules/@babel/runtime/helpers/applyDecs2203.js +184 -0
- package/dist/node_modules/@babel/runtime/helpers/applyDecs2203R.js +191 -0
- package/dist/node_modules/@babel/runtime/helpers/applyDecs2301.js +222 -0
- package/dist/node_modules/@babel/runtime/helpers/applyDecs2305.js +133 -0
- package/dist/node_modules/@babel/runtime/helpers/applyDecs2311.js +124 -0
- package/dist/node_modules/@babel/runtime/helpers/arrayLikeToArray.js +6 -0
- package/dist/node_modules/@babel/runtime/helpers/arrayWithHoles.js +4 -0
- package/dist/node_modules/@babel/runtime/helpers/arrayWithoutHoles.js +5 -0
- package/dist/node_modules/@babel/runtime/helpers/assertClassBrand.js +5 -0
- package/dist/node_modules/@babel/runtime/helpers/assertThisInitialized.js +5 -0
- package/dist/node_modules/@babel/runtime/helpers/asyncGeneratorDelegate.js +24 -0
- package/dist/node_modules/@babel/runtime/helpers/asyncIterator.js +45 -0
- package/dist/node_modules/@babel/runtime/helpers/asyncToGenerator.js +26 -0
- package/dist/node_modules/@babel/runtime/helpers/awaitAsyncGenerator.js +5 -0
- package/dist/node_modules/@babel/runtime/helpers/callSuper.js +7 -0
- package/dist/node_modules/@babel/runtime/helpers/checkInRHS.js +6 -0
- package/dist/node_modules/@babel/runtime/helpers/checkPrivateRedeclaration.js +4 -0
- package/dist/node_modules/@babel/runtime/helpers/classApplyDescriptorDestructureSet.js +10 -0
- package/dist/node_modules/@babel/runtime/helpers/classApplyDescriptorGet.js +4 -0
- package/dist/node_modules/@babel/runtime/helpers/classApplyDescriptorSet.js +7 -0
- package/dist/node_modules/@babel/runtime/helpers/classCallCheck.js +4 -0
- package/dist/node_modules/@babel/runtime/helpers/classCheckPrivateStaticAccess.js +5 -0
- package/dist/node_modules/@babel/runtime/helpers/classCheckPrivateStaticFieldDescriptor.js +4 -0
- package/dist/node_modules/@babel/runtime/helpers/classExtractFieldDescriptor.js +5 -0
- package/dist/node_modules/@babel/runtime/helpers/classNameTDZError.js +4 -0
- package/dist/node_modules/@babel/runtime/helpers/classPrivateFieldDestructureSet.js +7 -0
- package/dist/node_modules/@babel/runtime/helpers/classPrivateFieldGet.js +7 -0
- package/dist/node_modules/@babel/runtime/helpers/classPrivateFieldGet2.js +5 -0
- package/dist/node_modules/@babel/runtime/helpers/classPrivateFieldInitSpec.js +5 -0
- package/dist/node_modules/@babel/runtime/helpers/classPrivateFieldLooseBase.js +5 -0
- package/dist/node_modules/@babel/runtime/helpers/classPrivateFieldLooseKey.js +5 -0
- package/dist/node_modules/@babel/runtime/helpers/classPrivateFieldSet.js +7 -0
- package/dist/node_modules/@babel/runtime/helpers/classPrivateFieldSet2.js +5 -0
- package/dist/node_modules/@babel/runtime/helpers/classPrivateGetter.js +5 -0
- package/dist/node_modules/@babel/runtime/helpers/classPrivateMethodGet.js +5 -0
- package/dist/node_modules/@babel/runtime/helpers/classPrivateMethodInitSpec.js +5 -0
- package/dist/node_modules/@babel/runtime/helpers/classPrivateMethodSet.js +4 -0
- package/dist/node_modules/@babel/runtime/helpers/classPrivateSetter.js +5 -0
- package/dist/node_modules/@babel/runtime/helpers/classStaticPrivateFieldDestructureSet.js +7 -0
- package/dist/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecGet.js +7 -0
- package/dist/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecSet.js +7 -0
- package/dist/node_modules/@babel/runtime/helpers/classStaticPrivateMethodGet.js +5 -0
- package/dist/node_modules/@babel/runtime/helpers/classStaticPrivateMethodSet.js +4 -0
- package/dist/node_modules/@babel/runtime/helpers/construct.js +10 -0
- package/dist/node_modules/@babel/runtime/helpers/createClass.js +13 -0
- package/dist/node_modules/@babel/runtime/helpers/createForOfIteratorHelper.js +50 -0
- package/dist/node_modules/@babel/runtime/helpers/createForOfIteratorHelperLoose.js +19 -0
- package/dist/node_modules/@babel/runtime/helpers/createSuper.js +16 -0
- package/dist/node_modules/@babel/runtime/helpers/decorate.js +250 -0
- package/dist/node_modules/@babel/runtime/helpers/defaults.js +9 -0
- package/dist/node_modules/@babel/runtime/helpers/defineAccessor.js +8 -0
- package/dist/node_modules/@babel/runtime/helpers/defineEnumerableProperties.js +12 -0
- package/dist/node_modules/@babel/runtime/helpers/defineProperty.js +10 -0
- package/dist/node_modules/@babel/runtime/helpers/dispose.js +28 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/AwaitValue.js +4 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/OverloadYield.js +4 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/applyDecoratedDescriptor.js +9 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/applyDecs.js +236 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/applyDecs2203.js +184 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/applyDecs2203R.js +191 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/applyDecs2301.js +222 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/applyDecs2305.js +133 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/applyDecs2311.js +124 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +6 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +4 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +5 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/assertClassBrand.js +5 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +5 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/asyncGeneratorDelegate.js +24 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/asyncIterator.js +45 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js +26 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/awaitAsyncGenerator.js +5 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/callSuper.js +7 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/checkInRHS.js +6 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/checkPrivateRedeclaration.js +4 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorDestructureSet.js +10 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorGet.js +4 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorSet.js +7 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +4 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticAccess.js +5 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticFieldDescriptor.js +4 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/classExtractFieldDescriptor.js +5 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/classNameTDZError.js +4 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/classPrivateFieldDestructureSet.js +7 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet.js +7 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet2.js +5 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/classPrivateFieldInitSpec.js +5 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseBase.js +5 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseKey.js +5 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet.js +7 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet2.js +5 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/classPrivateGetter.js +5 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/classPrivateMethodGet.js +5 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/classPrivateMethodInitSpec.js +5 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/classPrivateMethodSet.js +4 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/classPrivateSetter.js +5 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldDestructureSet.js +7 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecGet.js +7 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecSet.js +7 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodGet.js +5 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodSet.js +4 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/construct.js +10 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/createClass.js +13 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js +50 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelperLoose.js +19 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/createSuper.js +16 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/decorate.js +250 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/defaults.js +9 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/defineAccessor.js +8 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/defineEnumerableProperties.js +12 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/defineProperty.js +10 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/dispose.js +28 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/extends.js +10 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/get.js +11 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +6 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/identity.js +4 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/importDeferProxy.js +27 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/inherits.js +14 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js +5 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/initializerDefineProperty.js +9 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/initializerWarningHelper.js +4 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/instanceof.js +4 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/interopRequireDefault.js +6 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/interopRequireWildcard.js +22 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/isNativeFunction.js +8 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +9 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/iterableToArray.js +4 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +28 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/jsx.js +22 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/maybeArrayLike.js +9 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/newArrowCheck.js +4 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +4 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +4 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/nullishReceiverError.js +4 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/objectDestructuringEmpty.js +4 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/objectSpread.js +14 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +23 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +13 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +10 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/package.json +3 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +8 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/readOnlyError.js +4 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/regenerator.js +89 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/regeneratorAsync.js +8 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/regeneratorAsyncGen.js +6 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/regeneratorAsyncIterator.js +33 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/regeneratorDefine.js +22 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/regeneratorKeys.js +10 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js +77 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/regeneratorValues.js +19 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/set.js +22 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/setFunctionName.js +12 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +6 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/skipFirstGeneratorNext.js +7 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +8 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/superPropBase.js +6 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/superPropGet.js +9 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/superPropSet.js +6 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js +8 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteralLoose.js +4 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/tdz.js +4 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/temporalRef.js +6 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/temporalUndefined.js +2 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/toArray.js +8 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +8 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +12 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +7 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/toSetter.js +10 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/tsRewriteRelativeImportExtensions.js +6 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/typeof.js +10 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +9 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/using.js +12 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/usingCtx.js +59 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/wrapAsyncGenerator.js +69 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/wrapNativeSuper.js +27 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/wrapRegExp.js +52 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/writeOnlyError.js +4 -0
- package/dist/node_modules/@babel/runtime/helpers/extends.js +10 -0
- package/dist/node_modules/@babel/runtime/helpers/get.js +11 -0
- package/dist/node_modules/@babel/runtime/helpers/getPrototypeOf.js +6 -0
- package/dist/node_modules/@babel/runtime/helpers/identity.js +4 -0
- package/dist/node_modules/@babel/runtime/helpers/importDeferProxy.js +27 -0
- package/dist/node_modules/@babel/runtime/helpers/inherits.js +14 -0
- package/dist/node_modules/@babel/runtime/helpers/inheritsLoose.js +5 -0
- package/dist/node_modules/@babel/runtime/helpers/initializerDefineProperty.js +9 -0
- package/dist/node_modules/@babel/runtime/helpers/initializerWarningHelper.js +4 -0
- package/dist/node_modules/@babel/runtime/helpers/instanceof.js +4 -0
- package/dist/node_modules/@babel/runtime/helpers/interopRequireDefault.js +6 -0
- package/dist/node_modules/@babel/runtime/helpers/interopRequireWildcard.js +22 -0
- package/dist/node_modules/@babel/runtime/helpers/isNativeFunction.js +8 -0
- package/dist/node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js +9 -0
- package/dist/node_modules/@babel/runtime/helpers/iterableToArray.js +4 -0
- package/dist/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js +28 -0
- package/dist/node_modules/@babel/runtime/helpers/jsx.js +22 -0
- package/dist/node_modules/@babel/runtime/helpers/maybeArrayLike.js +9 -0
- package/dist/node_modules/@babel/runtime/helpers/newArrowCheck.js +4 -0
- package/dist/node_modules/@babel/runtime/helpers/nonIterableRest.js +4 -0
- package/dist/node_modules/@babel/runtime/helpers/nonIterableSpread.js +4 -0
- package/dist/node_modules/@babel/runtime/helpers/nullishReceiverError.js +4 -0
- package/dist/node_modules/@babel/runtime/helpers/objectDestructuringEmpty.js +4 -0
- package/dist/node_modules/@babel/runtime/helpers/objectSpread.js +14 -0
- package/dist/node_modules/@babel/runtime/helpers/objectSpread2.js +23 -0
- package/dist/node_modules/@babel/runtime/helpers/objectWithoutProperties.js +13 -0
- package/dist/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js +10 -0
- package/dist/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js +8 -0
- package/dist/node_modules/@babel/runtime/helpers/readOnlyError.js +4 -0
- package/dist/node_modules/@babel/runtime/helpers/regenerator.js +89 -0
- package/dist/node_modules/@babel/runtime/helpers/regeneratorAsync.js +8 -0
- package/dist/node_modules/@babel/runtime/helpers/regeneratorAsyncGen.js +6 -0
- package/dist/node_modules/@babel/runtime/helpers/regeneratorAsyncIterator.js +33 -0
- package/dist/node_modules/@babel/runtime/helpers/regeneratorDefine.js +22 -0
- package/dist/node_modules/@babel/runtime/helpers/regeneratorKeys.js +10 -0
- package/dist/node_modules/@babel/runtime/helpers/regeneratorRuntime.js +77 -0
- package/dist/node_modules/@babel/runtime/helpers/regeneratorValues.js +19 -0
- package/dist/node_modules/@babel/runtime/helpers/set.js +22 -0
- package/dist/node_modules/@babel/runtime/helpers/setFunctionName.js +12 -0
- package/dist/node_modules/@babel/runtime/helpers/setPrototypeOf.js +6 -0
- package/dist/node_modules/@babel/runtime/helpers/skipFirstGeneratorNext.js +7 -0
- package/dist/node_modules/@babel/runtime/helpers/slicedToArray.js +8 -0
- package/dist/node_modules/@babel/runtime/helpers/superPropBase.js +6 -0
- package/dist/node_modules/@babel/runtime/helpers/superPropGet.js +9 -0
- package/dist/node_modules/@babel/runtime/helpers/superPropSet.js +6 -0
- package/dist/node_modules/@babel/runtime/helpers/taggedTemplateLiteral.js +8 -0
- package/dist/node_modules/@babel/runtime/helpers/taggedTemplateLiteralLoose.js +4 -0
- package/dist/node_modules/@babel/runtime/helpers/tdz.js +4 -0
- package/dist/node_modules/@babel/runtime/helpers/temporalRef.js +6 -0
- package/dist/node_modules/@babel/runtime/helpers/temporalUndefined.js +2 -0
- package/dist/node_modules/@babel/runtime/helpers/toArray.js +8 -0
- package/dist/node_modules/@babel/runtime/helpers/toConsumableArray.js +8 -0
- package/dist/node_modules/@babel/runtime/helpers/toPrimitive.js +12 -0
- package/dist/node_modules/@babel/runtime/helpers/toPropertyKey.js +7 -0
- package/dist/node_modules/@babel/runtime/helpers/toSetter.js +10 -0
- package/dist/node_modules/@babel/runtime/helpers/tsRewriteRelativeImportExtensions.js +6 -0
- package/dist/node_modules/@babel/runtime/helpers/typeof.js +10 -0
- package/dist/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js +9 -0
- package/dist/node_modules/@babel/runtime/helpers/using.js +12 -0
- package/dist/node_modules/@babel/runtime/helpers/usingCtx.js +59 -0
- package/dist/node_modules/@babel/runtime/helpers/wrapAsyncGenerator.js +69 -0
- package/dist/node_modules/@babel/runtime/helpers/wrapNativeSuper.js +27 -0
- package/dist/node_modules/@babel/runtime/helpers/wrapRegExp.js +52 -0
- package/dist/node_modules/@babel/runtime/helpers/writeOnlyError.js +4 -0
- package/dist/node_modules/@babel/runtime/package.json +1107 -0
- package/dist/node_modules/@babel/runtime/regenerator/index.js +15 -0
- package/dist/node_modules/@protobufjs/aspromise/LICENSE +26 -0
- package/dist/node_modules/@protobufjs/aspromise/README.md +13 -0
- package/dist/node_modules/@protobufjs/aspromise/index.d.ts +13 -0
- package/dist/node_modules/@protobufjs/aspromise/index.js +52 -0
- package/dist/node_modules/@protobufjs/aspromise/package.json +21 -0
- package/dist/node_modules/@protobufjs/aspromise/tests/index.js +130 -0
- package/dist/node_modules/@protobufjs/base64/LICENSE +26 -0
- package/dist/node_modules/@protobufjs/base64/README.md +19 -0
- package/dist/node_modules/@protobufjs/base64/index.d.ts +32 -0
- package/dist/node_modules/@protobufjs/base64/index.js +139 -0
- package/dist/node_modules/@protobufjs/base64/package.json +21 -0
- package/dist/node_modules/@protobufjs/base64/tests/index.js +46 -0
- package/dist/node_modules/@protobufjs/codegen/LICENSE +26 -0
- package/dist/node_modules/@protobufjs/codegen/README.md +49 -0
- package/dist/node_modules/@protobufjs/codegen/index.d.ts +31 -0
- package/dist/node_modules/@protobufjs/codegen/index.js +99 -0
- package/dist/node_modules/@protobufjs/codegen/package.json +13 -0
- package/dist/node_modules/@protobufjs/codegen/tests/index.js +13 -0
- package/dist/node_modules/@protobufjs/eventemitter/LICENSE +26 -0
- package/dist/node_modules/@protobufjs/eventemitter/README.md +22 -0
- package/dist/node_modules/@protobufjs/eventemitter/index.d.ts +43 -0
- package/dist/node_modules/@protobufjs/eventemitter/index.js +76 -0
- package/dist/node_modules/@protobufjs/eventemitter/package.json +21 -0
- package/dist/node_modules/@protobufjs/eventemitter/tests/index.js +47 -0
- package/dist/node_modules/@protobufjs/fetch/LICENSE +26 -0
- package/dist/node_modules/@protobufjs/fetch/README.md +13 -0
- package/dist/node_modules/@protobufjs/fetch/index.d.ts +56 -0
- package/dist/node_modules/@protobufjs/fetch/index.js +115 -0
- package/dist/node_modules/@protobufjs/fetch/package.json +25 -0
- package/dist/node_modules/@protobufjs/fetch/tests/index.js +16 -0
- package/dist/node_modules/@protobufjs/float/LICENSE +26 -0
- package/dist/node_modules/@protobufjs/float/README.md +102 -0
- package/dist/node_modules/@protobufjs/float/bench/index.js +87 -0
- package/dist/node_modules/@protobufjs/float/bench/suite.js +46 -0
- package/dist/node_modules/@protobufjs/float/index.d.ts +83 -0
- package/dist/node_modules/@protobufjs/float/index.js +335 -0
- package/dist/node_modules/@protobufjs/float/package.json +26 -0
- package/dist/node_modules/@protobufjs/float/tests/index.js +100 -0
- package/dist/node_modules/@protobufjs/inquire/LICENSE +26 -0
- package/dist/node_modules/@protobufjs/inquire/README.md +13 -0
- package/dist/node_modules/@protobufjs/inquire/index.d.ts +9 -0
- package/dist/node_modules/@protobufjs/inquire/index.js +17 -0
- package/dist/node_modules/@protobufjs/inquire/package.json +21 -0
- package/dist/node_modules/@protobufjs/inquire/tests/data/array.js +1 -0
- package/dist/node_modules/@protobufjs/inquire/tests/data/emptyArray.js +1 -0
- package/dist/node_modules/@protobufjs/inquire/tests/data/emptyObject.js +1 -0
- package/dist/node_modules/@protobufjs/inquire/tests/data/object.js +1 -0
- package/dist/node_modules/@protobufjs/inquire/tests/index.js +20 -0
- package/dist/node_modules/@protobufjs/path/LICENSE +26 -0
- package/dist/node_modules/@protobufjs/path/README.md +19 -0
- package/dist/node_modules/@protobufjs/path/index.d.ts +22 -0
- package/dist/node_modules/@protobufjs/path/index.js +65 -0
- package/dist/node_modules/@protobufjs/path/package.json +21 -0
- package/dist/node_modules/@protobufjs/path/tests/index.js +60 -0
- package/dist/node_modules/@protobufjs/pool/LICENSE +26 -0
- package/dist/node_modules/@protobufjs/pool/README.md +13 -0
- package/dist/node_modules/@protobufjs/pool/index.d.ts +32 -0
- package/dist/node_modules/@protobufjs/pool/index.js +48 -0
- package/dist/node_modules/@protobufjs/pool/package.json +21 -0
- package/dist/node_modules/@protobufjs/pool/tests/index.js +33 -0
- package/dist/node_modules/@protobufjs/utf8/LICENSE +26 -0
- package/dist/node_modules/@protobufjs/utf8/README.md +20 -0
- package/dist/node_modules/@protobufjs/utf8/index.d.ts +24 -0
- package/dist/node_modules/@protobufjs/utf8/index.js +105 -0
- package/dist/node_modules/@protobufjs/utf8/package.json +21 -0
- package/dist/node_modules/@protobufjs/utf8/tests/data/utf8.txt +216 -0
- package/dist/node_modules/@protobufjs/utf8/tests/index.js +57 -0
- package/dist/node_modules/@types/node/LICENSE +21 -0
- package/dist/node_modules/@types/node/README.md +15 -0
- package/dist/node_modules/@types/node/assert/strict.d.ts +105 -0
- package/dist/node_modules/@types/node/assert.d.ts +955 -0
- package/dist/node_modules/@types/node/async_hooks.d.ts +623 -0
- package/dist/node_modules/@types/node/buffer.buffer.d.ts +466 -0
- package/dist/node_modules/@types/node/buffer.d.ts +1810 -0
- package/dist/node_modules/@types/node/child_process.d.ts +1428 -0
- package/dist/node_modules/@types/node/cluster.d.ts +486 -0
- package/dist/node_modules/@types/node/compatibility/iterators.d.ts +21 -0
- package/dist/node_modules/@types/node/console.d.ts +151 -0
- package/dist/node_modules/@types/node/constants.d.ts +20 -0
- package/dist/node_modules/@types/node/crypto.d.ts +4065 -0
- package/dist/node_modules/@types/node/dgram.d.ts +564 -0
- package/dist/node_modules/@types/node/diagnostics_channel.d.ts +576 -0
- package/dist/node_modules/@types/node/dns/promises.d.ts +503 -0
- package/dist/node_modules/@types/node/dns.d.ts +922 -0
- package/dist/node_modules/@types/node/domain.d.ts +166 -0
- package/dist/node_modules/@types/node/events.d.ts +1054 -0
- package/dist/node_modules/@types/node/fs/promises.d.ts +1329 -0
- package/dist/node_modules/@types/node/fs.d.ts +4676 -0
- package/dist/node_modules/@types/node/globals.d.ts +150 -0
- package/dist/node_modules/@types/node/globals.typedarray.d.ts +101 -0
- package/dist/node_modules/@types/node/http.d.ts +2143 -0
- package/dist/node_modules/@types/node/http2.d.ts +2480 -0
- package/dist/node_modules/@types/node/https.d.ts +399 -0
- package/dist/node_modules/@types/node/index.d.ts +115 -0
- package/dist/node_modules/@types/node/inspector/promises.d.ts +41 -0
- package/dist/node_modules/@types/node/inspector.d.ts +224 -0
- package/dist/node_modules/@types/node/inspector.generated.d.ts +4226 -0
- package/dist/node_modules/@types/node/module.d.ts +819 -0
- package/dist/node_modules/@types/node/net.d.ts +933 -0
- package/dist/node_modules/@types/node/os.d.ts +507 -0
- package/dist/node_modules/@types/node/package.json +155 -0
- package/dist/node_modules/@types/node/path/posix.d.ts +8 -0
- package/dist/node_modules/@types/node/path/win32.d.ts +8 -0
- package/dist/node_modules/@types/node/path.d.ts +187 -0
- package/dist/node_modules/@types/node/perf_hooks.d.ts +621 -0
- package/dist/node_modules/@types/node/process.d.ts +2111 -0
- package/dist/node_modules/@types/node/punycode.d.ts +117 -0
- package/dist/node_modules/@types/node/querystring.d.ts +152 -0
- package/dist/node_modules/@types/node/quic.d.ts +910 -0
- package/dist/node_modules/@types/node/readline/promises.d.ts +161 -0
- package/dist/node_modules/@types/node/readline.d.ts +541 -0
- package/dist/node_modules/@types/node/repl.d.ts +415 -0
- package/dist/node_modules/@types/node/sea.d.ts +162 -0
- package/dist/node_modules/@types/node/sqlite.d.ts +937 -0
- package/dist/node_modules/@types/node/stream/consumers.d.ts +38 -0
- package/dist/node_modules/@types/node/stream/promises.d.ts +211 -0
- package/dist/node_modules/@types/node/stream/web.d.ts +296 -0
- package/dist/node_modules/@types/node/stream.d.ts +1760 -0
- package/dist/node_modules/@types/node/string_decoder.d.ts +67 -0
- package/dist/node_modules/@types/node/test/reporters.d.ts +96 -0
- package/dist/node_modules/@types/node/test.d.ts +2239 -0
- package/dist/node_modules/@types/node/timers/promises.d.ts +108 -0
- package/dist/node_modules/@types/node/timers.d.ts +159 -0
- package/dist/node_modules/@types/node/tls.d.ts +1198 -0
- package/dist/node_modules/@types/node/trace_events.d.ts +197 -0
- package/dist/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +462 -0
- package/dist/node_modules/@types/node/ts5.6/compatibility/float16array.d.ts +71 -0
- package/dist/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +36 -0
- package/dist/node_modules/@types/node/ts5.6/index.d.ts +117 -0
- package/dist/node_modules/@types/node/ts5.7/compatibility/float16array.d.ts +72 -0
- package/dist/node_modules/@types/node/ts5.7/index.d.ts +117 -0
- package/dist/node_modules/@types/node/tty.d.ts +250 -0
- package/dist/node_modules/@types/node/url.d.ts +519 -0
- package/dist/node_modules/@types/node/util/types.d.ts +558 -0
- package/dist/node_modules/@types/node/util.d.ts +1653 -0
- package/dist/node_modules/@types/node/v8.d.ts +979 -0
- package/dist/node_modules/@types/node/vm.d.ts +1180 -0
- package/dist/node_modules/@types/node/wasi.d.ts +202 -0
- package/dist/node_modules/@types/node/web-globals/abortcontroller.d.ts +59 -0
- package/dist/node_modules/@types/node/web-globals/blob.d.ts +23 -0
- package/dist/node_modules/@types/node/web-globals/console.d.ts +9 -0
- package/dist/node_modules/@types/node/web-globals/crypto.d.ts +39 -0
- package/dist/node_modules/@types/node/web-globals/domexception.d.ts +68 -0
- package/dist/node_modules/@types/node/web-globals/encoding.d.ts +11 -0
- package/dist/node_modules/@types/node/web-globals/events.d.ts +106 -0
- package/dist/node_modules/@types/node/web-globals/fetch.d.ts +54 -0
- package/dist/node_modules/@types/node/web-globals/importmeta.d.ts +13 -0
- package/dist/node_modules/@types/node/web-globals/messaging.d.ts +23 -0
- package/dist/node_modules/@types/node/web-globals/navigator.d.ts +25 -0
- package/dist/node_modules/@types/node/web-globals/performance.d.ts +45 -0
- package/dist/node_modules/@types/node/web-globals/storage.d.ts +24 -0
- package/dist/node_modules/@types/node/web-globals/streams.d.ts +115 -0
- package/dist/node_modules/@types/node/web-globals/timers.d.ts +44 -0
- package/dist/node_modules/@types/node/web-globals/url.d.ts +24 -0
- package/dist/node_modules/@types/node/worker_threads.d.ts +717 -0
- package/dist/node_modules/@types/node/zlib.d.ts +618 -0
- package/dist/node_modules/@types/readable-stream/LICENSE +21 -0
- package/dist/node_modules/@types/readable-stream/README.md +15 -0
- package/dist/node_modules/@types/readable-stream/index.d.ts +686 -0
- package/dist/node_modules/@types/readable-stream/package.json +38 -0
- package/dist/node_modules/@types/ws/LICENSE +21 -0
- package/dist/node_modules/@types/ws/README.md +15 -0
- package/dist/node_modules/@types/ws/index.d.mts +451 -0
- package/dist/node_modules/@types/ws/index.d.ts +445 -0
- package/dist/node_modules/@types/ws/package.json +72 -0
- package/dist/node_modules/abort-controller/LICENSE +21 -0
- package/dist/node_modules/abort-controller/README.md +98 -0
- package/dist/node_modules/abort-controller/browser.js +13 -0
- package/dist/node_modules/abort-controller/browser.mjs +11 -0
- package/dist/node_modules/abort-controller/dist/abort-controller.d.ts +43 -0
- package/dist/node_modules/abort-controller/dist/abort-controller.js +127 -0
- package/dist/node_modules/abort-controller/dist/abort-controller.js.map +1 -0
- package/dist/node_modules/abort-controller/dist/abort-controller.mjs +118 -0
- package/dist/node_modules/abort-controller/dist/abort-controller.mjs.map +1 -0
- package/dist/node_modules/abort-controller/dist/abort-controller.umd.js +5 -0
- package/dist/node_modules/abort-controller/dist/abort-controller.umd.js.map +1 -0
- package/dist/node_modules/abort-controller/package.json +97 -0
- package/dist/node_modules/abort-controller/polyfill.js +21 -0
- package/dist/node_modules/abort-controller/polyfill.mjs +19 -0
- package/dist/node_modules/asynckit/LICENSE +21 -0
- package/dist/node_modules/asynckit/README.md +233 -0
- package/dist/node_modules/asynckit/bench.js +76 -0
- package/dist/node_modules/asynckit/index.js +6 -0
- package/dist/node_modules/asynckit/lib/abort.js +29 -0
- package/dist/node_modules/asynckit/lib/async.js +34 -0
- package/dist/node_modules/asynckit/lib/defer.js +26 -0
- package/dist/node_modules/asynckit/lib/iterate.js +75 -0
- package/dist/node_modules/asynckit/lib/readable_asynckit.js +91 -0
- package/dist/node_modules/asynckit/lib/readable_parallel.js +25 -0
- package/dist/node_modules/asynckit/lib/readable_serial.js +25 -0
- package/dist/node_modules/asynckit/lib/readable_serial_ordered.js +29 -0
- package/dist/node_modules/asynckit/lib/state.js +37 -0
- package/dist/node_modules/asynckit/lib/streamify.js +141 -0
- package/dist/node_modules/asynckit/lib/terminator.js +29 -0
- package/dist/node_modules/asynckit/package.json +63 -0
- package/dist/node_modules/asynckit/parallel.js +43 -0
- package/dist/node_modules/asynckit/serial.js +17 -0
- package/dist/node_modules/asynckit/serialOrdered.js +75 -0
- package/dist/node_modules/asynckit/stream.js +21 -0
- package/dist/node_modules/axios/CHANGELOG.md +1359 -0
- package/dist/node_modules/axios/LICENSE +7 -0
- package/dist/node_modules/axios/MIGRATION_GUIDE.md +3 -0
- package/dist/node_modules/axios/README.md +1784 -0
- package/dist/node_modules/axios/dist/axios.js +4471 -0
- package/dist/node_modules/axios/dist/axios.js.map +1 -0
- package/dist/node_modules/axios/dist/axios.min.js +3 -0
- package/dist/node_modules/axios/dist/axios.min.js.map +1 -0
- package/dist/node_modules/axios/dist/browser/axios.cjs +3909 -0
- package/dist/node_modules/axios/dist/browser/axios.cjs.map +1 -0
- package/dist/node_modules/axios/dist/esm/axios.js +3932 -0
- package/dist/node_modules/axios/dist/esm/axios.js.map +1 -0
- package/dist/node_modules/axios/dist/esm/axios.min.js +3 -0
- package/dist/node_modules/axios/dist/esm/axios.min.js.map +1 -0
- package/dist/node_modules/axios/dist/node/axios.cjs +5242 -0
- package/dist/node_modules/axios/dist/node/axios.cjs.map +1 -0
- package/dist/node_modules/axios/index.d.cts +572 -0
- package/dist/node_modules/axios/index.d.ts +585 -0
- package/dist/node_modules/axios/index.js +43 -0
- package/dist/node_modules/axios/lib/adapters/README.md +37 -0
- package/dist/node_modules/axios/lib/adapters/adapters.js +126 -0
- package/dist/node_modules/axios/lib/adapters/fetch.js +288 -0
- package/dist/node_modules/axios/lib/adapters/http.js +895 -0
- package/dist/node_modules/axios/lib/adapters/xhr.js +200 -0
- package/dist/node_modules/axios/lib/axios.js +89 -0
- package/dist/node_modules/axios/lib/cancel/CancelToken.js +135 -0
- package/dist/node_modules/axios/lib/cancel/CanceledError.js +25 -0
- package/dist/node_modules/axios/lib/cancel/isCancel.js +5 -0
- package/dist/node_modules/axios/lib/core/Axios.js +240 -0
- package/dist/node_modules/axios/lib/core/AxiosError.js +110 -0
- package/dist/node_modules/axios/lib/core/AxiosHeaders.js +314 -0
- package/dist/node_modules/axios/lib/core/InterceptorManager.js +71 -0
- package/dist/node_modules/axios/lib/core/README.md +8 -0
- package/dist/node_modules/axios/lib/core/buildFullPath.js +22 -0
- package/dist/node_modules/axios/lib/core/dispatchRequest.js +81 -0
- package/dist/node_modules/axios/lib/core/mergeConfig.js +106 -0
- package/dist/node_modules/axios/lib/core/settle.js +27 -0
- package/dist/node_modules/axios/lib/core/transformData.js +28 -0
- package/dist/node_modules/axios/lib/defaults/index.js +161 -0
- package/dist/node_modules/axios/lib/defaults/transitional.js +7 -0
- package/dist/node_modules/axios/lib/env/README.md +3 -0
- package/dist/node_modules/axios/lib/env/classes/FormData.js +2 -0
- package/dist/node_modules/axios/lib/env/data.js +1 -0
- package/dist/node_modules/axios/lib/helpers/AxiosTransformStream.js +143 -0
- package/dist/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +58 -0
- package/dist/node_modules/axios/lib/helpers/HttpStatusCode.js +77 -0
- package/dist/node_modules/axios/lib/helpers/README.md +7 -0
- package/dist/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js +28 -0
- package/dist/node_modules/axios/lib/helpers/bind.js +14 -0
- package/dist/node_modules/axios/lib/helpers/buildURL.js +67 -0
- package/dist/node_modules/axios/lib/helpers/callbackify.js +16 -0
- package/dist/node_modules/axios/lib/helpers/combineURLs.js +15 -0
- package/dist/node_modules/axios/lib/helpers/composeSignals.js +48 -0
- package/dist/node_modules/axios/lib/helpers/cookies.js +53 -0
- package/dist/node_modules/axios/lib/helpers/deprecatedMethod.js +26 -0
- package/dist/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js +73 -0
- package/dist/node_modules/axios/lib/helpers/formDataToJSON.js +95 -0
- package/dist/node_modules/axios/lib/helpers/formDataToStream.js +112 -0
- package/dist/node_modules/axios/lib/helpers/fromDataURI.js +53 -0
- package/dist/node_modules/axios/lib/helpers/isAbsoluteURL.js +15 -0
- package/dist/node_modules/axios/lib/helpers/isAxiosError.js +14 -0
- package/dist/node_modules/axios/lib/helpers/isURLSameOrigin.js +14 -0
- package/dist/node_modules/axios/lib/helpers/null.js +2 -0
- package/dist/node_modules/axios/lib/helpers/parseHeaders.js +55 -0
- package/dist/node_modules/axios/lib/helpers/parseProtocol.js +6 -0
- package/dist/node_modules/axios/lib/helpers/progressEventReducer.js +44 -0
- package/dist/node_modules/axios/lib/helpers/readBlob.js +15 -0
- package/dist/node_modules/axios/lib/helpers/resolveConfig.js +61 -0
- package/dist/node_modules/axios/lib/helpers/speedometer.js +55 -0
- package/dist/node_modules/axios/lib/helpers/spread.js +28 -0
- package/dist/node_modules/axios/lib/helpers/throttle.js +44 -0
- package/dist/node_modules/axios/lib/helpers/toFormData.js +223 -0
- package/dist/node_modules/axios/lib/helpers/toURLEncodedForm.js +19 -0
- package/dist/node_modules/axios/lib/helpers/trackStream.js +87 -0
- package/dist/node_modules/axios/lib/helpers/validator.js +99 -0
- package/dist/node_modules/axios/lib/platform/browser/classes/Blob.js +3 -0
- package/dist/node_modules/axios/lib/platform/browser/classes/FormData.js +3 -0
- package/dist/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +4 -0
- package/dist/node_modules/axios/lib/platform/browser/index.js +13 -0
- package/dist/node_modules/axios/lib/platform/common/utils.js +51 -0
- package/dist/node_modules/axios/lib/platform/index.js +7 -0
- package/dist/node_modules/axios/lib/platform/node/classes/FormData.js +3 -0
- package/dist/node_modules/axios/lib/platform/node/classes/URLSearchParams.js +4 -0
- package/dist/node_modules/axios/lib/platform/node/index.js +38 -0
- package/dist/node_modules/axios/lib/utils.js +782 -0
- package/dist/node_modules/axios/package.json +239 -0
- package/dist/node_modules/base64-js/LICENSE +21 -0
- package/dist/node_modules/base64-js/README.md +34 -0
- package/dist/node_modules/base64-js/base64js.min.js +1 -0
- package/dist/node_modules/base64-js/index.d.ts +3 -0
- package/dist/node_modules/base64-js/index.js +150 -0
- package/dist/node_modules/base64-js/package.json +47 -0
- package/dist/node_modules/bl/.github/dependabot.yml +16 -0
- package/dist/node_modules/bl/.github/workflows/test-and-release.yml +61 -0
- package/dist/node_modules/bl/BufferList.d.ts +431 -0
- package/dist/node_modules/bl/BufferList.js +421 -0
- package/dist/node_modules/bl/CHANGELOG.md +221 -0
- package/dist/node_modules/bl/LICENSE.md +13 -0
- package/dist/node_modules/bl/README.md +259 -0
- package/dist/node_modules/bl/bl.js +84 -0
- package/dist/node_modules/bl/index.d.ts +88 -0
- package/dist/node_modules/bl/package.json +123 -0
- package/dist/node_modules/bl/test/convert.js +21 -0
- package/dist/node_modules/bl/test/indexOf.js +492 -0
- package/dist/node_modules/bl/test/isBufferList.js +32 -0
- package/dist/node_modules/bl/test/test.js +1032 -0
- package/dist/node_modules/broker-factory/LICENSE +21 -0
- package/dist/node_modules/broker-factory/README.md +5 -0
- package/dist/node_modules/broker-factory/build/es2019/factories/create-broker.d.ts +9 -0
- package/dist/node_modules/broker-factory/build/es2019/factories/create-broker.d.ts.map +1 -0
- package/dist/node_modules/broker-factory/build/es2019/factories/create-broker.js +43 -0
- package/dist/node_modules/broker-factory/build/es2019/factories/create-broker.js.map +1 -0
- package/dist/node_modules/broker-factory/build/es2019/factories/create-or-get-ongoing-requests.d.ts +8 -0
- package/dist/node_modules/broker-factory/build/es2019/factories/create-or-get-ongoing-requests.d.ts.map +1 -0
- package/dist/node_modules/broker-factory/build/es2019/factories/create-or-get-ongoing-requests.js +10 -0
- package/dist/node_modules/broker-factory/build/es2019/factories/create-or-get-ongoing-requests.js.map +1 -0
- package/dist/node_modules/broker-factory/build/es2019/factories/extend-broker-implementation.d.ts +5 -0
- package/dist/node_modules/broker-factory/build/es2019/factories/extend-broker-implementation.d.ts.map +1 -0
- package/dist/node_modules/broker-factory/build/es2019/factories/extend-broker-implementation.js +24 -0
- package/dist/node_modules/broker-factory/build/es2019/factories/extend-broker-implementation.js.map +1 -0
- package/dist/node_modules/broker-factory/build/es2019/guards/message-port.d.ts +2 -0
- package/dist/node_modules/broker-factory/build/es2019/guards/message-port.d.ts.map +1 -0
- package/dist/node_modules/broker-factory/build/es2019/guards/message-port.js +4 -0
- package/dist/node_modules/broker-factory/build/es2019/guards/message-port.js.map +1 -0
- package/dist/node_modules/broker-factory/build/es2019/interfaces/broker-actions.d.ts +6 -0
- package/dist/node_modules/broker-factory/build/es2019/interfaces/broker-actions.d.ts.map +1 -0
- package/dist/node_modules/broker-factory/build/es2019/interfaces/broker-actions.js +2 -0
- package/dist/node_modules/broker-factory/build/es2019/interfaces/broker-actions.js.map +1 -0
- package/dist/node_modules/broker-factory/build/es2019/interfaces/broker-definition.d.ts +4 -0
- package/dist/node_modules/broker-factory/build/es2019/interfaces/broker-definition.d.ts.map +1 -0
- package/dist/node_modules/broker-factory/build/es2019/interfaces/broker-definition.js +2 -0
- package/dist/node_modules/broker-factory/build/es2019/interfaces/broker-definition.js.map +1 -0
- package/dist/node_modules/broker-factory/build/es2019/interfaces/default-broker-definition.d.ts +7 -0
- package/dist/node_modules/broker-factory/build/es2019/interfaces/default-broker-definition.d.ts.map +1 -0
- package/dist/node_modules/broker-factory/build/es2019/interfaces/default-broker-definition.js +2 -0
- package/dist/node_modules/broker-factory/build/es2019/interfaces/default-broker-definition.js.map +1 -0
- package/dist/node_modules/broker-factory/build/es2019/interfaces/index.d.ts +5 -0
- package/dist/node_modules/broker-factory/build/es2019/interfaces/index.d.ts.map +1 -0
- package/dist/node_modules/broker-factory/build/es2019/interfaces/index.js +5 -0
- package/dist/node_modules/broker-factory/build/es2019/interfaces/index.js.map +1 -0
- package/dist/node_modules/broker-factory/build/es2019/interfaces/worker-event.d.ts +5 -0
- package/dist/node_modules/broker-factory/build/es2019/interfaces/worker-event.d.ts.map +1 -0
- package/dist/node_modules/broker-factory/build/es2019/interfaces/worker-event.js +2 -0
- package/dist/node_modules/broker-factory/build/es2019/interfaces/worker-event.js.map +1 -0
- package/dist/node_modules/broker-factory/build/es2019/module.d.ts +4 -0
- package/dist/node_modules/broker-factory/build/es2019/module.d.ts.map +1 -0
- package/dist/node_modules/broker-factory/build/es2019/module.js +13 -0
- package/dist/node_modules/broker-factory/build/es2019/module.js.map +1 -0
- package/dist/node_modules/broker-factory/build/es2019/types/broker-implementation.d.ts +6 -0
- package/dist/node_modules/broker-factory/build/es2019/types/broker-implementation.d.ts.map +1 -0
- package/dist/node_modules/broker-factory/build/es2019/types/broker-implementation.js +2 -0
- package/dist/node_modules/broker-factory/build/es2019/types/broker-implementation.js.map +1 -0
- package/dist/node_modules/broker-factory/build/es2019/types/index.d.ts +2 -0
- package/dist/node_modules/broker-factory/build/es2019/types/index.d.ts.map +1 -0
- package/dist/node_modules/broker-factory/build/es2019/types/index.js +2 -0
- package/dist/node_modules/broker-factory/build/es2019/types/index.js.map +1 -0
- package/dist/node_modules/broker-factory/build/es5/bundle.js +166 -0
- package/dist/node_modules/broker-factory/package.json +69 -0
- package/dist/node_modules/broker-factory/src/factories/create-broker.ts +69 -0
- package/dist/node_modules/broker-factory/src/factories/create-or-get-ongoing-requests.ts +14 -0
- package/dist/node_modules/broker-factory/src/factories/extend-broker-implementation.ts +37 -0
- package/dist/node_modules/broker-factory/src/guards/message-port.ts +3 -0
- package/dist/node_modules/broker-factory/src/interfaces/broker-actions.ts +7 -0
- package/dist/node_modules/broker-factory/src/interfaces/broker-definition.ts +3 -0
- package/dist/node_modules/broker-factory/src/interfaces/default-broker-definition.ts +9 -0
- package/dist/node_modules/broker-factory/src/interfaces/index.ts +4 -0
- package/dist/node_modules/broker-factory/src/interfaces/worker-event.ts +5 -0
- package/dist/node_modules/broker-factory/src/module.ts +19 -0
- package/dist/node_modules/broker-factory/src/tsconfig.json +6 -0
- package/dist/node_modules/broker-factory/src/types/broker-implementation.ts +6 -0
- package/dist/node_modules/broker-factory/src/types/index.ts +1 -0
- package/dist/node_modules/buffer/AUTHORS.md +73 -0
- package/dist/node_modules/buffer/LICENSE +21 -0
- package/dist/node_modules/buffer/README.md +410 -0
- package/dist/node_modules/buffer/index.d.ts +194 -0
- package/dist/node_modules/buffer/index.js +2106 -0
- package/dist/node_modules/buffer/package.json +93 -0
- package/dist/node_modules/buffer-from/LICENSE +21 -0
- package/dist/node_modules/buffer-from/index.js +72 -0
- package/dist/node_modules/buffer-from/package.json +19 -0
- package/dist/node_modules/buffer-from/readme.md +69 -0
- package/dist/node_modules/call-bind-apply-helpers/.eslintrc +17 -0
- package/dist/node_modules/call-bind-apply-helpers/.github/FUNDING.yml +12 -0
- package/dist/node_modules/call-bind-apply-helpers/.nycrc +9 -0
- package/dist/node_modules/call-bind-apply-helpers/CHANGELOG.md +30 -0
- package/dist/node_modules/call-bind-apply-helpers/LICENSE +21 -0
- package/dist/node_modules/call-bind-apply-helpers/README.md +62 -0
- package/dist/node_modules/call-bind-apply-helpers/actualApply.d.ts +1 -0
- package/dist/node_modules/call-bind-apply-helpers/actualApply.js +10 -0
- package/dist/node_modules/call-bind-apply-helpers/applyBind.d.ts +19 -0
- package/dist/node_modules/call-bind-apply-helpers/applyBind.js +10 -0
- package/dist/node_modules/call-bind-apply-helpers/functionApply.d.ts +1 -0
- package/dist/node_modules/call-bind-apply-helpers/functionApply.js +4 -0
- package/dist/node_modules/call-bind-apply-helpers/functionCall.d.ts +1 -0
- package/dist/node_modules/call-bind-apply-helpers/functionCall.js +4 -0
- package/dist/node_modules/call-bind-apply-helpers/index.d.ts +64 -0
- package/dist/node_modules/call-bind-apply-helpers/index.js +15 -0
- package/dist/node_modules/call-bind-apply-helpers/package.json +85 -0
- package/dist/node_modules/call-bind-apply-helpers/reflectApply.d.ts +3 -0
- package/dist/node_modules/call-bind-apply-helpers/reflectApply.js +4 -0
- package/dist/node_modules/call-bind-apply-helpers/test/index.js +63 -0
- package/dist/node_modules/call-bind-apply-helpers/tsconfig.json +9 -0
- package/dist/node_modules/chance/.eslintignore +4 -0
- package/dist/node_modules/chance/.eslintrc.js +280 -0
- package/dist/node_modules/chance/.github/pull_request_template.md +24 -0
- package/dist/node_modules/chance/.github/workflows/coverage.yml +24 -0
- package/dist/node_modules/chance/.github/workflows/docs.yml +34 -0
- package/dist/node_modules/chance/.github/workflows/lint.yml +18 -0
- package/dist/node_modules/chance/.github/workflows/publish.yml +53 -0
- package/dist/node_modules/chance/.github/workflows/tests.yml +23 -0
- package/dist/node_modules/chance/LICENSE +21 -0
- package/dist/node_modules/chance/README.md +61 -0
- package/dist/node_modules/chance/chance.js +11698 -0
- package/dist/node_modules/chance/dist/chance.min.js +2 -0
- package/dist/node_modules/chance/dist/chance.min.js.map +1 -0
- package/dist/node_modules/chance/docs/CNAME +1 -0
- package/dist/node_modules/chance/docs/README.md +127 -0
- package/dist/node_modules/chance/docs/analytics.js +3 -0
- package/dist/node_modules/chance/docs/basics/bool.md +24 -0
- package/dist/node_modules/chance/docs/basics/character.md +65 -0
- package/dist/node_modules/chance/docs/basics/falsy.md +22 -0
- package/dist/node_modules/chance/docs/basics/floating.md +44 -0
- package/dist/node_modules/chance/docs/basics/integer.md +42 -0
- package/dist/node_modules/chance/docs/basics/letter.md +25 -0
- package/dist/node_modules/chance/docs/basics/natural.md +47 -0
- package/dist/node_modules/chance/docs/basics/prime.md +41 -0
- package/dist/node_modules/chance/docs/basics/string.md +77 -0
- package/dist/node_modules/chance/docs/basics/template.md +27 -0
- package/dist/node_modules/chance/docs/chance.css +108 -0
- package/dist/node_modules/chance/docs/chance.js +7493 -0
- package/dist/node_modules/chance/docs/chance.min.js +5 -0
- package/dist/node_modules/chance/docs/chance.min.js.map +1 -0
- package/dist/node_modules/chance/docs/finance/cc.md +37 -0
- package/dist/node_modules/chance/docs/finance/cc_type.md +42 -0
- package/dist/node_modules/chance/docs/finance/currency.md +13 -0
- package/dist/node_modules/chance/docs/finance/currency_pair.md +13 -0
- package/dist/node_modules/chance/docs/finance/dollar.md +30 -0
- package/dist/node_modules/chance/docs/finance/euro.md +28 -0
- package/dist/node_modules/chance/docs/finance/exp.md +21 -0
- package/dist/node_modules/chance/docs/finance/exp_month.md +28 -0
- package/dist/node_modules/chance/docs/finance/exp_year.md +15 -0
- package/dist/node_modules/chance/docs/helpers/capitalize.md +13 -0
- package/dist/node_modules/chance/docs/helpers/mixin.md +90 -0
- package/dist/node_modules/chance/docs/helpers/pad.md +40 -0
- package/dist/node_modules/chance/docs/helpers/pick.md +9 -0
- package/dist/node_modules/chance/docs/helpers/pickone.md +13 -0
- package/dist/node_modules/chance/docs/helpers/pickset.md +20 -0
- package/dist/node_modules/chance/docs/helpers/set.md +23 -0
- package/dist/node_modules/chance/docs/helpers/shuffle.md +13 -0
- package/dist/node_modules/chance/docs/inspector.png +0 -0
- package/dist/node_modules/chance/docs/intro.md +56 -0
- package/dist/node_modules/chance/docs/location/address.md +21 -0
- package/dist/node_modules/chance/docs/location/altitude.md +29 -0
- package/dist/node_modules/chance/docs/location/areacode.md +16 -0
- package/dist/node_modules/chance/docs/location/city.md +13 -0
- package/dist/node_modules/chance/docs/location/coordinates.md +34 -0
- package/dist/node_modules/chance/docs/location/country.md +23 -0
- package/dist/node_modules/chance/docs/location/depth.md +29 -0
- package/dist/node_modules/chance/docs/location/geohash.md +21 -0
- package/dist/node_modules/chance/docs/location/latitude.md +43 -0
- package/dist/node_modules/chance/docs/location/locale.md +25 -0
- package/dist/node_modules/chance/docs/location/longitude.md +43 -0
- package/dist/node_modules/chance/docs/location/phone.md +48 -0
- package/dist/node_modules/chance/docs/location/postal.md +13 -0
- package/dist/node_modules/chance/docs/location/postcode.md +13 -0
- package/dist/node_modules/chance/docs/location/province.md +33 -0
- package/dist/node_modules/chance/docs/location/state.md +62 -0
- package/dist/node_modules/chance/docs/location/street.md +37 -0
- package/dist/node_modules/chance/docs/location/zip.md +23 -0
- package/dist/node_modules/chance/docs/logo.png +0 -0
- package/dist/node_modules/chance/docs/miscellaneous/coin.md +16 -0
- package/dist/node_modules/chance/docs/miscellaneous/dice.md +29 -0
- package/dist/node_modules/chance/docs/miscellaneous/fileWithContent.md +36 -0
- package/dist/node_modules/chance/docs/miscellaneous/guid.md +16 -0
- package/dist/node_modules/chance/docs/miscellaneous/hash.md +35 -0
- package/dist/node_modules/chance/docs/miscellaneous/hidden.md +59 -0
- package/dist/node_modules/chance/docs/miscellaneous/n.md +35 -0
- package/dist/node_modules/chance/docs/miscellaneous/normal.md +35 -0
- package/dist/node_modules/chance/docs/miscellaneous/radio.md +27 -0
- package/dist/node_modules/chance/docs/miscellaneous/rpg.md +25 -0
- package/dist/node_modules/chance/docs/miscellaneous/tv.md +25 -0
- package/dist/node_modules/chance/docs/miscellaneous/unique.md +47 -0
- package/dist/node_modules/chance/docs/miscellaneous/weighted.md +55 -0
- package/dist/node_modules/chance/docs/mobile/android_id.md +13 -0
- package/dist/node_modules/chance/docs/mobile/apple_token.md +13 -0
- package/dist/node_modules/chance/docs/mobile/bb_pin.md +13 -0
- package/dist/node_modules/chance/docs/mobile/wp7_anid.md +13 -0
- package/dist/node_modules/chance/docs/mobile/wp8_anid2.md +13 -0
- package/dist/node_modules/chance/docs/music/music_genre.md +43 -0
- package/dist/node_modules/chance/docs/music/note.md +33 -0
- package/dist/node_modules/chance/docs/music/tempo.md +24 -0
- package/dist/node_modules/chance/docs/person/aadhar.md +31 -0
- package/dist/node_modules/chance/docs/person/age.md +25 -0
- package/dist/node_modules/chance/docs/person/birthday.md +63 -0
- package/dist/node_modules/chance/docs/person/cf.md +23 -0
- package/dist/node_modules/chance/docs/person/cpf.md +20 -0
- package/dist/node_modules/chance/docs/person/first.md +31 -0
- package/dist/node_modules/chance/docs/person/gender.md +21 -0
- package/dist/node_modules/chance/docs/person/last.md +23 -0
- package/dist/node_modules/chance/docs/person/name.md +63 -0
- package/dist/node_modules/chance/docs/person/prefix.md +35 -0
- package/dist/node_modules/chance/docs/person/ssn.md +29 -0
- package/dist/node_modules/chance/docs/person/suffix.md +25 -0
- package/dist/node_modules/chance/docs/person/zodiac.md +12 -0
- package/dist/node_modules/chance/docs/text/emoji.md +39 -0
- package/dist/node_modules/chance/docs/text/paragraph.md +39 -0
- package/dist/node_modules/chance/docs/text/sentence.md +28 -0
- package/dist/node_modules/chance/docs/text/syllable.md +18 -0
- package/dist/node_modules/chance/docs/text/word.md +54 -0
- package/dist/node_modules/chance/docs/thing/animal.md +25 -0
- package/dist/node_modules/chance/docs/time/ampm.md +13 -0
- package/dist/node_modules/chance/docs/time/date.md +66 -0
- package/dist/node_modules/chance/docs/time/hammertime.md +25 -0
- package/dist/node_modules/chance/docs/time/hour.md +27 -0
- package/dist/node_modules/chance/docs/time/millisecond.md +15 -0
- package/dist/node_modules/chance/docs/time/minute.md +15 -0
- package/dist/node_modules/chance/docs/time/month.md +23 -0
- package/dist/node_modules/chance/docs/time/second.md +15 -0
- package/dist/node_modules/chance/docs/time/timestamp.md +14 -0
- package/dist/node_modules/chance/docs/time/timezone.md +20 -0
- package/dist/node_modules/chance/docs/time/weekday.md +16 -0
- package/dist/node_modules/chance/docs/time/year.md +31 -0
- package/dist/node_modules/chance/docs/usage/bower.md +19 -0
- package/dist/node_modules/chance/docs/usage/browser.md +58 -0
- package/dist/node_modules/chance/docs/usage/cli.md +19 -0
- package/dist/node_modules/chance/docs/usage/function.md +22 -0
- package/dist/node_modules/chance/docs/usage/node.md +50 -0
- package/dist/node_modules/chance/docs/usage/requirejs.md +13 -0
- package/dist/node_modules/chance/docs/usage/seed.md +49 -0
- package/dist/node_modules/chance/docs/web/avatar.md +42 -0
- package/dist/node_modules/chance/docs/web/color.md +54 -0
- package/dist/node_modules/chance/docs/web/company.md +13 -0
- package/dist/node_modules/chance/docs/web/domain.md +22 -0
- package/dist/node_modules/chance/docs/web/email.md +21 -0
- package/dist/node_modules/chance/docs/web/fbid.md +13 -0
- package/dist/node_modules/chance/docs/web/google_analytics.md +13 -0
- package/dist/node_modules/chance/docs/web/hashtag.md +13 -0
- package/dist/node_modules/chance/docs/web/ip.md +14 -0
- package/dist/node_modules/chance/docs/web/ipv6.md +14 -0
- package/dist/node_modules/chance/docs/web/klout.md +13 -0
- package/dist/node_modules/chance/docs/web/mac.md +22 -0
- package/dist/node_modules/chance/docs/web/profession.md +21 -0
- package/dist/node_modules/chance/docs/web/tld.md +16 -0
- package/dist/node_modules/chance/docs/web/twitter.md +13 -0
- package/dist/node_modules/chance/docs/web/url.md +53 -0
- package/dist/node_modules/chance/gulpfile.js +49 -0
- package/dist/node_modules/chance/package.json +69 -0
- package/dist/node_modules/chance/test/helpers/phoneNumber.min.js +6 -0
- package/dist/node_modules/chance/test/test.address.js +756 -0
- package/dist/node_modules/chance/test/test.animal.js +40 -0
- package/dist/node_modules/chance/test/test.basic.js +574 -0
- package/dist/node_modules/chance/test/test.buffer.js +31 -0
- package/dist/node_modules/chance/test/test.company.js +15 -0
- package/dist/node_modules/chance/test/test.file.js +116 -0
- package/dist/node_modules/chance/test/test.fileWithContent.js +54 -0
- package/dist/node_modules/chance/test/test.finance.js +220 -0
- package/dist/node_modules/chance/test/test.helpers.js +433 -0
- package/dist/node_modules/chance/test/test.misc.js +298 -0
- package/dist/node_modules/chance/test/test.mobile.js +29 -0
- package/dist/node_modules/chance/test/test.music.js +98 -0
- package/dist/node_modules/chance/test/test.normal.js +114 -0
- package/dist/node_modules/chance/test/test.person.js +507 -0
- package/dist/node_modules/chance/test/test.regional.js +116 -0
- package/dist/node_modules/chance/test/test.text.js +160 -0
- package/dist/node_modules/chance/test/test.time.js +300 -0
- package/dist/node_modules/chance/test/test.web.js +618 -0
- package/dist/node_modules/combined-stream/License +19 -0
- package/dist/node_modules/combined-stream/Readme.md +138 -0
- package/dist/node_modules/combined-stream/lib/combined_stream.js +208 -0
- package/dist/node_modules/combined-stream/package.json +25 -0
- package/dist/node_modules/combined-stream/yarn.lock +17 -0
- package/dist/node_modules/commist/.github/workflows/ci.yml +27 -0
- package/dist/node_modules/commist/LICENSE +21 -0
- package/dist/node_modules/commist/README.md +113 -0
- package/dist/node_modules/commist/example.js +26 -0
- package/dist/node_modules/commist/index.js +155 -0
- package/dist/node_modules/commist/leven.js +91 -0
- package/dist/node_modules/commist/package.json +28 -0
- package/dist/node_modules/commist/test.js +368 -0
- package/dist/node_modules/concat-stream/LICENSE +24 -0
- package/dist/node_modules/concat-stream/index.js +144 -0
- package/dist/node_modules/concat-stream/node_modules/readable-stream/CONTRIBUTING.md +38 -0
- package/dist/node_modules/concat-stream/node_modules/readable-stream/GOVERNANCE.md +136 -0
- package/dist/node_modules/concat-stream/node_modules/readable-stream/LICENSE +47 -0
- package/dist/node_modules/concat-stream/node_modules/readable-stream/README.md +106 -0
- package/dist/node_modules/concat-stream/node_modules/readable-stream/errors-browser.js +127 -0
- package/dist/node_modules/concat-stream/node_modules/readable-stream/errors.js +116 -0
- package/dist/node_modules/concat-stream/node_modules/readable-stream/experimentalWarning.js +17 -0
- package/dist/node_modules/concat-stream/node_modules/readable-stream/lib/_stream_duplex.js +126 -0
- package/dist/node_modules/concat-stream/node_modules/readable-stream/lib/_stream_passthrough.js +37 -0
- package/dist/node_modules/concat-stream/node_modules/readable-stream/lib/_stream_readable.js +1027 -0
- package/dist/node_modules/concat-stream/node_modules/readable-stream/lib/_stream_transform.js +190 -0
- package/dist/node_modules/concat-stream/node_modules/readable-stream/lib/_stream_writable.js +641 -0
- package/dist/node_modules/concat-stream/node_modules/readable-stream/lib/internal/streams/async_iterator.js +180 -0
- package/dist/node_modules/concat-stream/node_modules/readable-stream/lib/internal/streams/buffer_list.js +183 -0
- package/dist/node_modules/concat-stream/node_modules/readable-stream/lib/internal/streams/destroy.js +96 -0
- package/dist/node_modules/concat-stream/node_modules/readable-stream/lib/internal/streams/end-of-stream.js +86 -0
- package/dist/node_modules/concat-stream/node_modules/readable-stream/lib/internal/streams/from-browser.js +3 -0
- package/dist/node_modules/concat-stream/node_modules/readable-stream/lib/internal/streams/from.js +52 -0
- package/dist/node_modules/concat-stream/node_modules/readable-stream/lib/internal/streams/pipeline.js +86 -0
- package/dist/node_modules/concat-stream/node_modules/readable-stream/lib/internal/streams/state.js +22 -0
- package/dist/node_modules/concat-stream/node_modules/readable-stream/lib/internal/streams/stream-browser.js +1 -0
- package/dist/node_modules/concat-stream/node_modules/readable-stream/lib/internal/streams/stream.js +1 -0
- package/dist/node_modules/concat-stream/node_modules/readable-stream/package.json +68 -0
- package/dist/node_modules/concat-stream/node_modules/readable-stream/readable-browser.js +9 -0
- package/dist/node_modules/concat-stream/node_modules/readable-stream/readable.js +16 -0
- package/dist/node_modules/concat-stream/package.json +55 -0
- package/dist/node_modules/concat-stream/readme.md +102 -0
- package/dist/node_modules/crypto/README.md +7 -0
- package/dist/node_modules/crypto/package.json +19 -0
- package/dist/node_modules/data-uri-to-buffer/README.md +88 -0
- package/dist/node_modules/data-uri-to-buffer/dist/index.d.ts +15 -0
- package/dist/node_modules/data-uri-to-buffer/dist/index.js +53 -0
- package/dist/node_modules/data-uri-to-buffer/dist/index.js.map +1 -0
- package/dist/node_modules/data-uri-to-buffer/package.json +62 -0
- package/dist/node_modules/data-uri-to-buffer/src/index.ts +68 -0
- package/dist/node_modules/debug/LICENSE +20 -0
- package/dist/node_modules/debug/README.md +481 -0
- package/dist/node_modules/debug/package.json +64 -0
- package/dist/node_modules/debug/src/browser.js +272 -0
- package/dist/node_modules/debug/src/common.js +292 -0
- package/dist/node_modules/debug/src/index.js +10 -0
- package/dist/node_modules/debug/src/node.js +263 -0
- package/dist/node_modules/delayed-stream/License +19 -0
- package/dist/node_modules/delayed-stream/Makefile +7 -0
- package/dist/node_modules/delayed-stream/Readme.md +141 -0
- package/dist/node_modules/delayed-stream/lib/delayed_stream.js +107 -0
- package/dist/node_modules/delayed-stream/package.json +27 -0
- package/dist/node_modules/dunder-proto/.eslintrc +5 -0
- package/dist/node_modules/dunder-proto/.github/FUNDING.yml +12 -0
- package/dist/node_modules/dunder-proto/.nycrc +13 -0
- package/dist/node_modules/dunder-proto/CHANGELOG.md +24 -0
- package/dist/node_modules/dunder-proto/LICENSE +21 -0
- package/dist/node_modules/dunder-proto/README.md +54 -0
- package/dist/node_modules/dunder-proto/get.d.ts +5 -0
- package/dist/node_modules/dunder-proto/get.js +30 -0
- package/dist/node_modules/dunder-proto/package.json +76 -0
- package/dist/node_modules/dunder-proto/set.d.ts +5 -0
- package/dist/node_modules/dunder-proto/set.js +35 -0
- package/dist/node_modules/dunder-proto/test/get.js +34 -0
- package/dist/node_modules/dunder-proto/test/index.js +4 -0
- package/dist/node_modules/dunder-proto/test/set.js +50 -0
- package/dist/node_modules/dunder-proto/tsconfig.json +9 -0
- package/dist/node_modules/es-define-property/.eslintrc +13 -0
- package/dist/node_modules/es-define-property/.github/FUNDING.yml +12 -0
- package/dist/node_modules/es-define-property/.nycrc +9 -0
- package/dist/node_modules/es-define-property/CHANGELOG.md +29 -0
- package/dist/node_modules/es-define-property/LICENSE +21 -0
- package/dist/node_modules/es-define-property/README.md +49 -0
- package/dist/node_modules/es-define-property/index.d.ts +3 -0
- package/dist/node_modules/es-define-property/index.js +14 -0
- package/dist/node_modules/es-define-property/package.json +81 -0
- package/dist/node_modules/es-define-property/test/index.js +56 -0
- package/dist/node_modules/es-define-property/tsconfig.json +10 -0
- package/dist/node_modules/es-errors/.eslintrc +5 -0
- package/dist/node_modules/es-errors/.github/FUNDING.yml +12 -0
- package/dist/node_modules/es-errors/CHANGELOG.md +40 -0
- package/dist/node_modules/es-errors/LICENSE +21 -0
- package/dist/node_modules/es-errors/README.md +55 -0
- package/dist/node_modules/es-errors/eval.d.ts +3 -0
- package/dist/node_modules/es-errors/eval.js +4 -0
- package/dist/node_modules/es-errors/index.d.ts +3 -0
- package/dist/node_modules/es-errors/index.js +4 -0
- package/dist/node_modules/es-errors/package.json +80 -0
- package/dist/node_modules/es-errors/range.d.ts +3 -0
- package/dist/node_modules/es-errors/range.js +4 -0
- package/dist/node_modules/es-errors/ref.d.ts +3 -0
- package/dist/node_modules/es-errors/ref.js +4 -0
- package/dist/node_modules/es-errors/syntax.d.ts +3 -0
- package/dist/node_modules/es-errors/syntax.js +4 -0
- package/dist/node_modules/es-errors/test/index.js +19 -0
- package/dist/node_modules/es-errors/tsconfig.json +49 -0
- package/dist/node_modules/es-errors/type.d.ts +3 -0
- package/dist/node_modules/es-errors/type.js +4 -0
- package/dist/node_modules/es-errors/uri.d.ts +3 -0
- package/dist/node_modules/es-errors/uri.js +4 -0
- package/dist/node_modules/es-object-atoms/.eslintrc +16 -0
- package/dist/node_modules/es-object-atoms/.github/FUNDING.yml +12 -0
- package/dist/node_modules/es-object-atoms/CHANGELOG.md +37 -0
- package/dist/node_modules/es-object-atoms/LICENSE +21 -0
- package/dist/node_modules/es-object-atoms/README.md +63 -0
- package/dist/node_modules/es-object-atoms/RequireObjectCoercible.d.ts +3 -0
- package/dist/node_modules/es-object-atoms/RequireObjectCoercible.js +11 -0
- package/dist/node_modules/es-object-atoms/ToObject.d.ts +7 -0
- package/dist/node_modules/es-object-atoms/ToObject.js +10 -0
- package/dist/node_modules/es-object-atoms/index.d.ts +3 -0
- package/dist/node_modules/es-object-atoms/index.js +4 -0
- package/dist/node_modules/es-object-atoms/isObject.d.ts +3 -0
- package/dist/node_modules/es-object-atoms/isObject.js +6 -0
- package/dist/node_modules/es-object-atoms/package.json +80 -0
- package/dist/node_modules/es-object-atoms/test/index.js +38 -0
- package/dist/node_modules/es-object-atoms/tsconfig.json +6 -0
- package/dist/node_modules/es-set-tostringtag/.eslintrc +13 -0
- package/dist/node_modules/es-set-tostringtag/.nycrc +9 -0
- package/dist/node_modules/es-set-tostringtag/CHANGELOG.md +67 -0
- package/dist/node_modules/es-set-tostringtag/LICENSE +21 -0
- package/dist/node_modules/es-set-tostringtag/README.md +53 -0
- package/dist/node_modules/es-set-tostringtag/index.d.ts +10 -0
- package/dist/node_modules/es-set-tostringtag/index.js +35 -0
- package/dist/node_modules/es-set-tostringtag/package.json +78 -0
- package/dist/node_modules/es-set-tostringtag/test/index.js +85 -0
- package/dist/node_modules/es-set-tostringtag/tsconfig.json +9 -0
- package/dist/node_modules/event-target-shim/LICENSE +22 -0
- package/dist/node_modules/event-target-shim/README.md +293 -0
- package/dist/node_modules/event-target-shim/dist/event-target-shim.js +871 -0
- package/dist/node_modules/event-target-shim/dist/event-target-shim.js.map +1 -0
- package/dist/node_modules/event-target-shim/dist/event-target-shim.mjs +862 -0
- package/dist/node_modules/event-target-shim/dist/event-target-shim.mjs.map +1 -0
- package/dist/node_modules/event-target-shim/dist/event-target-shim.umd.js +6 -0
- package/dist/node_modules/event-target-shim/dist/event-target-shim.umd.js.map +1 -0
- package/dist/node_modules/event-target-shim/index.d.ts +399 -0
- package/dist/node_modules/event-target-shim/package.json +82 -0
- package/dist/node_modules/eventemitter3/LICENSE +21 -0
- package/dist/node_modules/eventemitter3/README.md +94 -0
- package/dist/node_modules/eventemitter3/dist/eventemitter3.esm.js +347 -0
- package/dist/node_modules/eventemitter3/dist/eventemitter3.esm.min.js +1 -0
- package/dist/node_modules/eventemitter3/dist/eventemitter3.esm.min.js.map +1 -0
- package/dist/node_modules/eventemitter3/dist/eventemitter3.umd.js +355 -0
- package/dist/node_modules/eventemitter3/dist/eventemitter3.umd.min.js +1 -0
- package/dist/node_modules/eventemitter3/dist/eventemitter3.umd.min.js.map +1 -0
- package/dist/node_modules/eventemitter3/index.d.ts +135 -0
- package/dist/node_modules/eventemitter3/index.js +336 -0
- package/dist/node_modules/eventemitter3/index.mjs +4 -0
- package/dist/node_modules/eventemitter3/package.json +67 -0
- package/dist/node_modules/events/.airtap.yml +15 -0
- package/dist/node_modules/events/.github/FUNDING.yml +12 -0
- package/dist/node_modules/events/.travis.yml +18 -0
- package/dist/node_modules/events/History.md +118 -0
- package/dist/node_modules/events/LICENSE +22 -0
- package/dist/node_modules/events/Readme.md +50 -0
- package/dist/node_modules/events/events.js +497 -0
- package/dist/node_modules/events/package.json +37 -0
- package/dist/node_modules/events/security.md +10 -0
- package/dist/node_modules/events/tests/add-listeners.js +111 -0
- package/dist/node_modules/events/tests/check-listener-leaks.js +101 -0
- package/dist/node_modules/events/tests/common.js +104 -0
- package/dist/node_modules/events/tests/errors.js +13 -0
- package/dist/node_modules/events/tests/events-list.js +28 -0
- package/dist/node_modules/events/tests/events-once.js +234 -0
- package/dist/node_modules/events/tests/index.js +64 -0
- package/dist/node_modules/events/tests/legacy-compat.js +16 -0
- package/dist/node_modules/events/tests/listener-count.js +37 -0
- package/dist/node_modules/events/tests/listeners-side-effects.js +56 -0
- package/dist/node_modules/events/tests/listeners.js +168 -0
- package/dist/node_modules/events/tests/max-listeners.js +47 -0
- package/dist/node_modules/events/tests/method-names.js +35 -0
- package/dist/node_modules/events/tests/modify-in-emit.js +90 -0
- package/dist/node_modules/events/tests/num-args.js +60 -0
- package/dist/node_modules/events/tests/once.js +83 -0
- package/dist/node_modules/events/tests/prepend.js +31 -0
- package/dist/node_modules/events/tests/remove-all-listeners.js +133 -0
- package/dist/node_modules/events/tests/remove-listeners.js +212 -0
- package/dist/node_modules/events/tests/set-max-listeners-side-effects.js +31 -0
- package/dist/node_modules/events/tests/special-event-names.js +45 -0
- package/dist/node_modules/events/tests/subclass.js +66 -0
- package/dist/node_modules/events/tests/symbols.js +25 -0
- package/dist/node_modules/fast-unique-numbers/LICENSE +21 -0
- package/dist/node_modules/fast-unique-numbers/README.md +55 -0
- package/dist/node_modules/fast-unique-numbers/build/es2019/factories/add-unique-number.d.ts +3 -0
- package/dist/node_modules/fast-unique-numbers/build/es2019/factories/add-unique-number.d.ts.map +1 -0
- package/dist/node_modules/fast-unique-numbers/build/es2019/factories/add-unique-number.js +8 -0
- package/dist/node_modules/fast-unique-numbers/build/es2019/factories/add-unique-number.js.map +1 -0
- package/dist/node_modules/fast-unique-numbers/build/es2019/factories/cache.d.ts +2 -0
- package/dist/node_modules/fast-unique-numbers/build/es2019/factories/cache.d.ts.map +1 -0
- package/dist/node_modules/fast-unique-numbers/build/es2019/factories/cache.js +7 -0
- package/dist/node_modules/fast-unique-numbers/build/es2019/factories/cache.js.map +1 -0
- package/dist/node_modules/fast-unique-numbers/build/es2019/factories/generate-unique-number.d.ts +3 -0
- package/dist/node_modules/fast-unique-numbers/build/es2019/factories/generate-unique-number.d.ts.map +1 -0
- package/dist/node_modules/fast-unique-numbers/build/es2019/factories/generate-unique-number.js +46 -0
- package/dist/node_modules/fast-unique-numbers/build/es2019/factories/generate-unique-number.js.map +1 -0
- package/dist/node_modules/fast-unique-numbers/build/es2019/module.d.ts +4 -0
- package/dist/node_modules/fast-unique-numbers/build/es2019/module.d.ts.map +1 -0
- package/dist/node_modules/fast-unique-numbers/build/es2019/module.js +9 -0
- package/dist/node_modules/fast-unique-numbers/build/es2019/module.js.map +1 -0
- package/dist/node_modules/fast-unique-numbers/build/es5/bundle.js +76 -0
- package/dist/node_modules/fast-unique-numbers/build/node/factories/add-unique-number.js +14 -0
- package/dist/node_modules/fast-unique-numbers/build/node/factories/cache.js +13 -0
- package/dist/node_modules/fast-unique-numbers/build/node/factories/generate-unique-number.js +52 -0
- package/dist/node_modules/fast-unique-numbers/build/node/module.js +13 -0
- package/dist/node_modules/fast-unique-numbers/package.json +95 -0
- package/dist/node_modules/fast-unique-numbers/src/factories/add-unique-number.ts +11 -0
- package/dist/node_modules/fast-unique-numbers/src/factories/cache.ts +7 -0
- package/dist/node_modules/fast-unique-numbers/src/factories/generate-unique-number.ts +58 -0
- package/dist/node_modules/fast-unique-numbers/src/module.ts +11 -0
- package/dist/node_modules/fast-unique-numbers/src/tsconfig.json +6 -0
- package/dist/node_modules/fetch-blob/LICENSE +21 -0
- package/dist/node_modules/fetch-blob/README.md +106 -0
- package/dist/node_modules/fetch-blob/file.d.ts +2 -0
- package/dist/node_modules/fetch-blob/file.js +49 -0
- package/dist/node_modules/fetch-blob/from.d.ts +26 -0
- package/dist/node_modules/fetch-blob/from.js +100 -0
- package/dist/node_modules/fetch-blob/index.d.ts +3 -0
- package/dist/node_modules/fetch-blob/index.js +250 -0
- package/dist/node_modules/fetch-blob/package.json +56 -0
- package/dist/node_modules/fetch-blob/streams.cjs +51 -0
- package/dist/node_modules/follow-redirects/LICENSE +18 -0
- package/dist/node_modules/follow-redirects/README.md +155 -0
- package/dist/node_modules/follow-redirects/debug.js +15 -0
- package/dist/node_modules/follow-redirects/http.js +1 -0
- package/dist/node_modules/follow-redirects/https.js +1 -0
- package/dist/node_modules/follow-redirects/index.js +686 -0
- package/dist/node_modules/follow-redirects/package.json +58 -0
- package/dist/node_modules/form-data/CHANGELOG.md +659 -0
- package/dist/node_modules/form-data/License +19 -0
- package/dist/node_modules/form-data/README.md +355 -0
- package/dist/node_modules/form-data/index.d.ts +62 -0
- package/dist/node_modules/form-data/lib/browser.js +4 -0
- package/dist/node_modules/form-data/lib/form_data.js +494 -0
- package/dist/node_modules/form-data/lib/populate.js +10 -0
- package/dist/node_modules/form-data/package.json +82 -0
- package/dist/node_modules/formdata-polyfill/FormData.js +441 -0
- package/dist/node_modules/formdata-polyfill/LICENSE +21 -0
- package/dist/node_modules/formdata-polyfill/README.md +145 -0
- package/dist/node_modules/formdata-polyfill/esm.min.d.ts +5 -0
- package/dist/node_modules/formdata-polyfill/esm.min.js +40 -0
- package/dist/node_modules/formdata-polyfill/formdata-to-blob.js +39 -0
- package/dist/node_modules/formdata-polyfill/formdata.min.js +21 -0
- package/dist/node_modules/formdata-polyfill/package.json +50 -0
- package/dist/node_modules/function-bind/.eslintrc +21 -0
- package/dist/node_modules/function-bind/.github/FUNDING.yml +12 -0
- package/dist/node_modules/function-bind/.github/SECURITY.md +3 -0
- package/dist/node_modules/function-bind/.nycrc +13 -0
- package/dist/node_modules/function-bind/CHANGELOG.md +136 -0
- package/dist/node_modules/function-bind/LICENSE +20 -0
- package/dist/node_modules/function-bind/README.md +46 -0
- package/dist/node_modules/function-bind/implementation.js +84 -0
- package/dist/node_modules/function-bind/index.js +5 -0
- package/dist/node_modules/function-bind/package.json +87 -0
- package/dist/node_modules/function-bind/test/.eslintrc +9 -0
- package/dist/node_modules/function-bind/test/index.js +252 -0
- package/dist/node_modules/get-intrinsic/.eslintrc +42 -0
- package/dist/node_modules/get-intrinsic/.github/FUNDING.yml +12 -0
- package/dist/node_modules/get-intrinsic/.nycrc +9 -0
- package/dist/node_modules/get-intrinsic/CHANGELOG.md +186 -0
- package/dist/node_modules/get-intrinsic/LICENSE +21 -0
- package/dist/node_modules/get-intrinsic/README.md +71 -0
- package/dist/node_modules/get-intrinsic/index.js +378 -0
- package/dist/node_modules/get-intrinsic/package.json +97 -0
- package/dist/node_modules/get-intrinsic/test/GetIntrinsic.js +274 -0
- package/dist/node_modules/get-proto/.eslintrc +10 -0
- package/dist/node_modules/get-proto/.github/FUNDING.yml +12 -0
- package/dist/node_modules/get-proto/.nycrc +9 -0
- package/dist/node_modules/get-proto/CHANGELOG.md +21 -0
- package/dist/node_modules/get-proto/LICENSE +21 -0
- package/dist/node_modules/get-proto/Object.getPrototypeOf.d.ts +5 -0
- package/dist/node_modules/get-proto/Object.getPrototypeOf.js +6 -0
- package/dist/node_modules/get-proto/README.md +50 -0
- package/dist/node_modules/get-proto/Reflect.getPrototypeOf.d.ts +3 -0
- package/dist/node_modules/get-proto/Reflect.getPrototypeOf.js +4 -0
- package/dist/node_modules/get-proto/index.d.ts +5 -0
- package/dist/node_modules/get-proto/index.js +27 -0
- package/dist/node_modules/get-proto/package.json +81 -0
- package/dist/node_modules/get-proto/test/index.js +68 -0
- package/dist/node_modules/get-proto/tsconfig.json +9 -0
- package/dist/node_modules/gopd/.eslintrc +16 -0
- package/dist/node_modules/gopd/.github/FUNDING.yml +12 -0
- package/dist/node_modules/gopd/CHANGELOG.md +45 -0
- package/dist/node_modules/gopd/LICENSE +21 -0
- package/dist/node_modules/gopd/README.md +40 -0
- package/dist/node_modules/gopd/gOPD.d.ts +1 -0
- package/dist/node_modules/gopd/gOPD.js +4 -0
- package/dist/node_modules/gopd/index.d.ts +5 -0
- package/dist/node_modules/gopd/index.js +15 -0
- package/dist/node_modules/gopd/package.json +77 -0
- package/dist/node_modules/gopd/test/index.js +36 -0
- package/dist/node_modules/gopd/tsconfig.json +9 -0
- package/dist/node_modules/has-symbols/.eslintrc +11 -0
- package/dist/node_modules/has-symbols/.github/FUNDING.yml +12 -0
- package/dist/node_modules/has-symbols/.nycrc +9 -0
- package/dist/node_modules/has-symbols/CHANGELOG.md +91 -0
- package/dist/node_modules/has-symbols/LICENSE +21 -0
- package/dist/node_modules/has-symbols/README.md +46 -0
- package/dist/node_modules/has-symbols/index.d.ts +3 -0
- package/dist/node_modules/has-symbols/index.js +14 -0
- package/dist/node_modules/has-symbols/package.json +111 -0
- package/dist/node_modules/has-symbols/shams.d.ts +3 -0
- package/dist/node_modules/has-symbols/shams.js +45 -0
- package/dist/node_modules/has-symbols/test/index.js +22 -0
- package/dist/node_modules/has-symbols/test/shams/core-js.js +29 -0
- package/dist/node_modules/has-symbols/test/shams/get-own-property-symbols.js +29 -0
- package/dist/node_modules/has-symbols/test/tests.js +58 -0
- package/dist/node_modules/has-symbols/tsconfig.json +10 -0
- package/dist/node_modules/has-tostringtag/.eslintrc +5 -0
- package/dist/node_modules/has-tostringtag/.github/FUNDING.yml +12 -0
- package/dist/node_modules/has-tostringtag/.nycrc +13 -0
- package/dist/node_modules/has-tostringtag/CHANGELOG.md +42 -0
- package/dist/node_modules/has-tostringtag/LICENSE +21 -0
- package/dist/node_modules/has-tostringtag/README.md +46 -0
- package/dist/node_modules/has-tostringtag/index.d.ts +3 -0
- package/dist/node_modules/has-tostringtag/index.js +8 -0
- package/dist/node_modules/has-tostringtag/package.json +108 -0
- package/dist/node_modules/has-tostringtag/shams.d.ts +3 -0
- package/dist/node_modules/has-tostringtag/shams.js +8 -0
- package/dist/node_modules/has-tostringtag/test/index.js +21 -0
- package/dist/node_modules/has-tostringtag/test/shams/core-js.js +31 -0
- package/dist/node_modules/has-tostringtag/test/shams/get-own-property-symbols.js +30 -0
- package/dist/node_modules/has-tostringtag/test/tests.js +15 -0
- package/dist/node_modules/has-tostringtag/tsconfig.json +49 -0
- package/dist/node_modules/hasown/.eslintrc +5 -0
- package/dist/node_modules/hasown/.github/FUNDING.yml +12 -0
- package/dist/node_modules/hasown/.nycrc +13 -0
- package/dist/node_modules/hasown/CHANGELOG.md +40 -0
- package/dist/node_modules/hasown/LICENSE +21 -0
- package/dist/node_modules/hasown/README.md +40 -0
- package/dist/node_modules/hasown/index.d.ts +3 -0
- package/dist/node_modules/hasown/index.js +8 -0
- package/dist/node_modules/hasown/package.json +92 -0
- package/dist/node_modules/hasown/tsconfig.json +6 -0
- package/dist/node_modules/help-me/.github/workflows/ci.yml +28 -0
- package/dist/node_modules/help-me/LICENSE +22 -0
- package/dist/node_modules/help-me/README.md +66 -0
- package/dist/node_modules/help-me/doc/hello.txt +1 -0
- package/dist/node_modules/help-me/doc/help.txt +5 -0
- package/dist/node_modules/help-me/example.js +18 -0
- package/dist/node_modules/help-me/fixture/basic/hello.txt +1 -0
- package/dist/node_modules/help-me/fixture/basic/help.txt +1 -0
- package/dist/node_modules/help-me/fixture/dir/a/b.txt +0 -0
- package/dist/node_modules/help-me/fixture/no-ext/hello +1 -0
- package/dist/node_modules/help-me/fixture/sameprefix/hello world.txt +1 -0
- package/dist/node_modules/help-me/fixture/sameprefix/hello.txt +1 -0
- package/dist/node_modules/help-me/fixture/shortnames/abcde fghi lmno.txt +1 -0
- package/dist/node_modules/help-me/fixture/shortnames/abcde hello.txt +1 -0
- package/dist/node_modules/help-me/fixture/shortnames/hello world.txt +1 -0
- package/dist/node_modules/help-me/help-me.js +134 -0
- package/dist/node_modules/help-me/package.json +36 -0
- package/dist/node_modules/help-me/test.js +316 -0
- package/dist/node_modules/ieee754/LICENSE +11 -0
- package/dist/node_modules/ieee754/README.md +51 -0
- package/dist/node_modules/ieee754/index.d.ts +10 -0
- package/dist/node_modules/ieee754/index.js +85 -0
- package/dist/node_modules/ieee754/package.json +52 -0
- package/dist/node_modules/inherits/LICENSE +16 -0
- package/dist/node_modules/inherits/README.md +42 -0
- package/dist/node_modules/inherits/inherits.js +9 -0
- package/dist/node_modules/inherits/inherits_browser.js +27 -0
- package/dist/node_modules/inherits/package.json +29 -0
- package/dist/node_modules/ip-address/LICENSE +19 -0
- package/dist/node_modules/ip-address/README.md +105 -0
- package/dist/node_modules/ip-address/dist/address-error.d.ts +5 -0
- package/dist/node_modules/ip-address/dist/address-error.d.ts.map +1 -0
- package/dist/node_modules/ip-address/dist/address-error.js +12 -0
- package/dist/node_modules/ip-address/dist/address-error.js.map +1 -0
- package/dist/node_modules/ip-address/dist/common.d.ts +15 -0
- package/dist/node_modules/ip-address/dist/common.d.ts.map +1 -0
- package/dist/node_modules/ip-address/dist/common.js +46 -0
- package/dist/node_modules/ip-address/dist/common.js.map +1 -0
- package/dist/node_modules/ip-address/dist/ip-address.d.ts +8 -0
- package/dist/node_modules/ip-address/dist/ip-address.d.ts.map +1 -0
- package/dist/node_modules/ip-address/dist/ip-address.js +35 -0
- package/dist/node_modules/ip-address/dist/ip-address.js.map +1 -0
- package/dist/node_modules/ip-address/dist/ipv4.d.ts +209 -0
- package/dist/node_modules/ip-address/dist/ipv4.d.ts.map +1 -0
- package/dist/node_modules/ip-address/dist/ipv4.js +360 -0
- package/dist/node_modules/ip-address/dist/ipv4.js.map +1 -0
- package/dist/node_modules/ip-address/dist/ipv6.d.ts +428 -0
- package/dist/node_modules/ip-address/dist/ipv6.d.ts.map +1 -0
- package/dist/node_modules/ip-address/dist/ipv6.js +1003 -0
- package/dist/node_modules/ip-address/dist/ipv6.js.map +1 -0
- package/dist/node_modules/ip-address/dist/v4/constants.d.ts +5 -0
- package/dist/node_modules/ip-address/dist/v4/constants.d.ts.map +1 -0
- package/dist/node_modules/ip-address/dist/v4/constants.js +8 -0
- package/dist/node_modules/ip-address/dist/v4/constants.js.map +1 -0
- package/dist/node_modules/ip-address/dist/v6/constants.d.ts +45 -0
- package/dist/node_modules/ip-address/dist/v6/constants.d.ts.map +1 -0
- package/dist/node_modules/ip-address/dist/v6/constants.js +76 -0
- package/dist/node_modules/ip-address/dist/v6/constants.js.map +1 -0
- package/dist/node_modules/ip-address/dist/v6/helpers.d.ts +18 -0
- package/dist/node_modules/ip-address/dist/v6/helpers.d.ts.map +1 -0
- package/dist/node_modules/ip-address/dist/v6/helpers.js +45 -0
- package/dist/node_modules/ip-address/dist/v6/helpers.js.map +1 -0
- package/dist/node_modules/ip-address/dist/v6/regular-expressions.d.ts +6 -0
- package/dist/node_modules/ip-address/dist/v6/regular-expressions.d.ts.map +1 -0
- package/dist/node_modules/ip-address/dist/v6/regular-expressions.js +95 -0
- package/dist/node_modules/ip-address/dist/v6/regular-expressions.js.map +1 -0
- package/dist/node_modules/ip-address/package.json +78 -0
- package/dist/node_modules/ip-address/src/address-error.ts +11 -0
- package/dist/node_modules/ip-address/src/common.ts +55 -0
- package/dist/node_modules/ip-address/src/ip-address.ts +7 -0
- package/dist/node_modules/ip-address/src/ipv4.ts +394 -0
- package/dist/node_modules/ip-address/src/ipv6.ts +1212 -0
- package/dist/node_modules/ip-address/src/v4/constants.ts +7 -0
- package/dist/node_modules/ip-address/src/v6/constants.ts +79 -0
- package/dist/node_modules/ip-address/src/v6/helpers.ts +48 -0
- package/dist/node_modules/ip-address/src/v6/regular-expressions.ts +94 -0
- package/dist/node_modules/js-sdsl/CHANGELOG.md +211 -0
- package/dist/node_modules/js-sdsl/LICENSE +21 -0
- package/dist/node_modules/js-sdsl/README.md +296 -0
- package/dist/node_modules/js-sdsl/README.zh-CN.md +298 -0
- package/dist/node_modules/js-sdsl/dist/cjs/container/ContainerBase/index.d.ts +206 -0
- package/dist/node_modules/js-sdsl/dist/cjs/container/ContainerBase/index.js +40 -0
- package/dist/node_modules/js-sdsl/dist/cjs/container/ContainerBase/index.js.map +1 -0
- package/dist/node_modules/js-sdsl/dist/cjs/container/HashContainer/Base/index.d.ts +29 -0
- package/dist/node_modules/js-sdsl/dist/cjs/container/HashContainer/Base/index.js +188 -0
- package/dist/node_modules/js-sdsl/dist/cjs/container/HashContainer/Base/index.js.map +1 -0
- package/dist/node_modules/js-sdsl/dist/cjs/container/HashContainer/HashMap.d.ts +49 -0
- package/dist/node_modules/js-sdsl/dist/cjs/container/HashContainer/HashMap.js +125 -0
- package/dist/node_modules/js-sdsl/dist/cjs/container/HashContainer/HashMap.js.map +1 -0
- package/dist/node_modules/js-sdsl/dist/cjs/container/HashContainer/HashSet.d.ts +39 -0
- package/dist/node_modules/js-sdsl/dist/cjs/container/HashContainer/HashSet.js +94 -0
- package/dist/node_modules/js-sdsl/dist/cjs/container/HashContainer/HashSet.js.map +1 -0
- package/dist/node_modules/js-sdsl/dist/cjs/container/OtherContainer/PriorityQueue.d.ts +79 -0
- package/dist/node_modules/js-sdsl/dist/cjs/container/OtherContainer/PriorityQueue.js +118 -0
- package/dist/node_modules/js-sdsl/dist/cjs/container/OtherContainer/PriorityQueue.js.map +1 -0
- package/dist/node_modules/js-sdsl/dist/cjs/container/OtherContainer/Queue.d.ts +22 -0
- package/dist/node_modules/js-sdsl/dist/cjs/container/OtherContainer/Queue.js +52 -0
- package/dist/node_modules/js-sdsl/dist/cjs/container/OtherContainer/Queue.js.map +1 -0
- package/dist/node_modules/js-sdsl/dist/cjs/container/OtherContainer/Stack.d.ts +22 -0
- package/dist/node_modules/js-sdsl/dist/cjs/container/OtherContainer/Stack.js +42 -0
- package/dist/node_modules/js-sdsl/dist/cjs/container/OtherContainer/Stack.js.map +1 -0
- package/dist/node_modules/js-sdsl/dist/cjs/container/SequentialContainer/Base/RandomIterator.d.ts +9 -0
- package/dist/node_modules/js-sdsl/dist/cjs/container/SequentialContainer/Base/RandomIterator.js +58 -0
- package/dist/node_modules/js-sdsl/dist/cjs/container/SequentialContainer/Base/RandomIterator.js.map +1 -0
- package/dist/node_modules/js-sdsl/dist/cjs/container/SequentialContainer/Base/index.d.ts +67 -0
- package/dist/node_modules/js-sdsl/dist/cjs/container/SequentialContainer/Base/index.js +16 -0
- package/dist/node_modules/js-sdsl/dist/cjs/container/SequentialContainer/Base/index.js.map +1 -0
- package/dist/node_modules/js-sdsl/dist/cjs/container/SequentialContainer/Deque.d.ts +58 -0
- package/dist/node_modules/js-sdsl/dist/cjs/container/SequentialContainer/Deque.js +338 -0
- package/dist/node_modules/js-sdsl/dist/cjs/container/SequentialContainer/Deque.js.map +1 -0
- package/dist/node_modules/js-sdsl/dist/cjs/container/SequentialContainer/LinkList.d.ts +58 -0
- package/dist/node_modules/js-sdsl/dist/cjs/container/SequentialContainer/LinkList.js +330 -0
- package/dist/node_modules/js-sdsl/dist/cjs/container/SequentialContainer/LinkList.js.map +1 -0
- package/dist/node_modules/js-sdsl/dist/cjs/container/SequentialContainer/Vector.d.ts +40 -0
- package/dist/node_modules/js-sdsl/dist/cjs/container/SequentialContainer/Vector.js +158 -0
- package/dist/node_modules/js-sdsl/dist/cjs/container/SequentialContainer/Vector.js.map +1 -0
- package/dist/node_modules/js-sdsl/dist/cjs/container/TreeContainer/Base/TreeIterator.d.ts +18 -0
- package/dist/node_modules/js-sdsl/dist/cjs/container/TreeContainer/Base/TreeIterator.js +80 -0
- package/dist/node_modules/js-sdsl/dist/cjs/container/TreeContainer/Base/TreeIterator.js.map +1 -0
- package/dist/node_modules/js-sdsl/dist/cjs/container/TreeContainer/Base/TreeNode.d.ts +47 -0
- package/dist/node_modules/js-sdsl/dist/cjs/container/TreeContainer/Base/TreeNode.js +115 -0
- package/dist/node_modules/js-sdsl/dist/cjs/container/TreeContainer/Base/TreeNode.js.map +1 -0
- package/dist/node_modules/js-sdsl/dist/cjs/container/TreeContainer/Base/index.d.ts +58 -0
- package/dist/node_modules/js-sdsl/dist/cjs/container/TreeContainer/Base/index.js +514 -0
- package/dist/node_modules/js-sdsl/dist/cjs/container/TreeContainer/Base/index.js.map +1 -0
- package/dist/node_modules/js-sdsl/dist/cjs/container/TreeContainer/OrderedMap.d.ts +62 -0
- package/dist/node_modules/js-sdsl/dist/cjs/container/TreeContainer/OrderedMap.js +127 -0
- package/dist/node_modules/js-sdsl/dist/cjs/container/TreeContainer/OrderedMap.js.map +1 -0
- package/dist/node_modules/js-sdsl/dist/cjs/container/TreeContainer/OrderedSet.d.ts +54 -0
- package/dist/node_modules/js-sdsl/dist/cjs/container/TreeContainer/OrderedSet.js +107 -0
- package/dist/node_modules/js-sdsl/dist/cjs/container/TreeContainer/OrderedSet.js.map +1 -0
- package/dist/node_modules/js-sdsl/dist/cjs/index.d.ts +21 -0
- package/dist/node_modules/js-sdsl/dist/cjs/index.js +102 -0
- package/dist/node_modules/js-sdsl/dist/cjs/index.js.map +1 -0
- package/dist/node_modules/js-sdsl/dist/cjs/utils/checkObject.d.ts +1 -0
- package/dist/node_modules/js-sdsl/dist/cjs/utils/checkObject.js +13 -0
- package/dist/node_modules/js-sdsl/dist/cjs/utils/checkObject.js.map +1 -0
- package/dist/node_modules/js-sdsl/dist/cjs/utils/throwError.d.ts +1 -0
- package/dist/node_modules/js-sdsl/dist/cjs/utils/throwError.js +12 -0
- package/dist/node_modules/js-sdsl/dist/cjs/utils/throwError.js.map +1 -0
- package/dist/node_modules/js-sdsl/dist/esm/container/ContainerBase/index.d.ts +206 -0
- package/dist/node_modules/js-sdsl/dist/esm/container/ContainerBase/index.js +68 -0
- package/dist/node_modules/js-sdsl/dist/esm/container/ContainerBase/index.js.map +1 -0
- package/dist/node_modules/js-sdsl/dist/esm/container/HashContainer/Base/index.d.ts +29 -0
- package/dist/node_modules/js-sdsl/dist/esm/container/HashContainer/Base/index.js +201 -0
- package/dist/node_modules/js-sdsl/dist/esm/container/HashContainer/Base/index.js.map +1 -0
- package/dist/node_modules/js-sdsl/dist/esm/container/HashContainer/HashMap.d.ts +49 -0
- package/dist/node_modules/js-sdsl/dist/esm/container/HashContainer/HashMap.js +248 -0
- package/dist/node_modules/js-sdsl/dist/esm/container/HashContainer/HashMap.js.map +1 -0
- package/dist/node_modules/js-sdsl/dist/esm/container/HashContainer/HashSet.d.ts +39 -0
- package/dist/node_modules/js-sdsl/dist/esm/container/HashContainer/HashSet.js +223 -0
- package/dist/node_modules/js-sdsl/dist/esm/container/HashContainer/HashSet.js.map +1 -0
- package/dist/node_modules/js-sdsl/dist/esm/container/OtherContainer/PriorityQueue.d.ts +79 -0
- package/dist/node_modules/js-sdsl/dist/esm/container/OtherContainer/PriorityQueue.js +171 -0
- package/dist/node_modules/js-sdsl/dist/esm/container/OtherContainer/PriorityQueue.js.map +1 -0
- package/dist/node_modules/js-sdsl/dist/esm/container/OtherContainer/Queue.d.ts +22 -0
- package/dist/node_modules/js-sdsl/dist/esm/container/OtherContainer/Queue.js +69 -0
- package/dist/node_modules/js-sdsl/dist/esm/container/OtherContainer/Queue.js.map +1 -0
- package/dist/node_modules/js-sdsl/dist/esm/container/OtherContainer/Stack.d.ts +22 -0
- package/dist/node_modules/js-sdsl/dist/esm/container/OtherContainer/Stack.js +59 -0
- package/dist/node_modules/js-sdsl/dist/esm/container/OtherContainer/Stack.js.map +1 -0
- package/dist/node_modules/js-sdsl/dist/esm/container/SequentialContainer/Base/RandomIterator.d.ts +9 -0
- package/dist/node_modules/js-sdsl/dist/esm/container/SequentialContainer/Base/RandomIterator.js +78 -0
- package/dist/node_modules/js-sdsl/dist/esm/container/SequentialContainer/Base/RandomIterator.js.map +1 -0
- package/dist/node_modules/js-sdsl/dist/esm/container/SequentialContainer/Base/index.d.ts +67 -0
- package/dist/node_modules/js-sdsl/dist/esm/container/SequentialContainer/Base/index.js +33 -0
- package/dist/node_modules/js-sdsl/dist/esm/container/SequentialContainer/Base/index.js.map +1 -0
- package/dist/node_modules/js-sdsl/dist/esm/container/SequentialContainer/Deque.d.ts +58 -0
- package/dist/node_modules/js-sdsl/dist/esm/container/SequentialContainer/Deque.js +498 -0
- package/dist/node_modules/js-sdsl/dist/esm/container/SequentialContainer/Deque.js.map +1 -0
- package/dist/node_modules/js-sdsl/dist/esm/container/SequentialContainer/LinkList.d.ts +58 -0
- package/dist/node_modules/js-sdsl/dist/esm/container/SequentialContainer/LinkList.js +456 -0
- package/dist/node_modules/js-sdsl/dist/esm/container/SequentialContainer/LinkList.js.map +1 -0
- package/dist/node_modules/js-sdsl/dist/esm/container/SequentialContainer/Vector.d.ts +40 -0
- package/dist/node_modules/js-sdsl/dist/esm/container/SequentialContainer/Vector.js +323 -0
- package/dist/node_modules/js-sdsl/dist/esm/container/SequentialContainer/Vector.js.map +1 -0
- package/dist/node_modules/js-sdsl/dist/esm/container/TreeContainer/Base/TreeIterator.d.ts +18 -0
- package/dist/node_modules/js-sdsl/dist/esm/container/TreeContainer/Base/TreeIterator.js +98 -0
- package/dist/node_modules/js-sdsl/dist/esm/container/TreeContainer/Base/TreeIterator.js.map +1 -0
- package/dist/node_modules/js-sdsl/dist/esm/container/TreeContainer/Base/TreeNode.d.ts +47 -0
- package/dist/node_modules/js-sdsl/dist/esm/container/TreeContainer/Base/TreeNode.js +132 -0
- package/dist/node_modules/js-sdsl/dist/esm/container/TreeContainer/Base/TreeNode.js.map +1 -0
- package/dist/node_modules/js-sdsl/dist/esm/container/TreeContainer/Base/index.d.ts +58 -0
- package/dist/node_modules/js-sdsl/dist/esm/container/TreeContainer/Base/index.js +600 -0
- package/dist/node_modules/js-sdsl/dist/esm/container/TreeContainer/Base/index.js.map +1 -0
- package/dist/node_modules/js-sdsl/dist/esm/container/TreeContainer/OrderedMap.d.ts +62 -0
- package/dist/node_modules/js-sdsl/dist/esm/container/TreeContainer/OrderedMap.js +265 -0
- package/dist/node_modules/js-sdsl/dist/esm/container/TreeContainer/OrderedMap.js.map +1 -0
- package/dist/node_modules/js-sdsl/dist/esm/container/TreeContainer/OrderedSet.d.ts +54 -0
- package/dist/node_modules/js-sdsl/dist/esm/container/TreeContainer/OrderedSet.js +245 -0
- package/dist/node_modules/js-sdsl/dist/esm/container/TreeContainer/OrderedSet.js.map +1 -0
- package/dist/node_modules/js-sdsl/dist/esm/index.d.ts +21 -0
- package/dist/node_modules/js-sdsl/dist/esm/index.js +20 -0
- package/dist/node_modules/js-sdsl/dist/esm/index.js.map +1 -0
- package/dist/node_modules/js-sdsl/dist/esm/utils/checkObject.d.ts +1 -0
- package/dist/node_modules/js-sdsl/dist/esm/utils/checkObject.js +5 -0
- package/dist/node_modules/js-sdsl/dist/esm/utils/checkObject.js.map +1 -0
- package/dist/node_modules/js-sdsl/dist/esm/utils/throwError.d.ts +1 -0
- package/dist/node_modules/js-sdsl/dist/esm/utils/throwError.js +4 -0
- package/dist/node_modules/js-sdsl/dist/esm/utils/throwError.js.map +1 -0
- package/dist/node_modules/js-sdsl/dist/umd/js-sdsl.js +3154 -0
- package/dist/node_modules/js-sdsl/dist/umd/js-sdsl.min.js +8 -0
- package/dist/node_modules/js-sdsl/dist/umd/js-sdsl.min.js.map +1 -0
- package/dist/node_modules/js-sdsl/package.json +166 -0
- package/dist/node_modules/lodash/LICENSE +47 -0
- package/dist/node_modules/lodash/README.md +39 -0
- package/dist/node_modules/lodash/_DataView.js +7 -0
- package/dist/node_modules/lodash/_Hash.js +32 -0
- package/dist/node_modules/lodash/_LazyWrapper.js +28 -0
- package/dist/node_modules/lodash/_ListCache.js +32 -0
- package/dist/node_modules/lodash/_LodashWrapper.js +22 -0
- package/dist/node_modules/lodash/_Map.js +7 -0
- package/dist/node_modules/lodash/_MapCache.js +32 -0
- package/dist/node_modules/lodash/_Promise.js +7 -0
- package/dist/node_modules/lodash/_Set.js +7 -0
- package/dist/node_modules/lodash/_SetCache.js +27 -0
- package/dist/node_modules/lodash/_Stack.js +27 -0
- package/dist/node_modules/lodash/_Symbol.js +6 -0
- package/dist/node_modules/lodash/_Uint8Array.js +6 -0
- package/dist/node_modules/lodash/_WeakMap.js +7 -0
- package/dist/node_modules/lodash/_apply.js +21 -0
- package/dist/node_modules/lodash/_arrayAggregator.js +22 -0
- package/dist/node_modules/lodash/_arrayEach.js +22 -0
- package/dist/node_modules/lodash/_arrayEachRight.js +21 -0
- package/dist/node_modules/lodash/_arrayEvery.js +23 -0
- package/dist/node_modules/lodash/_arrayFilter.js +25 -0
- package/dist/node_modules/lodash/_arrayIncludes.js +17 -0
- package/dist/node_modules/lodash/_arrayIncludesWith.js +22 -0
- package/dist/node_modules/lodash/_arrayLikeKeys.js +49 -0
- package/dist/node_modules/lodash/_arrayMap.js +21 -0
- package/dist/node_modules/lodash/_arrayPush.js +20 -0
- package/dist/node_modules/lodash/_arrayReduce.js +26 -0
- package/dist/node_modules/lodash/_arrayReduceRight.js +24 -0
- package/dist/node_modules/lodash/_arraySample.js +15 -0
- package/dist/node_modules/lodash/_arraySampleSize.js +17 -0
- package/dist/node_modules/lodash/_arrayShuffle.js +15 -0
- package/dist/node_modules/lodash/_arraySome.js +23 -0
- package/dist/node_modules/lodash/_asciiSize.js +12 -0
- package/dist/node_modules/lodash/_asciiToArray.js +12 -0
- package/dist/node_modules/lodash/_asciiWords.js +15 -0
- package/dist/node_modules/lodash/_assignMergeValue.js +20 -0
- package/dist/node_modules/lodash/_assignValue.js +28 -0
- package/dist/node_modules/lodash/_assocIndexOf.js +21 -0
- package/dist/node_modules/lodash/_baseAggregator.js +21 -0
- package/dist/node_modules/lodash/_baseAssign.js +17 -0
- package/dist/node_modules/lodash/_baseAssignIn.js +17 -0
- package/dist/node_modules/lodash/_baseAssignValue.js +25 -0
- package/dist/node_modules/lodash/_baseAt.js +23 -0
- package/dist/node_modules/lodash/_baseClamp.js +22 -0
- package/dist/node_modules/lodash/_baseClone.js +166 -0
- package/dist/node_modules/lodash/_baseConforms.js +18 -0
- package/dist/node_modules/lodash/_baseConformsTo.js +27 -0
- package/dist/node_modules/lodash/_baseCreate.js +30 -0
- package/dist/node_modules/lodash/_baseDelay.js +21 -0
- package/dist/node_modules/lodash/_baseDifference.js +67 -0
- package/dist/node_modules/lodash/_baseEach.js +14 -0
- package/dist/node_modules/lodash/_baseEachRight.js +14 -0
- package/dist/node_modules/lodash/_baseEvery.js +21 -0
- package/dist/node_modules/lodash/_baseExtremum.js +32 -0
- package/dist/node_modules/lodash/_baseFill.js +32 -0
- package/dist/node_modules/lodash/_baseFilter.js +21 -0
- package/dist/node_modules/lodash/_baseFindIndex.js +24 -0
- package/dist/node_modules/lodash/_baseFindKey.js +23 -0
- package/dist/node_modules/lodash/_baseFlatten.js +38 -0
- package/dist/node_modules/lodash/_baseFor.js +16 -0
- package/dist/node_modules/lodash/_baseForOwn.js +16 -0
- package/dist/node_modules/lodash/_baseForOwnRight.js +16 -0
- package/dist/node_modules/lodash/_baseForRight.js +15 -0
- package/dist/node_modules/lodash/_baseFunctions.js +19 -0
- package/dist/node_modules/lodash/_baseGet.js +24 -0
- package/dist/node_modules/lodash/_baseGetAllKeys.js +20 -0
- package/dist/node_modules/lodash/_baseGetTag.js +28 -0
- package/dist/node_modules/lodash/_baseGt.js +14 -0
- package/dist/node_modules/lodash/_baseHas.js +19 -0
- package/dist/node_modules/lodash/_baseHasIn.js +13 -0
- package/dist/node_modules/lodash/_baseInRange.js +18 -0
- package/dist/node_modules/lodash/_baseIndexOf.js +20 -0
- package/dist/node_modules/lodash/_baseIndexOfWith.js +23 -0
- package/dist/node_modules/lodash/_baseIntersection.js +74 -0
- package/dist/node_modules/lodash/_baseInverter.js +21 -0
- package/dist/node_modules/lodash/_baseInvoke.js +24 -0
- package/dist/node_modules/lodash/_baseIsArguments.js +18 -0
- package/dist/node_modules/lodash/_baseIsArrayBuffer.js +17 -0
- package/dist/node_modules/lodash/_baseIsDate.js +18 -0
- package/dist/node_modules/lodash/_baseIsEqual.js +28 -0
- package/dist/node_modules/lodash/_baseIsEqualDeep.js +83 -0
- package/dist/node_modules/lodash/_baseIsMap.js +18 -0
- package/dist/node_modules/lodash/_baseIsMatch.js +62 -0
- package/dist/node_modules/lodash/_baseIsNaN.js +12 -0
- package/dist/node_modules/lodash/_baseIsNative.js +47 -0
- package/dist/node_modules/lodash/_baseIsRegExp.js +18 -0
- package/dist/node_modules/lodash/_baseIsSet.js +18 -0
- package/dist/node_modules/lodash/_baseIsTypedArray.js +60 -0
- package/dist/node_modules/lodash/_baseIteratee.js +31 -0
- package/dist/node_modules/lodash/_baseKeys.js +30 -0
- package/dist/node_modules/lodash/_baseKeysIn.js +33 -0
- package/dist/node_modules/lodash/_baseLodash.js +10 -0
- package/dist/node_modules/lodash/_baseLt.js +14 -0
- package/dist/node_modules/lodash/_baseMap.js +22 -0
- package/dist/node_modules/lodash/_baseMatches.js +22 -0
- package/dist/node_modules/lodash/_baseMatchesProperty.js +33 -0
- package/dist/node_modules/lodash/_baseMean.js +20 -0
- package/dist/node_modules/lodash/_baseMerge.js +42 -0
- package/dist/node_modules/lodash/_baseMergeDeep.js +94 -0
- package/dist/node_modules/lodash/_baseNth.js +20 -0
- package/dist/node_modules/lodash/_baseOrderBy.js +49 -0
- package/dist/node_modules/lodash/_basePick.js +19 -0
- package/dist/node_modules/lodash/_basePickBy.js +30 -0
- package/dist/node_modules/lodash/_baseProperty.js +14 -0
- package/dist/node_modules/lodash/_basePropertyDeep.js +16 -0
- package/dist/node_modules/lodash/_basePropertyOf.js +14 -0
- package/dist/node_modules/lodash/_basePullAll.js +51 -0
- package/dist/node_modules/lodash/_basePullAt.js +37 -0
- package/dist/node_modules/lodash/_baseRandom.js +18 -0
- package/dist/node_modules/lodash/_baseRange.js +28 -0
- package/dist/node_modules/lodash/_baseReduce.js +23 -0
- package/dist/node_modules/lodash/_baseRepeat.js +35 -0
- package/dist/node_modules/lodash/_baseRest.js +17 -0
- package/dist/node_modules/lodash/_baseSample.js +15 -0
- package/dist/node_modules/lodash/_baseSampleSize.js +18 -0
- package/dist/node_modules/lodash/_baseSet.js +51 -0
- package/dist/node_modules/lodash/_baseSetData.js +17 -0
- package/dist/node_modules/lodash/_baseSetToString.js +22 -0
- package/dist/node_modules/lodash/_baseShuffle.js +15 -0
- package/dist/node_modules/lodash/_baseSlice.js +31 -0
- package/dist/node_modules/lodash/_baseSome.js +22 -0
- package/dist/node_modules/lodash/_baseSortBy.js +21 -0
- package/dist/node_modules/lodash/_baseSortedIndex.js +42 -0
- package/dist/node_modules/lodash/_baseSortedIndexBy.js +67 -0
- package/dist/node_modules/lodash/_baseSortedUniq.js +30 -0
- package/dist/node_modules/lodash/_baseSum.js +24 -0
- package/dist/node_modules/lodash/_baseTimes.js +20 -0
- package/dist/node_modules/lodash/_baseToNumber.js +24 -0
- package/dist/node_modules/lodash/_baseToPairs.js +18 -0
- package/dist/node_modules/lodash/_baseToString.js +37 -0
- package/dist/node_modules/lodash/_baseTrim.js +19 -0
- package/dist/node_modules/lodash/_baseUnary.js +14 -0
- package/dist/node_modules/lodash/_baseUniq.js +72 -0
- package/dist/node_modules/lodash/_baseUnset.js +20 -0
- package/dist/node_modules/lodash/_baseUpdate.js +18 -0
- package/dist/node_modules/lodash/_baseValues.js +19 -0
- package/dist/node_modules/lodash/_baseWhile.js +26 -0
- package/dist/node_modules/lodash/_baseWrapperValue.js +25 -0
- package/dist/node_modules/lodash/_baseXor.js +36 -0
- package/dist/node_modules/lodash/_baseZipObject.js +23 -0
- package/dist/node_modules/lodash/_cacheHas.js +13 -0
- package/dist/node_modules/lodash/_castArrayLikeObject.js +14 -0
- package/dist/node_modules/lodash/_castFunction.js +14 -0
- package/dist/node_modules/lodash/_castPath.js +21 -0
- package/dist/node_modules/lodash/_castRest.js +14 -0
- package/dist/node_modules/lodash/_castSlice.js +18 -0
- package/dist/node_modules/lodash/_charsEndIndex.js +19 -0
- package/dist/node_modules/lodash/_charsStartIndex.js +20 -0
- package/dist/node_modules/lodash/_cloneArrayBuffer.js +16 -0
- package/dist/node_modules/lodash/_cloneBuffer.js +35 -0
- package/dist/node_modules/lodash/_cloneDataView.js +16 -0
- package/dist/node_modules/lodash/_cloneRegExp.js +17 -0
- package/dist/node_modules/lodash/_cloneSymbol.js +18 -0
- package/dist/node_modules/lodash/_cloneTypedArray.js +16 -0
- package/dist/node_modules/lodash/_compareAscending.js +41 -0
- package/dist/node_modules/lodash/_compareMultiple.js +44 -0
- package/dist/node_modules/lodash/_composeArgs.js +39 -0
- package/dist/node_modules/lodash/_composeArgsRight.js +41 -0
- package/dist/node_modules/lodash/_copyArray.js +20 -0
- package/dist/node_modules/lodash/_copyObject.js +40 -0
- package/dist/node_modules/lodash/_copySymbols.js +16 -0
- package/dist/node_modules/lodash/_copySymbolsIn.js +16 -0
- package/dist/node_modules/lodash/_coreJsData.js +6 -0
- package/dist/node_modules/lodash/_countHolders.js +21 -0
- package/dist/node_modules/lodash/_createAggregator.js +23 -0
- package/dist/node_modules/lodash/_createAssigner.js +37 -0
- package/dist/node_modules/lodash/_createBaseEach.js +32 -0
- package/dist/node_modules/lodash/_createBaseFor.js +25 -0
- package/dist/node_modules/lodash/_createBind.js +28 -0
- package/dist/node_modules/lodash/_createCaseFirst.js +33 -0
- package/dist/node_modules/lodash/_createCompounder.js +24 -0
- package/dist/node_modules/lodash/_createCtor.js +37 -0
- package/dist/node_modules/lodash/_createCurry.js +46 -0
- package/dist/node_modules/lodash/_createFind.js +25 -0
- package/dist/node_modules/lodash/_createFlow.js +78 -0
- package/dist/node_modules/lodash/_createHybrid.js +92 -0
- package/dist/node_modules/lodash/_createInverter.js +17 -0
- package/dist/node_modules/lodash/_createMathOperation.js +38 -0
- package/dist/node_modules/lodash/_createOver.js +27 -0
- package/dist/node_modules/lodash/_createPadding.js +33 -0
- package/dist/node_modules/lodash/_createPartial.js +43 -0
- package/dist/node_modules/lodash/_createRange.js +30 -0
- package/dist/node_modules/lodash/_createRecurry.js +56 -0
- package/dist/node_modules/lodash/_createRelationalOperation.js +20 -0
- package/dist/node_modules/lodash/_createRound.js +35 -0
- package/dist/node_modules/lodash/_createSet.js +19 -0
- package/dist/node_modules/lodash/_createToPairs.js +30 -0
- package/dist/node_modules/lodash/_createWrap.js +106 -0
- package/dist/node_modules/lodash/_customDefaultsAssignIn.js +29 -0
- package/dist/node_modules/lodash/_customDefaultsMerge.js +28 -0
- package/dist/node_modules/lodash/_customOmitClone.js +16 -0
- package/dist/node_modules/lodash/_deburrLetter.js +71 -0
- package/dist/node_modules/lodash/_defineProperty.js +11 -0
- package/dist/node_modules/lodash/_equalArrays.js +84 -0
- package/dist/node_modules/lodash/_equalByTag.js +112 -0
- package/dist/node_modules/lodash/_equalObjects.js +90 -0
- package/dist/node_modules/lodash/_escapeHtmlChar.js +21 -0
- package/dist/node_modules/lodash/_escapeStringChar.js +22 -0
- package/dist/node_modules/lodash/_flatRest.js +16 -0
- package/dist/node_modules/lodash/_freeGlobal.js +4 -0
- package/dist/node_modules/lodash/_getAllKeys.js +16 -0
- package/dist/node_modules/lodash/_getAllKeysIn.js +17 -0
- package/dist/node_modules/lodash/_getData.js +15 -0
- package/dist/node_modules/lodash/_getFuncName.js +31 -0
- package/dist/node_modules/lodash/_getHolder.js +13 -0
- package/dist/node_modules/lodash/_getMapData.js +18 -0
- package/dist/node_modules/lodash/_getMatchData.js +24 -0
- package/dist/node_modules/lodash/_getNative.js +17 -0
- package/dist/node_modules/lodash/_getPrototype.js +6 -0
- package/dist/node_modules/lodash/_getRawTag.js +46 -0
- package/dist/node_modules/lodash/_getSymbols.js +30 -0
- package/dist/node_modules/lodash/_getSymbolsIn.js +25 -0
- package/dist/node_modules/lodash/_getTag.js +58 -0
- package/dist/node_modules/lodash/_getValue.js +13 -0
- package/dist/node_modules/lodash/_getView.js +33 -0
- package/dist/node_modules/lodash/_getWrapDetails.js +17 -0
- package/dist/node_modules/lodash/_hasPath.js +39 -0
- package/dist/node_modules/lodash/_hasUnicode.js +26 -0
- package/dist/node_modules/lodash/_hasUnicodeWord.js +15 -0
- package/dist/node_modules/lodash/_hashClear.js +15 -0
- package/dist/node_modules/lodash/_hashDelete.js +17 -0
- package/dist/node_modules/lodash/_hashGet.js +30 -0
- package/dist/node_modules/lodash/_hashHas.js +23 -0
- package/dist/node_modules/lodash/_hashSet.js +23 -0
- package/dist/node_modules/lodash/_initCloneArray.js +26 -0
- package/dist/node_modules/lodash/_initCloneByTag.js +77 -0
- package/dist/node_modules/lodash/_initCloneObject.js +18 -0
- package/dist/node_modules/lodash/_insertWrapDetails.js +23 -0
- package/dist/node_modules/lodash/_isFlattenable.js +20 -0
- package/dist/node_modules/lodash/_isIndex.js +25 -0
- package/dist/node_modules/lodash/_isIterateeCall.js +30 -0
- package/dist/node_modules/lodash/_isKey.js +29 -0
- package/dist/node_modules/lodash/_isKeyable.js +15 -0
- package/dist/node_modules/lodash/_isLaziable.js +28 -0
- package/dist/node_modules/lodash/_isMaskable.js +14 -0
- package/dist/node_modules/lodash/_isMasked.js +20 -0
- package/dist/node_modules/lodash/_isPrototype.js +18 -0
- package/dist/node_modules/lodash/_isStrictComparable.js +15 -0
- package/dist/node_modules/lodash/_iteratorToArray.js +18 -0
- package/dist/node_modules/lodash/_lazyClone.js +23 -0
- package/dist/node_modules/lodash/_lazyReverse.js +23 -0
- package/dist/node_modules/lodash/_lazyValue.js +69 -0
- package/dist/node_modules/lodash/_listCacheClear.js +13 -0
- package/dist/node_modules/lodash/_listCacheDelete.js +35 -0
- package/dist/node_modules/lodash/_listCacheGet.js +19 -0
- package/dist/node_modules/lodash/_listCacheHas.js +16 -0
- package/dist/node_modules/lodash/_listCacheSet.js +26 -0
- package/dist/node_modules/lodash/_mapCacheClear.js +21 -0
- package/dist/node_modules/lodash/_mapCacheDelete.js +18 -0
- package/dist/node_modules/lodash/_mapCacheGet.js +16 -0
- package/dist/node_modules/lodash/_mapCacheHas.js +16 -0
- package/dist/node_modules/lodash/_mapCacheSet.js +22 -0
- package/dist/node_modules/lodash/_mapToArray.js +18 -0
- package/dist/node_modules/lodash/_matchesStrictComparable.js +20 -0
- package/dist/node_modules/lodash/_memoizeCapped.js +26 -0
- package/dist/node_modules/lodash/_mergeData.js +90 -0
- package/dist/node_modules/lodash/_metaMap.js +6 -0
- package/dist/node_modules/lodash/_nativeCreate.js +6 -0
- package/dist/node_modules/lodash/_nativeKeys.js +6 -0
- package/dist/node_modules/lodash/_nativeKeysIn.js +20 -0
- package/dist/node_modules/lodash/_nodeUtil.js +30 -0
- package/dist/node_modules/lodash/_objectToString.js +22 -0
- package/dist/node_modules/lodash/_overArg.js +15 -0
- package/dist/node_modules/lodash/_overRest.js +36 -0
- package/dist/node_modules/lodash/_parent.js +16 -0
- package/dist/node_modules/lodash/_reEscape.js +4 -0
- package/dist/node_modules/lodash/_reEvaluate.js +4 -0
- package/dist/node_modules/lodash/_reInterpolate.js +4 -0
- package/dist/node_modules/lodash/_realNames.js +4 -0
- package/dist/node_modules/lodash/_reorder.js +29 -0
- package/dist/node_modules/lodash/_replaceHolders.js +29 -0
- package/dist/node_modules/lodash/_root.js +9 -0
- package/dist/node_modules/lodash/_safeGet.js +21 -0
- package/dist/node_modules/lodash/_setCacheAdd.js +19 -0
- package/dist/node_modules/lodash/_setCacheHas.js +14 -0
- package/dist/node_modules/lodash/_setData.js +20 -0
- package/dist/node_modules/lodash/_setToArray.js +18 -0
- package/dist/node_modules/lodash/_setToPairs.js +18 -0
- package/dist/node_modules/lodash/_setToString.js +14 -0
- package/dist/node_modules/lodash/_setWrapToString.js +21 -0
- package/dist/node_modules/lodash/_shortOut.js +37 -0
- package/dist/node_modules/lodash/_shuffleSelf.js +28 -0
- package/dist/node_modules/lodash/_stackClear.js +15 -0
- package/dist/node_modules/lodash/_stackDelete.js +18 -0
- package/dist/node_modules/lodash/_stackGet.js +14 -0
- package/dist/node_modules/lodash/_stackHas.js +14 -0
- package/dist/node_modules/lodash/_stackSet.js +34 -0
- package/dist/node_modules/lodash/_strictIndexOf.js +23 -0
- package/dist/node_modules/lodash/_strictLastIndexOf.js +21 -0
- package/dist/node_modules/lodash/_stringSize.js +18 -0
- package/dist/node_modules/lodash/_stringToArray.js +18 -0
- package/dist/node_modules/lodash/_stringToPath.js +27 -0
- package/dist/node_modules/lodash/_toKey.js +21 -0
- package/dist/node_modules/lodash/_toSource.js +26 -0
- package/dist/node_modules/lodash/_trimmedEndIndex.js +19 -0
- package/dist/node_modules/lodash/_unescapeHtmlChar.js +21 -0
- package/dist/node_modules/lodash/_unicodeSize.js +44 -0
- package/dist/node_modules/lodash/_unicodeToArray.js +40 -0
- package/dist/node_modules/lodash/_unicodeWords.js +69 -0
- package/dist/node_modules/lodash/_updateWrapDetails.js +46 -0
- package/dist/node_modules/lodash/_wrapperClone.js +23 -0
- package/dist/node_modules/lodash/add.js +22 -0
- package/dist/node_modules/lodash/after.js +42 -0
- package/dist/node_modules/lodash/array.js +67 -0
- package/dist/node_modules/lodash/ary.js +29 -0
- package/dist/node_modules/lodash/assign.js +58 -0
- package/dist/node_modules/lodash/assignIn.js +40 -0
- package/dist/node_modules/lodash/assignInWith.js +38 -0
- package/dist/node_modules/lodash/assignWith.js +37 -0
- package/dist/node_modules/lodash/at.js +23 -0
- package/dist/node_modules/lodash/attempt.js +35 -0
- package/dist/node_modules/lodash/before.js +40 -0
- package/dist/node_modules/lodash/bind.js +57 -0
- package/dist/node_modules/lodash/bindAll.js +41 -0
- package/dist/node_modules/lodash/bindKey.js +68 -0
- package/dist/node_modules/lodash/camelCase.js +29 -0
- package/dist/node_modules/lodash/capitalize.js +23 -0
- package/dist/node_modules/lodash/castArray.js +44 -0
- package/dist/node_modules/lodash/ceil.js +26 -0
- package/dist/node_modules/lodash/chain.js +38 -0
- package/dist/node_modules/lodash/chunk.js +50 -0
- package/dist/node_modules/lodash/clamp.js +39 -0
- package/dist/node_modules/lodash/clone.js +36 -0
- package/dist/node_modules/lodash/cloneDeep.js +29 -0
- package/dist/node_modules/lodash/cloneDeepWith.js +40 -0
- package/dist/node_modules/lodash/cloneWith.js +42 -0
- package/dist/node_modules/lodash/collection.js +30 -0
- package/dist/node_modules/lodash/commit.js +33 -0
- package/dist/node_modules/lodash/compact.js +31 -0
- package/dist/node_modules/lodash/concat.js +43 -0
- package/dist/node_modules/lodash/cond.js +60 -0
- package/dist/node_modules/lodash/conforms.js +35 -0
- package/dist/node_modules/lodash/conformsTo.js +32 -0
- package/dist/node_modules/lodash/constant.js +26 -0
- package/dist/node_modules/lodash/core.js +3877 -0
- package/dist/node_modules/lodash/core.min.js +29 -0
- package/dist/node_modules/lodash/countBy.js +40 -0
- package/dist/node_modules/lodash/create.js +43 -0
- package/dist/node_modules/lodash/curry.js +57 -0
- package/dist/node_modules/lodash/curryRight.js +54 -0
- package/dist/node_modules/lodash/date.js +3 -0
- package/dist/node_modules/lodash/debounce.js +191 -0
- package/dist/node_modules/lodash/deburr.js +45 -0
- package/dist/node_modules/lodash/defaultTo.js +25 -0
- package/dist/node_modules/lodash/defaults.js +64 -0
- package/dist/node_modules/lodash/defaultsDeep.js +30 -0
- package/dist/node_modules/lodash/defer.js +26 -0
- package/dist/node_modules/lodash/delay.js +28 -0
- package/dist/node_modules/lodash/difference.js +33 -0
- package/dist/node_modules/lodash/differenceBy.js +44 -0
- package/dist/node_modules/lodash/differenceWith.js +40 -0
- package/dist/node_modules/lodash/divide.js +22 -0
- package/dist/node_modules/lodash/drop.js +38 -0
- package/dist/node_modules/lodash/dropRight.js +39 -0
- package/dist/node_modules/lodash/dropRightWhile.js +45 -0
- package/dist/node_modules/lodash/dropWhile.js +45 -0
- package/dist/node_modules/lodash/each.js +1 -0
- package/dist/node_modules/lodash/eachRight.js +1 -0
- package/dist/node_modules/lodash/endsWith.js +43 -0
- package/dist/node_modules/lodash/entries.js +1 -0
- package/dist/node_modules/lodash/entriesIn.js +1 -0
- package/dist/node_modules/lodash/eq.js +37 -0
- package/dist/node_modules/lodash/escape.js +43 -0
- package/dist/node_modules/lodash/escapeRegExp.js +32 -0
- package/dist/node_modules/lodash/every.js +56 -0
- package/dist/node_modules/lodash/extend.js +1 -0
- package/dist/node_modules/lodash/extendWith.js +1 -0
- package/dist/node_modules/lodash/fill.js +45 -0
- package/dist/node_modules/lodash/filter.js +52 -0
- package/dist/node_modules/lodash/find.js +42 -0
- package/dist/node_modules/lodash/findIndex.js +55 -0
- package/dist/node_modules/lodash/findKey.js +44 -0
- package/dist/node_modules/lodash/findLast.js +25 -0
- package/dist/node_modules/lodash/findLastIndex.js +59 -0
- package/dist/node_modules/lodash/findLastKey.js +44 -0
- package/dist/node_modules/lodash/first.js +1 -0
- package/dist/node_modules/lodash/flake.lock +40 -0
- package/dist/node_modules/lodash/flake.nix +20 -0
- package/dist/node_modules/lodash/flatMap.js +29 -0
- package/dist/node_modules/lodash/flatMapDeep.js +31 -0
- package/dist/node_modules/lodash/flatMapDepth.js +31 -0
- package/dist/node_modules/lodash/flatten.js +22 -0
- package/dist/node_modules/lodash/flattenDeep.js +25 -0
- package/dist/node_modules/lodash/flattenDepth.js +33 -0
- package/dist/node_modules/lodash/flip.js +28 -0
- package/dist/node_modules/lodash/floor.js +26 -0
- package/dist/node_modules/lodash/flow.js +27 -0
- package/dist/node_modules/lodash/flowRight.js +26 -0
- package/dist/node_modules/lodash/forEach.js +41 -0
- package/dist/node_modules/lodash/forEachRight.js +31 -0
- package/dist/node_modules/lodash/forIn.js +39 -0
- package/dist/node_modules/lodash/forInRight.js +37 -0
- package/dist/node_modules/lodash/forOwn.js +36 -0
- package/dist/node_modules/lodash/forOwnRight.js +34 -0
- package/dist/node_modules/lodash/fp/F.js +1 -0
- package/dist/node_modules/lodash/fp/T.js +1 -0
- package/dist/node_modules/lodash/fp/__.js +1 -0
- package/dist/node_modules/lodash/fp/_baseConvert.js +569 -0
- package/dist/node_modules/lodash/fp/_convertBrowser.js +18 -0
- package/dist/node_modules/lodash/fp/_falseOptions.js +7 -0
- package/dist/node_modules/lodash/fp/_mapping.js +358 -0
- package/dist/node_modules/lodash/fp/_util.js +16 -0
- package/dist/node_modules/lodash/fp/add.js +5 -0
- package/dist/node_modules/lodash/fp/after.js +5 -0
- package/dist/node_modules/lodash/fp/all.js +1 -0
- package/dist/node_modules/lodash/fp/allPass.js +1 -0
- package/dist/node_modules/lodash/fp/always.js +1 -0
- package/dist/node_modules/lodash/fp/any.js +1 -0
- package/dist/node_modules/lodash/fp/anyPass.js +1 -0
- package/dist/node_modules/lodash/fp/apply.js +1 -0
- package/dist/node_modules/lodash/fp/array.js +2 -0
- package/dist/node_modules/lodash/fp/ary.js +5 -0
- package/dist/node_modules/lodash/fp/assign.js +5 -0
- package/dist/node_modules/lodash/fp/assignAll.js +5 -0
- package/dist/node_modules/lodash/fp/assignAllWith.js +5 -0
- package/dist/node_modules/lodash/fp/assignIn.js +5 -0
- package/dist/node_modules/lodash/fp/assignInAll.js +5 -0
- package/dist/node_modules/lodash/fp/assignInAllWith.js +5 -0
- package/dist/node_modules/lodash/fp/assignInWith.js +5 -0
- package/dist/node_modules/lodash/fp/assignWith.js +5 -0
- package/dist/node_modules/lodash/fp/assoc.js +1 -0
- package/dist/node_modules/lodash/fp/assocPath.js +1 -0
- package/dist/node_modules/lodash/fp/at.js +5 -0
- package/dist/node_modules/lodash/fp/attempt.js +5 -0
- package/dist/node_modules/lodash/fp/before.js +5 -0
- package/dist/node_modules/lodash/fp/bind.js +5 -0
- package/dist/node_modules/lodash/fp/bindAll.js +5 -0
- package/dist/node_modules/lodash/fp/bindKey.js +5 -0
- package/dist/node_modules/lodash/fp/camelCase.js +5 -0
- package/dist/node_modules/lodash/fp/capitalize.js +5 -0
- package/dist/node_modules/lodash/fp/castArray.js +5 -0
- package/dist/node_modules/lodash/fp/ceil.js +5 -0
- package/dist/node_modules/lodash/fp/chain.js +5 -0
- package/dist/node_modules/lodash/fp/chunk.js +5 -0
- package/dist/node_modules/lodash/fp/clamp.js +5 -0
- package/dist/node_modules/lodash/fp/clone.js +5 -0
- package/dist/node_modules/lodash/fp/cloneDeep.js +5 -0
- package/dist/node_modules/lodash/fp/cloneDeepWith.js +5 -0
- package/dist/node_modules/lodash/fp/cloneWith.js +5 -0
- package/dist/node_modules/lodash/fp/collection.js +2 -0
- package/dist/node_modules/lodash/fp/commit.js +5 -0
- package/dist/node_modules/lodash/fp/compact.js +5 -0
- package/dist/node_modules/lodash/fp/complement.js +1 -0
- package/dist/node_modules/lodash/fp/compose.js +1 -0
- package/dist/node_modules/lodash/fp/concat.js +5 -0
- package/dist/node_modules/lodash/fp/cond.js +5 -0
- package/dist/node_modules/lodash/fp/conforms.js +1 -0
- package/dist/node_modules/lodash/fp/conformsTo.js +5 -0
- package/dist/node_modules/lodash/fp/constant.js +5 -0
- package/dist/node_modules/lodash/fp/contains.js +1 -0
- package/dist/node_modules/lodash/fp/convert.js +18 -0
- package/dist/node_modules/lodash/fp/countBy.js +5 -0
- package/dist/node_modules/lodash/fp/create.js +5 -0
- package/dist/node_modules/lodash/fp/curry.js +5 -0
- package/dist/node_modules/lodash/fp/curryN.js +5 -0
- package/dist/node_modules/lodash/fp/curryRight.js +5 -0
- package/dist/node_modules/lodash/fp/curryRightN.js +5 -0
- package/dist/node_modules/lodash/fp/date.js +2 -0
- package/dist/node_modules/lodash/fp/debounce.js +5 -0
- package/dist/node_modules/lodash/fp/deburr.js +5 -0
- package/dist/node_modules/lodash/fp/defaultTo.js +5 -0
- package/dist/node_modules/lodash/fp/defaults.js +5 -0
- package/dist/node_modules/lodash/fp/defaultsAll.js +5 -0
- package/dist/node_modules/lodash/fp/defaultsDeep.js +5 -0
- package/dist/node_modules/lodash/fp/defaultsDeepAll.js +5 -0
- package/dist/node_modules/lodash/fp/defer.js +5 -0
- package/dist/node_modules/lodash/fp/delay.js +5 -0
- package/dist/node_modules/lodash/fp/difference.js +5 -0
- package/dist/node_modules/lodash/fp/differenceBy.js +5 -0
- package/dist/node_modules/lodash/fp/differenceWith.js +5 -0
- package/dist/node_modules/lodash/fp/dissoc.js +1 -0
- package/dist/node_modules/lodash/fp/dissocPath.js +1 -0
- package/dist/node_modules/lodash/fp/divide.js +5 -0
- package/dist/node_modules/lodash/fp/drop.js +5 -0
- package/dist/node_modules/lodash/fp/dropLast.js +1 -0
- package/dist/node_modules/lodash/fp/dropLastWhile.js +1 -0
- package/dist/node_modules/lodash/fp/dropRight.js +5 -0
- package/dist/node_modules/lodash/fp/dropRightWhile.js +5 -0
- package/dist/node_modules/lodash/fp/dropWhile.js +5 -0
- package/dist/node_modules/lodash/fp/each.js +1 -0
- package/dist/node_modules/lodash/fp/eachRight.js +1 -0
- package/dist/node_modules/lodash/fp/endsWith.js +5 -0
- package/dist/node_modules/lodash/fp/entries.js +1 -0
- package/dist/node_modules/lodash/fp/entriesIn.js +1 -0
- package/dist/node_modules/lodash/fp/eq.js +5 -0
- package/dist/node_modules/lodash/fp/equals.js +1 -0
- package/dist/node_modules/lodash/fp/escape.js +5 -0
- package/dist/node_modules/lodash/fp/escapeRegExp.js +5 -0
- package/dist/node_modules/lodash/fp/every.js +5 -0
- package/dist/node_modules/lodash/fp/extend.js +1 -0
- package/dist/node_modules/lodash/fp/extendAll.js +1 -0
- package/dist/node_modules/lodash/fp/extendAllWith.js +1 -0
- package/dist/node_modules/lodash/fp/extendWith.js +1 -0
- package/dist/node_modules/lodash/fp/fill.js +5 -0
- package/dist/node_modules/lodash/fp/filter.js +5 -0
- package/dist/node_modules/lodash/fp/find.js +5 -0
- package/dist/node_modules/lodash/fp/findFrom.js +5 -0
- package/dist/node_modules/lodash/fp/findIndex.js +5 -0
- package/dist/node_modules/lodash/fp/findIndexFrom.js +5 -0
- package/dist/node_modules/lodash/fp/findKey.js +5 -0
- package/dist/node_modules/lodash/fp/findLast.js +5 -0
- package/dist/node_modules/lodash/fp/findLastFrom.js +5 -0
- package/dist/node_modules/lodash/fp/findLastIndex.js +5 -0
- package/dist/node_modules/lodash/fp/findLastIndexFrom.js +5 -0
- package/dist/node_modules/lodash/fp/findLastKey.js +5 -0
- package/dist/node_modules/lodash/fp/first.js +1 -0
- package/dist/node_modules/lodash/fp/flatMap.js +5 -0
- package/dist/node_modules/lodash/fp/flatMapDeep.js +5 -0
- package/dist/node_modules/lodash/fp/flatMapDepth.js +5 -0
- package/dist/node_modules/lodash/fp/flatten.js +5 -0
- package/dist/node_modules/lodash/fp/flattenDeep.js +5 -0
- package/dist/node_modules/lodash/fp/flattenDepth.js +5 -0
- package/dist/node_modules/lodash/fp/flip.js +5 -0
- package/dist/node_modules/lodash/fp/floor.js +5 -0
- package/dist/node_modules/lodash/fp/flow.js +5 -0
- package/dist/node_modules/lodash/fp/flowRight.js +5 -0
- package/dist/node_modules/lodash/fp/forEach.js +5 -0
- package/dist/node_modules/lodash/fp/forEachRight.js +5 -0
- package/dist/node_modules/lodash/fp/forIn.js +5 -0
- package/dist/node_modules/lodash/fp/forInRight.js +5 -0
- package/dist/node_modules/lodash/fp/forOwn.js +5 -0
- package/dist/node_modules/lodash/fp/forOwnRight.js +5 -0
- package/dist/node_modules/lodash/fp/fromPairs.js +5 -0
- package/dist/node_modules/lodash/fp/function.js +2 -0
- package/dist/node_modules/lodash/fp/functions.js +5 -0
- package/dist/node_modules/lodash/fp/functionsIn.js +5 -0
- package/dist/node_modules/lodash/fp/get.js +5 -0
- package/dist/node_modules/lodash/fp/getOr.js +5 -0
- package/dist/node_modules/lodash/fp/groupBy.js +5 -0
- package/dist/node_modules/lodash/fp/gt.js +5 -0
- package/dist/node_modules/lodash/fp/gte.js +5 -0
- package/dist/node_modules/lodash/fp/has.js +5 -0
- package/dist/node_modules/lodash/fp/hasIn.js +5 -0
- package/dist/node_modules/lodash/fp/head.js +5 -0
- package/dist/node_modules/lodash/fp/identical.js +1 -0
- package/dist/node_modules/lodash/fp/identity.js +5 -0
- package/dist/node_modules/lodash/fp/inRange.js +5 -0
- package/dist/node_modules/lodash/fp/includes.js +5 -0
- package/dist/node_modules/lodash/fp/includesFrom.js +5 -0
- package/dist/node_modules/lodash/fp/indexBy.js +1 -0
- package/dist/node_modules/lodash/fp/indexOf.js +5 -0
- package/dist/node_modules/lodash/fp/indexOfFrom.js +5 -0
- package/dist/node_modules/lodash/fp/init.js +1 -0
- package/dist/node_modules/lodash/fp/initial.js +5 -0
- package/dist/node_modules/lodash/fp/intersection.js +5 -0
- package/dist/node_modules/lodash/fp/intersectionBy.js +5 -0
- package/dist/node_modules/lodash/fp/intersectionWith.js +5 -0
- package/dist/node_modules/lodash/fp/invert.js +5 -0
- package/dist/node_modules/lodash/fp/invertBy.js +5 -0
- package/dist/node_modules/lodash/fp/invertObj.js +1 -0
- package/dist/node_modules/lodash/fp/invoke.js +5 -0
- package/dist/node_modules/lodash/fp/invokeArgs.js +5 -0
- package/dist/node_modules/lodash/fp/invokeArgsMap.js +5 -0
- package/dist/node_modules/lodash/fp/invokeMap.js +5 -0
- package/dist/node_modules/lodash/fp/isArguments.js +5 -0
- package/dist/node_modules/lodash/fp/isArray.js +5 -0
- package/dist/node_modules/lodash/fp/isArrayBuffer.js +5 -0
- package/dist/node_modules/lodash/fp/isArrayLike.js +5 -0
- package/dist/node_modules/lodash/fp/isArrayLikeObject.js +5 -0
- package/dist/node_modules/lodash/fp/isBoolean.js +5 -0
- package/dist/node_modules/lodash/fp/isBuffer.js +5 -0
- package/dist/node_modules/lodash/fp/isDate.js +5 -0
- package/dist/node_modules/lodash/fp/isElement.js +5 -0
- package/dist/node_modules/lodash/fp/isEmpty.js +5 -0
- package/dist/node_modules/lodash/fp/isEqual.js +5 -0
- package/dist/node_modules/lodash/fp/isEqualWith.js +5 -0
- package/dist/node_modules/lodash/fp/isError.js +5 -0
- package/dist/node_modules/lodash/fp/isFinite.js +5 -0
- package/dist/node_modules/lodash/fp/isFunction.js +5 -0
- package/dist/node_modules/lodash/fp/isInteger.js +5 -0
- package/dist/node_modules/lodash/fp/isLength.js +5 -0
- package/dist/node_modules/lodash/fp/isMap.js +5 -0
- package/dist/node_modules/lodash/fp/isMatch.js +5 -0
- package/dist/node_modules/lodash/fp/isMatchWith.js +5 -0
- package/dist/node_modules/lodash/fp/isNaN.js +5 -0
- package/dist/node_modules/lodash/fp/isNative.js +5 -0
- package/dist/node_modules/lodash/fp/isNil.js +5 -0
- package/dist/node_modules/lodash/fp/isNull.js +5 -0
- package/dist/node_modules/lodash/fp/isNumber.js +5 -0
- package/dist/node_modules/lodash/fp/isObject.js +5 -0
- package/dist/node_modules/lodash/fp/isObjectLike.js +5 -0
- package/dist/node_modules/lodash/fp/isPlainObject.js +5 -0
- package/dist/node_modules/lodash/fp/isRegExp.js +5 -0
- package/dist/node_modules/lodash/fp/isSafeInteger.js +5 -0
- package/dist/node_modules/lodash/fp/isSet.js +5 -0
- package/dist/node_modules/lodash/fp/isString.js +5 -0
- package/dist/node_modules/lodash/fp/isSymbol.js +5 -0
- package/dist/node_modules/lodash/fp/isTypedArray.js +5 -0
- package/dist/node_modules/lodash/fp/isUndefined.js +5 -0
- package/dist/node_modules/lodash/fp/isWeakMap.js +5 -0
- package/dist/node_modules/lodash/fp/isWeakSet.js +5 -0
- package/dist/node_modules/lodash/fp/iteratee.js +5 -0
- package/dist/node_modules/lodash/fp/join.js +5 -0
- package/dist/node_modules/lodash/fp/juxt.js +1 -0
- package/dist/node_modules/lodash/fp/kebabCase.js +5 -0
- package/dist/node_modules/lodash/fp/keyBy.js +5 -0
- package/dist/node_modules/lodash/fp/keys.js +5 -0
- package/dist/node_modules/lodash/fp/keysIn.js +5 -0
- package/dist/node_modules/lodash/fp/lang.js +2 -0
- package/dist/node_modules/lodash/fp/last.js +5 -0
- package/dist/node_modules/lodash/fp/lastIndexOf.js +5 -0
- package/dist/node_modules/lodash/fp/lastIndexOfFrom.js +5 -0
- package/dist/node_modules/lodash/fp/lowerCase.js +5 -0
- package/dist/node_modules/lodash/fp/lowerFirst.js +5 -0
- package/dist/node_modules/lodash/fp/lt.js +5 -0
- package/dist/node_modules/lodash/fp/lte.js +5 -0
- package/dist/node_modules/lodash/fp/map.js +5 -0
- package/dist/node_modules/lodash/fp/mapKeys.js +5 -0
- package/dist/node_modules/lodash/fp/mapValues.js +5 -0
- package/dist/node_modules/lodash/fp/matches.js +1 -0
- package/dist/node_modules/lodash/fp/matchesProperty.js +5 -0
- package/dist/node_modules/lodash/fp/math.js +2 -0
- package/dist/node_modules/lodash/fp/max.js +5 -0
- package/dist/node_modules/lodash/fp/maxBy.js +5 -0
- package/dist/node_modules/lodash/fp/mean.js +5 -0
- package/dist/node_modules/lodash/fp/meanBy.js +5 -0
- package/dist/node_modules/lodash/fp/memoize.js +5 -0
- package/dist/node_modules/lodash/fp/merge.js +5 -0
- package/dist/node_modules/lodash/fp/mergeAll.js +5 -0
- package/dist/node_modules/lodash/fp/mergeAllWith.js +5 -0
- package/dist/node_modules/lodash/fp/mergeWith.js +5 -0
- package/dist/node_modules/lodash/fp/method.js +5 -0
- package/dist/node_modules/lodash/fp/methodOf.js +5 -0
- package/dist/node_modules/lodash/fp/min.js +5 -0
- package/dist/node_modules/lodash/fp/minBy.js +5 -0
- package/dist/node_modules/lodash/fp/mixin.js +5 -0
- package/dist/node_modules/lodash/fp/multiply.js +5 -0
- package/dist/node_modules/lodash/fp/nAry.js +1 -0
- package/dist/node_modules/lodash/fp/negate.js +5 -0
- package/dist/node_modules/lodash/fp/next.js +5 -0
- package/dist/node_modules/lodash/fp/noop.js +5 -0
- package/dist/node_modules/lodash/fp/now.js +5 -0
- package/dist/node_modules/lodash/fp/nth.js +5 -0
- package/dist/node_modules/lodash/fp/nthArg.js +5 -0
- package/dist/node_modules/lodash/fp/number.js +2 -0
- package/dist/node_modules/lodash/fp/object.js +2 -0
- package/dist/node_modules/lodash/fp/omit.js +5 -0
- package/dist/node_modules/lodash/fp/omitAll.js +1 -0
- package/dist/node_modules/lodash/fp/omitBy.js +5 -0
- package/dist/node_modules/lodash/fp/once.js +5 -0
- package/dist/node_modules/lodash/fp/orderBy.js +5 -0
- package/dist/node_modules/lodash/fp/over.js +5 -0
- package/dist/node_modules/lodash/fp/overArgs.js +5 -0
- package/dist/node_modules/lodash/fp/overEvery.js +5 -0
- package/dist/node_modules/lodash/fp/overSome.js +5 -0
- package/dist/node_modules/lodash/fp/pad.js +5 -0
- package/dist/node_modules/lodash/fp/padChars.js +5 -0
- package/dist/node_modules/lodash/fp/padCharsEnd.js +5 -0
- package/dist/node_modules/lodash/fp/padCharsStart.js +5 -0
- package/dist/node_modules/lodash/fp/padEnd.js +5 -0
- package/dist/node_modules/lodash/fp/padStart.js +5 -0
- package/dist/node_modules/lodash/fp/parseInt.js +5 -0
- package/dist/node_modules/lodash/fp/partial.js +5 -0
- package/dist/node_modules/lodash/fp/partialRight.js +5 -0
- package/dist/node_modules/lodash/fp/partition.js +5 -0
- package/dist/node_modules/lodash/fp/path.js +1 -0
- package/dist/node_modules/lodash/fp/pathEq.js +1 -0
- package/dist/node_modules/lodash/fp/pathOr.js +1 -0
- package/dist/node_modules/lodash/fp/paths.js +1 -0
- package/dist/node_modules/lodash/fp/pick.js +5 -0
- package/dist/node_modules/lodash/fp/pickAll.js +1 -0
- package/dist/node_modules/lodash/fp/pickBy.js +5 -0
- package/dist/node_modules/lodash/fp/pipe.js +1 -0
- package/dist/node_modules/lodash/fp/placeholder.js +6 -0
- package/dist/node_modules/lodash/fp/plant.js +5 -0
- package/dist/node_modules/lodash/fp/pluck.js +1 -0
- package/dist/node_modules/lodash/fp/prop.js +1 -0
- package/dist/node_modules/lodash/fp/propEq.js +1 -0
- package/dist/node_modules/lodash/fp/propOr.js +1 -0
- package/dist/node_modules/lodash/fp/property.js +1 -0
- package/dist/node_modules/lodash/fp/propertyOf.js +5 -0
- package/dist/node_modules/lodash/fp/props.js +1 -0
- package/dist/node_modules/lodash/fp/pull.js +5 -0
- package/dist/node_modules/lodash/fp/pullAll.js +5 -0
- package/dist/node_modules/lodash/fp/pullAllBy.js +5 -0
- package/dist/node_modules/lodash/fp/pullAllWith.js +5 -0
- package/dist/node_modules/lodash/fp/pullAt.js +5 -0
- package/dist/node_modules/lodash/fp/random.js +5 -0
- package/dist/node_modules/lodash/fp/range.js +5 -0
- package/dist/node_modules/lodash/fp/rangeRight.js +5 -0
- package/dist/node_modules/lodash/fp/rangeStep.js +5 -0
- package/dist/node_modules/lodash/fp/rangeStepRight.js +5 -0
- package/dist/node_modules/lodash/fp/rearg.js +5 -0
- package/dist/node_modules/lodash/fp/reduce.js +5 -0
- package/dist/node_modules/lodash/fp/reduceRight.js +5 -0
- package/dist/node_modules/lodash/fp/reject.js +5 -0
- package/dist/node_modules/lodash/fp/remove.js +5 -0
- package/dist/node_modules/lodash/fp/repeat.js +5 -0
- package/dist/node_modules/lodash/fp/replace.js +5 -0
- package/dist/node_modules/lodash/fp/rest.js +5 -0
- package/dist/node_modules/lodash/fp/restFrom.js +5 -0
- package/dist/node_modules/lodash/fp/result.js +5 -0
- package/dist/node_modules/lodash/fp/reverse.js +5 -0
- package/dist/node_modules/lodash/fp/round.js +5 -0
- package/dist/node_modules/lodash/fp/sample.js +5 -0
- package/dist/node_modules/lodash/fp/sampleSize.js +5 -0
- package/dist/node_modules/lodash/fp/seq.js +2 -0
- package/dist/node_modules/lodash/fp/set.js +5 -0
- package/dist/node_modules/lodash/fp/setWith.js +5 -0
- package/dist/node_modules/lodash/fp/shuffle.js +5 -0
- package/dist/node_modules/lodash/fp/size.js +5 -0
- package/dist/node_modules/lodash/fp/slice.js +5 -0
- package/dist/node_modules/lodash/fp/snakeCase.js +5 -0
- package/dist/node_modules/lodash/fp/some.js +5 -0
- package/dist/node_modules/lodash/fp/sortBy.js +5 -0
- package/dist/node_modules/lodash/fp/sortedIndex.js +5 -0
- package/dist/node_modules/lodash/fp/sortedIndexBy.js +5 -0
- package/dist/node_modules/lodash/fp/sortedIndexOf.js +5 -0
- package/dist/node_modules/lodash/fp/sortedLastIndex.js +5 -0
- package/dist/node_modules/lodash/fp/sortedLastIndexBy.js +5 -0
- package/dist/node_modules/lodash/fp/sortedLastIndexOf.js +5 -0
- package/dist/node_modules/lodash/fp/sortedUniq.js +5 -0
- package/dist/node_modules/lodash/fp/sortedUniqBy.js +5 -0
- package/dist/node_modules/lodash/fp/split.js +5 -0
- package/dist/node_modules/lodash/fp/spread.js +5 -0
- package/dist/node_modules/lodash/fp/spreadFrom.js +5 -0
- package/dist/node_modules/lodash/fp/startCase.js +5 -0
- package/dist/node_modules/lodash/fp/startsWith.js +5 -0
- package/dist/node_modules/lodash/fp/string.js +2 -0
- package/dist/node_modules/lodash/fp/stubArray.js +5 -0
- package/dist/node_modules/lodash/fp/stubFalse.js +5 -0
- package/dist/node_modules/lodash/fp/stubObject.js +5 -0
- package/dist/node_modules/lodash/fp/stubString.js +5 -0
- package/dist/node_modules/lodash/fp/stubTrue.js +5 -0
- package/dist/node_modules/lodash/fp/subtract.js +5 -0
- package/dist/node_modules/lodash/fp/sum.js +5 -0
- package/dist/node_modules/lodash/fp/sumBy.js +5 -0
- package/dist/node_modules/lodash/fp/symmetricDifference.js +1 -0
- package/dist/node_modules/lodash/fp/symmetricDifferenceBy.js +1 -0
- package/dist/node_modules/lodash/fp/symmetricDifferenceWith.js +1 -0
- package/dist/node_modules/lodash/fp/tail.js +5 -0
- package/dist/node_modules/lodash/fp/take.js +5 -0
- package/dist/node_modules/lodash/fp/takeLast.js +1 -0
- package/dist/node_modules/lodash/fp/takeLastWhile.js +1 -0
- package/dist/node_modules/lodash/fp/takeRight.js +5 -0
- package/dist/node_modules/lodash/fp/takeRightWhile.js +5 -0
- package/dist/node_modules/lodash/fp/takeWhile.js +5 -0
- package/dist/node_modules/lodash/fp/tap.js +5 -0
- package/dist/node_modules/lodash/fp/template.js +5 -0
- package/dist/node_modules/lodash/fp/templateSettings.js +5 -0
- package/dist/node_modules/lodash/fp/throttle.js +5 -0
- package/dist/node_modules/lodash/fp/thru.js +5 -0
- package/dist/node_modules/lodash/fp/times.js +5 -0
- package/dist/node_modules/lodash/fp/toArray.js +5 -0
- package/dist/node_modules/lodash/fp/toFinite.js +5 -0
- package/dist/node_modules/lodash/fp/toInteger.js +5 -0
- package/dist/node_modules/lodash/fp/toIterator.js +5 -0
- package/dist/node_modules/lodash/fp/toJSON.js +5 -0
- package/dist/node_modules/lodash/fp/toLength.js +5 -0
- package/dist/node_modules/lodash/fp/toLower.js +5 -0
- package/dist/node_modules/lodash/fp/toNumber.js +5 -0
- package/dist/node_modules/lodash/fp/toPairs.js +5 -0
- package/dist/node_modules/lodash/fp/toPairsIn.js +5 -0
- package/dist/node_modules/lodash/fp/toPath.js +5 -0
- package/dist/node_modules/lodash/fp/toPlainObject.js +5 -0
- package/dist/node_modules/lodash/fp/toSafeInteger.js +5 -0
- package/dist/node_modules/lodash/fp/toString.js +5 -0
- package/dist/node_modules/lodash/fp/toUpper.js +5 -0
- package/dist/node_modules/lodash/fp/transform.js +5 -0
- package/dist/node_modules/lodash/fp/trim.js +5 -0
- package/dist/node_modules/lodash/fp/trimChars.js +5 -0
- package/dist/node_modules/lodash/fp/trimCharsEnd.js +5 -0
- package/dist/node_modules/lodash/fp/trimCharsStart.js +5 -0
- package/dist/node_modules/lodash/fp/trimEnd.js +5 -0
- package/dist/node_modules/lodash/fp/trimStart.js +5 -0
- package/dist/node_modules/lodash/fp/truncate.js +5 -0
- package/dist/node_modules/lodash/fp/unapply.js +1 -0
- package/dist/node_modules/lodash/fp/unary.js +5 -0
- package/dist/node_modules/lodash/fp/unescape.js +5 -0
- package/dist/node_modules/lodash/fp/union.js +5 -0
- package/dist/node_modules/lodash/fp/unionBy.js +5 -0
- package/dist/node_modules/lodash/fp/unionWith.js +5 -0
- package/dist/node_modules/lodash/fp/uniq.js +5 -0
- package/dist/node_modules/lodash/fp/uniqBy.js +5 -0
- package/dist/node_modules/lodash/fp/uniqWith.js +5 -0
- package/dist/node_modules/lodash/fp/uniqueId.js +5 -0
- package/dist/node_modules/lodash/fp/unnest.js +1 -0
- package/dist/node_modules/lodash/fp/unset.js +5 -0
- package/dist/node_modules/lodash/fp/unzip.js +5 -0
- package/dist/node_modules/lodash/fp/unzipWith.js +5 -0
- package/dist/node_modules/lodash/fp/update.js +5 -0
- package/dist/node_modules/lodash/fp/updateWith.js +5 -0
- package/dist/node_modules/lodash/fp/upperCase.js +5 -0
- package/dist/node_modules/lodash/fp/upperFirst.js +5 -0
- package/dist/node_modules/lodash/fp/useWith.js +1 -0
- package/dist/node_modules/lodash/fp/util.js +2 -0
- package/dist/node_modules/lodash/fp/value.js +5 -0
- package/dist/node_modules/lodash/fp/valueOf.js +5 -0
- package/dist/node_modules/lodash/fp/values.js +5 -0
- package/dist/node_modules/lodash/fp/valuesIn.js +5 -0
- package/dist/node_modules/lodash/fp/where.js +1 -0
- package/dist/node_modules/lodash/fp/whereEq.js +1 -0
- package/dist/node_modules/lodash/fp/without.js +5 -0
- package/dist/node_modules/lodash/fp/words.js +5 -0
- package/dist/node_modules/lodash/fp/wrap.js +5 -0
- package/dist/node_modules/lodash/fp/wrapperAt.js +5 -0
- package/dist/node_modules/lodash/fp/wrapperChain.js +5 -0
- package/dist/node_modules/lodash/fp/wrapperLodash.js +5 -0
- package/dist/node_modules/lodash/fp/wrapperReverse.js +5 -0
- package/dist/node_modules/lodash/fp/wrapperValue.js +5 -0
- package/dist/node_modules/lodash/fp/xor.js +5 -0
- package/dist/node_modules/lodash/fp/xorBy.js +5 -0
- package/dist/node_modules/lodash/fp/xorWith.js +5 -0
- package/dist/node_modules/lodash/fp/zip.js +5 -0
- package/dist/node_modules/lodash/fp/zipAll.js +5 -0
- package/dist/node_modules/lodash/fp/zipObj.js +1 -0
- package/dist/node_modules/lodash/fp/zipObject.js +5 -0
- package/dist/node_modules/lodash/fp/zipObjectDeep.js +5 -0
- package/dist/node_modules/lodash/fp/zipWith.js +5 -0
- package/dist/node_modules/lodash/fp.js +2 -0
- package/dist/node_modules/lodash/fromPairs.js +28 -0
- package/dist/node_modules/lodash/function.js +25 -0
- package/dist/node_modules/lodash/functions.js +31 -0
- package/dist/node_modules/lodash/functionsIn.js +31 -0
- package/dist/node_modules/lodash/get.js +33 -0
- package/dist/node_modules/lodash/groupBy.js +41 -0
- package/dist/node_modules/lodash/gt.js +29 -0
- package/dist/node_modules/lodash/gte.js +30 -0
- package/dist/node_modules/lodash/has.js +35 -0
- package/dist/node_modules/lodash/hasIn.js +34 -0
- package/dist/node_modules/lodash/head.js +23 -0
- package/dist/node_modules/lodash/identity.js +21 -0
- package/dist/node_modules/lodash/inRange.js +55 -0
- package/dist/node_modules/lodash/includes.js +53 -0
- package/dist/node_modules/lodash/index.js +1 -0
- package/dist/node_modules/lodash/indexOf.js +42 -0
- package/dist/node_modules/lodash/initial.js +22 -0
- package/dist/node_modules/lodash/intersection.js +30 -0
- package/dist/node_modules/lodash/intersectionBy.js +45 -0
- package/dist/node_modules/lodash/intersectionWith.js +41 -0
- package/dist/node_modules/lodash/invert.js +42 -0
- package/dist/node_modules/lodash/invertBy.js +56 -0
- package/dist/node_modules/lodash/invoke.js +24 -0
- package/dist/node_modules/lodash/invokeMap.js +41 -0
- package/dist/node_modules/lodash/isArguments.js +36 -0
- package/dist/node_modules/lodash/isArray.js +26 -0
- package/dist/node_modules/lodash/isArrayBuffer.js +27 -0
- package/dist/node_modules/lodash/isArrayLike.js +33 -0
- package/dist/node_modules/lodash/isArrayLikeObject.js +33 -0
- package/dist/node_modules/lodash/isBoolean.js +29 -0
- package/dist/node_modules/lodash/isBuffer.js +38 -0
- package/dist/node_modules/lodash/isDate.js +27 -0
- package/dist/node_modules/lodash/isElement.js +25 -0
- package/dist/node_modules/lodash/isEmpty.js +77 -0
- package/dist/node_modules/lodash/isEqual.js +35 -0
- package/dist/node_modules/lodash/isEqualWith.js +41 -0
- package/dist/node_modules/lodash/isError.js +36 -0
- package/dist/node_modules/lodash/isFinite.js +36 -0
- package/dist/node_modules/lodash/isFunction.js +37 -0
- package/dist/node_modules/lodash/isInteger.js +33 -0
- package/dist/node_modules/lodash/isLength.js +35 -0
- package/dist/node_modules/lodash/isMap.js +27 -0
- package/dist/node_modules/lodash/isMatch.js +36 -0
- package/dist/node_modules/lodash/isMatchWith.js +41 -0
- package/dist/node_modules/lodash/isNaN.js +38 -0
- package/dist/node_modules/lodash/isNative.js +40 -0
- package/dist/node_modules/lodash/isNil.js +25 -0
- package/dist/node_modules/lodash/isNull.js +22 -0
- package/dist/node_modules/lodash/isNumber.js +38 -0
- package/dist/node_modules/lodash/isObject.js +31 -0
- package/dist/node_modules/lodash/isObjectLike.js +29 -0
- package/dist/node_modules/lodash/isPlainObject.js +62 -0
- package/dist/node_modules/lodash/isRegExp.js +27 -0
- package/dist/node_modules/lodash/isSafeInteger.js +37 -0
- package/dist/node_modules/lodash/isSet.js +27 -0
- package/dist/node_modules/lodash/isString.js +30 -0
- package/dist/node_modules/lodash/isSymbol.js +29 -0
- package/dist/node_modules/lodash/isTypedArray.js +27 -0
- package/dist/node_modules/lodash/isUndefined.js +22 -0
- package/dist/node_modules/lodash/isWeakMap.js +28 -0
- package/dist/node_modules/lodash/isWeakSet.js +28 -0
- package/dist/node_modules/lodash/iteratee.js +53 -0
- package/dist/node_modules/lodash/join.js +26 -0
- package/dist/node_modules/lodash/kebabCase.js +28 -0
- package/dist/node_modules/lodash/keyBy.js +36 -0
- package/dist/node_modules/lodash/keys.js +37 -0
- package/dist/node_modules/lodash/keysIn.js +32 -0
- package/dist/node_modules/lodash/lang.js +58 -0
- package/dist/node_modules/lodash/last.js +20 -0
- package/dist/node_modules/lodash/lastIndexOf.js +46 -0
- package/dist/node_modules/lodash/lodash.js +17209 -0
- package/dist/node_modules/lodash/lodash.min.js +140 -0
- package/dist/node_modules/lodash/lowerCase.js +27 -0
- package/dist/node_modules/lodash/lowerFirst.js +22 -0
- package/dist/node_modules/lodash/lt.js +29 -0
- package/dist/node_modules/lodash/lte.js +30 -0
- package/dist/node_modules/lodash/map.js +53 -0
- package/dist/node_modules/lodash/mapKeys.js +36 -0
- package/dist/node_modules/lodash/mapValues.js +43 -0
- package/dist/node_modules/lodash/matches.js +46 -0
- package/dist/node_modules/lodash/matchesProperty.js +44 -0
- package/dist/node_modules/lodash/math.js +17 -0
- package/dist/node_modules/lodash/max.js +29 -0
- package/dist/node_modules/lodash/maxBy.js +34 -0
- package/dist/node_modules/lodash/mean.js +22 -0
- package/dist/node_modules/lodash/meanBy.js +31 -0
- package/dist/node_modules/lodash/memoize.js +73 -0
- package/dist/node_modules/lodash/merge.js +39 -0
- package/dist/node_modules/lodash/mergeWith.js +39 -0
- package/dist/node_modules/lodash/method.js +34 -0
- package/dist/node_modules/lodash/methodOf.js +33 -0
- package/dist/node_modules/lodash/min.js +29 -0
- package/dist/node_modules/lodash/minBy.js +34 -0
- package/dist/node_modules/lodash/mixin.js +74 -0
- package/dist/node_modules/lodash/multiply.js +22 -0
- package/dist/node_modules/lodash/negate.js +40 -0
- package/dist/node_modules/lodash/next.js +35 -0
- package/dist/node_modules/lodash/noop.js +17 -0
- package/dist/node_modules/lodash/now.js +23 -0
- package/dist/node_modules/lodash/nth.js +29 -0
- package/dist/node_modules/lodash/nthArg.js +32 -0
- package/dist/node_modules/lodash/number.js +5 -0
- package/dist/node_modules/lodash/object.js +49 -0
- package/dist/node_modules/lodash/omit.js +57 -0
- package/dist/node_modules/lodash/omitBy.js +29 -0
- package/dist/node_modules/lodash/once.js +25 -0
- package/dist/node_modules/lodash/orderBy.js +47 -0
- package/dist/node_modules/lodash/over.js +24 -0
- package/dist/node_modules/lodash/overArgs.js +61 -0
- package/dist/node_modules/lodash/overEvery.js +34 -0
- package/dist/node_modules/lodash/overSome.js +37 -0
- package/dist/node_modules/lodash/package.json +17 -0
- package/dist/node_modules/lodash/pad.js +49 -0
- package/dist/node_modules/lodash/padEnd.js +39 -0
- package/dist/node_modules/lodash/padStart.js +39 -0
- package/dist/node_modules/lodash/parseInt.js +43 -0
- package/dist/node_modules/lodash/partial.js +50 -0
- package/dist/node_modules/lodash/partialRight.js +49 -0
- package/dist/node_modules/lodash/partition.js +43 -0
- package/dist/node_modules/lodash/pick.js +25 -0
- package/dist/node_modules/lodash/pickBy.js +37 -0
- package/dist/node_modules/lodash/plant.js +48 -0
- package/dist/node_modules/lodash/property.js +32 -0
- package/dist/node_modules/lodash/propertyOf.js +30 -0
- package/dist/node_modules/lodash/pull.js +29 -0
- package/dist/node_modules/lodash/pullAll.js +29 -0
- package/dist/node_modules/lodash/pullAllBy.js +33 -0
- package/dist/node_modules/lodash/pullAllWith.js +32 -0
- package/dist/node_modules/lodash/pullAt.js +43 -0
- package/dist/node_modules/lodash/random.js +82 -0
- package/dist/node_modules/lodash/range.js +46 -0
- package/dist/node_modules/lodash/rangeRight.js +41 -0
- package/dist/node_modules/lodash/rearg.js +33 -0
- package/dist/node_modules/lodash/reduce.js +51 -0
- package/dist/node_modules/lodash/reduceRight.js +36 -0
- package/dist/node_modules/lodash/reject.js +46 -0
- package/dist/node_modules/lodash/release.md +48 -0
- package/dist/node_modules/lodash/remove.js +53 -0
- package/dist/node_modules/lodash/repeat.js +37 -0
- package/dist/node_modules/lodash/replace.js +29 -0
- package/dist/node_modules/lodash/rest.js +40 -0
- package/dist/node_modules/lodash/result.js +56 -0
- package/dist/node_modules/lodash/reverse.js +34 -0
- package/dist/node_modules/lodash/round.js +26 -0
- package/dist/node_modules/lodash/sample.js +24 -0
- package/dist/node_modules/lodash/sampleSize.js +37 -0
- package/dist/node_modules/lodash/seq.js +16 -0
- package/dist/node_modules/lodash/set.js +35 -0
- package/dist/node_modules/lodash/setWith.js +32 -0
- package/dist/node_modules/lodash/shuffle.js +25 -0
- package/dist/node_modules/lodash/size.js +46 -0
- package/dist/node_modules/lodash/slice.js +37 -0
- package/dist/node_modules/lodash/snakeCase.js +28 -0
- package/dist/node_modules/lodash/some.js +51 -0
- package/dist/node_modules/lodash/sortBy.js +48 -0
- package/dist/node_modules/lodash/sortedIndex.js +24 -0
- package/dist/node_modules/lodash/sortedIndexBy.js +33 -0
- package/dist/node_modules/lodash/sortedIndexOf.js +31 -0
- package/dist/node_modules/lodash/sortedLastIndex.js +25 -0
- package/dist/node_modules/lodash/sortedLastIndexBy.js +33 -0
- package/dist/node_modules/lodash/sortedLastIndexOf.js +31 -0
- package/dist/node_modules/lodash/sortedUniq.js +24 -0
- package/dist/node_modules/lodash/sortedUniqBy.js +26 -0
- package/dist/node_modules/lodash/split.js +52 -0
- package/dist/node_modules/lodash/spread.js +63 -0
- package/dist/node_modules/lodash/startCase.js +29 -0
- package/dist/node_modules/lodash/startsWith.js +39 -0
- package/dist/node_modules/lodash/string.js +33 -0
- package/dist/node_modules/lodash/stubArray.js +23 -0
- package/dist/node_modules/lodash/stubFalse.js +18 -0
- package/dist/node_modules/lodash/stubObject.js +23 -0
- package/dist/node_modules/lodash/stubString.js +18 -0
- package/dist/node_modules/lodash/stubTrue.js +18 -0
- package/dist/node_modules/lodash/subtract.js +22 -0
- package/dist/node_modules/lodash/sum.js +24 -0
- package/dist/node_modules/lodash/sumBy.js +33 -0
- package/dist/node_modules/lodash/tail.js +22 -0
- package/dist/node_modules/lodash/take.js +37 -0
- package/dist/node_modules/lodash/takeRight.js +39 -0
- package/dist/node_modules/lodash/takeRightWhile.js +45 -0
- package/dist/node_modules/lodash/takeWhile.js +45 -0
- package/dist/node_modules/lodash/tap.js +29 -0
- package/dist/node_modules/lodash/template.js +272 -0
- package/dist/node_modules/lodash/templateSettings.js +67 -0
- package/dist/node_modules/lodash/throttle.js +69 -0
- package/dist/node_modules/lodash/thru.js +28 -0
- package/dist/node_modules/lodash/times.js +51 -0
- package/dist/node_modules/lodash/toArray.js +58 -0
- package/dist/node_modules/lodash/toFinite.js +42 -0
- package/dist/node_modules/lodash/toInteger.js +36 -0
- package/dist/node_modules/lodash/toIterator.js +23 -0
- package/dist/node_modules/lodash/toJSON.js +1 -0
- package/dist/node_modules/lodash/toLength.js +38 -0
- package/dist/node_modules/lodash/toLower.js +28 -0
- package/dist/node_modules/lodash/toNumber.js +64 -0
- package/dist/node_modules/lodash/toPairs.js +30 -0
- package/dist/node_modules/lodash/toPairsIn.js +30 -0
- package/dist/node_modules/lodash/toPath.js +33 -0
- package/dist/node_modules/lodash/toPlainObject.js +32 -0
- package/dist/node_modules/lodash/toSafeInteger.js +37 -0
- package/dist/node_modules/lodash/toString.js +28 -0
- package/dist/node_modules/lodash/toUpper.js +28 -0
- package/dist/node_modules/lodash/transform.js +65 -0
- package/dist/node_modules/lodash/trim.js +47 -0
- package/dist/node_modules/lodash/trimEnd.js +41 -0
- package/dist/node_modules/lodash/trimStart.js +43 -0
- package/dist/node_modules/lodash/truncate.js +111 -0
- package/dist/node_modules/lodash/unary.js +22 -0
- package/dist/node_modules/lodash/unescape.js +34 -0
- package/dist/node_modules/lodash/union.js +26 -0
- package/dist/node_modules/lodash/unionBy.js +39 -0
- package/dist/node_modules/lodash/unionWith.js +34 -0
- package/dist/node_modules/lodash/uniq.js +25 -0
- package/dist/node_modules/lodash/uniqBy.js +31 -0
- package/dist/node_modules/lodash/uniqWith.js +28 -0
- package/dist/node_modules/lodash/uniqueId.js +28 -0
- package/dist/node_modules/lodash/unset.js +34 -0
- package/dist/node_modules/lodash/unzip.js +45 -0
- package/dist/node_modules/lodash/unzipWith.js +39 -0
- package/dist/node_modules/lodash/update.js +35 -0
- package/dist/node_modules/lodash/updateWith.js +33 -0
- package/dist/node_modules/lodash/upperCase.js +27 -0
- package/dist/node_modules/lodash/upperFirst.js +22 -0
- package/dist/node_modules/lodash/util.js +34 -0
- package/dist/node_modules/lodash/value.js +1 -0
- package/dist/node_modules/lodash/valueOf.js +1 -0
- package/dist/node_modules/lodash/values.js +34 -0
- package/dist/node_modules/lodash/valuesIn.js +32 -0
- package/dist/node_modules/lodash/without.js +31 -0
- package/dist/node_modules/lodash/words.js +35 -0
- package/dist/node_modules/lodash/wrap.js +30 -0
- package/dist/node_modules/lodash/wrapperAt.js +48 -0
- package/dist/node_modules/lodash/wrapperChain.js +34 -0
- package/dist/node_modules/lodash/wrapperLodash.js +147 -0
- package/dist/node_modules/lodash/wrapperReverse.js +44 -0
- package/dist/node_modules/lodash/wrapperValue.js +21 -0
- package/dist/node_modules/lodash/xor.js +28 -0
- package/dist/node_modules/lodash/xorBy.js +39 -0
- package/dist/node_modules/lodash/xorWith.js +34 -0
- package/dist/node_modules/lodash/zip.js +22 -0
- package/dist/node_modules/lodash/zipObject.js +24 -0
- package/dist/node_modules/lodash/zipObjectDeep.js +23 -0
- package/dist/node_modules/lodash/zipWith.js +32 -0
- package/dist/node_modules/long/LICENSE +202 -0
- package/dist/node_modules/long/README.md +286 -0
- package/dist/node_modules/long/index.d.ts +2 -0
- package/dist/node_modules/long/index.js +1581 -0
- package/dist/node_modules/long/package.json +58 -0
- package/dist/node_modules/long/types.d.ts +474 -0
- package/dist/node_modules/long/umd/index.d.ts +3 -0
- package/dist/node_modules/long/umd/index.js +1622 -0
- package/dist/node_modules/long/umd/package.json +3 -0
- package/dist/node_modules/long/umd/types.d.ts +474 -0
- package/dist/node_modules/lru-cache/LICENSE +15 -0
- package/dist/node_modules/lru-cache/README.md +331 -0
- package/dist/node_modules/lru-cache/dist/commonjs/index.d.ts +1277 -0
- package/dist/node_modules/lru-cache/dist/commonjs/index.d.ts.map +1 -0
- package/dist/node_modules/lru-cache/dist/commonjs/index.js +1546 -0
- package/dist/node_modules/lru-cache/dist/commonjs/index.js.map +1 -0
- package/dist/node_modules/lru-cache/dist/commonjs/index.min.js +2 -0
- package/dist/node_modules/lru-cache/dist/commonjs/index.min.js.map +7 -0
- package/dist/node_modules/lru-cache/dist/commonjs/package.json +3 -0
- package/dist/node_modules/lru-cache/dist/esm/index.d.ts +1277 -0
- package/dist/node_modules/lru-cache/dist/esm/index.d.ts.map +1 -0
- package/dist/node_modules/lru-cache/dist/esm/index.js +1542 -0
- package/dist/node_modules/lru-cache/dist/esm/index.js.map +1 -0
- package/dist/node_modules/lru-cache/dist/esm/index.min.js +2 -0
- package/dist/node_modules/lru-cache/dist/esm/index.min.js.map +7 -0
- package/dist/node_modules/lru-cache/dist/esm/package.json +3 -0
- package/dist/node_modules/lru-cache/package.json +116 -0
- package/dist/node_modules/math-intrinsics/.eslintrc +16 -0
- package/dist/node_modules/math-intrinsics/.github/FUNDING.yml +12 -0
- package/dist/node_modules/math-intrinsics/CHANGELOG.md +24 -0
- package/dist/node_modules/math-intrinsics/LICENSE +21 -0
- package/dist/node_modules/math-intrinsics/README.md +50 -0
- package/dist/node_modules/math-intrinsics/abs.d.ts +1 -0
- package/dist/node_modules/math-intrinsics/abs.js +4 -0
- package/dist/node_modules/math-intrinsics/constants/maxArrayLength.d.ts +3 -0
- package/dist/node_modules/math-intrinsics/constants/maxArrayLength.js +4 -0
- package/dist/node_modules/math-intrinsics/constants/maxSafeInteger.d.ts +3 -0
- package/dist/node_modules/math-intrinsics/constants/maxSafeInteger.js +5 -0
- package/dist/node_modules/math-intrinsics/constants/maxValue.d.ts +3 -0
- package/dist/node_modules/math-intrinsics/constants/maxValue.js +5 -0
- package/dist/node_modules/math-intrinsics/floor.d.ts +1 -0
- package/dist/node_modules/math-intrinsics/floor.js +4 -0
- package/dist/node_modules/math-intrinsics/isFinite.d.ts +3 -0
- package/dist/node_modules/math-intrinsics/isFinite.js +12 -0
- package/dist/node_modules/math-intrinsics/isInteger.d.ts +3 -0
- package/dist/node_modules/math-intrinsics/isInteger.js +16 -0
- package/dist/node_modules/math-intrinsics/isNaN.d.ts +1 -0
- package/dist/node_modules/math-intrinsics/isNaN.js +6 -0
- package/dist/node_modules/math-intrinsics/isNegativeZero.d.ts +3 -0
- package/dist/node_modules/math-intrinsics/isNegativeZero.js +6 -0
- package/dist/node_modules/math-intrinsics/max.d.ts +1 -0
- package/dist/node_modules/math-intrinsics/max.js +4 -0
- package/dist/node_modules/math-intrinsics/min.d.ts +1 -0
- package/dist/node_modules/math-intrinsics/min.js +4 -0
- package/dist/node_modules/math-intrinsics/mod.d.ts +3 -0
- package/dist/node_modules/math-intrinsics/mod.js +9 -0
- package/dist/node_modules/math-intrinsics/package.json +86 -0
- package/dist/node_modules/math-intrinsics/pow.d.ts +1 -0
- package/dist/node_modules/math-intrinsics/pow.js +4 -0
- package/dist/node_modules/math-intrinsics/round.d.ts +1 -0
- package/dist/node_modules/math-intrinsics/round.js +4 -0
- package/dist/node_modules/math-intrinsics/sign.d.ts +3 -0
- package/dist/node_modules/math-intrinsics/sign.js +11 -0
- package/dist/node_modules/math-intrinsics/test/index.js +192 -0
- package/dist/node_modules/math-intrinsics/tsconfig.json +3 -0
- package/dist/node_modules/mime-db/HISTORY.md +507 -0
- package/dist/node_modules/mime-db/LICENSE +23 -0
- package/dist/node_modules/mime-db/README.md +100 -0
- package/dist/node_modules/mime-db/db.json +8519 -0
- package/dist/node_modules/mime-db/index.js +12 -0
- package/dist/node_modules/mime-db/package.json +60 -0
- package/dist/node_modules/mime-types/HISTORY.md +397 -0
- package/dist/node_modules/mime-types/LICENSE +23 -0
- package/dist/node_modules/mime-types/README.md +113 -0
- package/dist/node_modules/mime-types/index.js +188 -0
- package/dist/node_modules/mime-types/package.json +44 -0
- package/dist/node_modules/minimist/.eslintrc +29 -0
- package/dist/node_modules/minimist/.github/FUNDING.yml +12 -0
- package/dist/node_modules/minimist/.nycrc +14 -0
- package/dist/node_modules/minimist/CHANGELOG.md +298 -0
- package/dist/node_modules/minimist/LICENSE +18 -0
- package/dist/node_modules/minimist/README.md +121 -0
- package/dist/node_modules/minimist/example/parse.js +4 -0
- package/dist/node_modules/minimist/index.js +263 -0
- package/dist/node_modules/minimist/package.json +75 -0
- package/dist/node_modules/minimist/test/all_bool.js +34 -0
- package/dist/node_modules/minimist/test/bool.js +177 -0
- package/dist/node_modules/minimist/test/dash.js +43 -0
- package/dist/node_modules/minimist/test/default_bool.js +37 -0
- package/dist/node_modules/minimist/test/dotted.js +24 -0
- package/dist/node_modules/minimist/test/kv_short.js +32 -0
- package/dist/node_modules/minimist/test/long.js +33 -0
- package/dist/node_modules/minimist/test/num.js +38 -0
- package/dist/node_modules/minimist/test/parse.js +209 -0
- package/dist/node_modules/minimist/test/parse_modified.js +11 -0
- package/dist/node_modules/minimist/test/proto.js +64 -0
- package/dist/node_modules/minimist/test/short.js +69 -0
- package/dist/node_modules/minimist/test/stop_early.js +17 -0
- package/dist/node_modules/minimist/test/unknown.js +104 -0
- package/dist/node_modules/minimist/test/whitespace.js +10 -0
- package/dist/node_modules/mqtt/CONTRIBUTING.md +27 -0
- package/dist/node_modules/mqtt/LICENSE.md +15 -0
- package/dist/node_modules/mqtt/README.md +977 -0
- package/dist/node_modules/mqtt/build/bin/mqtt.d.ts +2 -0
- package/dist/node_modules/mqtt/build/bin/mqtt.js +30 -0
- package/dist/node_modules/mqtt/build/bin/mqtt.js.map +1 -0
- package/dist/node_modules/mqtt/build/bin/pub.d.ts +2 -0
- package/dist/node_modules/mqtt/build/bin/pub.js +146 -0
- package/dist/node_modules/mqtt/build/bin/pub.js.map +1 -0
- package/dist/node_modules/mqtt/build/bin/sub.d.ts +2 -0
- package/dist/node_modules/mqtt/build/bin/sub.js +121 -0
- package/dist/node_modules/mqtt/build/bin/sub.js.map +1 -0
- package/dist/node_modules/mqtt/build/index.d.ts +3 -0
- package/dist/node_modules/mqtt/build/index.js +42 -0
- package/dist/node_modules/mqtt/build/index.js.map +1 -0
- package/dist/node_modules/mqtt/build/lib/BufferedDuplex.d.ts +20 -0
- package/dist/node_modules/mqtt/build/lib/BufferedDuplex.js +82 -0
- package/dist/node_modules/mqtt/build/lib/BufferedDuplex.js.map +1 -0
- package/dist/node_modules/mqtt/build/lib/KeepaliveManager.d.ts +21 -0
- package/dist/node_modules/mqtt/build/lib/KeepaliveManager.js +78 -0
- package/dist/node_modules/mqtt/build/lib/KeepaliveManager.js.map +1 -0
- package/dist/node_modules/mqtt/build/lib/TypedEmitter.d.ts +19 -0
- package/dist/node_modules/mqtt/build/lib/TypedEmitter.js +13 -0
- package/dist/node_modules/mqtt/build/lib/TypedEmitter.js.map +1 -0
- package/dist/node_modules/mqtt/build/lib/client.d.ts +237 -0
- package/dist/node_modules/mqtt/build/lib/client.js +1289 -0
- package/dist/node_modules/mqtt/build/lib/client.js.map +1 -0
- package/dist/node_modules/mqtt/build/lib/connect/ali.d.ts +3 -0
- package/dist/node_modules/mqtt/build/lib/connect/ali.js +107 -0
- package/dist/node_modules/mqtt/build/lib/connect/ali.js.map +1 -0
- package/dist/node_modules/mqtt/build/lib/connect/index.d.ts +10 -0
- package/dist/node_modules/mqtt/build/lib/connect/index.js +198 -0
- package/dist/node_modules/mqtt/build/lib/connect/index.js.map +1 -0
- package/dist/node_modules/mqtt/build/lib/connect/socks.d.ts +8 -0
- package/dist/node_modules/mqtt/build/lib/connect/socks.js +181 -0
- package/dist/node_modules/mqtt/build/lib/connect/socks.js.map +1 -0
- package/dist/node_modules/mqtt/build/lib/connect/tcp.d.ts +3 -0
- package/dist/node_modules/mqtt/build/lib/connect/tcp.js +24 -0
- package/dist/node_modules/mqtt/build/lib/connect/tcp.js.map +1 -0
- package/dist/node_modules/mqtt/build/lib/connect/tls.d.ts +3 -0
- package/dist/node_modules/mqtt/build/lib/connect/tls.js +52 -0
- package/dist/node_modules/mqtt/build/lib/connect/tls.js.map +1 -0
- package/dist/node_modules/mqtt/build/lib/connect/ws.d.ts +4 -0
- package/dist/node_modules/mqtt/build/lib/connect/ws.js +220 -0
- package/dist/node_modules/mqtt/build/lib/connect/ws.js.map +1 -0
- package/dist/node_modules/mqtt/build/lib/connect/wx.d.ts +6 -0
- package/dist/node_modules/mqtt/build/lib/connect/wx.js +115 -0
- package/dist/node_modules/mqtt/build/lib/connect/wx.js.map +1 -0
- package/dist/node_modules/mqtt/build/lib/default-message-id-provider.d.ts +16 -0
- package/dist/node_modules/mqtt/build/lib/default-message-id-provider.js +25 -0
- package/dist/node_modules/mqtt/build/lib/default-message-id-provider.js.map +1 -0
- package/dist/node_modules/mqtt/build/lib/get-timer.d.ts +8 -0
- package/dist/node_modules/mqtt/build/lib/get-timer.js +63 -0
- package/dist/node_modules/mqtt/build/lib/get-timer.js.map +1 -0
- package/dist/node_modules/mqtt/build/lib/handlers/ack.d.ts +48 -0
- package/dist/node_modules/mqtt/build/lib/handlers/ack.js +131 -0
- package/dist/node_modules/mqtt/build/lib/handlers/ack.js.map +1 -0
- package/dist/node_modules/mqtt/build/lib/handlers/auth.d.ts +3 -0
- package/dist/node_modules/mqtt/build/lib/handlers/auth.js +30 -0
- package/dist/node_modules/mqtt/build/lib/handlers/auth.js.map +1 -0
- package/dist/node_modules/mqtt/build/lib/handlers/connack.d.ts +3 -0
- package/dist/node_modules/mqtt/build/lib/handlers/connack.js +50 -0
- package/dist/node_modules/mqtt/build/lib/handlers/connack.js.map +1 -0
- package/dist/node_modules/mqtt/build/lib/handlers/index.d.ts +3 -0
- package/dist/node_modules/mqtt/build/lib/handlers/index.js +68 -0
- package/dist/node_modules/mqtt/build/lib/handlers/index.js.map +1 -0
- package/dist/node_modules/mqtt/build/lib/handlers/publish.d.ts +3 -0
- package/dist/node_modules/mqtt/build/lib/handlers/publish.js +106 -0
- package/dist/node_modules/mqtt/build/lib/handlers/publish.js.map +1 -0
- package/dist/node_modules/mqtt/build/lib/handlers/pubrel.d.ts +3 -0
- package/dist/node_modules/mqtt/build/lib/handlers/pubrel.js +25 -0
- package/dist/node_modules/mqtt/build/lib/handlers/pubrel.js.map +1 -0
- package/dist/node_modules/mqtt/build/lib/is-browser.d.ts +7 -0
- package/dist/node_modules/mqtt/build/lib/is-browser.js +24 -0
- package/dist/node_modules/mqtt/build/lib/is-browser.js.map +1 -0
- package/dist/node_modules/mqtt/build/lib/shared.d.ts +27 -0
- package/dist/node_modules/mqtt/build/lib/shared.js +52 -0
- package/dist/node_modules/mqtt/build/lib/shared.js.map +1 -0
- package/dist/node_modules/mqtt/build/lib/store.d.ts +24 -0
- package/dist/node_modules/mqtt/build/lib/store.js +82 -0
- package/dist/node_modules/mqtt/build/lib/store.js.map +1 -0
- package/dist/node_modules/mqtt/build/lib/topic-alias-recv.d.ts +9 -0
- package/dist/node_modules/mqtt/build/lib/topic-alias-recv.js +27 -0
- package/dist/node_modules/mqtt/build/lib/topic-alias-recv.js.map +1 -0
- package/dist/node_modules/mqtt/build/lib/topic-alias-send.d.ts +13 -0
- package/dist/node_modules/mqtt/build/lib/topic-alias-send.js +58 -0
- package/dist/node_modules/mqtt/build/lib/topic-alias-send.js.map +1 -0
- package/dist/node_modules/mqtt/build/lib/unique-message-id-provider.d.ts +11 -0
- package/dist/node_modules/mqtt/build/lib/unique-message-id-provider.js +28 -0
- package/dist/node_modules/mqtt/build/lib/unique-message-id-provider.js.map +1 -0
- package/dist/node_modules/mqtt/build/lib/validations.d.ts +2 -0
- package/dist/node_modules/mqtt/build/lib/validations.js +31 -0
- package/dist/node_modules/mqtt/build/lib/validations.js.map +1 -0
- package/dist/node_modules/mqtt/build/mqtt.d.ts +12 -0
- package/dist/node_modules/mqtt/build/mqtt.js +61 -0
- package/dist/node_modules/mqtt/build/mqtt.js.map +1 -0
- package/dist/node_modules/mqtt/build/tsconfig.build.tsbuildinfo +1 -0
- package/dist/node_modules/mqtt/dist/mqtt.esm.js +19 -0
- package/dist/node_modules/mqtt/dist/mqtt.js +23895 -0
- package/dist/node_modules/mqtt/dist/mqtt.min.js +19 -0
- package/dist/node_modules/mqtt/help/help.txt +8 -0
- package/dist/node_modules/mqtt/help/publish.txt +26 -0
- package/dist/node_modules/mqtt/help/subscribe.txt +26 -0
- package/dist/node_modules/mqtt/package.json +175 -0
- package/dist/node_modules/mqtt-packet/.github/workflows/ci.yml +27 -0
- package/dist/node_modules/mqtt-packet/CONTRIBUTING.md +27 -0
- package/dist/node_modules/mqtt-packet/LICENSE.md +13 -0
- package/dist/node_modules/mqtt-packet/README.md +491 -0
- package/dist/node_modules/mqtt-packet/benchmarks/generate.js +26 -0
- package/dist/node_modules/mqtt-packet/benchmarks/generateNet.js +50 -0
- package/dist/node_modules/mqtt-packet/benchmarks/parse.js +19 -0
- package/dist/node_modules/mqtt-packet/benchmarks/writeToStream.js +48 -0
- package/dist/node_modules/mqtt-packet/constants.js +291 -0
- package/dist/node_modules/mqtt-packet/generate.js +57 -0
- package/dist/node_modules/mqtt-packet/mqtt.js +3 -0
- package/dist/node_modules/mqtt-packet/numbers.js +59 -0
- package/dist/node_modules/mqtt-packet/package.json +48 -0
- package/dist/node_modules/mqtt-packet/packet.js +13 -0
- package/dist/node_modules/mqtt-packet/parser.js +809 -0
- package/dist/node_modules/mqtt-packet/test.js +3234 -0
- package/dist/node_modules/mqtt-packet/testRandom.js +86 -0
- package/dist/node_modules/mqtt-packet/types/index.d.ts +257 -0
- package/dist/node_modules/mqtt-packet/writeToStream.js +1129 -0
- package/dist/node_modules/ms/index.js +162 -0
- package/dist/node_modules/ms/license.md +21 -0
- package/dist/node_modules/ms/package.json +38 -0
- package/dist/node_modules/ms/readme.md +59 -0
- package/dist/node_modules/node-domexception/.history/README_20210527203617.md +2 -0
- package/dist/node_modules/node-domexception/.history/README_20210527212714.md +41 -0
- package/dist/node_modules/node-domexception/.history/README_20210527213345.md +36 -0
- package/dist/node_modules/node-domexception/.history/README_20210527213411.md +36 -0
- package/dist/node_modules/node-domexception/.history/README_20210527213803.md +36 -0
- package/dist/node_modules/node-domexception/.history/README_20210527214323.md +38 -0
- package/dist/node_modules/node-domexception/.history/README_20210527214408.md +38 -0
- package/dist/node_modules/node-domexception/.history/index_20210527203842.js +0 -0
- package/dist/node_modules/node-domexception/.history/index_20210527203947.js +8 -0
- package/dist/node_modules/node-domexception/.history/index_20210527204259.js +9 -0
- package/dist/node_modules/node-domexception/.history/index_20210527204418.js +9 -0
- package/dist/node_modules/node-domexception/.history/index_20210527204756.js +11 -0
- package/dist/node_modules/node-domexception/.history/index_20210527204833.js +11 -0
- package/dist/node_modules/node-domexception/.history/index_20210527211208.js +15 -0
- package/dist/node_modules/node-domexception/.history/index_20210527211248.js +15 -0
- package/dist/node_modules/node-domexception/.history/index_20210527212722.js +23 -0
- package/dist/node_modules/node-domexception/.history/index_20210527212731.js +23 -0
- package/dist/node_modules/node-domexception/.history/index_20210527212746.js +15 -0
- package/dist/node_modules/node-domexception/.history/index_20210527212900.js +16 -0
- package/dist/node_modules/node-domexception/.history/index_20210527213022.js +16 -0
- package/dist/node_modules/node-domexception/.history/index_20210527213822.js +16 -0
- package/dist/node_modules/node-domexception/.history/index_20210527213843.js +17 -0
- package/dist/node_modules/node-domexception/.history/index_20210527213852.js +17 -0
- package/dist/node_modules/node-domexception/.history/index_20210527213910.js +16 -0
- package/dist/node_modules/node-domexception/.history/index_20210527214034.js +16 -0
- package/dist/node_modules/node-domexception/.history/index_20210527214643.js +41 -0
- package/dist/node_modules/node-domexception/.history/index_20210527214654.js +41 -0
- package/dist/node_modules/node-domexception/.history/index_20210527214700.js +16 -0
- package/dist/node_modules/node-domexception/.history/package_20210527203733.json +19 -0
- package/dist/node_modules/node-domexception/.history/package_20210527203825.json +16 -0
- package/dist/node_modules/node-domexception/.history/package_20210527204621.json +19 -0
- package/dist/node_modules/node-domexception/.history/package_20210527204913.json +25 -0
- package/dist/node_modules/node-domexception/.history/package_20210527204925.json +25 -0
- package/dist/node_modules/node-domexception/.history/package_20210527205145.json +29 -0
- package/dist/node_modules/node-domexception/.history/package_20210527205156.json +29 -0
- package/dist/node_modules/node-domexception/.history/test_20210527205603.js +0 -0
- package/dist/node_modules/node-domexception/.history/test_20210527205957.js +3 -0
- package/dist/node_modules/node-domexception/.history/test_20210527210021.js +3 -0
- package/dist/node_modules/node-domexception/LICENSE +21 -0
- package/dist/node_modules/node-domexception/README.md +46 -0
- package/dist/node_modules/node-domexception/index.js +16 -0
- package/dist/node_modules/node-domexception/package.json +29 -0
- package/dist/node_modules/node-fetch/@types/index.d.ts +219 -0
- package/dist/node_modules/node-fetch/LICENSE.md +22 -0
- package/dist/node_modules/node-fetch/README.md +872 -0
- package/dist/node_modules/node-fetch/package.json +131 -0
- package/dist/node_modules/node-fetch/src/body.js +397 -0
- package/dist/node_modules/node-fetch/src/errors/abort-error.js +10 -0
- package/dist/node_modules/node-fetch/src/errors/base.js +17 -0
- package/dist/node_modules/node-fetch/src/errors/fetch-error.js +26 -0
- package/dist/node_modules/node-fetch/src/headers.js +267 -0
- package/dist/node_modules/node-fetch/src/index.js +417 -0
- package/dist/node_modules/node-fetch/src/request.js +313 -0
- package/dist/node_modules/node-fetch/src/response.js +160 -0
- package/dist/node_modules/node-fetch/src/utils/get-search.js +9 -0
- package/dist/node_modules/node-fetch/src/utils/is-redirect.js +11 -0
- package/dist/node_modules/node-fetch/src/utils/is.js +87 -0
- package/dist/node_modules/node-fetch/src/utils/multipart-parser.js +432 -0
- package/dist/node_modules/node-fetch/src/utils/referrer.js +340 -0
- package/dist/node_modules/node-persist/LICENSE +21 -0
- package/dist/node_modules/node-persist/README.md +246 -0
- package/dist/node_modules/node-persist/examples/counter/counter.js +89 -0
- package/dist/node_modules/node-persist/package.json +49 -0
- package/dist/node_modules/node-persist/src/local-storage.js +521 -0
- package/dist/node_modules/node-persist/src/node-persist.js +53 -0
- package/dist/node_modules/node-persist/tests/index.js +400 -0
- package/dist/node_modules/number-allocator/.github/workflows/nodejs.yml +33 -0
- package/dist/node_modules/number-allocator/CHANGELOG.md +47 -0
- package/dist/node_modules/number-allocator/LICENSE +21 -0
- package/dist/node_modules/number-allocator/README.md +203 -0
- package/dist/node_modules/number-allocator/index.js +7 -0
- package/dist/node_modules/number-allocator/karma.conf.js +63 -0
- package/dist/node_modules/number-allocator/lib/number-allocator.js +249 -0
- package/dist/node_modules/number-allocator/package.json +69 -0
- package/dist/node_modules/number-allocator/test/test.js +337 -0
- package/dist/node_modules/number-allocator/test/typescript/test.ts +24 -0
- package/dist/node_modules/number-allocator/test/typescript/tsconfig.json +14 -0
- package/dist/node_modules/number-allocator/types/index.d.ts +1 -0
- package/dist/node_modules/number-allocator/types/lib/number-allocator.d.ts +65 -0
- package/dist/node_modules/p-limit/index.d.ts +42 -0
- package/dist/node_modules/p-limit/index.js +71 -0
- package/dist/node_modules/p-limit/license +9 -0
- package/dist/node_modules/p-limit/package.json +52 -0
- package/dist/node_modules/p-limit/readme.md +101 -0
- package/dist/node_modules/pako/LICENSE +21 -0
- package/dist/node_modules/pako/README.md +177 -0
- package/dist/node_modules/pako/dist/pako.es5.js +6688 -0
- package/dist/node_modules/pako/dist/pako.es5.min.js +2 -0
- package/dist/node_modules/pako/dist/pako.esm.mjs +6877 -0
- package/dist/node_modules/pako/dist/pako.js +6896 -0
- package/dist/node_modules/pako/dist/pako.min.js +2 -0
- package/dist/node_modules/pako/dist/pako_deflate.es5.js +3924 -0
- package/dist/node_modules/pako/dist/pako_deflate.es5.min.js +2 -0
- package/dist/node_modules/pako/dist/pako_deflate.js +4126 -0
- package/dist/node_modules/pako/dist/pako_deflate.min.js +2 -0
- package/dist/node_modules/pako/dist/pako_inflate.es5.js +3229 -0
- package/dist/node_modules/pako/dist/pako_inflate.es5.min.js +2 -0
- package/dist/node_modules/pako/dist/pako_inflate.js +3239 -0
- package/dist/node_modules/pako/dist/pako_inflate.min.js +2 -0
- package/dist/node_modules/pako/index.js +18 -0
- package/dist/node_modules/pako/lib/deflate.js +380 -0
- package/dist/node_modules/pako/lib/inflate.js +419 -0
- package/dist/node_modules/pako/lib/utils/common.js +48 -0
- package/dist/node_modules/pako/lib/utils/strings.js +174 -0
- package/dist/node_modules/pako/lib/zlib/README +59 -0
- package/dist/node_modules/pako/lib/zlib/adler32.js +51 -0
- package/dist/node_modules/pako/lib/zlib/constants.js +68 -0
- package/dist/node_modules/pako/lib/zlib/crc32.js +59 -0
- package/dist/node_modules/pako/lib/zlib/deflate.js +2048 -0
- package/dist/node_modules/pako/lib/zlib/gzheader.js +58 -0
- package/dist/node_modules/pako/lib/zlib/inffast.js +344 -0
- package/dist/node_modules/pako/lib/zlib/inflate.js +1572 -0
- package/dist/node_modules/pako/lib/zlib/inftrees.js +340 -0
- package/dist/node_modules/pako/lib/zlib/messages.js +32 -0
- package/dist/node_modules/pako/lib/zlib/trees.js +1179 -0
- package/dist/node_modules/pako/lib/zlib/zstream.js +47 -0
- package/dist/node_modules/pako/package.json +64 -0
- package/dist/node_modules/process/.eslintrc +21 -0
- package/dist/node_modules/process/LICENSE +22 -0
- package/dist/node_modules/process/README.md +26 -0
- package/dist/node_modules/process/browser.js +184 -0
- package/dist/node_modules/process/index.js +2 -0
- package/dist/node_modules/process/package.json +27 -0
- package/dist/node_modules/process/test.js +199 -0
- package/dist/node_modules/process-nextick-args/index.js +45 -0
- package/dist/node_modules/process-nextick-args/license.md +19 -0
- package/dist/node_modules/process-nextick-args/package.json +25 -0
- package/dist/node_modules/process-nextick-args/readme.md +18 -0
- package/dist/node_modules/protobufjs/LICENSE +39 -0
- package/dist/node_modules/protobufjs/README.md +727 -0
- package/dist/node_modules/protobufjs/dist/light/protobuf.js +7833 -0
- package/dist/node_modules/protobufjs/dist/light/protobuf.js.map +1 -0
- package/dist/node_modules/protobufjs/dist/light/protobuf.min.js +8 -0
- package/dist/node_modules/protobufjs/dist/light/protobuf.min.js.map +1 -0
- package/dist/node_modules/protobufjs/dist/minimal/protobuf.js +2736 -0
- package/dist/node_modules/protobufjs/dist/minimal/protobuf.js.map +1 -0
- package/dist/node_modules/protobufjs/dist/minimal/protobuf.min.js +8 -0
- package/dist/node_modules/protobufjs/dist/minimal/protobuf.min.js.map +1 -0
- package/dist/node_modules/protobufjs/dist/protobuf.js +9637 -0
- package/dist/node_modules/protobufjs/dist/protobuf.js.map +1 -0
- package/dist/node_modules/protobufjs/dist/protobuf.min.js +8 -0
- package/dist/node_modules/protobufjs/dist/protobuf.min.js.map +1 -0
- package/dist/node_modules/protobufjs/ext/debug/README.md +4 -0
- package/dist/node_modules/protobufjs/ext/debug/index.js +71 -0
- package/dist/node_modules/protobufjs/ext/descriptor/README.md +72 -0
- package/dist/node_modules/protobufjs/ext/descriptor/index.d.ts +191 -0
- package/dist/node_modules/protobufjs/ext/descriptor/index.js +1162 -0
- package/dist/node_modules/protobufjs/ext/descriptor/test.js +54 -0
- package/dist/node_modules/protobufjs/google/LICENSE +27 -0
- package/dist/node_modules/protobufjs/google/README.md +1 -0
- package/dist/node_modules/protobufjs/google/api/annotations.json +83 -0
- package/dist/node_modules/protobufjs/google/api/annotations.proto +11 -0
- package/dist/node_modules/protobufjs/google/api/http.json +86 -0
- package/dist/node_modules/protobufjs/google/api/http.proto +31 -0
- package/dist/node_modules/protobufjs/google/protobuf/api.json +118 -0
- package/dist/node_modules/protobufjs/google/protobuf/api.proto +34 -0
- package/dist/node_modules/protobufjs/google/protobuf/descriptor.json +1382 -0
- package/dist/node_modules/protobufjs/google/protobuf/descriptor.proto +535 -0
- package/dist/node_modules/protobufjs/google/protobuf/source_context.json +20 -0
- package/dist/node_modules/protobufjs/google/protobuf/source_context.proto +7 -0
- package/dist/node_modules/protobufjs/google/protobuf/type.json +202 -0
- package/dist/node_modules/protobufjs/google/protobuf/type.proto +89 -0
- package/dist/node_modules/protobufjs/index.d.ts +2799 -0
- package/dist/node_modules/protobufjs/index.js +4 -0
- package/dist/node_modules/protobufjs/light.d.ts +2 -0
- package/dist/node_modules/protobufjs/light.js +4 -0
- package/dist/node_modules/protobufjs/minimal.d.ts +2 -0
- package/dist/node_modules/protobufjs/minimal.js +4 -0
- package/dist/node_modules/protobufjs/package.json +114 -0
- package/dist/node_modules/protobufjs/scripts/postinstall.js +32 -0
- package/dist/node_modules/protobufjs/src/common.js +399 -0
- package/dist/node_modules/protobufjs/src/converter.js +301 -0
- package/dist/node_modules/protobufjs/src/decoder.js +127 -0
- package/dist/node_modules/protobufjs/src/encoder.js +100 -0
- package/dist/node_modules/protobufjs/src/enum.js +223 -0
- package/dist/node_modules/protobufjs/src/field.js +453 -0
- package/dist/node_modules/protobufjs/src/index-light.js +104 -0
- package/dist/node_modules/protobufjs/src/index-minimal.js +36 -0
- package/dist/node_modules/protobufjs/src/index.js +12 -0
- package/dist/node_modules/protobufjs/src/mapfield.js +126 -0
- package/dist/node_modules/protobufjs/src/message.js +139 -0
- package/dist/node_modules/protobufjs/src/method.js +160 -0
- package/dist/node_modules/protobufjs/src/namespace.js +546 -0
- package/dist/node_modules/protobufjs/src/object.js +378 -0
- package/dist/node_modules/protobufjs/src/oneof.js +222 -0
- package/dist/node_modules/protobufjs/src/parse.js +969 -0
- package/dist/node_modules/protobufjs/src/reader.js +416 -0
- package/dist/node_modules/protobufjs/src/reader_buffer.js +51 -0
- package/dist/node_modules/protobufjs/src/root.js +404 -0
- package/dist/node_modules/protobufjs/src/roots.js +18 -0
- package/dist/node_modules/protobufjs/src/rpc/service.js +142 -0
- package/dist/node_modules/protobufjs/src/rpc.js +36 -0
- package/dist/node_modules/protobufjs/src/service.js +189 -0
- package/dist/node_modules/protobufjs/src/tokenize.js +416 -0
- package/dist/node_modules/protobufjs/src/type.js +614 -0
- package/dist/node_modules/protobufjs/src/types.js +196 -0
- package/dist/node_modules/protobufjs/src/typescript.jsdoc +15 -0
- package/dist/node_modules/protobufjs/src/util/longbits.js +200 -0
- package/dist/node_modules/protobufjs/src/util/minimal.js +438 -0
- package/dist/node_modules/protobufjs/src/util.js +215 -0
- package/dist/node_modules/protobufjs/src/verifier.js +177 -0
- package/dist/node_modules/protobufjs/src/wrappers.js +102 -0
- package/dist/node_modules/protobufjs/src/writer.js +465 -0
- package/dist/node_modules/protobufjs/src/writer_buffer.js +85 -0
- package/dist/node_modules/protobufjs/tsconfig.json +8 -0
- package/dist/node_modules/proxy-from-env/.eslintrc +29 -0
- package/dist/node_modules/proxy-from-env/.travis.yml +10 -0
- package/dist/node_modules/proxy-from-env/LICENSE +20 -0
- package/dist/node_modules/proxy-from-env/README.md +131 -0
- package/dist/node_modules/proxy-from-env/index.js +108 -0
- package/dist/node_modules/proxy-from-env/package.json +34 -0
- package/dist/node_modules/proxy-from-env/test.js +483 -0
- package/dist/node_modules/psl/LICENSE +9 -0
- package/dist/node_modules/psl/README.md +260 -0
- package/dist/node_modules/psl/SECURITY.md +13 -0
- package/dist/node_modules/psl/browserstack-logo.svg +90 -0
- package/dist/node_modules/psl/data/rules.js +9778 -0
- package/dist/node_modules/psl/dist/psl.cjs +1 -0
- package/dist/node_modules/psl/dist/psl.mjs +10008 -0
- package/dist/node_modules/psl/dist/psl.umd.cjs +1 -0
- package/dist/node_modules/psl/index.js +247 -0
- package/dist/node_modules/psl/package.json +51 -0
- package/dist/node_modules/psl/types/index.d.ts +52 -0
- package/dist/node_modules/psl/types/test.ts +14 -0
- package/dist/node_modules/psl/types/tsconfig.json +22 -0
- package/dist/node_modules/psl/vite.config.js +20 -0
- package/dist/node_modules/punycode/LICENSE-MIT.txt +20 -0
- package/dist/node_modules/punycode/README.md +148 -0
- package/dist/node_modules/punycode/package.json +58 -0
- package/dist/node_modules/punycode/punycode.es6.js +444 -0
- package/dist/node_modules/punycode/punycode.js +443 -0
- package/dist/node_modules/querystringify/LICENSE +22 -0
- package/dist/node_modules/querystringify/README.md +61 -0
- package/dist/node_modules/querystringify/index.js +118 -0
- package/dist/node_modules/querystringify/package.json +38 -0
- package/dist/node_modules/readable-stream/LICENSE +47 -0
- package/dist/node_modules/readable-stream/README.md +116 -0
- package/dist/node_modules/readable-stream/lib/_stream_duplex.js +4 -0
- package/dist/node_modules/readable-stream/lib/_stream_passthrough.js +4 -0
- package/dist/node_modules/readable-stream/lib/_stream_readable.js +4 -0
- package/dist/node_modules/readable-stream/lib/_stream_transform.js +4 -0
- package/dist/node_modules/readable-stream/lib/_stream_writable.js +4 -0
- package/dist/node_modules/readable-stream/lib/internal/streams/add-abort-signal.js +52 -0
- package/dist/node_modules/readable-stream/lib/internal/streams/buffer_list.js +157 -0
- package/dist/node_modules/readable-stream/lib/internal/streams/compose.js +194 -0
- package/dist/node_modules/readable-stream/lib/internal/streams/destroy.js +290 -0
- package/dist/node_modules/readable-stream/lib/internal/streams/duplex.js +143 -0
- package/dist/node_modules/readable-stream/lib/internal/streams/duplexify.js +378 -0
- package/dist/node_modules/readable-stream/lib/internal/streams/end-of-stream.js +286 -0
- package/dist/node_modules/readable-stream/lib/internal/streams/from.js +98 -0
- package/dist/node_modules/readable-stream/lib/internal/streams/lazy_transform.js +51 -0
- package/dist/node_modules/readable-stream/lib/internal/streams/legacy.js +89 -0
- package/dist/node_modules/readable-stream/lib/internal/streams/operators.js +457 -0
- package/dist/node_modules/readable-stream/lib/internal/streams/passthrough.js +39 -0
- package/dist/node_modules/readable-stream/lib/internal/streams/pipeline.js +471 -0
- package/dist/node_modules/readable-stream/lib/internal/streams/readable.js +1290 -0
- package/dist/node_modules/readable-stream/lib/internal/streams/state.js +39 -0
- package/dist/node_modules/readable-stream/lib/internal/streams/transform.js +180 -0
- package/dist/node_modules/readable-stream/lib/internal/streams/utils.js +327 -0
- package/dist/node_modules/readable-stream/lib/internal/streams/writable.js +819 -0
- package/dist/node_modules/readable-stream/lib/internal/validators.js +530 -0
- package/dist/node_modules/readable-stream/lib/ours/browser.js +35 -0
- package/dist/node_modules/readable-stream/lib/ours/errors.js +343 -0
- package/dist/node_modules/readable-stream/lib/ours/index.js +65 -0
- package/dist/node_modules/readable-stream/lib/ours/primordials.js +124 -0
- package/dist/node_modules/readable-stream/lib/ours/util/inspect.js +55 -0
- package/dist/node_modules/readable-stream/lib/ours/util.js +148 -0
- package/dist/node_modules/readable-stream/lib/stream/promises.js +43 -0
- package/dist/node_modules/readable-stream/lib/stream.js +143 -0
- package/dist/node_modules/readable-stream/package.json +88 -0
- package/dist/node_modules/requires-port/.travis.yml +19 -0
- package/dist/node_modules/requires-port/LICENSE +22 -0
- package/dist/node_modules/requires-port/README.md +47 -0
- package/dist/node_modules/requires-port/index.js +38 -0
- package/dist/node_modules/requires-port/package.json +47 -0
- package/dist/node_modules/requires-port/test.js +98 -0
- package/dist/node_modules/rfdc/.github/workflows/ci.yml +21 -0
- package/dist/node_modules/rfdc/LICENSE +15 -0
- package/dist/node_modules/rfdc/default.js +3 -0
- package/dist/node_modules/rfdc/index.d.ts +13 -0
- package/dist/node_modules/rfdc/index.js +198 -0
- package/dist/node_modules/rfdc/index.test-d.ts +13 -0
- package/dist/node_modules/rfdc/package.json +73 -0
- package/dist/node_modules/rfdc/readme.md +181 -0
- package/dist/node_modules/rfdc/test/index.js +306 -0
- package/dist/node_modules/safe-buffer/LICENSE +21 -0
- package/dist/node_modules/safe-buffer/README.md +584 -0
- package/dist/node_modules/safe-buffer/index.d.ts +187 -0
- package/dist/node_modules/safe-buffer/index.js +65 -0
- package/dist/node_modules/safe-buffer/package.json +51 -0
- package/dist/node_modules/smart-buffer/.prettierrc.yaml +5 -0
- package/dist/node_modules/smart-buffer/.travis.yml +13 -0
- package/dist/node_modules/smart-buffer/LICENSE +20 -0
- package/dist/node_modules/smart-buffer/README.md +633 -0
- package/dist/node_modules/smart-buffer/build/smartbuffer.js +1233 -0
- package/dist/node_modules/smart-buffer/build/smartbuffer.js.map +1 -0
- package/dist/node_modules/smart-buffer/build/utils.js +108 -0
- package/dist/node_modules/smart-buffer/build/utils.js.map +1 -0
- package/dist/node_modules/smart-buffer/docs/CHANGELOG.md +70 -0
- package/dist/node_modules/smart-buffer/docs/README_v3.md +367 -0
- package/dist/node_modules/smart-buffer/docs/ROADMAP.md +0 -0
- package/dist/node_modules/smart-buffer/package.json +79 -0
- package/dist/node_modules/smart-buffer/typings/smartbuffer.d.ts +755 -0
- package/dist/node_modules/smart-buffer/typings/utils.d.ts +66 -0
- package/dist/node_modules/socks/.eslintrc.cjs +11 -0
- package/dist/node_modules/socks/.prettierrc.yaml +7 -0
- package/dist/node_modules/socks/LICENSE +20 -0
- package/dist/node_modules/socks/README.md +686 -0
- package/dist/node_modules/socks/build/client/socksclient.js +793 -0
- package/dist/node_modules/socks/build/client/socksclient.js.map +1 -0
- package/dist/node_modules/socks/build/common/constants.js +108 -0
- package/dist/node_modules/socks/build/common/constants.js.map +1 -0
- package/dist/node_modules/socks/build/common/helpers.js +167 -0
- package/dist/node_modules/socks/build/common/helpers.js.map +1 -0
- package/dist/node_modules/socks/build/common/receivebuffer.js +43 -0
- package/dist/node_modules/socks/build/common/receivebuffer.js.map +1 -0
- package/dist/node_modules/socks/build/common/util.js +25 -0
- package/dist/node_modules/socks/build/common/util.js.map +1 -0
- package/dist/node_modules/socks/build/index.js +18 -0
- package/dist/node_modules/socks/build/index.js.map +1 -0
- package/dist/node_modules/socks/docs/examples/index.md +17 -0
- package/dist/node_modules/socks/docs/examples/javascript/associateExample.md +90 -0
- package/dist/node_modules/socks/docs/examples/javascript/bindExample.md +83 -0
- package/dist/node_modules/socks/docs/examples/javascript/connectExample.md +258 -0
- package/dist/node_modules/socks/docs/examples/typescript/associateExample.md +93 -0
- package/dist/node_modules/socks/docs/examples/typescript/bindExample.md +86 -0
- package/dist/node_modules/socks/docs/examples/typescript/connectExample.md +265 -0
- package/dist/node_modules/socks/docs/index.md +5 -0
- package/dist/node_modules/socks/docs/migratingFromV1.md +86 -0
- package/dist/node_modules/socks/package.json +58 -0
- package/dist/node_modules/socks/typings/client/socksclient.d.ts +162 -0
- package/dist/node_modules/socks/typings/common/constants.d.ts +151 -0
- package/dist/node_modules/socks/typings/common/helpers.d.ts +17 -0
- package/dist/node_modules/socks/typings/common/receivebuffer.d.ts +12 -0
- package/dist/node_modules/socks/typings/common/util.d.ts +14 -0
- package/dist/node_modules/socks/typings/index.d.ts +1 -0
- package/dist/node_modules/split2/LICENSE +13 -0
- package/dist/node_modules/split2/README.md +85 -0
- package/dist/node_modules/split2/bench.js +27 -0
- package/dist/node_modules/split2/index.js +141 -0
- package/dist/node_modules/split2/package.json +39 -0
- package/dist/node_modules/split2/test.js +409 -0
- package/dist/node_modules/string_decoder/LICENSE +48 -0
- package/dist/node_modules/string_decoder/README.md +47 -0
- package/dist/node_modules/string_decoder/lib/string_decoder.js +296 -0
- package/dist/node_modules/string_decoder/package.json +34 -0
- package/dist/node_modules/tough-cookie/LICENSE +12 -0
- package/dist/node_modules/tough-cookie/README.md +596 -0
- package/dist/node_modules/tough-cookie/lib/cookie.js +1758 -0
- package/dist/node_modules/tough-cookie/lib/memstore.js +242 -0
- package/dist/node_modules/tough-cookie/lib/pathMatch.js +61 -0
- package/dist/node_modules/tough-cookie/lib/permuteDomain.js +65 -0
- package/dist/node_modules/tough-cookie/lib/pubsuffix-psl.js +73 -0
- package/dist/node_modules/tough-cookie/lib/store.js +76 -0
- package/dist/node_modules/tough-cookie/lib/utilHelper.js +39 -0
- package/dist/node_modules/tough-cookie/lib/validators.js +110 -0
- package/dist/node_modules/tough-cookie/lib/version.js +2 -0
- package/dist/node_modules/tough-cookie/package.json +110 -0
- package/dist/node_modules/ts-custom-error/CHANGELOG.md +149 -0
- package/dist/node_modules/ts-custom-error/LICENSE +21 -0
- package/dist/node_modules/ts-custom-error/README.md +165 -0
- package/dist/node_modules/ts-custom-error/SECURITY.md +11 -0
- package/dist/node_modules/ts-custom-error/dist/custom-error.d.ts +22 -0
- package/dist/node_modules/ts-custom-error/dist/custom-error.js +110 -0
- package/dist/node_modules/ts-custom-error/dist/custom-error.js.map +1 -0
- package/dist/node_modules/ts-custom-error/dist/custom-error.mjs +109 -0
- package/dist/node_modules/ts-custom-error/dist/custom-error.mjs.map +1 -0
- package/dist/node_modules/ts-custom-error/dist/custom-error.modern.mjs +107 -0
- package/dist/node_modules/ts-custom-error/dist/custom-error.modern.mjs.map +1 -0
- package/dist/node_modules/ts-custom-error/dist/custom-error.umd.d.ts +22 -0
- package/dist/node_modules/ts-custom-error/dist/custom-error.umd.js +1 -0
- package/dist/node_modules/ts-custom-error/dist/custom-error.umd.js.map +1 -0
- package/dist/node_modules/ts-custom-error/dist/dist/src/index.d.ts +2 -0
- package/dist/node_modules/ts-custom-error/package.json +140 -0
- package/dist/node_modules/tslib/CopyrightNotice.txt +15 -0
- package/dist/node_modules/tslib/LICENSE.txt +12 -0
- package/dist/node_modules/tslib/README.md +164 -0
- package/dist/node_modules/tslib/SECURITY.md +41 -0
- package/dist/node_modules/tslib/modules/index.d.ts +38 -0
- package/dist/node_modules/tslib/modules/index.js +70 -0
- package/dist/node_modules/tslib/modules/package.json +3 -0
- package/dist/node_modules/tslib/package.json +47 -0
- package/dist/node_modules/tslib/tslib.d.ts +460 -0
- package/dist/node_modules/tslib/tslib.es6.html +1 -0
- package/dist/node_modules/tslib/tslib.es6.js +402 -0
- package/dist/node_modules/tslib/tslib.es6.mjs +401 -0
- package/dist/node_modules/tslib/tslib.html +1 -0
- package/dist/node_modules/tslib/tslib.js +484 -0
- package/dist/node_modules/typedarray/.travis.yml +4 -0
- package/dist/node_modules/typedarray/LICENSE +35 -0
- package/dist/node_modules/typedarray/example/tarray.js +4 -0
- package/dist/node_modules/typedarray/index.js +630 -0
- package/dist/node_modules/typedarray/package.json +55 -0
- package/dist/node_modules/typedarray/readme.markdown +61 -0
- package/dist/node_modules/typedarray/test/server/undef_globals.js +19 -0
- package/dist/node_modules/typedarray/test/tarray.js +10 -0
- package/dist/node_modules/undici-types/LICENSE +21 -0
- package/dist/node_modules/undici-types/README.md +6 -0
- package/dist/node_modules/undici-types/agent.d.ts +32 -0
- package/dist/node_modules/undici-types/api.d.ts +43 -0
- package/dist/node_modules/undici-types/balanced-pool.d.ts +29 -0
- package/dist/node_modules/undici-types/cache-interceptor.d.ts +172 -0
- package/dist/node_modules/undici-types/cache.d.ts +36 -0
- package/dist/node_modules/undici-types/client-stats.d.ts +15 -0
- package/dist/node_modules/undici-types/client.d.ts +108 -0
- package/dist/node_modules/undici-types/connector.d.ts +34 -0
- package/dist/node_modules/undici-types/content-type.d.ts +21 -0
- package/dist/node_modules/undici-types/cookies.d.ts +30 -0
- package/dist/node_modules/undici-types/diagnostics-channel.d.ts +74 -0
- package/dist/node_modules/undici-types/dispatcher.d.ts +276 -0
- package/dist/node_modules/undici-types/env-http-proxy-agent.d.ts +22 -0
- package/dist/node_modules/undici-types/errors.d.ts +161 -0
- package/dist/node_modules/undici-types/eventsource.d.ts +66 -0
- package/dist/node_modules/undici-types/fetch.d.ts +211 -0
- package/dist/node_modules/undici-types/formdata.d.ts +108 -0
- package/dist/node_modules/undici-types/global-dispatcher.d.ts +9 -0
- package/dist/node_modules/undici-types/global-origin.d.ts +7 -0
- package/dist/node_modules/undici-types/h2c-client.d.ts +73 -0
- package/dist/node_modules/undici-types/handlers.d.ts +15 -0
- package/dist/node_modules/undici-types/header.d.ts +160 -0
- package/dist/node_modules/undici-types/index.d.ts +80 -0
- package/dist/node_modules/undici-types/interceptors.d.ts +39 -0
- package/dist/node_modules/undici-types/mock-agent.d.ts +68 -0
- package/dist/node_modules/undici-types/mock-call-history.d.ts +111 -0
- package/dist/node_modules/undici-types/mock-client.d.ts +27 -0
- package/dist/node_modules/undici-types/mock-errors.d.ts +12 -0
- package/dist/node_modules/undici-types/mock-interceptor.d.ts +94 -0
- package/dist/node_modules/undici-types/mock-pool.d.ts +27 -0
- package/dist/node_modules/undici-types/package.json +55 -0
- package/dist/node_modules/undici-types/patch.d.ts +29 -0
- package/dist/node_modules/undici-types/pool-stats.d.ts +19 -0
- package/dist/node_modules/undici-types/pool.d.ts +41 -0
- package/dist/node_modules/undici-types/proxy-agent.d.ts +29 -0
- package/dist/node_modules/undici-types/readable.d.ts +68 -0
- package/dist/node_modules/undici-types/retry-agent.d.ts +8 -0
- package/dist/node_modules/undici-types/retry-handler.d.ts +125 -0
- package/dist/node_modules/undici-types/snapshot-agent.d.ts +109 -0
- package/dist/node_modules/undici-types/util.d.ts +18 -0
- package/dist/node_modules/undici-types/utility.d.ts +7 -0
- package/dist/node_modules/undici-types/webidl.d.ts +341 -0
- package/dist/node_modules/undici-types/websocket.d.ts +186 -0
- package/dist/node_modules/universalify/LICENSE +20 -0
- package/dist/node_modules/universalify/README.md +76 -0
- package/dist/node_modules/universalify/index.js +29 -0
- package/dist/node_modules/universalify/package.json +34 -0
- package/dist/node_modules/url-parse/LICENSE +22 -0
- package/dist/node_modules/url-parse/README.md +153 -0
- package/dist/node_modules/url-parse/dist/url-parse.js +755 -0
- package/dist/node_modules/url-parse/dist/url-parse.min.js +1 -0
- package/dist/node_modules/url-parse/dist/url-parse.min.js.map +1 -0
- package/dist/node_modules/url-parse/index.js +589 -0
- package/dist/node_modules/url-parse/package.json +49 -0
- package/dist/node_modules/util-deprecate/History.md +16 -0
- package/dist/node_modules/util-deprecate/LICENSE +24 -0
- package/dist/node_modules/util-deprecate/README.md +53 -0
- package/dist/node_modules/util-deprecate/browser.js +67 -0
- package/dist/node_modules/util-deprecate/node.js +6 -0
- package/dist/node_modules/util-deprecate/package.json +27 -0
- package/dist/node_modules/uuid/CHANGELOG.md +274 -0
- package/dist/node_modules/uuid/CONTRIBUTING.md +18 -0
- package/dist/node_modules/uuid/LICENSE.md +9 -0
- package/dist/node_modules/uuid/README.md +466 -0
- package/dist/node_modules/uuid/dist/bin/uuid +2 -0
- package/dist/node_modules/uuid/dist/commonjs-browser/index.js +79 -0
- package/dist/node_modules/uuid/dist/commonjs-browser/md5.js +223 -0
- package/dist/node_modules/uuid/dist/commonjs-browser/native.js +11 -0
- package/dist/node_modules/uuid/dist/commonjs-browser/nil.js +8 -0
- package/dist/node_modules/uuid/dist/commonjs-browser/parse.js +45 -0
- package/dist/node_modules/uuid/dist/commonjs-browser/regex.js +8 -0
- package/dist/node_modules/uuid/dist/commonjs-browser/rng.js +25 -0
- package/dist/node_modules/uuid/dist/commonjs-browser/sha1.js +104 -0
- package/dist/node_modules/uuid/dist/commonjs-browser/stringify.js +44 -0
- package/dist/node_modules/uuid/dist/commonjs-browser/v1.js +107 -0
- package/dist/node_modules/uuid/dist/commonjs-browser/v3.js +16 -0
- package/dist/node_modules/uuid/dist/commonjs-browser/v35.js +80 -0
- package/dist/node_modules/uuid/dist/commonjs-browser/v4.js +43 -0
- package/dist/node_modules/uuid/dist/commonjs-browser/v5.js +16 -0
- package/dist/node_modules/uuid/dist/commonjs-browser/validate.js +17 -0
- package/dist/node_modules/uuid/dist/commonjs-browser/version.js +21 -0
- package/dist/node_modules/uuid/dist/esm-browser/index.js +9 -0
- package/dist/node_modules/uuid/dist/esm-browser/md5.js +215 -0
- package/dist/node_modules/uuid/dist/esm-browser/native.js +4 -0
- package/dist/node_modules/uuid/dist/esm-browser/nil.js +1 -0
- package/dist/node_modules/uuid/dist/esm-browser/parse.js +35 -0
- package/dist/node_modules/uuid/dist/esm-browser/regex.js +1 -0
- package/dist/node_modules/uuid/dist/esm-browser/rng.js +18 -0
- package/dist/node_modules/uuid/dist/esm-browser/sha1.js +96 -0
- package/dist/node_modules/uuid/dist/esm-browser/stringify.js +33 -0
- package/dist/node_modules/uuid/dist/esm-browser/v1.js +95 -0
- package/dist/node_modules/uuid/dist/esm-browser/v3.js +4 -0
- package/dist/node_modules/uuid/dist/esm-browser/v35.js +66 -0
- package/dist/node_modules/uuid/dist/esm-browser/v4.js +29 -0
- package/dist/node_modules/uuid/dist/esm-browser/v5.js +4 -0
- package/dist/node_modules/uuid/dist/esm-browser/validate.js +7 -0
- package/dist/node_modules/uuid/dist/esm-browser/version.js +11 -0
- package/dist/node_modules/uuid/dist/esm-node/index.js +9 -0
- package/dist/node_modules/uuid/dist/esm-node/md5.js +13 -0
- package/dist/node_modules/uuid/dist/esm-node/native.js +4 -0
- package/dist/node_modules/uuid/dist/esm-node/nil.js +1 -0
- package/dist/node_modules/uuid/dist/esm-node/parse.js +35 -0
- package/dist/node_modules/uuid/dist/esm-node/regex.js +1 -0
- package/dist/node_modules/uuid/dist/esm-node/rng.js +12 -0
- package/dist/node_modules/uuid/dist/esm-node/sha1.js +13 -0
- package/dist/node_modules/uuid/dist/esm-node/stringify.js +33 -0
- package/dist/node_modules/uuid/dist/esm-node/v1.js +95 -0
- package/dist/node_modules/uuid/dist/esm-node/v3.js +4 -0
- package/dist/node_modules/uuid/dist/esm-node/v35.js +66 -0
- package/dist/node_modules/uuid/dist/esm-node/v4.js +29 -0
- package/dist/node_modules/uuid/dist/esm-node/v5.js +4 -0
- package/dist/node_modules/uuid/dist/esm-node/validate.js +7 -0
- package/dist/node_modules/uuid/dist/esm-node/version.js +11 -0
- package/dist/node_modules/uuid/dist/index.js +79 -0
- package/dist/node_modules/uuid/dist/md5-browser.js +223 -0
- package/dist/node_modules/uuid/dist/md5.js +23 -0
- package/dist/node_modules/uuid/dist/native-browser.js +11 -0
- package/dist/node_modules/uuid/dist/native.js +15 -0
- package/dist/node_modules/uuid/dist/nil.js +8 -0
- package/dist/node_modules/uuid/dist/parse.js +45 -0
- package/dist/node_modules/uuid/dist/regex.js +8 -0
- package/dist/node_modules/uuid/dist/rng-browser.js +25 -0
- package/dist/node_modules/uuid/dist/rng.js +24 -0
- package/dist/node_modules/uuid/dist/sha1-browser.js +104 -0
- package/dist/node_modules/uuid/dist/sha1.js +23 -0
- package/dist/node_modules/uuid/dist/stringify.js +44 -0
- package/dist/node_modules/uuid/dist/uuid-bin.js +85 -0
- package/dist/node_modules/uuid/dist/v1.js +107 -0
- package/dist/node_modules/uuid/dist/v3.js +16 -0
- package/dist/node_modules/uuid/dist/v35.js +80 -0
- package/dist/node_modules/uuid/dist/v4.js +43 -0
- package/dist/node_modules/uuid/dist/v5.js +16 -0
- package/dist/node_modules/uuid/dist/validate.js +17 -0
- package/dist/node_modules/uuid/dist/version.js +21 -0
- package/dist/node_modules/uuid/package.json +135 -0
- package/dist/node_modules/uuid/wrapper.mjs +10 -0
- package/dist/node_modules/web-streams-polyfill/LICENSE +22 -0
- package/dist/node_modules/web-streams-polyfill/README.md +110 -0
- package/dist/node_modules/web-streams-polyfill/dist/polyfill.es2018.js +4765 -0
- package/dist/node_modules/web-streams-polyfill/dist/polyfill.es2018.js.map +1 -0
- package/dist/node_modules/web-streams-polyfill/dist/polyfill.es2018.min.js +9 -0
- package/dist/node_modules/web-streams-polyfill/dist/polyfill.es2018.min.js.map +1 -0
- package/dist/node_modules/web-streams-polyfill/dist/polyfill.es2018.mjs +4745 -0
- package/dist/node_modules/web-streams-polyfill/dist/polyfill.es2018.mjs.map +1 -0
- package/dist/node_modules/web-streams-polyfill/dist/polyfill.es6.js +4838 -0
- package/dist/node_modules/web-streams-polyfill/dist/polyfill.es6.js.map +1 -0
- package/dist/node_modules/web-streams-polyfill/dist/polyfill.es6.min.js +9 -0
- package/dist/node_modules/web-streams-polyfill/dist/polyfill.es6.min.js.map +1 -0
- package/dist/node_modules/web-streams-polyfill/dist/polyfill.es6.mjs +4818 -0
- package/dist/node_modules/web-streams-polyfill/dist/polyfill.es6.mjs.map +1 -0
- package/dist/node_modules/web-streams-polyfill/dist/polyfill.js +5011 -0
- package/dist/node_modules/web-streams-polyfill/dist/polyfill.js.map +1 -0
- package/dist/node_modules/web-streams-polyfill/dist/polyfill.min.js +9 -0
- package/dist/node_modules/web-streams-polyfill/dist/polyfill.min.js.map +1 -0
- package/dist/node_modules/web-streams-polyfill/dist/polyfill.mjs +4991 -0
- package/dist/node_modules/web-streams-polyfill/dist/polyfill.mjs.map +1 -0
- package/dist/node_modules/web-streams-polyfill/dist/ponyfill.es2018.js +4737 -0
- package/dist/node_modules/web-streams-polyfill/dist/ponyfill.es2018.js.map +1 -0
- package/dist/node_modules/web-streams-polyfill/dist/ponyfill.es2018.mjs +4717 -0
- package/dist/node_modules/web-streams-polyfill/dist/ponyfill.es2018.mjs.map +1 -0
- package/dist/node_modules/web-streams-polyfill/dist/ponyfill.es6.js +4810 -0
- package/dist/node_modules/web-streams-polyfill/dist/ponyfill.es6.js.map +1 -0
- package/dist/node_modules/web-streams-polyfill/dist/ponyfill.es6.mjs +4790 -0
- package/dist/node_modules/web-streams-polyfill/dist/ponyfill.es6.mjs.map +1 -0
- package/dist/node_modules/web-streams-polyfill/dist/ponyfill.js +4983 -0
- package/dist/node_modules/web-streams-polyfill/dist/ponyfill.js.map +1 -0
- package/dist/node_modules/web-streams-polyfill/dist/ponyfill.mjs +4963 -0
- package/dist/node_modules/web-streams-polyfill/dist/ponyfill.mjs.map +1 -0
- package/dist/node_modules/web-streams-polyfill/dist/types/polyfill.d.ts +24 -0
- package/dist/node_modules/web-streams-polyfill/dist/types/ponyfill.d.ts +780 -0
- package/dist/node_modules/web-streams-polyfill/dist/types/ts3.6/polyfill.d.ts +28 -0
- package/dist/node_modules/web-streams-polyfill/dist/types/ts3.6/ponyfill.d.ts +821 -0
- package/dist/node_modules/web-streams-polyfill/dist/types/tsdoc-metadata.json +11 -0
- package/dist/node_modules/web-streams-polyfill/es2018/package.json +14 -0
- package/dist/node_modules/web-streams-polyfill/es6/package.json +14 -0
- package/dist/node_modules/web-streams-polyfill/package.json +83 -0
- package/dist/node_modules/web-streams-polyfill/ponyfill/es2018/package.json +13 -0
- package/dist/node_modules/web-streams-polyfill/ponyfill/es6/package.json +13 -0
- package/dist/node_modules/web-streams-polyfill/ponyfill/package.json +13 -0
- package/dist/node_modules/worker-factory/LICENSE +21 -0
- package/dist/node_modules/worker-factory/README.md +5 -0
- package/dist/node_modules/worker-factory/build/es2019/helpers/create-message-handler.d.ts +4 -0
- package/dist/node_modules/worker-factory/build/es2019/helpers/create-message-handler.d.ts.map +1 -0
- package/dist/node_modules/worker-factory/build/es2019/helpers/create-message-handler.js +35 -0
- package/dist/node_modules/worker-factory/build/es2019/helpers/create-message-handler.js.map +1 -0
- package/dist/node_modules/worker-factory/build/es2019/helpers/error-renderers.d.ts +13 -0
- package/dist/node_modules/worker-factory/build/es2019/helpers/error-renderers.d.ts.map +1 -0
- package/dist/node_modules/worker-factory/build/es2019/helpers/error-renderers.js +7 -0
- package/dist/node_modules/worker-factory/build/es2019/helpers/error-renderers.js.map +1 -0
- package/dist/node_modules/worker-factory/build/es2019/helpers/extend-worker-implementation.d.ts +4 -0
- package/dist/node_modules/worker-factory/build/es2019/helpers/extend-worker-implementation.d.ts.map +1 -0
- package/dist/node_modules/worker-factory/build/es2019/helpers/extend-worker-implementation.js +36 -0
- package/dist/node_modules/worker-factory/build/es2019/helpers/extend-worker-implementation.js.map +1 -0
- package/dist/node_modules/worker-factory/build/es2019/helpers/is-supporting-transferables.d.ts +2 -0
- package/dist/node_modules/worker-factory/build/es2019/helpers/is-supporting-transferables.d.ts.map +1 -0
- package/dist/node_modules/worker-factory/build/es2019/helpers/is-supporting-transferables.js +8 -0
- package/dist/node_modules/worker-factory/build/es2019/helpers/is-supporting-transferables.js.map +1 -0
- package/dist/node_modules/worker-factory/build/es2019/interfaces/broker-event.d.ts +6 -0
- package/dist/node_modules/worker-factory/build/es2019/interfaces/broker-event.d.ts.map +1 -0
- package/dist/node_modules/worker-factory/build/es2019/interfaces/broker-event.js +2 -0
- package/dist/node_modules/worker-factory/build/es2019/interfaces/broker-event.js.map +1 -0
- package/dist/node_modules/worker-factory/build/es2019/interfaces/broker-message.d.ts +7 -0
- package/dist/node_modules/worker-factory/build/es2019/interfaces/broker-message.d.ts.map +1 -0
- package/dist/node_modules/worker-factory/build/es2019/interfaces/broker-message.js +2 -0
- package/dist/node_modules/worker-factory/build/es2019/interfaces/broker-message.js.map +1 -0
- package/dist/node_modules/worker-factory/build/es2019/interfaces/default-worker-definition.d.ts +25 -0
- package/dist/node_modules/worker-factory/build/es2019/interfaces/default-worker-definition.d.ts.map +1 -0
- package/dist/node_modules/worker-factory/build/es2019/interfaces/default-worker-definition.js +2 -0
- package/dist/node_modules/worker-factory/build/es2019/interfaces/default-worker-definition.js.map +1 -0
- package/dist/node_modules/worker-factory/build/es2019/interfaces/error-notification.d.ts +6 -0
- package/dist/node_modules/worker-factory/build/es2019/interfaces/error-notification.d.ts.map +1 -0
- package/dist/node_modules/worker-factory/build/es2019/interfaces/error-notification.js +2 -0
- package/dist/node_modules/worker-factory/build/es2019/interfaces/error-notification.js.map +1 -0
- package/dist/node_modules/worker-factory/build/es2019/interfaces/error-response.d.ts +6 -0
- package/dist/node_modules/worker-factory/build/es2019/interfaces/error-response.d.ts.map +1 -0
- package/dist/node_modules/worker-factory/build/es2019/interfaces/error-response.js +2 -0
- package/dist/node_modules/worker-factory/build/es2019/interfaces/error-response.js.map +1 -0
- package/dist/node_modules/worker-factory/build/es2019/interfaces/error.d.ts +5 -0
- package/dist/node_modules/worker-factory/build/es2019/interfaces/error.d.ts.map +1 -0
- package/dist/node_modules/worker-factory/build/es2019/interfaces/error.js +2 -0
- package/dist/node_modules/worker-factory/build/es2019/interfaces/error.js.map +1 -0
- package/dist/node_modules/worker-factory/build/es2019/interfaces/index.d.ts +15 -0
- package/dist/node_modules/worker-factory/build/es2019/interfaces/index.d.ts.map +1 -0
- package/dist/node_modules/worker-factory/build/es2019/interfaces/index.js +15 -0
- package/dist/node_modules/worker-factory/build/es2019/interfaces/index.js.map +1 -0
- package/dist/node_modules/worker-factory/build/es2019/interfaces/notification.d.ts +9 -0
- package/dist/node_modules/worker-factory/build/es2019/interfaces/notification.d.ts.map +1 -0
- package/dist/node_modules/worker-factory/build/es2019/interfaces/notification.js +2 -0
- package/dist/node_modules/worker-factory/build/es2019/interfaces/notification.js.map +1 -0
- package/dist/node_modules/worker-factory/build/es2019/interfaces/receiver.d.ts +6 -0
- package/dist/node_modules/worker-factory/build/es2019/interfaces/receiver.d.ts.map +1 -0
- package/dist/node_modules/worker-factory/build/es2019/interfaces/receiver.js +2 -0
- package/dist/node_modules/worker-factory/build/es2019/interfaces/receiver.js.map +1 -0
- package/dist/node_modules/worker-factory/build/es2019/interfaces/request.d.ts +12 -0
- package/dist/node_modules/worker-factory/build/es2019/interfaces/request.d.ts.map +1 -0
- package/dist/node_modules/worker-factory/build/es2019/interfaces/request.js +2 -0
- package/dist/node_modules/worker-factory/build/es2019/interfaces/request.js.map +1 -0
- package/dist/node_modules/worker-factory/build/es2019/interfaces/value-array.d.ts +4 -0
- package/dist/node_modules/worker-factory/build/es2019/interfaces/value-array.d.ts.map +1 -0
- package/dist/node_modules/worker-factory/build/es2019/interfaces/value-array.js +2 -0
- package/dist/node_modules/worker-factory/build/es2019/interfaces/value-array.js.map +1 -0
- package/dist/node_modules/worker-factory/build/es2019/interfaces/value-map.d.ts +5 -0
- package/dist/node_modules/worker-factory/build/es2019/interfaces/value-map.d.ts.map +1 -0
- package/dist/node_modules/worker-factory/build/es2019/interfaces/value-map.js +2 -0
- package/dist/node_modules/worker-factory/build/es2019/interfaces/value-map.js.map +1 -0
- package/dist/node_modules/worker-factory/build/es2019/interfaces/worker-definition.d.ts +5 -0
- package/dist/node_modules/worker-factory/build/es2019/interfaces/worker-definition.d.ts.map +1 -0
- package/dist/node_modules/worker-factory/build/es2019/interfaces/worker-definition.js +2 -0
- package/dist/node_modules/worker-factory/build/es2019/interfaces/worker-definition.js.map +1 -0
- package/dist/node_modules/worker-factory/build/es2019/interfaces/worker-error-message.d.ts +6 -0
- package/dist/node_modules/worker-factory/build/es2019/interfaces/worker-error-message.d.ts.map +1 -0
- package/dist/node_modules/worker-factory/build/es2019/interfaces/worker-error-message.js +2 -0
- package/dist/node_modules/worker-factory/build/es2019/interfaces/worker-error-message.js.map +1 -0
- package/dist/node_modules/worker-factory/build/es2019/interfaces/worker-result-message.d.ts +6 -0
- package/dist/node_modules/worker-factory/build/es2019/interfaces/worker-result-message.d.ts.map +1 -0
- package/dist/node_modules/worker-factory/build/es2019/interfaces/worker-result-message.js +2 -0
- package/dist/node_modules/worker-factory/build/es2019/interfaces/worker-result-message.js.map +1 -0
- package/dist/node_modules/worker-factory/build/es2019/module.d.ts +8 -0
- package/dist/node_modules/worker-factory/build/es2019/module.d.ts.map +1 -0
- package/dist/node_modules/worker-factory/build/es2019/module.js +17 -0
- package/dist/node_modules/worker-factory/build/es2019/module.js.map +1 -0
- package/dist/node_modules/worker-factory/build/es2019/types/destroy-worker-function.d.ts +2 -0
- package/dist/node_modules/worker-factory/build/es2019/types/destroy-worker-function.d.ts.map +1 -0
- package/dist/node_modules/worker-factory/build/es2019/types/destroy-worker-function.js +2 -0
- package/dist/node_modules/worker-factory/build/es2019/types/destroy-worker-function.js.map +1 -0
- package/dist/node_modules/worker-factory/build/es2019/types/index.d.ts +12 -0
- package/dist/node_modules/worker-factory/build/es2019/types/index.d.ts.map +1 -0
- package/dist/node_modules/worker-factory/build/es2019/types/index.js +12 -0
- package/dist/node_modules/worker-factory/build/es2019/types/index.js.map +1 -0
- package/dist/node_modules/worker-factory/build/es2019/types/message-receiver-with-params.d.ts +3 -0
- package/dist/node_modules/worker-factory/build/es2019/types/message-receiver-with-params.d.ts.map +1 -0
- package/dist/node_modules/worker-factory/build/es2019/types/message-receiver-with-params.js +2 -0
- package/dist/node_modules/worker-factory/build/es2019/types/message-receiver-with-params.js.map +1 -0
- package/dist/node_modules/worker-factory/build/es2019/types/message-receiver-without-params.d.ts +3 -0
- package/dist/node_modules/worker-factory/build/es2019/types/message-receiver-without-params.d.ts.map +1 -0
- package/dist/node_modules/worker-factory/build/es2019/types/message-receiver-without-params.js +2 -0
- package/dist/node_modules/worker-factory/build/es2019/types/message-receiver-without-params.js.map +1 -0
- package/dist/node_modules/worker-factory/build/es2019/types/message-receiver.d.ts +5 -0
- package/dist/node_modules/worker-factory/build/es2019/types/message-receiver.d.ts.map +1 -0
- package/dist/node_modules/worker-factory/build/es2019/types/message-receiver.js +2 -0
- package/dist/node_modules/worker-factory/build/es2019/types/message-receiver.js.map +1 -0
- package/dist/node_modules/worker-factory/build/es2019/types/message.d.ts +3 -0
- package/dist/node_modules/worker-factory/build/es2019/types/message.d.ts.map +1 -0
- package/dist/node_modules/worker-factory/build/es2019/types/message.js +2 -0
- package/dist/node_modules/worker-factory/build/es2019/types/message.js.map +1 -0
- package/dist/node_modules/worker-factory/build/es2019/types/typed-array.d.ts +2 -0
- package/dist/node_modules/worker-factory/build/es2019/types/typed-array.d.ts.map +1 -0
- package/dist/node_modules/worker-factory/build/es2019/types/typed-array.js +2 -0
- package/dist/node_modules/worker-factory/build/es2019/types/typed-array.js.map +1 -0
- package/dist/node_modules/worker-factory/build/es2019/types/value-map.d.ts +5 -0
- package/dist/node_modules/worker-factory/build/es2019/types/value-map.d.ts.map +1 -0
- package/dist/node_modules/worker-factory/build/es2019/types/value-map.js +2 -0
- package/dist/node_modules/worker-factory/build/es2019/types/value-map.js.map +1 -0
- package/dist/node_modules/worker-factory/build/es2019/types/value.d.ts +5 -0
- package/dist/node_modules/worker-factory/build/es2019/types/value.d.ts.map +1 -0
- package/dist/node_modules/worker-factory/build/es2019/types/value.js +2 -0
- package/dist/node_modules/worker-factory/build/es2019/types/value.js.map +1 -0
- package/dist/node_modules/worker-factory/build/es2019/types/worker-definition.d.ts +3 -0
- package/dist/node_modules/worker-factory/build/es2019/types/worker-definition.d.ts.map +1 -0
- package/dist/node_modules/worker-factory/build/es2019/types/worker-definition.js +2 -0
- package/dist/node_modules/worker-factory/build/es2019/types/worker-definition.js.map +1 -0
- package/dist/node_modules/worker-factory/build/es2019/types/worker-implementation.d.ts +6 -0
- package/dist/node_modules/worker-factory/build/es2019/types/worker-implementation.d.ts.map +1 -0
- package/dist/node_modules/worker-factory/build/es2019/types/worker-implementation.js +2 -0
- package/dist/node_modules/worker-factory/build/es2019/types/worker-implementation.js.map +1 -0
- package/dist/node_modules/worker-factory/build/es2019/types/worker-message.d.ts +3 -0
- package/dist/node_modules/worker-factory/build/es2019/types/worker-message.d.ts.map +1 -0
- package/dist/node_modules/worker-factory/build/es2019/types/worker-message.js +2 -0
- package/dist/node_modules/worker-factory/build/es2019/types/worker-message.js.map +1 -0
- package/dist/node_modules/worker-factory/build/es5/bundle.js +227 -0
- package/dist/node_modules/worker-factory/package.json +73 -0
- package/dist/node_modules/worker-factory/src/helpers/create-message-handler.ts +52 -0
- package/dist/node_modules/worker-factory/src/helpers/error-renderers.ts +24 -0
- package/dist/node_modules/worker-factory/src/helpers/extend-worker-implementation.ts +52 -0
- package/dist/node_modules/worker-factory/src/helpers/is-supporting-transferables.ts +10 -0
- package/dist/node_modules/worker-factory/src/interfaces/broker-event.ts +6 -0
- package/dist/node_modules/worker-factory/src/interfaces/broker-message.ts +9 -0
- package/dist/node_modules/worker-factory/src/interfaces/default-worker-definition.ts +29 -0
- package/dist/node_modules/worker-factory/src/interfaces/error-notification.ts +7 -0
- package/dist/node_modules/worker-factory/src/interfaces/error-response.ts +7 -0
- package/dist/node_modules/worker-factory/src/interfaces/error.ts +5 -0
- package/dist/node_modules/worker-factory/src/interfaces/index.ts +14 -0
- package/dist/node_modules/worker-factory/src/interfaces/notification.ts +11 -0
- package/dist/node_modules/worker-factory/src/interfaces/receiver.ts +7 -0
- package/dist/node_modules/worker-factory/src/interfaces/request.ts +13 -0
- package/dist/node_modules/worker-factory/src/interfaces/value-array.ts +5 -0
- package/dist/node_modules/worker-factory/src/interfaces/value-map.ts +5 -0
- package/dist/node_modules/worker-factory/src/interfaces/worker-definition.ts +5 -0
- package/dist/node_modules/worker-factory/src/interfaces/worker-error-message.ts +7 -0
- package/dist/node_modules/worker-factory/src/interfaces/worker-result-message.ts +7 -0
- package/dist/node_modules/worker-factory/src/module.ts +27 -0
- package/dist/node_modules/worker-factory/src/tsconfig.json +6 -0
- package/dist/node_modules/worker-factory/src/types/destroy-worker-function.ts +1 -0
- package/dist/node_modules/worker-factory/src/types/index.ts +11 -0
- package/dist/node_modules/worker-factory/src/types/message-receiver-with-params.ts +5 -0
- package/dist/node_modules/worker-factory/src/types/message-receiver-without-params.ts +3 -0
- package/dist/node_modules/worker-factory/src/types/message-receiver.ts +7 -0
- package/dist/node_modules/worker-factory/src/types/message.ts +3 -0
- package/dist/node_modules/worker-factory/src/types/typed-array.ts +10 -0
- package/dist/node_modules/worker-factory/src/types/value-map.ts +5 -0
- package/dist/node_modules/worker-factory/src/types/value.ts +5 -0
- package/dist/node_modules/worker-factory/src/types/worker-definition.ts +3 -0
- package/dist/node_modules/worker-factory/src/types/worker-implementation.ts +6 -0
- package/dist/node_modules/worker-factory/src/types/worker-message.ts +3 -0
- package/dist/node_modules/worker-timers/LICENSE +21 -0
- package/dist/node_modules/worker-timers/README.md +71 -0
- package/dist/node_modules/worker-timers/build/es2019/factories/load-or-return-broker.d.ts +2 -0
- package/dist/node_modules/worker-timers/build/es2019/factories/load-or-return-broker.d.ts.map +1 -0
- package/dist/node_modules/worker-timers/build/es2019/factories/load-or-return-broker.js +15 -0
- package/dist/node_modules/worker-timers/build/es2019/factories/load-or-return-broker.js.map +1 -0
- package/dist/node_modules/worker-timers/build/es2019/module.d.ts +6 -0
- package/dist/node_modules/worker-timers/build/es2019/module.d.ts.map +1 -0
- package/dist/node_modules/worker-timers/build/es2019/module.js +9 -0
- package/dist/node_modules/worker-timers/build/es2019/module.js.map +1 -0
- package/dist/node_modules/worker-timers/build/es2019/worker/worker.d.ts +2 -0
- package/dist/node_modules/worker-timers/build/es2019/worker/worker.d.ts.map +1 -0
- package/dist/node_modules/worker-timers/build/es2019/worker/worker.js +3 -0
- package/dist/node_modules/worker-timers/build/es2019/worker/worker.js.map +1 -0
- package/dist/node_modules/worker-timers/build/es5/bundle.js +50 -0
- package/dist/node_modules/worker-timers/package.json +93 -0
- package/dist/node_modules/worker-timers/src/factories/load-or-return-broker.ts +19 -0
- package/dist/node_modules/worker-timers/src/module.ts +13 -0
- package/dist/node_modules/worker-timers/src/tsconfig.json +6 -0
- package/dist/node_modules/worker-timers/src/worker/worker.ts +2 -0
- package/dist/node_modules/worker-timers-broker/LICENSE +21 -0
- package/dist/node_modules/worker-timers-broker/README.md +70 -0
- package/dist/node_modules/worker-timers-broker/build/es2019/factories/clear-interval-factory.d.ts +2 -0
- package/dist/node_modules/worker-timers-broker/build/es2019/factories/clear-interval-factory.d.ts.map +1 -0
- package/dist/node_modules/worker-timers-broker/build/es2019/factories/clear-interval-factory.js +9 -0
- package/dist/node_modules/worker-timers-broker/build/es2019/factories/clear-interval-factory.js.map +1 -0
- package/dist/node_modules/worker-timers-broker/build/es2019/factories/clear-timeout-factory.d.ts +2 -0
- package/dist/node_modules/worker-timers-broker/build/es2019/factories/clear-timeout-factory.d.ts.map +1 -0
- package/dist/node_modules/worker-timers-broker/build/es2019/factories/clear-timeout-factory.js +9 -0
- package/dist/node_modules/worker-timers-broker/build/es2019/factories/clear-timeout-factory.js.map +1 -0
- package/dist/node_modules/worker-timers-broker/build/es2019/factories/set-interval-factory.d.ts +3 -0
- package/dist/node_modules/worker-timers-broker/build/es2019/factories/set-interval-factory.d.ts.map +1 -0
- package/dist/node_modules/worker-timers-broker/build/es2019/factories/set-interval-factory.js +21 -0
- package/dist/node_modules/worker-timers-broker/build/es2019/factories/set-interval-factory.js.map +1 -0
- package/dist/node_modules/worker-timers-broker/build/es2019/factories/set-timeout-factory.d.ts +3 -0
- package/dist/node_modules/worker-timers-broker/build/es2019/factories/set-timeout-factory.d.ts.map +1 -0
- package/dist/node_modules/worker-timers-broker/build/es2019/factories/set-timeout-factory.js +18 -0
- package/dist/node_modules/worker-timers-broker/build/es2019/factories/set-timeout-factory.js.map +1 -0
- package/dist/node_modules/worker-timers-broker/build/es2019/interfaces/index.d.ts +2 -0
- package/dist/node_modules/worker-timers-broker/build/es2019/interfaces/index.d.ts.map +1 -0
- package/dist/node_modules/worker-timers-broker/build/es2019/interfaces/index.js +2 -0
- package/dist/node_modules/worker-timers-broker/build/es2019/interfaces/index.js.map +1 -0
- package/dist/node_modules/worker-timers-broker/build/es2019/interfaces/worker-timers-broker-definition.d.ts +8 -0
- package/dist/node_modules/worker-timers-broker/build/es2019/interfaces/worker-timers-broker-definition.d.ts.map +1 -0
- package/dist/node_modules/worker-timers-broker/build/es2019/interfaces/worker-timers-broker-definition.js +2 -0
- package/dist/node_modules/worker-timers-broker/build/es2019/interfaces/worker-timers-broker-definition.js.map +1 -0
- package/dist/node_modules/worker-timers-broker/build/es2019/module.d.ts +6 -0
- package/dist/node_modules/worker-timers-broker/build/es2019/module.d.ts.map +1 -0
- package/dist/node_modules/worker-timers-broker/build/es2019/module.js +30 -0
- package/dist/node_modules/worker-timers-broker/build/es2019/module.js.map +1 -0
- package/dist/node_modules/worker-timers-broker/build/es2019/types/index.d.ts +3 -0
- package/dist/node_modules/worker-timers-broker/build/es2019/types/index.d.ts.map +1 -0
- package/dist/node_modules/worker-timers-broker/build/es2019/types/index.js +3 -0
- package/dist/node_modules/worker-timers-broker/build/es2019/types/index.js.map +1 -0
- package/dist/node_modules/worker-timers-broker/build/es2019/types/worker-timers-broker-loader.d.ts +4 -0
- package/dist/node_modules/worker-timers-broker/build/es2019/types/worker-timers-broker-loader.d.ts.map +1 -0
- package/dist/node_modules/worker-timers-broker/build/es2019/types/worker-timers-broker-loader.js +2 -0
- package/dist/node_modules/worker-timers-broker/build/es2019/types/worker-timers-broker-loader.js.map +1 -0
- package/dist/node_modules/worker-timers-broker/build/es2019/types/worker-timers-broker-wrapper.d.ts +4 -0
- package/dist/node_modules/worker-timers-broker/build/es2019/types/worker-timers-broker-wrapper.d.ts.map +1 -0
- package/dist/node_modules/worker-timers-broker/build/es2019/types/worker-timers-broker-wrapper.js +2 -0
- package/dist/node_modules/worker-timers-broker/build/es2019/types/worker-timers-broker-wrapper.js.map +1 -0
- package/dist/node_modules/worker-timers-broker/build/es5/bundle.js +147 -0
- package/dist/node_modules/worker-timers-broker/package.json +73 -0
- package/dist/node_modules/worker-timers-broker/src/factories/clear-interval-factory.ts +10 -0
- package/dist/node_modules/worker-timers-broker/src/factories/clear-timeout-factory.ts +10 -0
- package/dist/node_modules/worker-timers-broker/src/factories/set-interval-factory.ts +33 -0
- package/dist/node_modules/worker-timers-broker/src/factories/set-timeout-factory.ts +28 -0
- package/dist/node_modules/worker-timers-broker/src/interfaces/index.ts +1 -0
- package/dist/node_modules/worker-timers-broker/src/interfaces/worker-timers-broker-definition.ts +11 -0
- package/dist/node_modules/worker-timers-broker/src/module.ts +44 -0
- package/dist/node_modules/worker-timers-broker/src/tsconfig.json +6 -0
- package/dist/node_modules/worker-timers-broker/src/types/index.ts +2 -0
- package/dist/node_modules/worker-timers-broker/src/types/worker-timers-broker-loader.ts +4 -0
- package/dist/node_modules/worker-timers-broker/src/types/worker-timers-broker-wrapper.ts +4 -0
- package/dist/node_modules/worker-timers-worker/LICENSE +21 -0
- package/dist/node_modules/worker-timers-worker/README.md +9 -0
- package/dist/node_modules/worker-timers-worker/build/es2019/factories/clear-timer.d.ts +3 -0
- package/dist/node_modules/worker-timers-worker/build/es2019/factories/clear-timer.d.ts.map +1 -0
- package/dist/node_modules/worker-timers-worker/build/es2019/factories/clear-timer.js +12 -0
- package/dist/node_modules/worker-timers-worker/build/es2019/factories/clear-timer.js.map +1 -0
- package/dist/node_modules/worker-timers-worker/build/es2019/factories/set-timeout-callback.d.ts +3 -0
- package/dist/node_modules/worker-timers-worker/build/es2019/factories/set-timeout-callback.d.ts.map +1 -0
- package/dist/node_modules/worker-timers-worker/build/es2019/factories/set-timeout-callback.js +17 -0
- package/dist/node_modules/worker-timers-worker/build/es2019/factories/set-timeout-callback.js.map +1 -0
- package/dist/node_modules/worker-timers-worker/build/es2019/factories/set-timer.d.ts +4 -0
- package/dist/node_modules/worker-timers-worker/build/es2019/factories/set-timer.d.ts.map +1 -0
- package/dist/node_modules/worker-timers-worker/build/es2019/factories/set-timer.js +11 -0
- package/dist/node_modules/worker-timers-worker/build/es2019/factories/set-timer.js.map +1 -0
- package/dist/node_modules/worker-timers-worker/build/es2019/interfaces/index.d.ts +2 -0
- package/dist/node_modules/worker-timers-worker/build/es2019/interfaces/index.d.ts.map +1 -0
- package/dist/node_modules/worker-timers-worker/build/es2019/interfaces/index.js +2 -0
- package/dist/node_modules/worker-timers-worker/build/es2019/interfaces/index.js.map +1 -0
- package/dist/node_modules/worker-timers-worker/build/es2019/interfaces/worker-timers-worker-custom-definition.d.ts +25 -0
- package/dist/node_modules/worker-timers-worker/build/es2019/interfaces/worker-timers-worker-custom-definition.d.ts.map +1 -0
- package/dist/node_modules/worker-timers-worker/build/es2019/interfaces/worker-timers-worker-custom-definition.js +2 -0
- package/dist/node_modules/worker-timers-worker/build/es2019/interfaces/worker-timers-worker-custom-definition.js.map +1 -0
- package/dist/node_modules/worker-timers-worker/build/es2019/module.d.ts +3 -0
- package/dist/node_modules/worker-timers-worker/build/es2019/module.d.ts.map +1 -0
- package/dist/node_modules/worker-timers-worker/build/es2019/module.js +26 -0
- package/dist/node_modules/worker-timers-worker/build/es2019/module.js.map +1 -0
- package/dist/node_modules/worker-timers-worker/build/es2019/types/index.d.ts +4 -0
- package/dist/node_modules/worker-timers-worker/build/es2019/types/index.d.ts.map +1 -0
- package/dist/node_modules/worker-timers-worker/build/es2019/types/index.js +4 -0
- package/dist/node_modules/worker-timers-worker/build/es2019/types/index.js.map +1 -0
- package/dist/node_modules/worker-timers-worker/build/es2019/types/resolve-set-response-result-promise.d.ts +3 -0
- package/dist/node_modules/worker-timers-worker/build/es2019/types/resolve-set-response-result-promise.d.ts.map +1 -0
- package/dist/node_modules/worker-timers-worker/build/es2019/types/resolve-set-response-result-promise.js +2 -0
- package/dist/node_modules/worker-timers-worker/build/es2019/types/resolve-set-response-result-promise.js.map +1 -0
- package/dist/node_modules/worker-timers-worker/build/es2019/types/timer-type.d.ts +2 -0
- package/dist/node_modules/worker-timers-worker/build/es2019/types/timer-type.d.ts.map +1 -0
- package/dist/node_modules/worker-timers-worker/build/es2019/types/timer-type.js +2 -0
- package/dist/node_modules/worker-timers-worker/build/es2019/types/timer-type.js.map +1 -0
- package/dist/node_modules/worker-timers-worker/build/es2019/types/worker-timers-worker-definition.d.ts +4 -0
- package/dist/node_modules/worker-timers-worker/build/es2019/types/worker-timers-worker-definition.d.ts.map +1 -0
- package/dist/node_modules/worker-timers-worker/build/es2019/types/worker-timers-worker-definition.js +2 -0
- package/dist/node_modules/worker-timers-worker/build/es2019/types/worker-timers-worker-definition.js.map +1 -0
- package/dist/node_modules/worker-timers-worker/build/es5/bundle.js +106 -0
- package/dist/node_modules/worker-timers-worker/package.json +78 -0
- package/dist/node_modules/worker-timers-worker/src/factories/clear-timer.ts +20 -0
- package/dist/node_modules/worker-timers-worker/src/factories/set-timeout-callback.ts +24 -0
- package/dist/node_modules/worker-timers-worker/src/factories/set-timer.ts +21 -0
- package/dist/node_modules/worker-timers-worker/src/interfaces/index.ts +1 -0
- package/dist/node_modules/worker-timers-worker/src/interfaces/worker-timers-worker-custom-definition.ts +32 -0
- package/dist/node_modules/worker-timers-worker/src/module.ts +30 -0
- package/dist/node_modules/worker-timers-worker/src/tsconfig.json +6 -0
- package/dist/node_modules/worker-timers-worker/src/types/index.ts +3 -0
- package/dist/node_modules/worker-timers-worker/src/types/resolve-set-response-result-promise.ts +5 -0
- package/dist/node_modules/worker-timers-worker/src/types/timer-type.ts +1 -0
- package/dist/node_modules/worker-timers-worker/src/types/worker-timers-worker-definition.ts +4 -0
- package/dist/node_modules/ws/LICENSE +20 -0
- package/dist/node_modules/ws/README.md +548 -0
- package/dist/node_modules/ws/browser.js +8 -0
- package/dist/node_modules/ws/index.js +13 -0
- package/dist/node_modules/ws/lib/buffer-util.js +131 -0
- package/dist/node_modules/ws/lib/constants.js +19 -0
- package/dist/node_modules/ws/lib/event-target.js +292 -0
- package/dist/node_modules/ws/lib/extension.js +203 -0
- package/dist/node_modules/ws/lib/limiter.js +55 -0
- package/dist/node_modules/ws/lib/permessage-deflate.js +528 -0
- package/dist/node_modules/ws/lib/receiver.js +706 -0
- package/dist/node_modules/ws/lib/sender.js +602 -0
- package/dist/node_modules/ws/lib/stream.js +161 -0
- package/dist/node_modules/ws/lib/subprotocol.js +62 -0
- package/dist/node_modules/ws/lib/validation.js +152 -0
- package/dist/node_modules/ws/lib/websocket-server.js +554 -0
- package/dist/node_modules/ws/lib/websocket.js +1393 -0
- package/dist/node_modules/ws/package.json +69 -0
- package/dist/node_modules/ws/wrapper.mjs +8 -0
- package/dist/node_modules/yocto-queue/index.d.ts +56 -0
- package/dist/node_modules/yocto-queue/index.js +68 -0
- package/dist/node_modules/yocto-queue/license +9 -0
- package/dist/node_modules/yocto-queue/package.json +43 -0
- package/dist/node_modules/yocto-queue/readme.md +64 -0
- package/dist/package-lock.json +1186 -0
- package/dist/realtime/commands/commands.js +57 -8
- package/dist/realtime/commands/enhanced.direct.commands.js +308 -297
- package/dist/realtime/realtime.client.js +271 -141
- package/package.json +2 -2
- package/dist/mqtt-shim.js +0 -486
|
@@ -0,0 +1,2048 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
// (C) 1995-2013 Jean-loup Gailly and Mark Adler
|
|
4
|
+
// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin
|
|
5
|
+
//
|
|
6
|
+
// This software is provided 'as-is', without any express or implied
|
|
7
|
+
// warranty. In no event will the authors be held liable for any damages
|
|
8
|
+
// arising from the use of this software.
|
|
9
|
+
//
|
|
10
|
+
// Permission is granted to anyone to use this software for any purpose,
|
|
11
|
+
// including commercial applications, and to alter it and redistribute it
|
|
12
|
+
// freely, subject to the following restrictions:
|
|
13
|
+
//
|
|
14
|
+
// 1. The origin of this software must not be misrepresented; you must not
|
|
15
|
+
// claim that you wrote the original software. If you use this software
|
|
16
|
+
// in a product, an acknowledgment in the product documentation would be
|
|
17
|
+
// appreciated but is not required.
|
|
18
|
+
// 2. Altered source versions must be plainly marked as such, and must not be
|
|
19
|
+
// misrepresented as being the original software.
|
|
20
|
+
// 3. This notice may not be removed or altered from any source distribution.
|
|
21
|
+
|
|
22
|
+
const { _tr_init, _tr_stored_block, _tr_flush_block, _tr_tally, _tr_align } = require('./trees');
|
|
23
|
+
const adler32 = require('./adler32');
|
|
24
|
+
const crc32 = require('./crc32');
|
|
25
|
+
const msg = require('./messages');
|
|
26
|
+
|
|
27
|
+
/* Public constants ==========================================================*/
|
|
28
|
+
/* ===========================================================================*/
|
|
29
|
+
|
|
30
|
+
const {
|
|
31
|
+
Z_NO_FLUSH, Z_PARTIAL_FLUSH, Z_FULL_FLUSH, Z_FINISH, Z_BLOCK,
|
|
32
|
+
Z_OK, Z_STREAM_END, Z_STREAM_ERROR, Z_DATA_ERROR, Z_BUF_ERROR,
|
|
33
|
+
Z_DEFAULT_COMPRESSION,
|
|
34
|
+
Z_FILTERED, Z_HUFFMAN_ONLY, Z_RLE, Z_FIXED, Z_DEFAULT_STRATEGY,
|
|
35
|
+
Z_UNKNOWN,
|
|
36
|
+
Z_DEFLATED
|
|
37
|
+
} = require('./constants');
|
|
38
|
+
|
|
39
|
+
/*============================================================================*/
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
const MAX_MEM_LEVEL = 9;
|
|
43
|
+
/* Maximum value for memLevel in deflateInit2 */
|
|
44
|
+
const MAX_WBITS = 15;
|
|
45
|
+
/* 32K LZ77 window */
|
|
46
|
+
const DEF_MEM_LEVEL = 8;
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
const LENGTH_CODES = 29;
|
|
50
|
+
/* number of length codes, not counting the special END_BLOCK code */
|
|
51
|
+
const LITERALS = 256;
|
|
52
|
+
/* number of literal bytes 0..255 */
|
|
53
|
+
const L_CODES = LITERALS + 1 + LENGTH_CODES;
|
|
54
|
+
/* number of Literal or Length codes, including the END_BLOCK code */
|
|
55
|
+
const D_CODES = 30;
|
|
56
|
+
/* number of distance codes */
|
|
57
|
+
const BL_CODES = 19;
|
|
58
|
+
/* number of codes used to transfer the bit lengths */
|
|
59
|
+
const HEAP_SIZE = 2 * L_CODES + 1;
|
|
60
|
+
/* maximum heap size */
|
|
61
|
+
const MAX_BITS = 15;
|
|
62
|
+
/* All codes must not exceed MAX_BITS bits */
|
|
63
|
+
|
|
64
|
+
const MIN_MATCH = 3;
|
|
65
|
+
const MAX_MATCH = 258;
|
|
66
|
+
const MIN_LOOKAHEAD = (MAX_MATCH + MIN_MATCH + 1);
|
|
67
|
+
|
|
68
|
+
const PRESET_DICT = 0x20;
|
|
69
|
+
|
|
70
|
+
const INIT_STATE = 42; /* zlib header -> BUSY_STATE */
|
|
71
|
+
//#ifdef GZIP
|
|
72
|
+
const GZIP_STATE = 57; /* gzip header -> BUSY_STATE | EXTRA_STATE */
|
|
73
|
+
//#endif
|
|
74
|
+
const EXTRA_STATE = 69; /* gzip extra block -> NAME_STATE */
|
|
75
|
+
const NAME_STATE = 73; /* gzip file name -> COMMENT_STATE */
|
|
76
|
+
const COMMENT_STATE = 91; /* gzip comment -> HCRC_STATE */
|
|
77
|
+
const HCRC_STATE = 103; /* gzip header CRC -> BUSY_STATE */
|
|
78
|
+
const BUSY_STATE = 113; /* deflate -> FINISH_STATE */
|
|
79
|
+
const FINISH_STATE = 666; /* stream complete */
|
|
80
|
+
|
|
81
|
+
const BS_NEED_MORE = 1; /* block not completed, need more input or more output */
|
|
82
|
+
const BS_BLOCK_DONE = 2; /* block flush performed */
|
|
83
|
+
const BS_FINISH_STARTED = 3; /* finish started, need only more output at next deflate */
|
|
84
|
+
const BS_FINISH_DONE = 4; /* finish done, accept no more input or output */
|
|
85
|
+
|
|
86
|
+
const OS_CODE = 0x03; // Unix :) . Don't detect, use this default.
|
|
87
|
+
|
|
88
|
+
const err = (strm, errorCode) => {
|
|
89
|
+
strm.msg = msg[errorCode];
|
|
90
|
+
return errorCode;
|
|
91
|
+
};
|
|
92
|
+
|
|
93
|
+
const rank = (f) => {
|
|
94
|
+
return ((f) * 2) - ((f) > 4 ? 9 : 0);
|
|
95
|
+
};
|
|
96
|
+
|
|
97
|
+
const zero = (buf) => {
|
|
98
|
+
let len = buf.length; while (--len >= 0) { buf[len] = 0; }
|
|
99
|
+
};
|
|
100
|
+
|
|
101
|
+
/* ===========================================================================
|
|
102
|
+
* Slide the hash table when sliding the window down (could be avoided with 32
|
|
103
|
+
* bit values at the expense of memory usage). We slide even when level == 0 to
|
|
104
|
+
* keep the hash table consistent if we switch back to level > 0 later.
|
|
105
|
+
*/
|
|
106
|
+
const slide_hash = (s) => {
|
|
107
|
+
let n, m;
|
|
108
|
+
let p;
|
|
109
|
+
let wsize = s.w_size;
|
|
110
|
+
|
|
111
|
+
n = s.hash_size;
|
|
112
|
+
p = n;
|
|
113
|
+
do {
|
|
114
|
+
m = s.head[--p];
|
|
115
|
+
s.head[p] = (m >= wsize ? m - wsize : 0);
|
|
116
|
+
} while (--n);
|
|
117
|
+
n = wsize;
|
|
118
|
+
//#ifndef FASTEST
|
|
119
|
+
p = n;
|
|
120
|
+
do {
|
|
121
|
+
m = s.prev[--p];
|
|
122
|
+
s.prev[p] = (m >= wsize ? m - wsize : 0);
|
|
123
|
+
/* If n is not on any hash chain, prev[n] is garbage but
|
|
124
|
+
* its value will never be used.
|
|
125
|
+
*/
|
|
126
|
+
} while (--n);
|
|
127
|
+
//#endif
|
|
128
|
+
};
|
|
129
|
+
|
|
130
|
+
/* eslint-disable new-cap */
|
|
131
|
+
let HASH_ZLIB = (s, prev, data) => ((prev << s.hash_shift) ^ data) & s.hash_mask;
|
|
132
|
+
// This hash causes less collisions, https://github.com/nodeca/pako/issues/135
|
|
133
|
+
// But breaks binary compatibility
|
|
134
|
+
//let HASH_FAST = (s, prev, data) => ((prev << 8) + (prev >> 8) + (data << 4)) & s.hash_mask;
|
|
135
|
+
let HASH = HASH_ZLIB;
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
/* =========================================================================
|
|
139
|
+
* Flush as much pending output as possible. All deflate() output, except for
|
|
140
|
+
* some deflate_stored() output, goes through this function so some
|
|
141
|
+
* applications may wish to modify it to avoid allocating a large
|
|
142
|
+
* strm->next_out buffer and copying into it. (See also read_buf()).
|
|
143
|
+
*/
|
|
144
|
+
const flush_pending = (strm) => {
|
|
145
|
+
const s = strm.state;
|
|
146
|
+
|
|
147
|
+
//_tr_flush_bits(s);
|
|
148
|
+
let len = s.pending;
|
|
149
|
+
if (len > strm.avail_out) {
|
|
150
|
+
len = strm.avail_out;
|
|
151
|
+
}
|
|
152
|
+
if (len === 0) { return; }
|
|
153
|
+
|
|
154
|
+
strm.output.set(s.pending_buf.subarray(s.pending_out, s.pending_out + len), strm.next_out);
|
|
155
|
+
strm.next_out += len;
|
|
156
|
+
s.pending_out += len;
|
|
157
|
+
strm.total_out += len;
|
|
158
|
+
strm.avail_out -= len;
|
|
159
|
+
s.pending -= len;
|
|
160
|
+
if (s.pending === 0) {
|
|
161
|
+
s.pending_out = 0;
|
|
162
|
+
}
|
|
163
|
+
};
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
const flush_block_only = (s, last) => {
|
|
167
|
+
_tr_flush_block(s, (s.block_start >= 0 ? s.block_start : -1), s.strstart - s.block_start, last);
|
|
168
|
+
s.block_start = s.strstart;
|
|
169
|
+
flush_pending(s.strm);
|
|
170
|
+
};
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
const put_byte = (s, b) => {
|
|
174
|
+
s.pending_buf[s.pending++] = b;
|
|
175
|
+
};
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
/* =========================================================================
|
|
179
|
+
* Put a short in the pending buffer. The 16-bit value is put in MSB order.
|
|
180
|
+
* IN assertion: the stream state is correct and there is enough room in
|
|
181
|
+
* pending_buf.
|
|
182
|
+
*/
|
|
183
|
+
const putShortMSB = (s, b) => {
|
|
184
|
+
|
|
185
|
+
// put_byte(s, (Byte)(b >> 8));
|
|
186
|
+
// put_byte(s, (Byte)(b & 0xff));
|
|
187
|
+
s.pending_buf[s.pending++] = (b >>> 8) & 0xff;
|
|
188
|
+
s.pending_buf[s.pending++] = b & 0xff;
|
|
189
|
+
};
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
/* ===========================================================================
|
|
193
|
+
* Read a new buffer from the current input stream, update the adler32
|
|
194
|
+
* and total number of bytes read. All deflate() input goes through
|
|
195
|
+
* this function so some applications may wish to modify it to avoid
|
|
196
|
+
* allocating a large strm->input buffer and copying from it.
|
|
197
|
+
* (See also flush_pending()).
|
|
198
|
+
*/
|
|
199
|
+
const read_buf = (strm, buf, start, size) => {
|
|
200
|
+
|
|
201
|
+
let len = strm.avail_in;
|
|
202
|
+
|
|
203
|
+
if (len > size) { len = size; }
|
|
204
|
+
if (len === 0) { return 0; }
|
|
205
|
+
|
|
206
|
+
strm.avail_in -= len;
|
|
207
|
+
|
|
208
|
+
// zmemcpy(buf, strm->next_in, len);
|
|
209
|
+
buf.set(strm.input.subarray(strm.next_in, strm.next_in + len), start);
|
|
210
|
+
if (strm.state.wrap === 1) {
|
|
211
|
+
strm.adler = adler32(strm.adler, buf, len, start);
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
else if (strm.state.wrap === 2) {
|
|
215
|
+
strm.adler = crc32(strm.adler, buf, len, start);
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
strm.next_in += len;
|
|
219
|
+
strm.total_in += len;
|
|
220
|
+
|
|
221
|
+
return len;
|
|
222
|
+
};
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
/* ===========================================================================
|
|
226
|
+
* Set match_start to the longest match starting at the given string and
|
|
227
|
+
* return its length. Matches shorter or equal to prev_length are discarded,
|
|
228
|
+
* in which case the result is equal to prev_length and match_start is
|
|
229
|
+
* garbage.
|
|
230
|
+
* IN assertions: cur_match is the head of the hash chain for the current
|
|
231
|
+
* string (strstart) and its distance is <= MAX_DIST, and prev_length >= 1
|
|
232
|
+
* OUT assertion: the match length is not greater than s->lookahead.
|
|
233
|
+
*/
|
|
234
|
+
const longest_match = (s, cur_match) => {
|
|
235
|
+
|
|
236
|
+
let chain_length = s.max_chain_length; /* max hash chain length */
|
|
237
|
+
let scan = s.strstart; /* current string */
|
|
238
|
+
let match; /* matched string */
|
|
239
|
+
let len; /* length of current match */
|
|
240
|
+
let best_len = s.prev_length; /* best match length so far */
|
|
241
|
+
let nice_match = s.nice_match; /* stop if match long enough */
|
|
242
|
+
const limit = (s.strstart > (s.w_size - MIN_LOOKAHEAD)) ?
|
|
243
|
+
s.strstart - (s.w_size - MIN_LOOKAHEAD) : 0/*NIL*/;
|
|
244
|
+
|
|
245
|
+
const _win = s.window; // shortcut
|
|
246
|
+
|
|
247
|
+
const wmask = s.w_mask;
|
|
248
|
+
const prev = s.prev;
|
|
249
|
+
|
|
250
|
+
/* Stop when cur_match becomes <= limit. To simplify the code,
|
|
251
|
+
* we prevent matches with the string of window index 0.
|
|
252
|
+
*/
|
|
253
|
+
|
|
254
|
+
const strend = s.strstart + MAX_MATCH;
|
|
255
|
+
let scan_end1 = _win[scan + best_len - 1];
|
|
256
|
+
let scan_end = _win[scan + best_len];
|
|
257
|
+
|
|
258
|
+
/* The code is optimized for HASH_BITS >= 8 and MAX_MATCH-2 multiple of 16.
|
|
259
|
+
* It is easy to get rid of this optimization if necessary.
|
|
260
|
+
*/
|
|
261
|
+
// Assert(s->hash_bits >= 8 && MAX_MATCH == 258, "Code too clever");
|
|
262
|
+
|
|
263
|
+
/* Do not waste too much time if we already have a good match: */
|
|
264
|
+
if (s.prev_length >= s.good_match) {
|
|
265
|
+
chain_length >>= 2;
|
|
266
|
+
}
|
|
267
|
+
/* Do not look for matches beyond the end of the input. This is necessary
|
|
268
|
+
* to make deflate deterministic.
|
|
269
|
+
*/
|
|
270
|
+
if (nice_match > s.lookahead) { nice_match = s.lookahead; }
|
|
271
|
+
|
|
272
|
+
// Assert((ulg)s->strstart <= s->window_size-MIN_LOOKAHEAD, "need lookahead");
|
|
273
|
+
|
|
274
|
+
do {
|
|
275
|
+
// Assert(cur_match < s->strstart, "no future");
|
|
276
|
+
match = cur_match;
|
|
277
|
+
|
|
278
|
+
/* Skip to next match if the match length cannot increase
|
|
279
|
+
* or if the match length is less than 2. Note that the checks below
|
|
280
|
+
* for insufficient lookahead only occur occasionally for performance
|
|
281
|
+
* reasons. Therefore uninitialized memory will be accessed, and
|
|
282
|
+
* conditional jumps will be made that depend on those values.
|
|
283
|
+
* However the length of the match is limited to the lookahead, so
|
|
284
|
+
* the output of deflate is not affected by the uninitialized values.
|
|
285
|
+
*/
|
|
286
|
+
|
|
287
|
+
if (_win[match + best_len] !== scan_end ||
|
|
288
|
+
_win[match + best_len - 1] !== scan_end1 ||
|
|
289
|
+
_win[match] !== _win[scan] ||
|
|
290
|
+
_win[++match] !== _win[scan + 1]) {
|
|
291
|
+
continue;
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
/* The check at best_len-1 can be removed because it will be made
|
|
295
|
+
* again later. (This heuristic is not always a win.)
|
|
296
|
+
* It is not necessary to compare scan[2] and match[2] since they
|
|
297
|
+
* are always equal when the other bytes match, given that
|
|
298
|
+
* the hash keys are equal and that HASH_BITS >= 8.
|
|
299
|
+
*/
|
|
300
|
+
scan += 2;
|
|
301
|
+
match++;
|
|
302
|
+
// Assert(*scan == *match, "match[2]?");
|
|
303
|
+
|
|
304
|
+
/* We check for insufficient lookahead only every 8th comparison;
|
|
305
|
+
* the 256th check will be made at strstart+258.
|
|
306
|
+
*/
|
|
307
|
+
do {
|
|
308
|
+
/*jshint noempty:false*/
|
|
309
|
+
} while (_win[++scan] === _win[++match] && _win[++scan] === _win[++match] &&
|
|
310
|
+
_win[++scan] === _win[++match] && _win[++scan] === _win[++match] &&
|
|
311
|
+
_win[++scan] === _win[++match] && _win[++scan] === _win[++match] &&
|
|
312
|
+
_win[++scan] === _win[++match] && _win[++scan] === _win[++match] &&
|
|
313
|
+
scan < strend);
|
|
314
|
+
|
|
315
|
+
// Assert(scan <= s->window+(unsigned)(s->window_size-1), "wild scan");
|
|
316
|
+
|
|
317
|
+
len = MAX_MATCH - (strend - scan);
|
|
318
|
+
scan = strend - MAX_MATCH;
|
|
319
|
+
|
|
320
|
+
if (len > best_len) {
|
|
321
|
+
s.match_start = cur_match;
|
|
322
|
+
best_len = len;
|
|
323
|
+
if (len >= nice_match) {
|
|
324
|
+
break;
|
|
325
|
+
}
|
|
326
|
+
scan_end1 = _win[scan + best_len - 1];
|
|
327
|
+
scan_end = _win[scan + best_len];
|
|
328
|
+
}
|
|
329
|
+
} while ((cur_match = prev[cur_match & wmask]) > limit && --chain_length !== 0);
|
|
330
|
+
|
|
331
|
+
if (best_len <= s.lookahead) {
|
|
332
|
+
return best_len;
|
|
333
|
+
}
|
|
334
|
+
return s.lookahead;
|
|
335
|
+
};
|
|
336
|
+
|
|
337
|
+
|
|
338
|
+
/* ===========================================================================
|
|
339
|
+
* Fill the window when the lookahead becomes insufficient.
|
|
340
|
+
* Updates strstart and lookahead.
|
|
341
|
+
*
|
|
342
|
+
* IN assertion: lookahead < MIN_LOOKAHEAD
|
|
343
|
+
* OUT assertions: strstart <= window_size-MIN_LOOKAHEAD
|
|
344
|
+
* At least one byte has been read, or avail_in == 0; reads are
|
|
345
|
+
* performed for at least two bytes (required for the zip translate_eol
|
|
346
|
+
* option -- not supported here).
|
|
347
|
+
*/
|
|
348
|
+
const fill_window = (s) => {
|
|
349
|
+
|
|
350
|
+
const _w_size = s.w_size;
|
|
351
|
+
let n, more, str;
|
|
352
|
+
|
|
353
|
+
//Assert(s->lookahead < MIN_LOOKAHEAD, "already enough lookahead");
|
|
354
|
+
|
|
355
|
+
do {
|
|
356
|
+
more = s.window_size - s.lookahead - s.strstart;
|
|
357
|
+
|
|
358
|
+
// JS ints have 32 bit, block below not needed
|
|
359
|
+
/* Deal with !@#$% 64K limit: */
|
|
360
|
+
//if (sizeof(int) <= 2) {
|
|
361
|
+
// if (more == 0 && s->strstart == 0 && s->lookahead == 0) {
|
|
362
|
+
// more = wsize;
|
|
363
|
+
//
|
|
364
|
+
// } else if (more == (unsigned)(-1)) {
|
|
365
|
+
// /* Very unlikely, but possible on 16 bit machine if
|
|
366
|
+
// * strstart == 0 && lookahead == 1 (input done a byte at time)
|
|
367
|
+
// */
|
|
368
|
+
// more--;
|
|
369
|
+
// }
|
|
370
|
+
//}
|
|
371
|
+
|
|
372
|
+
|
|
373
|
+
/* If the window is almost full and there is insufficient lookahead,
|
|
374
|
+
* move the upper half to the lower one to make room in the upper half.
|
|
375
|
+
*/
|
|
376
|
+
if (s.strstart >= _w_size + (_w_size - MIN_LOOKAHEAD)) {
|
|
377
|
+
|
|
378
|
+
s.window.set(s.window.subarray(_w_size, _w_size + _w_size - more), 0);
|
|
379
|
+
s.match_start -= _w_size;
|
|
380
|
+
s.strstart -= _w_size;
|
|
381
|
+
/* we now have strstart >= MAX_DIST */
|
|
382
|
+
s.block_start -= _w_size;
|
|
383
|
+
if (s.insert > s.strstart) {
|
|
384
|
+
s.insert = s.strstart;
|
|
385
|
+
}
|
|
386
|
+
slide_hash(s);
|
|
387
|
+
more += _w_size;
|
|
388
|
+
}
|
|
389
|
+
if (s.strm.avail_in === 0) {
|
|
390
|
+
break;
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
/* If there was no sliding:
|
|
394
|
+
* strstart <= WSIZE+MAX_DIST-1 && lookahead <= MIN_LOOKAHEAD - 1 &&
|
|
395
|
+
* more == window_size - lookahead - strstart
|
|
396
|
+
* => more >= window_size - (MIN_LOOKAHEAD-1 + WSIZE + MAX_DIST-1)
|
|
397
|
+
* => more >= window_size - 2*WSIZE + 2
|
|
398
|
+
* In the BIG_MEM or MMAP case (not yet supported),
|
|
399
|
+
* window_size == input_size + MIN_LOOKAHEAD &&
|
|
400
|
+
* strstart + s->lookahead <= input_size => more >= MIN_LOOKAHEAD.
|
|
401
|
+
* Otherwise, window_size == 2*WSIZE so more >= 2.
|
|
402
|
+
* If there was sliding, more >= WSIZE. So in all cases, more >= 2.
|
|
403
|
+
*/
|
|
404
|
+
//Assert(more >= 2, "more < 2");
|
|
405
|
+
n = read_buf(s.strm, s.window, s.strstart + s.lookahead, more);
|
|
406
|
+
s.lookahead += n;
|
|
407
|
+
|
|
408
|
+
/* Initialize the hash value now that we have some input: */
|
|
409
|
+
if (s.lookahead + s.insert >= MIN_MATCH) {
|
|
410
|
+
str = s.strstart - s.insert;
|
|
411
|
+
s.ins_h = s.window[str];
|
|
412
|
+
|
|
413
|
+
/* UPDATE_HASH(s, s->ins_h, s->window[str + 1]); */
|
|
414
|
+
s.ins_h = HASH(s, s.ins_h, s.window[str + 1]);
|
|
415
|
+
//#if MIN_MATCH != 3
|
|
416
|
+
// Call update_hash() MIN_MATCH-3 more times
|
|
417
|
+
//#endif
|
|
418
|
+
while (s.insert) {
|
|
419
|
+
/* UPDATE_HASH(s, s->ins_h, s->window[str + MIN_MATCH-1]); */
|
|
420
|
+
s.ins_h = HASH(s, s.ins_h, s.window[str + MIN_MATCH - 1]);
|
|
421
|
+
|
|
422
|
+
s.prev[str & s.w_mask] = s.head[s.ins_h];
|
|
423
|
+
s.head[s.ins_h] = str;
|
|
424
|
+
str++;
|
|
425
|
+
s.insert--;
|
|
426
|
+
if (s.lookahead + s.insert < MIN_MATCH) {
|
|
427
|
+
break;
|
|
428
|
+
}
|
|
429
|
+
}
|
|
430
|
+
}
|
|
431
|
+
/* If the whole input has less than MIN_MATCH bytes, ins_h is garbage,
|
|
432
|
+
* but this is not important since only literal bytes will be emitted.
|
|
433
|
+
*/
|
|
434
|
+
|
|
435
|
+
} while (s.lookahead < MIN_LOOKAHEAD && s.strm.avail_in !== 0);
|
|
436
|
+
|
|
437
|
+
/* If the WIN_INIT bytes after the end of the current data have never been
|
|
438
|
+
* written, then zero those bytes in order to avoid memory check reports of
|
|
439
|
+
* the use of uninitialized (or uninitialised as Julian writes) bytes by
|
|
440
|
+
* the longest match routines. Update the high water mark for the next
|
|
441
|
+
* time through here. WIN_INIT is set to MAX_MATCH since the longest match
|
|
442
|
+
* routines allow scanning to strstart + MAX_MATCH, ignoring lookahead.
|
|
443
|
+
*/
|
|
444
|
+
// if (s.high_water < s.window_size) {
|
|
445
|
+
// const curr = s.strstart + s.lookahead;
|
|
446
|
+
// let init = 0;
|
|
447
|
+
//
|
|
448
|
+
// if (s.high_water < curr) {
|
|
449
|
+
// /* Previous high water mark below current data -- zero WIN_INIT
|
|
450
|
+
// * bytes or up to end of window, whichever is less.
|
|
451
|
+
// */
|
|
452
|
+
// init = s.window_size - curr;
|
|
453
|
+
// if (init > WIN_INIT)
|
|
454
|
+
// init = WIN_INIT;
|
|
455
|
+
// zmemzero(s->window + curr, (unsigned)init);
|
|
456
|
+
// s->high_water = curr + init;
|
|
457
|
+
// }
|
|
458
|
+
// else if (s->high_water < (ulg)curr + WIN_INIT) {
|
|
459
|
+
// /* High water mark at or above current data, but below current data
|
|
460
|
+
// * plus WIN_INIT -- zero out to current data plus WIN_INIT, or up
|
|
461
|
+
// * to end of window, whichever is less.
|
|
462
|
+
// */
|
|
463
|
+
// init = (ulg)curr + WIN_INIT - s->high_water;
|
|
464
|
+
// if (init > s->window_size - s->high_water)
|
|
465
|
+
// init = s->window_size - s->high_water;
|
|
466
|
+
// zmemzero(s->window + s->high_water, (unsigned)init);
|
|
467
|
+
// s->high_water += init;
|
|
468
|
+
// }
|
|
469
|
+
// }
|
|
470
|
+
//
|
|
471
|
+
// Assert((ulg)s->strstart <= s->window_size - MIN_LOOKAHEAD,
|
|
472
|
+
// "not enough room for search");
|
|
473
|
+
};
|
|
474
|
+
|
|
475
|
+
/* ===========================================================================
|
|
476
|
+
* Copy without compression as much as possible from the input stream, return
|
|
477
|
+
* the current block state.
|
|
478
|
+
*
|
|
479
|
+
* In case deflateParams() is used to later switch to a non-zero compression
|
|
480
|
+
* level, s->matches (otherwise unused when storing) keeps track of the number
|
|
481
|
+
* of hash table slides to perform. If s->matches is 1, then one hash table
|
|
482
|
+
* slide will be done when switching. If s->matches is 2, the maximum value
|
|
483
|
+
* allowed here, then the hash table will be cleared, since two or more slides
|
|
484
|
+
* is the same as a clear.
|
|
485
|
+
*
|
|
486
|
+
* deflate_stored() is written to minimize the number of times an input byte is
|
|
487
|
+
* copied. It is most efficient with large input and output buffers, which
|
|
488
|
+
* maximizes the opportunites to have a single copy from next_in to next_out.
|
|
489
|
+
*/
|
|
490
|
+
const deflate_stored = (s, flush) => {
|
|
491
|
+
|
|
492
|
+
/* Smallest worthy block size when not flushing or finishing. By default
|
|
493
|
+
* this is 32K. This can be as small as 507 bytes for memLevel == 1. For
|
|
494
|
+
* large input and output buffers, the stored block size will be larger.
|
|
495
|
+
*/
|
|
496
|
+
let min_block = s.pending_buf_size - 5 > s.w_size ? s.w_size : s.pending_buf_size - 5;
|
|
497
|
+
|
|
498
|
+
/* Copy as many min_block or larger stored blocks directly to next_out as
|
|
499
|
+
* possible. If flushing, copy the remaining available input to next_out as
|
|
500
|
+
* stored blocks, if there is enough space.
|
|
501
|
+
*/
|
|
502
|
+
let len, left, have, last = 0;
|
|
503
|
+
let used = s.strm.avail_in;
|
|
504
|
+
do {
|
|
505
|
+
/* Set len to the maximum size block that we can copy directly with the
|
|
506
|
+
* available input data and output space. Set left to how much of that
|
|
507
|
+
* would be copied from what's left in the window.
|
|
508
|
+
*/
|
|
509
|
+
len = 65535/* MAX_STORED */; /* maximum deflate stored block length */
|
|
510
|
+
have = (s.bi_valid + 42) >> 3; /* number of header bytes */
|
|
511
|
+
if (s.strm.avail_out < have) { /* need room for header */
|
|
512
|
+
break;
|
|
513
|
+
}
|
|
514
|
+
/* maximum stored block length that will fit in avail_out: */
|
|
515
|
+
have = s.strm.avail_out - have;
|
|
516
|
+
left = s.strstart - s.block_start; /* bytes left in window */
|
|
517
|
+
if (len > left + s.strm.avail_in) {
|
|
518
|
+
len = left + s.strm.avail_in; /* limit len to the input */
|
|
519
|
+
}
|
|
520
|
+
if (len > have) {
|
|
521
|
+
len = have; /* limit len to the output */
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
/* If the stored block would be less than min_block in length, or if
|
|
525
|
+
* unable to copy all of the available input when flushing, then try
|
|
526
|
+
* copying to the window and the pending buffer instead. Also don't
|
|
527
|
+
* write an empty block when flushing -- deflate() does that.
|
|
528
|
+
*/
|
|
529
|
+
if (len < min_block && ((len === 0 && flush !== Z_FINISH) ||
|
|
530
|
+
flush === Z_NO_FLUSH ||
|
|
531
|
+
len !== left + s.strm.avail_in)) {
|
|
532
|
+
break;
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
/* Make a dummy stored block in pending to get the header bytes,
|
|
536
|
+
* including any pending bits. This also updates the debugging counts.
|
|
537
|
+
*/
|
|
538
|
+
last = flush === Z_FINISH && len === left + s.strm.avail_in ? 1 : 0;
|
|
539
|
+
_tr_stored_block(s, 0, 0, last);
|
|
540
|
+
|
|
541
|
+
/* Replace the lengths in the dummy stored block with len. */
|
|
542
|
+
s.pending_buf[s.pending - 4] = len;
|
|
543
|
+
s.pending_buf[s.pending - 3] = len >> 8;
|
|
544
|
+
s.pending_buf[s.pending - 2] = ~len;
|
|
545
|
+
s.pending_buf[s.pending - 1] = ~len >> 8;
|
|
546
|
+
|
|
547
|
+
/* Write the stored block header bytes. */
|
|
548
|
+
flush_pending(s.strm);
|
|
549
|
+
|
|
550
|
+
//#ifdef ZLIB_DEBUG
|
|
551
|
+
// /* Update debugging counts for the data about to be copied. */
|
|
552
|
+
// s->compressed_len += len << 3;
|
|
553
|
+
// s->bits_sent += len << 3;
|
|
554
|
+
//#endif
|
|
555
|
+
|
|
556
|
+
/* Copy uncompressed bytes from the window to next_out. */
|
|
557
|
+
if (left) {
|
|
558
|
+
if (left > len) {
|
|
559
|
+
left = len;
|
|
560
|
+
}
|
|
561
|
+
//zmemcpy(s->strm->next_out, s->window + s->block_start, left);
|
|
562
|
+
s.strm.output.set(s.window.subarray(s.block_start, s.block_start + left), s.strm.next_out);
|
|
563
|
+
s.strm.next_out += left;
|
|
564
|
+
s.strm.avail_out -= left;
|
|
565
|
+
s.strm.total_out += left;
|
|
566
|
+
s.block_start += left;
|
|
567
|
+
len -= left;
|
|
568
|
+
}
|
|
569
|
+
|
|
570
|
+
/* Copy uncompressed bytes directly from next_in to next_out, updating
|
|
571
|
+
* the check value.
|
|
572
|
+
*/
|
|
573
|
+
if (len) {
|
|
574
|
+
read_buf(s.strm, s.strm.output, s.strm.next_out, len);
|
|
575
|
+
s.strm.next_out += len;
|
|
576
|
+
s.strm.avail_out -= len;
|
|
577
|
+
s.strm.total_out += len;
|
|
578
|
+
}
|
|
579
|
+
} while (last === 0);
|
|
580
|
+
|
|
581
|
+
/* Update the sliding window with the last s->w_size bytes of the copied
|
|
582
|
+
* data, or append all of the copied data to the existing window if less
|
|
583
|
+
* than s->w_size bytes were copied. Also update the number of bytes to
|
|
584
|
+
* insert in the hash tables, in the event that deflateParams() switches to
|
|
585
|
+
* a non-zero compression level.
|
|
586
|
+
*/
|
|
587
|
+
used -= s.strm.avail_in; /* number of input bytes directly copied */
|
|
588
|
+
if (used) {
|
|
589
|
+
/* If any input was used, then no unused input remains in the window,
|
|
590
|
+
* therefore s->block_start == s->strstart.
|
|
591
|
+
*/
|
|
592
|
+
if (used >= s.w_size) { /* supplant the previous history */
|
|
593
|
+
s.matches = 2; /* clear hash */
|
|
594
|
+
//zmemcpy(s->window, s->strm->next_in - s->w_size, s->w_size);
|
|
595
|
+
s.window.set(s.strm.input.subarray(s.strm.next_in - s.w_size, s.strm.next_in), 0);
|
|
596
|
+
s.strstart = s.w_size;
|
|
597
|
+
s.insert = s.strstart;
|
|
598
|
+
}
|
|
599
|
+
else {
|
|
600
|
+
if (s.window_size - s.strstart <= used) {
|
|
601
|
+
/* Slide the window down. */
|
|
602
|
+
s.strstart -= s.w_size;
|
|
603
|
+
//zmemcpy(s->window, s->window + s->w_size, s->strstart);
|
|
604
|
+
s.window.set(s.window.subarray(s.w_size, s.w_size + s.strstart), 0);
|
|
605
|
+
if (s.matches < 2) {
|
|
606
|
+
s.matches++; /* add a pending slide_hash() */
|
|
607
|
+
}
|
|
608
|
+
if (s.insert > s.strstart) {
|
|
609
|
+
s.insert = s.strstart;
|
|
610
|
+
}
|
|
611
|
+
}
|
|
612
|
+
//zmemcpy(s->window + s->strstart, s->strm->next_in - used, used);
|
|
613
|
+
s.window.set(s.strm.input.subarray(s.strm.next_in - used, s.strm.next_in), s.strstart);
|
|
614
|
+
s.strstart += used;
|
|
615
|
+
s.insert += used > s.w_size - s.insert ? s.w_size - s.insert : used;
|
|
616
|
+
}
|
|
617
|
+
s.block_start = s.strstart;
|
|
618
|
+
}
|
|
619
|
+
if (s.high_water < s.strstart) {
|
|
620
|
+
s.high_water = s.strstart;
|
|
621
|
+
}
|
|
622
|
+
|
|
623
|
+
/* If the last block was written to next_out, then done. */
|
|
624
|
+
if (last) {
|
|
625
|
+
return BS_FINISH_DONE;
|
|
626
|
+
}
|
|
627
|
+
|
|
628
|
+
/* If flushing and all input has been consumed, then done. */
|
|
629
|
+
if (flush !== Z_NO_FLUSH && flush !== Z_FINISH &&
|
|
630
|
+
s.strm.avail_in === 0 && s.strstart === s.block_start) {
|
|
631
|
+
return BS_BLOCK_DONE;
|
|
632
|
+
}
|
|
633
|
+
|
|
634
|
+
/* Fill the window with any remaining input. */
|
|
635
|
+
have = s.window_size - s.strstart;
|
|
636
|
+
if (s.strm.avail_in > have && s.block_start >= s.w_size) {
|
|
637
|
+
/* Slide the window down. */
|
|
638
|
+
s.block_start -= s.w_size;
|
|
639
|
+
s.strstart -= s.w_size;
|
|
640
|
+
//zmemcpy(s->window, s->window + s->w_size, s->strstart);
|
|
641
|
+
s.window.set(s.window.subarray(s.w_size, s.w_size + s.strstart), 0);
|
|
642
|
+
if (s.matches < 2) {
|
|
643
|
+
s.matches++; /* add a pending slide_hash() */
|
|
644
|
+
}
|
|
645
|
+
have += s.w_size; /* more space now */
|
|
646
|
+
if (s.insert > s.strstart) {
|
|
647
|
+
s.insert = s.strstart;
|
|
648
|
+
}
|
|
649
|
+
}
|
|
650
|
+
if (have > s.strm.avail_in) {
|
|
651
|
+
have = s.strm.avail_in;
|
|
652
|
+
}
|
|
653
|
+
if (have) {
|
|
654
|
+
read_buf(s.strm, s.window, s.strstart, have);
|
|
655
|
+
s.strstart += have;
|
|
656
|
+
s.insert += have > s.w_size - s.insert ? s.w_size - s.insert : have;
|
|
657
|
+
}
|
|
658
|
+
if (s.high_water < s.strstart) {
|
|
659
|
+
s.high_water = s.strstart;
|
|
660
|
+
}
|
|
661
|
+
|
|
662
|
+
/* There was not enough avail_out to write a complete worthy or flushed
|
|
663
|
+
* stored block to next_out. Write a stored block to pending instead, if we
|
|
664
|
+
* have enough input for a worthy block, or if flushing and there is enough
|
|
665
|
+
* room for the remaining input as a stored block in the pending buffer.
|
|
666
|
+
*/
|
|
667
|
+
have = (s.bi_valid + 42) >> 3; /* number of header bytes */
|
|
668
|
+
/* maximum stored block length that will fit in pending: */
|
|
669
|
+
have = s.pending_buf_size - have > 65535/* MAX_STORED */ ? 65535/* MAX_STORED */ : s.pending_buf_size - have;
|
|
670
|
+
min_block = have > s.w_size ? s.w_size : have;
|
|
671
|
+
left = s.strstart - s.block_start;
|
|
672
|
+
if (left >= min_block ||
|
|
673
|
+
((left || flush === Z_FINISH) && flush !== Z_NO_FLUSH &&
|
|
674
|
+
s.strm.avail_in === 0 && left <= have)) {
|
|
675
|
+
len = left > have ? have : left;
|
|
676
|
+
last = flush === Z_FINISH && s.strm.avail_in === 0 &&
|
|
677
|
+
len === left ? 1 : 0;
|
|
678
|
+
_tr_stored_block(s, s.block_start, len, last);
|
|
679
|
+
s.block_start += len;
|
|
680
|
+
flush_pending(s.strm);
|
|
681
|
+
}
|
|
682
|
+
|
|
683
|
+
/* We've done all we can with the available input and output. */
|
|
684
|
+
return last ? BS_FINISH_STARTED : BS_NEED_MORE;
|
|
685
|
+
};
|
|
686
|
+
|
|
687
|
+
|
|
688
|
+
/* ===========================================================================
|
|
689
|
+
* Compress as much as possible from the input stream, return the current
|
|
690
|
+
* block state.
|
|
691
|
+
* This function does not perform lazy evaluation of matches and inserts
|
|
692
|
+
* new strings in the dictionary only for unmatched strings or for short
|
|
693
|
+
* matches. It is used only for the fast compression options.
|
|
694
|
+
*/
|
|
695
|
+
const deflate_fast = (s, flush) => {
|
|
696
|
+
|
|
697
|
+
let hash_head; /* head of the hash chain */
|
|
698
|
+
let bflush; /* set if current block must be flushed */
|
|
699
|
+
|
|
700
|
+
for (;;) {
|
|
701
|
+
/* Make sure that we always have enough lookahead, except
|
|
702
|
+
* at the end of the input file. We need MAX_MATCH bytes
|
|
703
|
+
* for the next match, plus MIN_MATCH bytes to insert the
|
|
704
|
+
* string following the next match.
|
|
705
|
+
*/
|
|
706
|
+
if (s.lookahead < MIN_LOOKAHEAD) {
|
|
707
|
+
fill_window(s);
|
|
708
|
+
if (s.lookahead < MIN_LOOKAHEAD && flush === Z_NO_FLUSH) {
|
|
709
|
+
return BS_NEED_MORE;
|
|
710
|
+
}
|
|
711
|
+
if (s.lookahead === 0) {
|
|
712
|
+
break; /* flush the current block */
|
|
713
|
+
}
|
|
714
|
+
}
|
|
715
|
+
|
|
716
|
+
/* Insert the string window[strstart .. strstart+2] in the
|
|
717
|
+
* dictionary, and set hash_head to the head of the hash chain:
|
|
718
|
+
*/
|
|
719
|
+
hash_head = 0/*NIL*/;
|
|
720
|
+
if (s.lookahead >= MIN_MATCH) {
|
|
721
|
+
/*** INSERT_STRING(s, s.strstart, hash_head); ***/
|
|
722
|
+
s.ins_h = HASH(s, s.ins_h, s.window[s.strstart + MIN_MATCH - 1]);
|
|
723
|
+
hash_head = s.prev[s.strstart & s.w_mask] = s.head[s.ins_h];
|
|
724
|
+
s.head[s.ins_h] = s.strstart;
|
|
725
|
+
/***/
|
|
726
|
+
}
|
|
727
|
+
|
|
728
|
+
/* Find the longest match, discarding those <= prev_length.
|
|
729
|
+
* At this point we have always match_length < MIN_MATCH
|
|
730
|
+
*/
|
|
731
|
+
if (hash_head !== 0/*NIL*/ && ((s.strstart - hash_head) <= (s.w_size - MIN_LOOKAHEAD))) {
|
|
732
|
+
/* To simplify the code, we prevent matches with the string
|
|
733
|
+
* of window index 0 (in particular we have to avoid a match
|
|
734
|
+
* of the string with itself at the start of the input file).
|
|
735
|
+
*/
|
|
736
|
+
s.match_length = longest_match(s, hash_head);
|
|
737
|
+
/* longest_match() sets match_start */
|
|
738
|
+
}
|
|
739
|
+
if (s.match_length >= MIN_MATCH) {
|
|
740
|
+
// check_match(s, s.strstart, s.match_start, s.match_length); // for debug only
|
|
741
|
+
|
|
742
|
+
/*** _tr_tally_dist(s, s.strstart - s.match_start,
|
|
743
|
+
s.match_length - MIN_MATCH, bflush); ***/
|
|
744
|
+
bflush = _tr_tally(s, s.strstart - s.match_start, s.match_length - MIN_MATCH);
|
|
745
|
+
|
|
746
|
+
s.lookahead -= s.match_length;
|
|
747
|
+
|
|
748
|
+
/* Insert new strings in the hash table only if the match length
|
|
749
|
+
* is not too large. This saves time but degrades compression.
|
|
750
|
+
*/
|
|
751
|
+
if (s.match_length <= s.max_lazy_match/*max_insert_length*/ && s.lookahead >= MIN_MATCH) {
|
|
752
|
+
s.match_length--; /* string at strstart already in table */
|
|
753
|
+
do {
|
|
754
|
+
s.strstart++;
|
|
755
|
+
/*** INSERT_STRING(s, s.strstart, hash_head); ***/
|
|
756
|
+
s.ins_h = HASH(s, s.ins_h, s.window[s.strstart + MIN_MATCH - 1]);
|
|
757
|
+
hash_head = s.prev[s.strstart & s.w_mask] = s.head[s.ins_h];
|
|
758
|
+
s.head[s.ins_h] = s.strstart;
|
|
759
|
+
/***/
|
|
760
|
+
/* strstart never exceeds WSIZE-MAX_MATCH, so there are
|
|
761
|
+
* always MIN_MATCH bytes ahead.
|
|
762
|
+
*/
|
|
763
|
+
} while (--s.match_length !== 0);
|
|
764
|
+
s.strstart++;
|
|
765
|
+
} else
|
|
766
|
+
{
|
|
767
|
+
s.strstart += s.match_length;
|
|
768
|
+
s.match_length = 0;
|
|
769
|
+
s.ins_h = s.window[s.strstart];
|
|
770
|
+
/* UPDATE_HASH(s, s.ins_h, s.window[s.strstart+1]); */
|
|
771
|
+
s.ins_h = HASH(s, s.ins_h, s.window[s.strstart + 1]);
|
|
772
|
+
|
|
773
|
+
//#if MIN_MATCH != 3
|
|
774
|
+
// Call UPDATE_HASH() MIN_MATCH-3 more times
|
|
775
|
+
//#endif
|
|
776
|
+
/* If lookahead < MIN_MATCH, ins_h is garbage, but it does not
|
|
777
|
+
* matter since it will be recomputed at next deflate call.
|
|
778
|
+
*/
|
|
779
|
+
}
|
|
780
|
+
} else {
|
|
781
|
+
/* No match, output a literal byte */
|
|
782
|
+
//Tracevv((stderr,"%c", s.window[s.strstart]));
|
|
783
|
+
/*** _tr_tally_lit(s, s.window[s.strstart], bflush); ***/
|
|
784
|
+
bflush = _tr_tally(s, 0, s.window[s.strstart]);
|
|
785
|
+
|
|
786
|
+
s.lookahead--;
|
|
787
|
+
s.strstart++;
|
|
788
|
+
}
|
|
789
|
+
if (bflush) {
|
|
790
|
+
/*** FLUSH_BLOCK(s, 0); ***/
|
|
791
|
+
flush_block_only(s, false);
|
|
792
|
+
if (s.strm.avail_out === 0) {
|
|
793
|
+
return BS_NEED_MORE;
|
|
794
|
+
}
|
|
795
|
+
/***/
|
|
796
|
+
}
|
|
797
|
+
}
|
|
798
|
+
s.insert = ((s.strstart < (MIN_MATCH - 1)) ? s.strstart : MIN_MATCH - 1);
|
|
799
|
+
if (flush === Z_FINISH) {
|
|
800
|
+
/*** FLUSH_BLOCK(s, 1); ***/
|
|
801
|
+
flush_block_only(s, true);
|
|
802
|
+
if (s.strm.avail_out === 0) {
|
|
803
|
+
return BS_FINISH_STARTED;
|
|
804
|
+
}
|
|
805
|
+
/***/
|
|
806
|
+
return BS_FINISH_DONE;
|
|
807
|
+
}
|
|
808
|
+
if (s.sym_next) {
|
|
809
|
+
/*** FLUSH_BLOCK(s, 0); ***/
|
|
810
|
+
flush_block_only(s, false);
|
|
811
|
+
if (s.strm.avail_out === 0) {
|
|
812
|
+
return BS_NEED_MORE;
|
|
813
|
+
}
|
|
814
|
+
/***/
|
|
815
|
+
}
|
|
816
|
+
return BS_BLOCK_DONE;
|
|
817
|
+
};
|
|
818
|
+
|
|
819
|
+
/* ===========================================================================
|
|
820
|
+
* Same as above, but achieves better compression. We use a lazy
|
|
821
|
+
* evaluation for matches: a match is finally adopted only if there is
|
|
822
|
+
* no better match at the next window position.
|
|
823
|
+
*/
|
|
824
|
+
const deflate_slow = (s, flush) => {
|
|
825
|
+
|
|
826
|
+
let hash_head; /* head of hash chain */
|
|
827
|
+
let bflush; /* set if current block must be flushed */
|
|
828
|
+
|
|
829
|
+
let max_insert;
|
|
830
|
+
|
|
831
|
+
/* Process the input block. */
|
|
832
|
+
for (;;) {
|
|
833
|
+
/* Make sure that we always have enough lookahead, except
|
|
834
|
+
* at the end of the input file. We need MAX_MATCH bytes
|
|
835
|
+
* for the next match, plus MIN_MATCH bytes to insert the
|
|
836
|
+
* string following the next match.
|
|
837
|
+
*/
|
|
838
|
+
if (s.lookahead < MIN_LOOKAHEAD) {
|
|
839
|
+
fill_window(s);
|
|
840
|
+
if (s.lookahead < MIN_LOOKAHEAD && flush === Z_NO_FLUSH) {
|
|
841
|
+
return BS_NEED_MORE;
|
|
842
|
+
}
|
|
843
|
+
if (s.lookahead === 0) { break; } /* flush the current block */
|
|
844
|
+
}
|
|
845
|
+
|
|
846
|
+
/* Insert the string window[strstart .. strstart+2] in the
|
|
847
|
+
* dictionary, and set hash_head to the head of the hash chain:
|
|
848
|
+
*/
|
|
849
|
+
hash_head = 0/*NIL*/;
|
|
850
|
+
if (s.lookahead >= MIN_MATCH) {
|
|
851
|
+
/*** INSERT_STRING(s, s.strstart, hash_head); ***/
|
|
852
|
+
s.ins_h = HASH(s, s.ins_h, s.window[s.strstart + MIN_MATCH - 1]);
|
|
853
|
+
hash_head = s.prev[s.strstart & s.w_mask] = s.head[s.ins_h];
|
|
854
|
+
s.head[s.ins_h] = s.strstart;
|
|
855
|
+
/***/
|
|
856
|
+
}
|
|
857
|
+
|
|
858
|
+
/* Find the longest match, discarding those <= prev_length.
|
|
859
|
+
*/
|
|
860
|
+
s.prev_length = s.match_length;
|
|
861
|
+
s.prev_match = s.match_start;
|
|
862
|
+
s.match_length = MIN_MATCH - 1;
|
|
863
|
+
|
|
864
|
+
if (hash_head !== 0/*NIL*/ && s.prev_length < s.max_lazy_match &&
|
|
865
|
+
s.strstart - hash_head <= (s.w_size - MIN_LOOKAHEAD)/*MAX_DIST(s)*/) {
|
|
866
|
+
/* To simplify the code, we prevent matches with the string
|
|
867
|
+
* of window index 0 (in particular we have to avoid a match
|
|
868
|
+
* of the string with itself at the start of the input file).
|
|
869
|
+
*/
|
|
870
|
+
s.match_length = longest_match(s, hash_head);
|
|
871
|
+
/* longest_match() sets match_start */
|
|
872
|
+
|
|
873
|
+
if (s.match_length <= 5 &&
|
|
874
|
+
(s.strategy === Z_FILTERED || (s.match_length === MIN_MATCH && s.strstart - s.match_start > 4096/*TOO_FAR*/))) {
|
|
875
|
+
|
|
876
|
+
/* If prev_match is also MIN_MATCH, match_start is garbage
|
|
877
|
+
* but we will ignore the current match anyway.
|
|
878
|
+
*/
|
|
879
|
+
s.match_length = MIN_MATCH - 1;
|
|
880
|
+
}
|
|
881
|
+
}
|
|
882
|
+
/* If there was a match at the previous step and the current
|
|
883
|
+
* match is not better, output the previous match:
|
|
884
|
+
*/
|
|
885
|
+
if (s.prev_length >= MIN_MATCH && s.match_length <= s.prev_length) {
|
|
886
|
+
max_insert = s.strstart + s.lookahead - MIN_MATCH;
|
|
887
|
+
/* Do not insert strings in hash table beyond this. */
|
|
888
|
+
|
|
889
|
+
//check_match(s, s.strstart-1, s.prev_match, s.prev_length);
|
|
890
|
+
|
|
891
|
+
/***_tr_tally_dist(s, s.strstart - 1 - s.prev_match,
|
|
892
|
+
s.prev_length - MIN_MATCH, bflush);***/
|
|
893
|
+
bflush = _tr_tally(s, s.strstart - 1 - s.prev_match, s.prev_length - MIN_MATCH);
|
|
894
|
+
/* Insert in hash table all strings up to the end of the match.
|
|
895
|
+
* strstart-1 and strstart are already inserted. If there is not
|
|
896
|
+
* enough lookahead, the last two strings are not inserted in
|
|
897
|
+
* the hash table.
|
|
898
|
+
*/
|
|
899
|
+
s.lookahead -= s.prev_length - 1;
|
|
900
|
+
s.prev_length -= 2;
|
|
901
|
+
do {
|
|
902
|
+
if (++s.strstart <= max_insert) {
|
|
903
|
+
/*** INSERT_STRING(s, s.strstart, hash_head); ***/
|
|
904
|
+
s.ins_h = HASH(s, s.ins_h, s.window[s.strstart + MIN_MATCH - 1]);
|
|
905
|
+
hash_head = s.prev[s.strstart & s.w_mask] = s.head[s.ins_h];
|
|
906
|
+
s.head[s.ins_h] = s.strstart;
|
|
907
|
+
/***/
|
|
908
|
+
}
|
|
909
|
+
} while (--s.prev_length !== 0);
|
|
910
|
+
s.match_available = 0;
|
|
911
|
+
s.match_length = MIN_MATCH - 1;
|
|
912
|
+
s.strstart++;
|
|
913
|
+
|
|
914
|
+
if (bflush) {
|
|
915
|
+
/*** FLUSH_BLOCK(s, 0); ***/
|
|
916
|
+
flush_block_only(s, false);
|
|
917
|
+
if (s.strm.avail_out === 0) {
|
|
918
|
+
return BS_NEED_MORE;
|
|
919
|
+
}
|
|
920
|
+
/***/
|
|
921
|
+
}
|
|
922
|
+
|
|
923
|
+
} else if (s.match_available) {
|
|
924
|
+
/* If there was no match at the previous position, output a
|
|
925
|
+
* single literal. If there was a match but the current match
|
|
926
|
+
* is longer, truncate the previous match to a single literal.
|
|
927
|
+
*/
|
|
928
|
+
//Tracevv((stderr,"%c", s->window[s->strstart-1]));
|
|
929
|
+
/*** _tr_tally_lit(s, s.window[s.strstart-1], bflush); ***/
|
|
930
|
+
bflush = _tr_tally(s, 0, s.window[s.strstart - 1]);
|
|
931
|
+
|
|
932
|
+
if (bflush) {
|
|
933
|
+
/*** FLUSH_BLOCK_ONLY(s, 0) ***/
|
|
934
|
+
flush_block_only(s, false);
|
|
935
|
+
/***/
|
|
936
|
+
}
|
|
937
|
+
s.strstart++;
|
|
938
|
+
s.lookahead--;
|
|
939
|
+
if (s.strm.avail_out === 0) {
|
|
940
|
+
return BS_NEED_MORE;
|
|
941
|
+
}
|
|
942
|
+
} else {
|
|
943
|
+
/* There is no previous match to compare with, wait for
|
|
944
|
+
* the next step to decide.
|
|
945
|
+
*/
|
|
946
|
+
s.match_available = 1;
|
|
947
|
+
s.strstart++;
|
|
948
|
+
s.lookahead--;
|
|
949
|
+
}
|
|
950
|
+
}
|
|
951
|
+
//Assert (flush != Z_NO_FLUSH, "no flush?");
|
|
952
|
+
if (s.match_available) {
|
|
953
|
+
//Tracevv((stderr,"%c", s->window[s->strstart-1]));
|
|
954
|
+
/*** _tr_tally_lit(s, s.window[s.strstart-1], bflush); ***/
|
|
955
|
+
bflush = _tr_tally(s, 0, s.window[s.strstart - 1]);
|
|
956
|
+
|
|
957
|
+
s.match_available = 0;
|
|
958
|
+
}
|
|
959
|
+
s.insert = s.strstart < MIN_MATCH - 1 ? s.strstart : MIN_MATCH - 1;
|
|
960
|
+
if (flush === Z_FINISH) {
|
|
961
|
+
/*** FLUSH_BLOCK(s, 1); ***/
|
|
962
|
+
flush_block_only(s, true);
|
|
963
|
+
if (s.strm.avail_out === 0) {
|
|
964
|
+
return BS_FINISH_STARTED;
|
|
965
|
+
}
|
|
966
|
+
/***/
|
|
967
|
+
return BS_FINISH_DONE;
|
|
968
|
+
}
|
|
969
|
+
if (s.sym_next) {
|
|
970
|
+
/*** FLUSH_BLOCK(s, 0); ***/
|
|
971
|
+
flush_block_only(s, false);
|
|
972
|
+
if (s.strm.avail_out === 0) {
|
|
973
|
+
return BS_NEED_MORE;
|
|
974
|
+
}
|
|
975
|
+
/***/
|
|
976
|
+
}
|
|
977
|
+
|
|
978
|
+
return BS_BLOCK_DONE;
|
|
979
|
+
};
|
|
980
|
+
|
|
981
|
+
|
|
982
|
+
/* ===========================================================================
|
|
983
|
+
* For Z_RLE, simply look for runs of bytes, generate matches only of distance
|
|
984
|
+
* one. Do not maintain a hash table. (It will be regenerated if this run of
|
|
985
|
+
* deflate switches away from Z_RLE.)
|
|
986
|
+
*/
|
|
987
|
+
const deflate_rle = (s, flush) => {
|
|
988
|
+
|
|
989
|
+
let bflush; /* set if current block must be flushed */
|
|
990
|
+
let prev; /* byte at distance one to match */
|
|
991
|
+
let scan, strend; /* scan goes up to strend for length of run */
|
|
992
|
+
|
|
993
|
+
const _win = s.window;
|
|
994
|
+
|
|
995
|
+
for (;;) {
|
|
996
|
+
/* Make sure that we always have enough lookahead, except
|
|
997
|
+
* at the end of the input file. We need MAX_MATCH bytes
|
|
998
|
+
* for the longest run, plus one for the unrolled loop.
|
|
999
|
+
*/
|
|
1000
|
+
if (s.lookahead <= MAX_MATCH) {
|
|
1001
|
+
fill_window(s);
|
|
1002
|
+
if (s.lookahead <= MAX_MATCH && flush === Z_NO_FLUSH) {
|
|
1003
|
+
return BS_NEED_MORE;
|
|
1004
|
+
}
|
|
1005
|
+
if (s.lookahead === 0) { break; } /* flush the current block */
|
|
1006
|
+
}
|
|
1007
|
+
|
|
1008
|
+
/* See how many times the previous byte repeats */
|
|
1009
|
+
s.match_length = 0;
|
|
1010
|
+
if (s.lookahead >= MIN_MATCH && s.strstart > 0) {
|
|
1011
|
+
scan = s.strstart - 1;
|
|
1012
|
+
prev = _win[scan];
|
|
1013
|
+
if (prev === _win[++scan] && prev === _win[++scan] && prev === _win[++scan]) {
|
|
1014
|
+
strend = s.strstart + MAX_MATCH;
|
|
1015
|
+
do {
|
|
1016
|
+
/*jshint noempty:false*/
|
|
1017
|
+
} while (prev === _win[++scan] && prev === _win[++scan] &&
|
|
1018
|
+
prev === _win[++scan] && prev === _win[++scan] &&
|
|
1019
|
+
prev === _win[++scan] && prev === _win[++scan] &&
|
|
1020
|
+
prev === _win[++scan] && prev === _win[++scan] &&
|
|
1021
|
+
scan < strend);
|
|
1022
|
+
s.match_length = MAX_MATCH - (strend - scan);
|
|
1023
|
+
if (s.match_length > s.lookahead) {
|
|
1024
|
+
s.match_length = s.lookahead;
|
|
1025
|
+
}
|
|
1026
|
+
}
|
|
1027
|
+
//Assert(scan <= s->window+(uInt)(s->window_size-1), "wild scan");
|
|
1028
|
+
}
|
|
1029
|
+
|
|
1030
|
+
/* Emit match if have run of MIN_MATCH or longer, else emit literal */
|
|
1031
|
+
if (s.match_length >= MIN_MATCH) {
|
|
1032
|
+
//check_match(s, s.strstart, s.strstart - 1, s.match_length);
|
|
1033
|
+
|
|
1034
|
+
/*** _tr_tally_dist(s, 1, s.match_length - MIN_MATCH, bflush); ***/
|
|
1035
|
+
bflush = _tr_tally(s, 1, s.match_length - MIN_MATCH);
|
|
1036
|
+
|
|
1037
|
+
s.lookahead -= s.match_length;
|
|
1038
|
+
s.strstart += s.match_length;
|
|
1039
|
+
s.match_length = 0;
|
|
1040
|
+
} else {
|
|
1041
|
+
/* No match, output a literal byte */
|
|
1042
|
+
//Tracevv((stderr,"%c", s->window[s->strstart]));
|
|
1043
|
+
/*** _tr_tally_lit(s, s.window[s.strstart], bflush); ***/
|
|
1044
|
+
bflush = _tr_tally(s, 0, s.window[s.strstart]);
|
|
1045
|
+
|
|
1046
|
+
s.lookahead--;
|
|
1047
|
+
s.strstart++;
|
|
1048
|
+
}
|
|
1049
|
+
if (bflush) {
|
|
1050
|
+
/*** FLUSH_BLOCK(s, 0); ***/
|
|
1051
|
+
flush_block_only(s, false);
|
|
1052
|
+
if (s.strm.avail_out === 0) {
|
|
1053
|
+
return BS_NEED_MORE;
|
|
1054
|
+
}
|
|
1055
|
+
/***/
|
|
1056
|
+
}
|
|
1057
|
+
}
|
|
1058
|
+
s.insert = 0;
|
|
1059
|
+
if (flush === Z_FINISH) {
|
|
1060
|
+
/*** FLUSH_BLOCK(s, 1); ***/
|
|
1061
|
+
flush_block_only(s, true);
|
|
1062
|
+
if (s.strm.avail_out === 0) {
|
|
1063
|
+
return BS_FINISH_STARTED;
|
|
1064
|
+
}
|
|
1065
|
+
/***/
|
|
1066
|
+
return BS_FINISH_DONE;
|
|
1067
|
+
}
|
|
1068
|
+
if (s.sym_next) {
|
|
1069
|
+
/*** FLUSH_BLOCK(s, 0); ***/
|
|
1070
|
+
flush_block_only(s, false);
|
|
1071
|
+
if (s.strm.avail_out === 0) {
|
|
1072
|
+
return BS_NEED_MORE;
|
|
1073
|
+
}
|
|
1074
|
+
/***/
|
|
1075
|
+
}
|
|
1076
|
+
return BS_BLOCK_DONE;
|
|
1077
|
+
};
|
|
1078
|
+
|
|
1079
|
+
/* ===========================================================================
|
|
1080
|
+
* For Z_HUFFMAN_ONLY, do not look for matches. Do not maintain a hash table.
|
|
1081
|
+
* (It will be regenerated if this run of deflate switches away from Huffman.)
|
|
1082
|
+
*/
|
|
1083
|
+
const deflate_huff = (s, flush) => {
|
|
1084
|
+
|
|
1085
|
+
let bflush; /* set if current block must be flushed */
|
|
1086
|
+
|
|
1087
|
+
for (;;) {
|
|
1088
|
+
/* Make sure that we have a literal to write. */
|
|
1089
|
+
if (s.lookahead === 0) {
|
|
1090
|
+
fill_window(s);
|
|
1091
|
+
if (s.lookahead === 0) {
|
|
1092
|
+
if (flush === Z_NO_FLUSH) {
|
|
1093
|
+
return BS_NEED_MORE;
|
|
1094
|
+
}
|
|
1095
|
+
break; /* flush the current block */
|
|
1096
|
+
}
|
|
1097
|
+
}
|
|
1098
|
+
|
|
1099
|
+
/* Output a literal byte */
|
|
1100
|
+
s.match_length = 0;
|
|
1101
|
+
//Tracevv((stderr,"%c", s->window[s->strstart]));
|
|
1102
|
+
/*** _tr_tally_lit(s, s.window[s.strstart], bflush); ***/
|
|
1103
|
+
bflush = _tr_tally(s, 0, s.window[s.strstart]);
|
|
1104
|
+
s.lookahead--;
|
|
1105
|
+
s.strstart++;
|
|
1106
|
+
if (bflush) {
|
|
1107
|
+
/*** FLUSH_BLOCK(s, 0); ***/
|
|
1108
|
+
flush_block_only(s, false);
|
|
1109
|
+
if (s.strm.avail_out === 0) {
|
|
1110
|
+
return BS_NEED_MORE;
|
|
1111
|
+
}
|
|
1112
|
+
/***/
|
|
1113
|
+
}
|
|
1114
|
+
}
|
|
1115
|
+
s.insert = 0;
|
|
1116
|
+
if (flush === Z_FINISH) {
|
|
1117
|
+
/*** FLUSH_BLOCK(s, 1); ***/
|
|
1118
|
+
flush_block_only(s, true);
|
|
1119
|
+
if (s.strm.avail_out === 0) {
|
|
1120
|
+
return BS_FINISH_STARTED;
|
|
1121
|
+
}
|
|
1122
|
+
/***/
|
|
1123
|
+
return BS_FINISH_DONE;
|
|
1124
|
+
}
|
|
1125
|
+
if (s.sym_next) {
|
|
1126
|
+
/*** FLUSH_BLOCK(s, 0); ***/
|
|
1127
|
+
flush_block_only(s, false);
|
|
1128
|
+
if (s.strm.avail_out === 0) {
|
|
1129
|
+
return BS_NEED_MORE;
|
|
1130
|
+
}
|
|
1131
|
+
/***/
|
|
1132
|
+
}
|
|
1133
|
+
return BS_BLOCK_DONE;
|
|
1134
|
+
};
|
|
1135
|
+
|
|
1136
|
+
/* Values for max_lazy_match, good_match and max_chain_length, depending on
|
|
1137
|
+
* the desired pack level (0..9). The values given below have been tuned to
|
|
1138
|
+
* exclude worst case performance for pathological files. Better values may be
|
|
1139
|
+
* found for specific files.
|
|
1140
|
+
*/
|
|
1141
|
+
function Config(good_length, max_lazy, nice_length, max_chain, func) {
|
|
1142
|
+
|
|
1143
|
+
this.good_length = good_length;
|
|
1144
|
+
this.max_lazy = max_lazy;
|
|
1145
|
+
this.nice_length = nice_length;
|
|
1146
|
+
this.max_chain = max_chain;
|
|
1147
|
+
this.func = func;
|
|
1148
|
+
}
|
|
1149
|
+
|
|
1150
|
+
const configuration_table = [
|
|
1151
|
+
/* good lazy nice chain */
|
|
1152
|
+
new Config(0, 0, 0, 0, deflate_stored), /* 0 store only */
|
|
1153
|
+
new Config(4, 4, 8, 4, deflate_fast), /* 1 max speed, no lazy matches */
|
|
1154
|
+
new Config(4, 5, 16, 8, deflate_fast), /* 2 */
|
|
1155
|
+
new Config(4, 6, 32, 32, deflate_fast), /* 3 */
|
|
1156
|
+
|
|
1157
|
+
new Config(4, 4, 16, 16, deflate_slow), /* 4 lazy matches */
|
|
1158
|
+
new Config(8, 16, 32, 32, deflate_slow), /* 5 */
|
|
1159
|
+
new Config(8, 16, 128, 128, deflate_slow), /* 6 */
|
|
1160
|
+
new Config(8, 32, 128, 256, deflate_slow), /* 7 */
|
|
1161
|
+
new Config(32, 128, 258, 1024, deflate_slow), /* 8 */
|
|
1162
|
+
new Config(32, 258, 258, 4096, deflate_slow) /* 9 max compression */
|
|
1163
|
+
];
|
|
1164
|
+
|
|
1165
|
+
|
|
1166
|
+
/* ===========================================================================
|
|
1167
|
+
* Initialize the "longest match" routines for a new zlib stream
|
|
1168
|
+
*/
|
|
1169
|
+
const lm_init = (s) => {
|
|
1170
|
+
|
|
1171
|
+
s.window_size = 2 * s.w_size;
|
|
1172
|
+
|
|
1173
|
+
/*** CLEAR_HASH(s); ***/
|
|
1174
|
+
zero(s.head); // Fill with NIL (= 0);
|
|
1175
|
+
|
|
1176
|
+
/* Set the default configuration parameters:
|
|
1177
|
+
*/
|
|
1178
|
+
s.max_lazy_match = configuration_table[s.level].max_lazy;
|
|
1179
|
+
s.good_match = configuration_table[s.level].good_length;
|
|
1180
|
+
s.nice_match = configuration_table[s.level].nice_length;
|
|
1181
|
+
s.max_chain_length = configuration_table[s.level].max_chain;
|
|
1182
|
+
|
|
1183
|
+
s.strstart = 0;
|
|
1184
|
+
s.block_start = 0;
|
|
1185
|
+
s.lookahead = 0;
|
|
1186
|
+
s.insert = 0;
|
|
1187
|
+
s.match_length = s.prev_length = MIN_MATCH - 1;
|
|
1188
|
+
s.match_available = 0;
|
|
1189
|
+
s.ins_h = 0;
|
|
1190
|
+
};
|
|
1191
|
+
|
|
1192
|
+
|
|
1193
|
+
function DeflateState() {
|
|
1194
|
+
this.strm = null; /* pointer back to this zlib stream */
|
|
1195
|
+
this.status = 0; /* as the name implies */
|
|
1196
|
+
this.pending_buf = null; /* output still pending */
|
|
1197
|
+
this.pending_buf_size = 0; /* size of pending_buf */
|
|
1198
|
+
this.pending_out = 0; /* next pending byte to output to the stream */
|
|
1199
|
+
this.pending = 0; /* nb of bytes in the pending buffer */
|
|
1200
|
+
this.wrap = 0; /* bit 0 true for zlib, bit 1 true for gzip */
|
|
1201
|
+
this.gzhead = null; /* gzip header information to write */
|
|
1202
|
+
this.gzindex = 0; /* where in extra, name, or comment */
|
|
1203
|
+
this.method = Z_DEFLATED; /* can only be DEFLATED */
|
|
1204
|
+
this.last_flush = -1; /* value of flush param for previous deflate call */
|
|
1205
|
+
|
|
1206
|
+
this.w_size = 0; /* LZ77 window size (32K by default) */
|
|
1207
|
+
this.w_bits = 0; /* log2(w_size) (8..16) */
|
|
1208
|
+
this.w_mask = 0; /* w_size - 1 */
|
|
1209
|
+
|
|
1210
|
+
this.window = null;
|
|
1211
|
+
/* Sliding window. Input bytes are read into the second half of the window,
|
|
1212
|
+
* and move to the first half later to keep a dictionary of at least wSize
|
|
1213
|
+
* bytes. With this organization, matches are limited to a distance of
|
|
1214
|
+
* wSize-MAX_MATCH bytes, but this ensures that IO is always
|
|
1215
|
+
* performed with a length multiple of the block size.
|
|
1216
|
+
*/
|
|
1217
|
+
|
|
1218
|
+
this.window_size = 0;
|
|
1219
|
+
/* Actual size of window: 2*wSize, except when the user input buffer
|
|
1220
|
+
* is directly used as sliding window.
|
|
1221
|
+
*/
|
|
1222
|
+
|
|
1223
|
+
this.prev = null;
|
|
1224
|
+
/* Link to older string with same hash index. To limit the size of this
|
|
1225
|
+
* array to 64K, this link is maintained only for the last 32K strings.
|
|
1226
|
+
* An index in this array is thus a window index modulo 32K.
|
|
1227
|
+
*/
|
|
1228
|
+
|
|
1229
|
+
this.head = null; /* Heads of the hash chains or NIL. */
|
|
1230
|
+
|
|
1231
|
+
this.ins_h = 0; /* hash index of string to be inserted */
|
|
1232
|
+
this.hash_size = 0; /* number of elements in hash table */
|
|
1233
|
+
this.hash_bits = 0; /* log2(hash_size) */
|
|
1234
|
+
this.hash_mask = 0; /* hash_size-1 */
|
|
1235
|
+
|
|
1236
|
+
this.hash_shift = 0;
|
|
1237
|
+
/* Number of bits by which ins_h must be shifted at each input
|
|
1238
|
+
* step. It must be such that after MIN_MATCH steps, the oldest
|
|
1239
|
+
* byte no longer takes part in the hash key, that is:
|
|
1240
|
+
* hash_shift * MIN_MATCH >= hash_bits
|
|
1241
|
+
*/
|
|
1242
|
+
|
|
1243
|
+
this.block_start = 0;
|
|
1244
|
+
/* Window position at the beginning of the current output block. Gets
|
|
1245
|
+
* negative when the window is moved backwards.
|
|
1246
|
+
*/
|
|
1247
|
+
|
|
1248
|
+
this.match_length = 0; /* length of best match */
|
|
1249
|
+
this.prev_match = 0; /* previous match */
|
|
1250
|
+
this.match_available = 0; /* set if previous match exists */
|
|
1251
|
+
this.strstart = 0; /* start of string to insert */
|
|
1252
|
+
this.match_start = 0; /* start of matching string */
|
|
1253
|
+
this.lookahead = 0; /* number of valid bytes ahead in window */
|
|
1254
|
+
|
|
1255
|
+
this.prev_length = 0;
|
|
1256
|
+
/* Length of the best match at previous step. Matches not greater than this
|
|
1257
|
+
* are discarded. This is used in the lazy match evaluation.
|
|
1258
|
+
*/
|
|
1259
|
+
|
|
1260
|
+
this.max_chain_length = 0;
|
|
1261
|
+
/* To speed up deflation, hash chains are never searched beyond this
|
|
1262
|
+
* length. A higher limit improves compression ratio but degrades the
|
|
1263
|
+
* speed.
|
|
1264
|
+
*/
|
|
1265
|
+
|
|
1266
|
+
this.max_lazy_match = 0;
|
|
1267
|
+
/* Attempt to find a better match only when the current match is strictly
|
|
1268
|
+
* smaller than this value. This mechanism is used only for compression
|
|
1269
|
+
* levels >= 4.
|
|
1270
|
+
*/
|
|
1271
|
+
// That's alias to max_lazy_match, don't use directly
|
|
1272
|
+
//this.max_insert_length = 0;
|
|
1273
|
+
/* Insert new strings in the hash table only if the match length is not
|
|
1274
|
+
* greater than this length. This saves time but degrades compression.
|
|
1275
|
+
* max_insert_length is used only for compression levels <= 3.
|
|
1276
|
+
*/
|
|
1277
|
+
|
|
1278
|
+
this.level = 0; /* compression level (1..9) */
|
|
1279
|
+
this.strategy = 0; /* favor or force Huffman coding*/
|
|
1280
|
+
|
|
1281
|
+
this.good_match = 0;
|
|
1282
|
+
/* Use a faster search when the previous match is longer than this */
|
|
1283
|
+
|
|
1284
|
+
this.nice_match = 0; /* Stop searching when current match exceeds this */
|
|
1285
|
+
|
|
1286
|
+
/* used by trees.c: */
|
|
1287
|
+
|
|
1288
|
+
/* Didn't use ct_data typedef below to suppress compiler warning */
|
|
1289
|
+
|
|
1290
|
+
// struct ct_data_s dyn_ltree[HEAP_SIZE]; /* literal and length tree */
|
|
1291
|
+
// struct ct_data_s dyn_dtree[2*D_CODES+1]; /* distance tree */
|
|
1292
|
+
// struct ct_data_s bl_tree[2*BL_CODES+1]; /* Huffman tree for bit lengths */
|
|
1293
|
+
|
|
1294
|
+
// Use flat array of DOUBLE size, with interleaved fata,
|
|
1295
|
+
// because JS does not support effective
|
|
1296
|
+
this.dyn_ltree = new Uint16Array(HEAP_SIZE * 2);
|
|
1297
|
+
this.dyn_dtree = new Uint16Array((2 * D_CODES + 1) * 2);
|
|
1298
|
+
this.bl_tree = new Uint16Array((2 * BL_CODES + 1) * 2);
|
|
1299
|
+
zero(this.dyn_ltree);
|
|
1300
|
+
zero(this.dyn_dtree);
|
|
1301
|
+
zero(this.bl_tree);
|
|
1302
|
+
|
|
1303
|
+
this.l_desc = null; /* desc. for literal tree */
|
|
1304
|
+
this.d_desc = null; /* desc. for distance tree */
|
|
1305
|
+
this.bl_desc = null; /* desc. for bit length tree */
|
|
1306
|
+
|
|
1307
|
+
//ush bl_count[MAX_BITS+1];
|
|
1308
|
+
this.bl_count = new Uint16Array(MAX_BITS + 1);
|
|
1309
|
+
/* number of codes at each bit length for an optimal tree */
|
|
1310
|
+
|
|
1311
|
+
//int heap[2*L_CODES+1]; /* heap used to build the Huffman trees */
|
|
1312
|
+
this.heap = new Uint16Array(2 * L_CODES + 1); /* heap used to build the Huffman trees */
|
|
1313
|
+
zero(this.heap);
|
|
1314
|
+
|
|
1315
|
+
this.heap_len = 0; /* number of elements in the heap */
|
|
1316
|
+
this.heap_max = 0; /* element of largest frequency */
|
|
1317
|
+
/* The sons of heap[n] are heap[2*n] and heap[2*n+1]. heap[0] is not used.
|
|
1318
|
+
* The same heap array is used to build all trees.
|
|
1319
|
+
*/
|
|
1320
|
+
|
|
1321
|
+
this.depth = new Uint16Array(2 * L_CODES + 1); //uch depth[2*L_CODES+1];
|
|
1322
|
+
zero(this.depth);
|
|
1323
|
+
/* Depth of each subtree used as tie breaker for trees of equal frequency
|
|
1324
|
+
*/
|
|
1325
|
+
|
|
1326
|
+
this.sym_buf = 0; /* buffer for distances and literals/lengths */
|
|
1327
|
+
|
|
1328
|
+
this.lit_bufsize = 0;
|
|
1329
|
+
/* Size of match buffer for literals/lengths. There are 4 reasons for
|
|
1330
|
+
* limiting lit_bufsize to 64K:
|
|
1331
|
+
* - frequencies can be kept in 16 bit counters
|
|
1332
|
+
* - if compression is not successful for the first block, all input
|
|
1333
|
+
* data is still in the window so we can still emit a stored block even
|
|
1334
|
+
* when input comes from standard input. (This can also be done for
|
|
1335
|
+
* all blocks if lit_bufsize is not greater than 32K.)
|
|
1336
|
+
* - if compression is not successful for a file smaller than 64K, we can
|
|
1337
|
+
* even emit a stored file instead of a stored block (saving 5 bytes).
|
|
1338
|
+
* This is applicable only for zip (not gzip or zlib).
|
|
1339
|
+
* - creating new Huffman trees less frequently may not provide fast
|
|
1340
|
+
* adaptation to changes in the input data statistics. (Take for
|
|
1341
|
+
* example a binary file with poorly compressible code followed by
|
|
1342
|
+
* a highly compressible string table.) Smaller buffer sizes give
|
|
1343
|
+
* fast adaptation but have of course the overhead of transmitting
|
|
1344
|
+
* trees more frequently.
|
|
1345
|
+
* - I can't count above 4
|
|
1346
|
+
*/
|
|
1347
|
+
|
|
1348
|
+
this.sym_next = 0; /* running index in sym_buf */
|
|
1349
|
+
this.sym_end = 0; /* symbol table full when sym_next reaches this */
|
|
1350
|
+
|
|
1351
|
+
this.opt_len = 0; /* bit length of current block with optimal trees */
|
|
1352
|
+
this.static_len = 0; /* bit length of current block with static trees */
|
|
1353
|
+
this.matches = 0; /* number of string matches in current block */
|
|
1354
|
+
this.insert = 0; /* bytes at end of window left to insert */
|
|
1355
|
+
|
|
1356
|
+
|
|
1357
|
+
this.bi_buf = 0;
|
|
1358
|
+
/* Output buffer. bits are inserted starting at the bottom (least
|
|
1359
|
+
* significant bits).
|
|
1360
|
+
*/
|
|
1361
|
+
this.bi_valid = 0;
|
|
1362
|
+
/* Number of valid bits in bi_buf. All bits above the last valid bit
|
|
1363
|
+
* are always zero.
|
|
1364
|
+
*/
|
|
1365
|
+
|
|
1366
|
+
// Used for window memory init. We safely ignore it for JS. That makes
|
|
1367
|
+
// sense only for pointers and memory check tools.
|
|
1368
|
+
//this.high_water = 0;
|
|
1369
|
+
/* High water mark offset in window for initialized bytes -- bytes above
|
|
1370
|
+
* this are set to zero in order to avoid memory check warnings when
|
|
1371
|
+
* longest match routines access bytes past the input. This is then
|
|
1372
|
+
* updated to the new high water mark.
|
|
1373
|
+
*/
|
|
1374
|
+
}
|
|
1375
|
+
|
|
1376
|
+
|
|
1377
|
+
/* =========================================================================
|
|
1378
|
+
* Check for a valid deflate stream state. Return 0 if ok, 1 if not.
|
|
1379
|
+
*/
|
|
1380
|
+
const deflateStateCheck = (strm) => {
|
|
1381
|
+
|
|
1382
|
+
if (!strm) {
|
|
1383
|
+
return 1;
|
|
1384
|
+
}
|
|
1385
|
+
const s = strm.state;
|
|
1386
|
+
if (!s || s.strm !== strm || (s.status !== INIT_STATE &&
|
|
1387
|
+
//#ifdef GZIP
|
|
1388
|
+
s.status !== GZIP_STATE &&
|
|
1389
|
+
//#endif
|
|
1390
|
+
s.status !== EXTRA_STATE &&
|
|
1391
|
+
s.status !== NAME_STATE &&
|
|
1392
|
+
s.status !== COMMENT_STATE &&
|
|
1393
|
+
s.status !== HCRC_STATE &&
|
|
1394
|
+
s.status !== BUSY_STATE &&
|
|
1395
|
+
s.status !== FINISH_STATE)) {
|
|
1396
|
+
return 1;
|
|
1397
|
+
}
|
|
1398
|
+
return 0;
|
|
1399
|
+
};
|
|
1400
|
+
|
|
1401
|
+
|
|
1402
|
+
const deflateResetKeep = (strm) => {
|
|
1403
|
+
|
|
1404
|
+
if (deflateStateCheck(strm)) {
|
|
1405
|
+
return err(strm, Z_STREAM_ERROR);
|
|
1406
|
+
}
|
|
1407
|
+
|
|
1408
|
+
strm.total_in = strm.total_out = 0;
|
|
1409
|
+
strm.data_type = Z_UNKNOWN;
|
|
1410
|
+
|
|
1411
|
+
const s = strm.state;
|
|
1412
|
+
s.pending = 0;
|
|
1413
|
+
s.pending_out = 0;
|
|
1414
|
+
|
|
1415
|
+
if (s.wrap < 0) {
|
|
1416
|
+
s.wrap = -s.wrap;
|
|
1417
|
+
/* was made negative by deflate(..., Z_FINISH); */
|
|
1418
|
+
}
|
|
1419
|
+
s.status =
|
|
1420
|
+
//#ifdef GZIP
|
|
1421
|
+
s.wrap === 2 ? GZIP_STATE :
|
|
1422
|
+
//#endif
|
|
1423
|
+
s.wrap ? INIT_STATE : BUSY_STATE;
|
|
1424
|
+
strm.adler = (s.wrap === 2) ?
|
|
1425
|
+
0 // crc32(0, Z_NULL, 0)
|
|
1426
|
+
:
|
|
1427
|
+
1; // adler32(0, Z_NULL, 0)
|
|
1428
|
+
s.last_flush = -2;
|
|
1429
|
+
_tr_init(s);
|
|
1430
|
+
return Z_OK;
|
|
1431
|
+
};
|
|
1432
|
+
|
|
1433
|
+
|
|
1434
|
+
const deflateReset = (strm) => {
|
|
1435
|
+
|
|
1436
|
+
const ret = deflateResetKeep(strm);
|
|
1437
|
+
if (ret === Z_OK) {
|
|
1438
|
+
lm_init(strm.state);
|
|
1439
|
+
}
|
|
1440
|
+
return ret;
|
|
1441
|
+
};
|
|
1442
|
+
|
|
1443
|
+
|
|
1444
|
+
const deflateSetHeader = (strm, head) => {
|
|
1445
|
+
|
|
1446
|
+
if (deflateStateCheck(strm) || strm.state.wrap !== 2) {
|
|
1447
|
+
return Z_STREAM_ERROR;
|
|
1448
|
+
}
|
|
1449
|
+
strm.state.gzhead = head;
|
|
1450
|
+
return Z_OK;
|
|
1451
|
+
};
|
|
1452
|
+
|
|
1453
|
+
|
|
1454
|
+
const deflateInit2 = (strm, level, method, windowBits, memLevel, strategy) => {
|
|
1455
|
+
|
|
1456
|
+
if (!strm) { // === Z_NULL
|
|
1457
|
+
return Z_STREAM_ERROR;
|
|
1458
|
+
}
|
|
1459
|
+
let wrap = 1;
|
|
1460
|
+
|
|
1461
|
+
if (level === Z_DEFAULT_COMPRESSION) {
|
|
1462
|
+
level = 6;
|
|
1463
|
+
}
|
|
1464
|
+
|
|
1465
|
+
if (windowBits < 0) { /* suppress zlib wrapper */
|
|
1466
|
+
wrap = 0;
|
|
1467
|
+
windowBits = -windowBits;
|
|
1468
|
+
}
|
|
1469
|
+
|
|
1470
|
+
else if (windowBits > 15) {
|
|
1471
|
+
wrap = 2; /* write gzip wrapper instead */
|
|
1472
|
+
windowBits -= 16;
|
|
1473
|
+
}
|
|
1474
|
+
|
|
1475
|
+
|
|
1476
|
+
if (memLevel < 1 || memLevel > MAX_MEM_LEVEL || method !== Z_DEFLATED ||
|
|
1477
|
+
windowBits < 8 || windowBits > 15 || level < 0 || level > 9 ||
|
|
1478
|
+
strategy < 0 || strategy > Z_FIXED || (windowBits === 8 && wrap !== 1)) {
|
|
1479
|
+
return err(strm, Z_STREAM_ERROR);
|
|
1480
|
+
}
|
|
1481
|
+
|
|
1482
|
+
|
|
1483
|
+
if (windowBits === 8) {
|
|
1484
|
+
windowBits = 9;
|
|
1485
|
+
}
|
|
1486
|
+
/* until 256-byte window bug fixed */
|
|
1487
|
+
|
|
1488
|
+
const s = new DeflateState();
|
|
1489
|
+
|
|
1490
|
+
strm.state = s;
|
|
1491
|
+
s.strm = strm;
|
|
1492
|
+
s.status = INIT_STATE; /* to pass state test in deflateReset() */
|
|
1493
|
+
|
|
1494
|
+
s.wrap = wrap;
|
|
1495
|
+
s.gzhead = null;
|
|
1496
|
+
s.w_bits = windowBits;
|
|
1497
|
+
s.w_size = 1 << s.w_bits;
|
|
1498
|
+
s.w_mask = s.w_size - 1;
|
|
1499
|
+
|
|
1500
|
+
s.hash_bits = memLevel + 7;
|
|
1501
|
+
s.hash_size = 1 << s.hash_bits;
|
|
1502
|
+
s.hash_mask = s.hash_size - 1;
|
|
1503
|
+
s.hash_shift = ~~((s.hash_bits + MIN_MATCH - 1) / MIN_MATCH);
|
|
1504
|
+
|
|
1505
|
+
s.window = new Uint8Array(s.w_size * 2);
|
|
1506
|
+
s.head = new Uint16Array(s.hash_size);
|
|
1507
|
+
s.prev = new Uint16Array(s.w_size);
|
|
1508
|
+
|
|
1509
|
+
// Don't need mem init magic for JS.
|
|
1510
|
+
//s.high_water = 0; /* nothing written to s->window yet */
|
|
1511
|
+
|
|
1512
|
+
s.lit_bufsize = 1 << (memLevel + 6); /* 16K elements by default */
|
|
1513
|
+
|
|
1514
|
+
/* We overlay pending_buf and sym_buf. This works since the average size
|
|
1515
|
+
* for length/distance pairs over any compressed block is assured to be 31
|
|
1516
|
+
* bits or less.
|
|
1517
|
+
*
|
|
1518
|
+
* Analysis: The longest fixed codes are a length code of 8 bits plus 5
|
|
1519
|
+
* extra bits, for lengths 131 to 257. The longest fixed distance codes are
|
|
1520
|
+
* 5 bits plus 13 extra bits, for distances 16385 to 32768. The longest
|
|
1521
|
+
* possible fixed-codes length/distance pair is then 31 bits total.
|
|
1522
|
+
*
|
|
1523
|
+
* sym_buf starts one-fourth of the way into pending_buf. So there are
|
|
1524
|
+
* three bytes in sym_buf for every four bytes in pending_buf. Each symbol
|
|
1525
|
+
* in sym_buf is three bytes -- two for the distance and one for the
|
|
1526
|
+
* literal/length. As each symbol is consumed, the pointer to the next
|
|
1527
|
+
* sym_buf value to read moves forward three bytes. From that symbol, up to
|
|
1528
|
+
* 31 bits are written to pending_buf. The closest the written pending_buf
|
|
1529
|
+
* bits gets to the next sym_buf symbol to read is just before the last
|
|
1530
|
+
* code is written. At that time, 31*(n-2) bits have been written, just
|
|
1531
|
+
* after 24*(n-2) bits have been consumed from sym_buf. sym_buf starts at
|
|
1532
|
+
* 8*n bits into pending_buf. (Note that the symbol buffer fills when n-1
|
|
1533
|
+
* symbols are written.) The closest the writing gets to what is unread is
|
|
1534
|
+
* then n+14 bits. Here n is lit_bufsize, which is 16384 by default, and
|
|
1535
|
+
* can range from 128 to 32768.
|
|
1536
|
+
*
|
|
1537
|
+
* Therefore, at a minimum, there are 142 bits of space between what is
|
|
1538
|
+
* written and what is read in the overlain buffers, so the symbols cannot
|
|
1539
|
+
* be overwritten by the compressed data. That space is actually 139 bits,
|
|
1540
|
+
* due to the three-bit fixed-code block header.
|
|
1541
|
+
*
|
|
1542
|
+
* That covers the case where either Z_FIXED is specified, forcing fixed
|
|
1543
|
+
* codes, or when the use of fixed codes is chosen, because that choice
|
|
1544
|
+
* results in a smaller compressed block than dynamic codes. That latter
|
|
1545
|
+
* condition then assures that the above analysis also covers all dynamic
|
|
1546
|
+
* blocks. A dynamic-code block will only be chosen to be emitted if it has
|
|
1547
|
+
* fewer bits than a fixed-code block would for the same set of symbols.
|
|
1548
|
+
* Therefore its average symbol length is assured to be less than 31. So
|
|
1549
|
+
* the compressed data for a dynamic block also cannot overwrite the
|
|
1550
|
+
* symbols from which it is being constructed.
|
|
1551
|
+
*/
|
|
1552
|
+
|
|
1553
|
+
s.pending_buf_size = s.lit_bufsize * 4;
|
|
1554
|
+
s.pending_buf = new Uint8Array(s.pending_buf_size);
|
|
1555
|
+
|
|
1556
|
+
// It is offset from `s.pending_buf` (size is `s.lit_bufsize * 2`)
|
|
1557
|
+
//s->sym_buf = s->pending_buf + s->lit_bufsize;
|
|
1558
|
+
s.sym_buf = s.lit_bufsize;
|
|
1559
|
+
|
|
1560
|
+
//s->sym_end = (s->lit_bufsize - 1) * 3;
|
|
1561
|
+
s.sym_end = (s.lit_bufsize - 1) * 3;
|
|
1562
|
+
/* We avoid equality with lit_bufsize*3 because of wraparound at 64K
|
|
1563
|
+
* on 16 bit machines and because stored blocks are restricted to
|
|
1564
|
+
* 64K-1 bytes.
|
|
1565
|
+
*/
|
|
1566
|
+
|
|
1567
|
+
s.level = level;
|
|
1568
|
+
s.strategy = strategy;
|
|
1569
|
+
s.method = method;
|
|
1570
|
+
|
|
1571
|
+
return deflateReset(strm);
|
|
1572
|
+
};
|
|
1573
|
+
|
|
1574
|
+
const deflateInit = (strm, level) => {
|
|
1575
|
+
|
|
1576
|
+
return deflateInit2(strm, level, Z_DEFLATED, MAX_WBITS, DEF_MEM_LEVEL, Z_DEFAULT_STRATEGY);
|
|
1577
|
+
};
|
|
1578
|
+
|
|
1579
|
+
|
|
1580
|
+
/* ========================================================================= */
|
|
1581
|
+
const deflate = (strm, flush) => {
|
|
1582
|
+
|
|
1583
|
+
if (deflateStateCheck(strm) || flush > Z_BLOCK || flush < 0) {
|
|
1584
|
+
return strm ? err(strm, Z_STREAM_ERROR) : Z_STREAM_ERROR;
|
|
1585
|
+
}
|
|
1586
|
+
|
|
1587
|
+
const s = strm.state;
|
|
1588
|
+
|
|
1589
|
+
if (!strm.output ||
|
|
1590
|
+
(strm.avail_in !== 0 && !strm.input) ||
|
|
1591
|
+
(s.status === FINISH_STATE && flush !== Z_FINISH)) {
|
|
1592
|
+
return err(strm, (strm.avail_out === 0) ? Z_BUF_ERROR : Z_STREAM_ERROR);
|
|
1593
|
+
}
|
|
1594
|
+
|
|
1595
|
+
const old_flush = s.last_flush;
|
|
1596
|
+
s.last_flush = flush;
|
|
1597
|
+
|
|
1598
|
+
/* Flush as much pending output as possible */
|
|
1599
|
+
if (s.pending !== 0) {
|
|
1600
|
+
flush_pending(strm);
|
|
1601
|
+
if (strm.avail_out === 0) {
|
|
1602
|
+
/* Since avail_out is 0, deflate will be called again with
|
|
1603
|
+
* more output space, but possibly with both pending and
|
|
1604
|
+
* avail_in equal to zero. There won't be anything to do,
|
|
1605
|
+
* but this is not an error situation so make sure we
|
|
1606
|
+
* return OK instead of BUF_ERROR at next call of deflate:
|
|
1607
|
+
*/
|
|
1608
|
+
s.last_flush = -1;
|
|
1609
|
+
return Z_OK;
|
|
1610
|
+
}
|
|
1611
|
+
|
|
1612
|
+
/* Make sure there is something to do and avoid duplicate consecutive
|
|
1613
|
+
* flushes. For repeated and useless calls with Z_FINISH, we keep
|
|
1614
|
+
* returning Z_STREAM_END instead of Z_BUF_ERROR.
|
|
1615
|
+
*/
|
|
1616
|
+
} else if (strm.avail_in === 0 && rank(flush) <= rank(old_flush) &&
|
|
1617
|
+
flush !== Z_FINISH) {
|
|
1618
|
+
return err(strm, Z_BUF_ERROR);
|
|
1619
|
+
}
|
|
1620
|
+
|
|
1621
|
+
/* User must not provide more input after the first FINISH: */
|
|
1622
|
+
if (s.status === FINISH_STATE && strm.avail_in !== 0) {
|
|
1623
|
+
return err(strm, Z_BUF_ERROR);
|
|
1624
|
+
}
|
|
1625
|
+
|
|
1626
|
+
/* Write the header */
|
|
1627
|
+
if (s.status === INIT_STATE && s.wrap === 0) {
|
|
1628
|
+
s.status = BUSY_STATE;
|
|
1629
|
+
}
|
|
1630
|
+
if (s.status === INIT_STATE) {
|
|
1631
|
+
/* zlib header */
|
|
1632
|
+
let header = (Z_DEFLATED + ((s.w_bits - 8) << 4)) << 8;
|
|
1633
|
+
let level_flags = -1;
|
|
1634
|
+
|
|
1635
|
+
if (s.strategy >= Z_HUFFMAN_ONLY || s.level < 2) {
|
|
1636
|
+
level_flags = 0;
|
|
1637
|
+
} else if (s.level < 6) {
|
|
1638
|
+
level_flags = 1;
|
|
1639
|
+
} else if (s.level === 6) {
|
|
1640
|
+
level_flags = 2;
|
|
1641
|
+
} else {
|
|
1642
|
+
level_flags = 3;
|
|
1643
|
+
}
|
|
1644
|
+
header |= (level_flags << 6);
|
|
1645
|
+
if (s.strstart !== 0) { header |= PRESET_DICT; }
|
|
1646
|
+
header += 31 - (header % 31);
|
|
1647
|
+
|
|
1648
|
+
putShortMSB(s, header);
|
|
1649
|
+
|
|
1650
|
+
/* Save the adler32 of the preset dictionary: */
|
|
1651
|
+
if (s.strstart !== 0) {
|
|
1652
|
+
putShortMSB(s, strm.adler >>> 16);
|
|
1653
|
+
putShortMSB(s, strm.adler & 0xffff);
|
|
1654
|
+
}
|
|
1655
|
+
strm.adler = 1; // adler32(0L, Z_NULL, 0);
|
|
1656
|
+
s.status = BUSY_STATE;
|
|
1657
|
+
|
|
1658
|
+
/* Compression must start with an empty pending buffer */
|
|
1659
|
+
flush_pending(strm);
|
|
1660
|
+
if (s.pending !== 0) {
|
|
1661
|
+
s.last_flush = -1;
|
|
1662
|
+
return Z_OK;
|
|
1663
|
+
}
|
|
1664
|
+
}
|
|
1665
|
+
//#ifdef GZIP
|
|
1666
|
+
if (s.status === GZIP_STATE) {
|
|
1667
|
+
/* gzip header */
|
|
1668
|
+
strm.adler = 0; //crc32(0L, Z_NULL, 0);
|
|
1669
|
+
put_byte(s, 31);
|
|
1670
|
+
put_byte(s, 139);
|
|
1671
|
+
put_byte(s, 8);
|
|
1672
|
+
if (!s.gzhead) { // s->gzhead == Z_NULL
|
|
1673
|
+
put_byte(s, 0);
|
|
1674
|
+
put_byte(s, 0);
|
|
1675
|
+
put_byte(s, 0);
|
|
1676
|
+
put_byte(s, 0);
|
|
1677
|
+
put_byte(s, 0);
|
|
1678
|
+
put_byte(s, s.level === 9 ? 2 :
|
|
1679
|
+
(s.strategy >= Z_HUFFMAN_ONLY || s.level < 2 ?
|
|
1680
|
+
4 : 0));
|
|
1681
|
+
put_byte(s, OS_CODE);
|
|
1682
|
+
s.status = BUSY_STATE;
|
|
1683
|
+
|
|
1684
|
+
/* Compression must start with an empty pending buffer */
|
|
1685
|
+
flush_pending(strm);
|
|
1686
|
+
if (s.pending !== 0) {
|
|
1687
|
+
s.last_flush = -1;
|
|
1688
|
+
return Z_OK;
|
|
1689
|
+
}
|
|
1690
|
+
}
|
|
1691
|
+
else {
|
|
1692
|
+
put_byte(s, (s.gzhead.text ? 1 : 0) +
|
|
1693
|
+
(s.gzhead.hcrc ? 2 : 0) +
|
|
1694
|
+
(!s.gzhead.extra ? 0 : 4) +
|
|
1695
|
+
(!s.gzhead.name ? 0 : 8) +
|
|
1696
|
+
(!s.gzhead.comment ? 0 : 16)
|
|
1697
|
+
);
|
|
1698
|
+
put_byte(s, s.gzhead.time & 0xff);
|
|
1699
|
+
put_byte(s, (s.gzhead.time >> 8) & 0xff);
|
|
1700
|
+
put_byte(s, (s.gzhead.time >> 16) & 0xff);
|
|
1701
|
+
put_byte(s, (s.gzhead.time >> 24) & 0xff);
|
|
1702
|
+
put_byte(s, s.level === 9 ? 2 :
|
|
1703
|
+
(s.strategy >= Z_HUFFMAN_ONLY || s.level < 2 ?
|
|
1704
|
+
4 : 0));
|
|
1705
|
+
put_byte(s, s.gzhead.os & 0xff);
|
|
1706
|
+
if (s.gzhead.extra && s.gzhead.extra.length) {
|
|
1707
|
+
put_byte(s, s.gzhead.extra.length & 0xff);
|
|
1708
|
+
put_byte(s, (s.gzhead.extra.length >> 8) & 0xff);
|
|
1709
|
+
}
|
|
1710
|
+
if (s.gzhead.hcrc) {
|
|
1711
|
+
strm.adler = crc32(strm.adler, s.pending_buf, s.pending, 0);
|
|
1712
|
+
}
|
|
1713
|
+
s.gzindex = 0;
|
|
1714
|
+
s.status = EXTRA_STATE;
|
|
1715
|
+
}
|
|
1716
|
+
}
|
|
1717
|
+
if (s.status === EXTRA_STATE) {
|
|
1718
|
+
if (s.gzhead.extra/* != Z_NULL*/) {
|
|
1719
|
+
let beg = s.pending; /* start of bytes to update crc */
|
|
1720
|
+
let left = (s.gzhead.extra.length & 0xffff) - s.gzindex;
|
|
1721
|
+
while (s.pending + left > s.pending_buf_size) {
|
|
1722
|
+
let copy = s.pending_buf_size - s.pending;
|
|
1723
|
+
// zmemcpy(s.pending_buf + s.pending,
|
|
1724
|
+
// s.gzhead.extra + s.gzindex, copy);
|
|
1725
|
+
s.pending_buf.set(s.gzhead.extra.subarray(s.gzindex, s.gzindex + copy), s.pending);
|
|
1726
|
+
s.pending = s.pending_buf_size;
|
|
1727
|
+
//--- HCRC_UPDATE(beg) ---//
|
|
1728
|
+
if (s.gzhead.hcrc && s.pending > beg) {
|
|
1729
|
+
strm.adler = crc32(strm.adler, s.pending_buf, s.pending - beg, beg);
|
|
1730
|
+
}
|
|
1731
|
+
//---//
|
|
1732
|
+
s.gzindex += copy;
|
|
1733
|
+
flush_pending(strm);
|
|
1734
|
+
if (s.pending !== 0) {
|
|
1735
|
+
s.last_flush = -1;
|
|
1736
|
+
return Z_OK;
|
|
1737
|
+
}
|
|
1738
|
+
beg = 0;
|
|
1739
|
+
left -= copy;
|
|
1740
|
+
}
|
|
1741
|
+
// JS specific: s.gzhead.extra may be TypedArray or Array for backward compatibility
|
|
1742
|
+
// TypedArray.slice and TypedArray.from don't exist in IE10-IE11
|
|
1743
|
+
let gzhead_extra = new Uint8Array(s.gzhead.extra);
|
|
1744
|
+
// zmemcpy(s->pending_buf + s->pending,
|
|
1745
|
+
// s->gzhead->extra + s->gzindex, left);
|
|
1746
|
+
s.pending_buf.set(gzhead_extra.subarray(s.gzindex, s.gzindex + left), s.pending);
|
|
1747
|
+
s.pending += left;
|
|
1748
|
+
//--- HCRC_UPDATE(beg) ---//
|
|
1749
|
+
if (s.gzhead.hcrc && s.pending > beg) {
|
|
1750
|
+
strm.adler = crc32(strm.adler, s.pending_buf, s.pending - beg, beg);
|
|
1751
|
+
}
|
|
1752
|
+
//---//
|
|
1753
|
+
s.gzindex = 0;
|
|
1754
|
+
}
|
|
1755
|
+
s.status = NAME_STATE;
|
|
1756
|
+
}
|
|
1757
|
+
if (s.status === NAME_STATE) {
|
|
1758
|
+
if (s.gzhead.name/* != Z_NULL*/) {
|
|
1759
|
+
let beg = s.pending; /* start of bytes to update crc */
|
|
1760
|
+
let val;
|
|
1761
|
+
do {
|
|
1762
|
+
if (s.pending === s.pending_buf_size) {
|
|
1763
|
+
//--- HCRC_UPDATE(beg) ---//
|
|
1764
|
+
if (s.gzhead.hcrc && s.pending > beg) {
|
|
1765
|
+
strm.adler = crc32(strm.adler, s.pending_buf, s.pending - beg, beg);
|
|
1766
|
+
}
|
|
1767
|
+
//---//
|
|
1768
|
+
flush_pending(strm);
|
|
1769
|
+
if (s.pending !== 0) {
|
|
1770
|
+
s.last_flush = -1;
|
|
1771
|
+
return Z_OK;
|
|
1772
|
+
}
|
|
1773
|
+
beg = 0;
|
|
1774
|
+
}
|
|
1775
|
+
// JS specific: little magic to add zero terminator to end of string
|
|
1776
|
+
if (s.gzindex < s.gzhead.name.length) {
|
|
1777
|
+
val = s.gzhead.name.charCodeAt(s.gzindex++) & 0xff;
|
|
1778
|
+
} else {
|
|
1779
|
+
val = 0;
|
|
1780
|
+
}
|
|
1781
|
+
put_byte(s, val);
|
|
1782
|
+
} while (val !== 0);
|
|
1783
|
+
//--- HCRC_UPDATE(beg) ---//
|
|
1784
|
+
if (s.gzhead.hcrc && s.pending > beg) {
|
|
1785
|
+
strm.adler = crc32(strm.adler, s.pending_buf, s.pending - beg, beg);
|
|
1786
|
+
}
|
|
1787
|
+
//---//
|
|
1788
|
+
s.gzindex = 0;
|
|
1789
|
+
}
|
|
1790
|
+
s.status = COMMENT_STATE;
|
|
1791
|
+
}
|
|
1792
|
+
if (s.status === COMMENT_STATE) {
|
|
1793
|
+
if (s.gzhead.comment/* != Z_NULL*/) {
|
|
1794
|
+
let beg = s.pending; /* start of bytes to update crc */
|
|
1795
|
+
let val;
|
|
1796
|
+
do {
|
|
1797
|
+
if (s.pending === s.pending_buf_size) {
|
|
1798
|
+
//--- HCRC_UPDATE(beg) ---//
|
|
1799
|
+
if (s.gzhead.hcrc && s.pending > beg) {
|
|
1800
|
+
strm.adler = crc32(strm.adler, s.pending_buf, s.pending - beg, beg);
|
|
1801
|
+
}
|
|
1802
|
+
//---//
|
|
1803
|
+
flush_pending(strm);
|
|
1804
|
+
if (s.pending !== 0) {
|
|
1805
|
+
s.last_flush = -1;
|
|
1806
|
+
return Z_OK;
|
|
1807
|
+
}
|
|
1808
|
+
beg = 0;
|
|
1809
|
+
}
|
|
1810
|
+
// JS specific: little magic to add zero terminator to end of string
|
|
1811
|
+
if (s.gzindex < s.gzhead.comment.length) {
|
|
1812
|
+
val = s.gzhead.comment.charCodeAt(s.gzindex++) & 0xff;
|
|
1813
|
+
} else {
|
|
1814
|
+
val = 0;
|
|
1815
|
+
}
|
|
1816
|
+
put_byte(s, val);
|
|
1817
|
+
} while (val !== 0);
|
|
1818
|
+
//--- HCRC_UPDATE(beg) ---//
|
|
1819
|
+
if (s.gzhead.hcrc && s.pending > beg) {
|
|
1820
|
+
strm.adler = crc32(strm.adler, s.pending_buf, s.pending - beg, beg);
|
|
1821
|
+
}
|
|
1822
|
+
//---//
|
|
1823
|
+
}
|
|
1824
|
+
s.status = HCRC_STATE;
|
|
1825
|
+
}
|
|
1826
|
+
if (s.status === HCRC_STATE) {
|
|
1827
|
+
if (s.gzhead.hcrc) {
|
|
1828
|
+
if (s.pending + 2 > s.pending_buf_size) {
|
|
1829
|
+
flush_pending(strm);
|
|
1830
|
+
if (s.pending !== 0) {
|
|
1831
|
+
s.last_flush = -1;
|
|
1832
|
+
return Z_OK;
|
|
1833
|
+
}
|
|
1834
|
+
}
|
|
1835
|
+
put_byte(s, strm.adler & 0xff);
|
|
1836
|
+
put_byte(s, (strm.adler >> 8) & 0xff);
|
|
1837
|
+
strm.adler = 0; //crc32(0L, Z_NULL, 0);
|
|
1838
|
+
}
|
|
1839
|
+
s.status = BUSY_STATE;
|
|
1840
|
+
|
|
1841
|
+
/* Compression must start with an empty pending buffer */
|
|
1842
|
+
flush_pending(strm);
|
|
1843
|
+
if (s.pending !== 0) {
|
|
1844
|
+
s.last_flush = -1;
|
|
1845
|
+
return Z_OK;
|
|
1846
|
+
}
|
|
1847
|
+
}
|
|
1848
|
+
//#endif
|
|
1849
|
+
|
|
1850
|
+
/* Start a new block or continue the current one.
|
|
1851
|
+
*/
|
|
1852
|
+
if (strm.avail_in !== 0 || s.lookahead !== 0 ||
|
|
1853
|
+
(flush !== Z_NO_FLUSH && s.status !== FINISH_STATE)) {
|
|
1854
|
+
let bstate = s.level === 0 ? deflate_stored(s, flush) :
|
|
1855
|
+
s.strategy === Z_HUFFMAN_ONLY ? deflate_huff(s, flush) :
|
|
1856
|
+
s.strategy === Z_RLE ? deflate_rle(s, flush) :
|
|
1857
|
+
configuration_table[s.level].func(s, flush);
|
|
1858
|
+
|
|
1859
|
+
if (bstate === BS_FINISH_STARTED || bstate === BS_FINISH_DONE) {
|
|
1860
|
+
s.status = FINISH_STATE;
|
|
1861
|
+
}
|
|
1862
|
+
if (bstate === BS_NEED_MORE || bstate === BS_FINISH_STARTED) {
|
|
1863
|
+
if (strm.avail_out === 0) {
|
|
1864
|
+
s.last_flush = -1;
|
|
1865
|
+
/* avoid BUF_ERROR next call, see above */
|
|
1866
|
+
}
|
|
1867
|
+
return Z_OK;
|
|
1868
|
+
/* If flush != Z_NO_FLUSH && avail_out == 0, the next call
|
|
1869
|
+
* of deflate should use the same flush parameter to make sure
|
|
1870
|
+
* that the flush is complete. So we don't have to output an
|
|
1871
|
+
* empty block here, this will be done at next call. This also
|
|
1872
|
+
* ensures that for a very small output buffer, we emit at most
|
|
1873
|
+
* one empty block.
|
|
1874
|
+
*/
|
|
1875
|
+
}
|
|
1876
|
+
if (bstate === BS_BLOCK_DONE) {
|
|
1877
|
+
if (flush === Z_PARTIAL_FLUSH) {
|
|
1878
|
+
_tr_align(s);
|
|
1879
|
+
}
|
|
1880
|
+
else if (flush !== Z_BLOCK) { /* FULL_FLUSH or SYNC_FLUSH */
|
|
1881
|
+
|
|
1882
|
+
_tr_stored_block(s, 0, 0, false);
|
|
1883
|
+
/* For a full flush, this empty block will be recognized
|
|
1884
|
+
* as a special marker by inflate_sync().
|
|
1885
|
+
*/
|
|
1886
|
+
if (flush === Z_FULL_FLUSH) {
|
|
1887
|
+
/*** CLEAR_HASH(s); ***/ /* forget history */
|
|
1888
|
+
zero(s.head); // Fill with NIL (= 0);
|
|
1889
|
+
|
|
1890
|
+
if (s.lookahead === 0) {
|
|
1891
|
+
s.strstart = 0;
|
|
1892
|
+
s.block_start = 0;
|
|
1893
|
+
s.insert = 0;
|
|
1894
|
+
}
|
|
1895
|
+
}
|
|
1896
|
+
}
|
|
1897
|
+
flush_pending(strm);
|
|
1898
|
+
if (strm.avail_out === 0) {
|
|
1899
|
+
s.last_flush = -1; /* avoid BUF_ERROR at next call, see above */
|
|
1900
|
+
return Z_OK;
|
|
1901
|
+
}
|
|
1902
|
+
}
|
|
1903
|
+
}
|
|
1904
|
+
|
|
1905
|
+
if (flush !== Z_FINISH) { return Z_OK; }
|
|
1906
|
+
if (s.wrap <= 0) { return Z_STREAM_END; }
|
|
1907
|
+
|
|
1908
|
+
/* Write the trailer */
|
|
1909
|
+
if (s.wrap === 2) {
|
|
1910
|
+
put_byte(s, strm.adler & 0xff);
|
|
1911
|
+
put_byte(s, (strm.adler >> 8) & 0xff);
|
|
1912
|
+
put_byte(s, (strm.adler >> 16) & 0xff);
|
|
1913
|
+
put_byte(s, (strm.adler >> 24) & 0xff);
|
|
1914
|
+
put_byte(s, strm.total_in & 0xff);
|
|
1915
|
+
put_byte(s, (strm.total_in >> 8) & 0xff);
|
|
1916
|
+
put_byte(s, (strm.total_in >> 16) & 0xff);
|
|
1917
|
+
put_byte(s, (strm.total_in >> 24) & 0xff);
|
|
1918
|
+
}
|
|
1919
|
+
else
|
|
1920
|
+
{
|
|
1921
|
+
putShortMSB(s, strm.adler >>> 16);
|
|
1922
|
+
putShortMSB(s, strm.adler & 0xffff);
|
|
1923
|
+
}
|
|
1924
|
+
|
|
1925
|
+
flush_pending(strm);
|
|
1926
|
+
/* If avail_out is zero, the application will call deflate again
|
|
1927
|
+
* to flush the rest.
|
|
1928
|
+
*/
|
|
1929
|
+
if (s.wrap > 0) { s.wrap = -s.wrap; }
|
|
1930
|
+
/* write the trailer only once! */
|
|
1931
|
+
return s.pending !== 0 ? Z_OK : Z_STREAM_END;
|
|
1932
|
+
};
|
|
1933
|
+
|
|
1934
|
+
|
|
1935
|
+
const deflateEnd = (strm) => {
|
|
1936
|
+
|
|
1937
|
+
if (deflateStateCheck(strm)) {
|
|
1938
|
+
return Z_STREAM_ERROR;
|
|
1939
|
+
}
|
|
1940
|
+
|
|
1941
|
+
const status = strm.state.status;
|
|
1942
|
+
|
|
1943
|
+
strm.state = null;
|
|
1944
|
+
|
|
1945
|
+
return status === BUSY_STATE ? err(strm, Z_DATA_ERROR) : Z_OK;
|
|
1946
|
+
};
|
|
1947
|
+
|
|
1948
|
+
|
|
1949
|
+
/* =========================================================================
|
|
1950
|
+
* Initializes the compression dictionary from the given byte
|
|
1951
|
+
* sequence without producing any compressed output.
|
|
1952
|
+
*/
|
|
1953
|
+
const deflateSetDictionary = (strm, dictionary) => {
|
|
1954
|
+
|
|
1955
|
+
let dictLength = dictionary.length;
|
|
1956
|
+
|
|
1957
|
+
if (deflateStateCheck(strm)) {
|
|
1958
|
+
return Z_STREAM_ERROR;
|
|
1959
|
+
}
|
|
1960
|
+
|
|
1961
|
+
const s = strm.state;
|
|
1962
|
+
const wrap = s.wrap;
|
|
1963
|
+
|
|
1964
|
+
if (wrap === 2 || (wrap === 1 && s.status !== INIT_STATE) || s.lookahead) {
|
|
1965
|
+
return Z_STREAM_ERROR;
|
|
1966
|
+
}
|
|
1967
|
+
|
|
1968
|
+
/* when using zlib wrappers, compute Adler-32 for provided dictionary */
|
|
1969
|
+
if (wrap === 1) {
|
|
1970
|
+
/* adler32(strm->adler, dictionary, dictLength); */
|
|
1971
|
+
strm.adler = adler32(strm.adler, dictionary, dictLength, 0);
|
|
1972
|
+
}
|
|
1973
|
+
|
|
1974
|
+
s.wrap = 0; /* avoid computing Adler-32 in read_buf */
|
|
1975
|
+
|
|
1976
|
+
/* if dictionary would fill window, just replace the history */
|
|
1977
|
+
if (dictLength >= s.w_size) {
|
|
1978
|
+
if (wrap === 0) { /* already empty otherwise */
|
|
1979
|
+
/*** CLEAR_HASH(s); ***/
|
|
1980
|
+
zero(s.head); // Fill with NIL (= 0);
|
|
1981
|
+
s.strstart = 0;
|
|
1982
|
+
s.block_start = 0;
|
|
1983
|
+
s.insert = 0;
|
|
1984
|
+
}
|
|
1985
|
+
/* use the tail */
|
|
1986
|
+
// dictionary = dictionary.slice(dictLength - s.w_size);
|
|
1987
|
+
let tmpDict = new Uint8Array(s.w_size);
|
|
1988
|
+
tmpDict.set(dictionary.subarray(dictLength - s.w_size, dictLength), 0);
|
|
1989
|
+
dictionary = tmpDict;
|
|
1990
|
+
dictLength = s.w_size;
|
|
1991
|
+
}
|
|
1992
|
+
/* insert dictionary into window and hash */
|
|
1993
|
+
const avail = strm.avail_in;
|
|
1994
|
+
const next = strm.next_in;
|
|
1995
|
+
const input = strm.input;
|
|
1996
|
+
strm.avail_in = dictLength;
|
|
1997
|
+
strm.next_in = 0;
|
|
1998
|
+
strm.input = dictionary;
|
|
1999
|
+
fill_window(s);
|
|
2000
|
+
while (s.lookahead >= MIN_MATCH) {
|
|
2001
|
+
let str = s.strstart;
|
|
2002
|
+
let n = s.lookahead - (MIN_MATCH - 1);
|
|
2003
|
+
do {
|
|
2004
|
+
/* UPDATE_HASH(s, s->ins_h, s->window[str + MIN_MATCH-1]); */
|
|
2005
|
+
s.ins_h = HASH(s, s.ins_h, s.window[str + MIN_MATCH - 1]);
|
|
2006
|
+
|
|
2007
|
+
s.prev[str & s.w_mask] = s.head[s.ins_h];
|
|
2008
|
+
|
|
2009
|
+
s.head[s.ins_h] = str;
|
|
2010
|
+
str++;
|
|
2011
|
+
} while (--n);
|
|
2012
|
+
s.strstart = str;
|
|
2013
|
+
s.lookahead = MIN_MATCH - 1;
|
|
2014
|
+
fill_window(s);
|
|
2015
|
+
}
|
|
2016
|
+
s.strstart += s.lookahead;
|
|
2017
|
+
s.block_start = s.strstart;
|
|
2018
|
+
s.insert = s.lookahead;
|
|
2019
|
+
s.lookahead = 0;
|
|
2020
|
+
s.match_length = s.prev_length = MIN_MATCH - 1;
|
|
2021
|
+
s.match_available = 0;
|
|
2022
|
+
strm.next_in = next;
|
|
2023
|
+
strm.input = input;
|
|
2024
|
+
strm.avail_in = avail;
|
|
2025
|
+
s.wrap = wrap;
|
|
2026
|
+
return Z_OK;
|
|
2027
|
+
};
|
|
2028
|
+
|
|
2029
|
+
|
|
2030
|
+
module.exports.deflateInit = deflateInit;
|
|
2031
|
+
module.exports.deflateInit2 = deflateInit2;
|
|
2032
|
+
module.exports.deflateReset = deflateReset;
|
|
2033
|
+
module.exports.deflateResetKeep = deflateResetKeep;
|
|
2034
|
+
module.exports.deflateSetHeader = deflateSetHeader;
|
|
2035
|
+
module.exports.deflate = deflate;
|
|
2036
|
+
module.exports.deflateEnd = deflateEnd;
|
|
2037
|
+
module.exports.deflateSetDictionary = deflateSetDictionary;
|
|
2038
|
+
module.exports.deflateInfo = 'pako deflate (from Nodeca project)';
|
|
2039
|
+
|
|
2040
|
+
/* Not implemented
|
|
2041
|
+
module.exports.deflateBound = deflateBound;
|
|
2042
|
+
module.exports.deflateCopy = deflateCopy;
|
|
2043
|
+
module.exports.deflateGetDictionary = deflateGetDictionary;
|
|
2044
|
+
module.exports.deflateParams = deflateParams;
|
|
2045
|
+
module.exports.deflatePending = deflatePending;
|
|
2046
|
+
module.exports.deflatePrime = deflatePrime;
|
|
2047
|
+
module.exports.deflateTune = deflateTune;
|
|
2048
|
+
*/
|