@meteora-ag/cp-amm-sdk 1.0.3 → 1.0.4
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/node_modules/@babel/runtime/LICENSE +22 -0
- package/node_modules/@babel/runtime/README.md +19 -0
- package/node_modules/@babel/runtime/helpers/AwaitValue.js +4 -0
- package/node_modules/@babel/runtime/helpers/OverloadYield.js +4 -0
- package/node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js +9 -0
- package/node_modules/@babel/runtime/helpers/applyDecs.js +236 -0
- package/node_modules/@babel/runtime/helpers/applyDecs2203.js +184 -0
- package/node_modules/@babel/runtime/helpers/applyDecs2203R.js +191 -0
- package/node_modules/@babel/runtime/helpers/applyDecs2301.js +222 -0
- package/node_modules/@babel/runtime/helpers/applyDecs2305.js +133 -0
- package/node_modules/@babel/runtime/helpers/applyDecs2311.js +124 -0
- package/node_modules/@babel/runtime/helpers/arrayLikeToArray.js +6 -0
- package/node_modules/@babel/runtime/helpers/arrayWithHoles.js +4 -0
- package/node_modules/@babel/runtime/helpers/arrayWithoutHoles.js +5 -0
- package/node_modules/@babel/runtime/helpers/assertClassBrand.js +5 -0
- package/node_modules/@babel/runtime/helpers/assertThisInitialized.js +5 -0
- package/node_modules/@babel/runtime/helpers/asyncGeneratorDelegate.js +24 -0
- package/node_modules/@babel/runtime/helpers/asyncIterator.js +45 -0
- package/node_modules/@babel/runtime/helpers/asyncToGenerator.js +26 -0
- package/node_modules/@babel/runtime/helpers/awaitAsyncGenerator.js +5 -0
- package/node_modules/@babel/runtime/helpers/callSuper.js +7 -0
- package/node_modules/@babel/runtime/helpers/checkInRHS.js +6 -0
- package/node_modules/@babel/runtime/helpers/checkPrivateRedeclaration.js +4 -0
- package/node_modules/@babel/runtime/helpers/classApplyDescriptorDestructureSet.js +10 -0
- package/node_modules/@babel/runtime/helpers/classApplyDescriptorGet.js +4 -0
- package/node_modules/@babel/runtime/helpers/classApplyDescriptorSet.js +7 -0
- package/node_modules/@babel/runtime/helpers/classCallCheck.js +4 -0
- package/node_modules/@babel/runtime/helpers/classCheckPrivateStaticAccess.js +5 -0
- package/node_modules/@babel/runtime/helpers/classCheckPrivateStaticFieldDescriptor.js +4 -0
- package/node_modules/@babel/runtime/helpers/classExtractFieldDescriptor.js +5 -0
- package/node_modules/@babel/runtime/helpers/classNameTDZError.js +4 -0
- package/node_modules/@babel/runtime/helpers/classPrivateFieldDestructureSet.js +7 -0
- package/node_modules/@babel/runtime/helpers/classPrivateFieldGet.js +7 -0
- package/node_modules/@babel/runtime/helpers/classPrivateFieldGet2.js +5 -0
- package/node_modules/@babel/runtime/helpers/classPrivateFieldInitSpec.js +5 -0
- package/node_modules/@babel/runtime/helpers/classPrivateFieldLooseBase.js +5 -0
- package/node_modules/@babel/runtime/helpers/classPrivateFieldLooseKey.js +5 -0
- package/node_modules/@babel/runtime/helpers/classPrivateFieldSet.js +7 -0
- package/node_modules/@babel/runtime/helpers/classPrivateFieldSet2.js +5 -0
- package/node_modules/@babel/runtime/helpers/classPrivateGetter.js +5 -0
- package/node_modules/@babel/runtime/helpers/classPrivateMethodGet.js +5 -0
- package/node_modules/@babel/runtime/helpers/classPrivateMethodInitSpec.js +5 -0
- package/node_modules/@babel/runtime/helpers/classPrivateMethodSet.js +4 -0
- package/node_modules/@babel/runtime/helpers/classPrivateSetter.js +5 -0
- package/node_modules/@babel/runtime/helpers/classStaticPrivateFieldDestructureSet.js +7 -0
- package/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecGet.js +7 -0
- package/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecSet.js +7 -0
- package/node_modules/@babel/runtime/helpers/classStaticPrivateMethodGet.js +5 -0
- package/node_modules/@babel/runtime/helpers/classStaticPrivateMethodSet.js +4 -0
- package/node_modules/@babel/runtime/helpers/construct.js +10 -0
- package/node_modules/@babel/runtime/helpers/createClass.js +13 -0
- package/node_modules/@babel/runtime/helpers/createForOfIteratorHelper.js +50 -0
- package/node_modules/@babel/runtime/helpers/createForOfIteratorHelperLoose.js +19 -0
- package/node_modules/@babel/runtime/helpers/createSuper.js +16 -0
- package/node_modules/@babel/runtime/helpers/decorate.js +250 -0
- package/node_modules/@babel/runtime/helpers/defaults.js +9 -0
- package/node_modules/@babel/runtime/helpers/defineAccessor.js +8 -0
- package/node_modules/@babel/runtime/helpers/defineEnumerableProperties.js +12 -0
- package/node_modules/@babel/runtime/helpers/defineProperty.js +10 -0
- package/node_modules/@babel/runtime/helpers/dispose.js +28 -0
- package/node_modules/@babel/runtime/helpers/esm/AwaitValue.js +4 -0
- package/node_modules/@babel/runtime/helpers/esm/OverloadYield.js +4 -0
- package/node_modules/@babel/runtime/helpers/esm/applyDecoratedDescriptor.js +9 -0
- package/node_modules/@babel/runtime/helpers/esm/applyDecs.js +236 -0
- package/node_modules/@babel/runtime/helpers/esm/applyDecs2203.js +184 -0
- package/node_modules/@babel/runtime/helpers/esm/applyDecs2203R.js +191 -0
- package/node_modules/@babel/runtime/helpers/esm/applyDecs2301.js +222 -0
- package/node_modules/@babel/runtime/helpers/esm/applyDecs2305.js +133 -0
- package/node_modules/@babel/runtime/helpers/esm/applyDecs2311.js +124 -0
- package/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +6 -0
- package/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +4 -0
- package/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +5 -0
- package/node_modules/@babel/runtime/helpers/esm/assertClassBrand.js +5 -0
- package/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +5 -0
- package/node_modules/@babel/runtime/helpers/esm/asyncGeneratorDelegate.js +24 -0
- package/node_modules/@babel/runtime/helpers/esm/asyncIterator.js +45 -0
- package/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js +26 -0
- package/node_modules/@babel/runtime/helpers/esm/awaitAsyncGenerator.js +5 -0
- package/node_modules/@babel/runtime/helpers/esm/callSuper.js +7 -0
- package/node_modules/@babel/runtime/helpers/esm/checkInRHS.js +6 -0
- package/node_modules/@babel/runtime/helpers/esm/checkPrivateRedeclaration.js +4 -0
- package/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorDestructureSet.js +10 -0
- package/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorGet.js +4 -0
- package/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorSet.js +7 -0
- package/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +4 -0
- package/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticAccess.js +5 -0
- package/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticFieldDescriptor.js +4 -0
- package/node_modules/@babel/runtime/helpers/esm/classExtractFieldDescriptor.js +5 -0
- package/node_modules/@babel/runtime/helpers/esm/classNameTDZError.js +4 -0
- package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldDestructureSet.js +7 -0
- package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet.js +7 -0
- package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet2.js +5 -0
- package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldInitSpec.js +5 -0
- package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseBase.js +5 -0
- package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseKey.js +5 -0
- package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet.js +7 -0
- package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet2.js +5 -0
- package/node_modules/@babel/runtime/helpers/esm/classPrivateGetter.js +5 -0
- package/node_modules/@babel/runtime/helpers/esm/classPrivateMethodGet.js +5 -0
- package/node_modules/@babel/runtime/helpers/esm/classPrivateMethodInitSpec.js +5 -0
- package/node_modules/@babel/runtime/helpers/esm/classPrivateMethodSet.js +4 -0
- package/node_modules/@babel/runtime/helpers/esm/classPrivateSetter.js +5 -0
- package/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldDestructureSet.js +7 -0
- package/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecGet.js +7 -0
- package/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecSet.js +7 -0
- package/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodGet.js +5 -0
- package/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodSet.js +4 -0
- package/node_modules/@babel/runtime/helpers/esm/construct.js +10 -0
- package/node_modules/@babel/runtime/helpers/esm/createClass.js +13 -0
- package/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js +50 -0
- package/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelperLoose.js +19 -0
- package/node_modules/@babel/runtime/helpers/esm/createSuper.js +16 -0
- package/node_modules/@babel/runtime/helpers/esm/decorate.js +250 -0
- package/node_modules/@babel/runtime/helpers/esm/defaults.js +9 -0
- package/node_modules/@babel/runtime/helpers/esm/defineAccessor.js +8 -0
- package/node_modules/@babel/runtime/helpers/esm/defineEnumerableProperties.js +12 -0
- package/node_modules/@babel/runtime/helpers/esm/defineProperty.js +10 -0
- package/node_modules/@babel/runtime/helpers/esm/dispose.js +28 -0
- package/node_modules/@babel/runtime/helpers/esm/extends.js +10 -0
- package/node_modules/@babel/runtime/helpers/esm/get.js +11 -0
- package/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +6 -0
- package/node_modules/@babel/runtime/helpers/esm/identity.js +4 -0
- package/node_modules/@babel/runtime/helpers/esm/importDeferProxy.js +27 -0
- package/node_modules/@babel/runtime/helpers/esm/inherits.js +14 -0
- package/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js +5 -0
- package/node_modules/@babel/runtime/helpers/esm/initializerDefineProperty.js +9 -0
- package/node_modules/@babel/runtime/helpers/esm/initializerWarningHelper.js +4 -0
- package/node_modules/@babel/runtime/helpers/esm/instanceof.js +4 -0
- package/node_modules/@babel/runtime/helpers/esm/interopRequireDefault.js +6 -0
- package/node_modules/@babel/runtime/helpers/esm/interopRequireWildcard.js +22 -0
- package/node_modules/@babel/runtime/helpers/esm/isNativeFunction.js +8 -0
- package/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +9 -0
- package/node_modules/@babel/runtime/helpers/esm/iterableToArray.js +4 -0
- package/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +28 -0
- package/node_modules/@babel/runtime/helpers/esm/jsx.js +22 -0
- package/node_modules/@babel/runtime/helpers/esm/maybeArrayLike.js +9 -0
- package/node_modules/@babel/runtime/helpers/esm/newArrowCheck.js +4 -0
- package/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +4 -0
- package/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +4 -0
- package/node_modules/@babel/runtime/helpers/esm/nullishReceiverError.js +4 -0
- package/node_modules/@babel/runtime/helpers/esm/objectDestructuringEmpty.js +4 -0
- package/node_modules/@babel/runtime/helpers/esm/objectSpread.js +14 -0
- package/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +23 -0
- package/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +13 -0
- package/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +10 -0
- package/node_modules/@babel/runtime/helpers/esm/package.json +3 -0
- package/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +8 -0
- package/node_modules/@babel/runtime/helpers/esm/readOnlyError.js +4 -0
- package/node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js +272 -0
- package/node_modules/@babel/runtime/helpers/esm/set.js +22 -0
- package/node_modules/@babel/runtime/helpers/esm/setFunctionName.js +12 -0
- package/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +6 -0
- package/node_modules/@babel/runtime/helpers/esm/skipFirstGeneratorNext.js +7 -0
- package/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +8 -0
- package/node_modules/@babel/runtime/helpers/esm/superPropBase.js +6 -0
- package/node_modules/@babel/runtime/helpers/esm/superPropGet.js +9 -0
- package/node_modules/@babel/runtime/helpers/esm/superPropSet.js +6 -0
- package/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js +8 -0
- package/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteralLoose.js +4 -0
- package/node_modules/@babel/runtime/helpers/esm/tdz.js +4 -0
- package/node_modules/@babel/runtime/helpers/esm/temporalRef.js +6 -0
- package/node_modules/@babel/runtime/helpers/esm/temporalUndefined.js +2 -0
- package/node_modules/@babel/runtime/helpers/esm/toArray.js +8 -0
- package/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +8 -0
- package/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +12 -0
- package/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +7 -0
- package/node_modules/@babel/runtime/helpers/esm/toSetter.js +10 -0
- package/node_modules/@babel/runtime/helpers/esm/tsRewriteRelativeImportExtensions.js +6 -0
- package/node_modules/@babel/runtime/helpers/esm/typeof.js +10 -0
- package/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +9 -0
- package/node_modules/@babel/runtime/helpers/esm/using.js +12 -0
- package/node_modules/@babel/runtime/helpers/esm/usingCtx.js +59 -0
- package/node_modules/@babel/runtime/helpers/esm/wrapAsyncGenerator.js +69 -0
- package/node_modules/@babel/runtime/helpers/esm/wrapNativeSuper.js +27 -0
- package/node_modules/@babel/runtime/helpers/esm/wrapRegExp.js +52 -0
- package/node_modules/@babel/runtime/helpers/esm/writeOnlyError.js +4 -0
- package/node_modules/@babel/runtime/helpers/extends.js +10 -0
- package/node_modules/@babel/runtime/helpers/get.js +11 -0
- package/node_modules/@babel/runtime/helpers/getPrototypeOf.js +6 -0
- package/node_modules/@babel/runtime/helpers/identity.js +4 -0
- package/node_modules/@babel/runtime/helpers/importDeferProxy.js +27 -0
- package/node_modules/@babel/runtime/helpers/inherits.js +14 -0
- package/node_modules/@babel/runtime/helpers/inheritsLoose.js +5 -0
- package/node_modules/@babel/runtime/helpers/initializerDefineProperty.js +9 -0
- package/node_modules/@babel/runtime/helpers/initializerWarningHelper.js +4 -0
- package/node_modules/@babel/runtime/helpers/instanceof.js +4 -0
- package/node_modules/@babel/runtime/helpers/interopRequireDefault.js +6 -0
- package/node_modules/@babel/runtime/helpers/interopRequireWildcard.js +22 -0
- package/node_modules/@babel/runtime/helpers/isNativeFunction.js +8 -0
- package/node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js +9 -0
- package/node_modules/@babel/runtime/helpers/iterableToArray.js +4 -0
- package/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js +28 -0
- package/node_modules/@babel/runtime/helpers/jsx.js +22 -0
- package/node_modules/@babel/runtime/helpers/maybeArrayLike.js +9 -0
- package/node_modules/@babel/runtime/helpers/newArrowCheck.js +4 -0
- package/node_modules/@babel/runtime/helpers/nonIterableRest.js +4 -0
- package/node_modules/@babel/runtime/helpers/nonIterableSpread.js +4 -0
- package/node_modules/@babel/runtime/helpers/nullishReceiverError.js +4 -0
- package/node_modules/@babel/runtime/helpers/objectDestructuringEmpty.js +4 -0
- package/node_modules/@babel/runtime/helpers/objectSpread.js +14 -0
- package/node_modules/@babel/runtime/helpers/objectSpread2.js +23 -0
- package/node_modules/@babel/runtime/helpers/objectWithoutProperties.js +13 -0
- package/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js +10 -0
- package/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js +8 -0
- package/node_modules/@babel/runtime/helpers/readOnlyError.js +4 -0
- package/node_modules/@babel/runtime/helpers/regeneratorRuntime.js +272 -0
- package/node_modules/@babel/runtime/helpers/set.js +22 -0
- package/node_modules/@babel/runtime/helpers/setFunctionName.js +12 -0
- package/node_modules/@babel/runtime/helpers/setPrototypeOf.js +6 -0
- package/node_modules/@babel/runtime/helpers/skipFirstGeneratorNext.js +7 -0
- package/node_modules/@babel/runtime/helpers/slicedToArray.js +8 -0
- package/node_modules/@babel/runtime/helpers/superPropBase.js +6 -0
- package/node_modules/@babel/runtime/helpers/superPropGet.js +9 -0
- package/node_modules/@babel/runtime/helpers/superPropSet.js +6 -0
- package/node_modules/@babel/runtime/helpers/taggedTemplateLiteral.js +8 -0
- package/node_modules/@babel/runtime/helpers/taggedTemplateLiteralLoose.js +4 -0
- package/node_modules/@babel/runtime/helpers/tdz.js +4 -0
- package/node_modules/@babel/runtime/helpers/temporalRef.js +6 -0
- package/node_modules/@babel/runtime/helpers/temporalUndefined.js +2 -0
- package/node_modules/@babel/runtime/helpers/toArray.js +8 -0
- package/node_modules/@babel/runtime/helpers/toConsumableArray.js +8 -0
- package/node_modules/@babel/runtime/helpers/toPrimitive.js +12 -0
- package/node_modules/@babel/runtime/helpers/toPropertyKey.js +7 -0
- package/node_modules/@babel/runtime/helpers/toSetter.js +10 -0
- package/node_modules/@babel/runtime/helpers/tsRewriteRelativeImportExtensions.js +6 -0
- package/node_modules/@babel/runtime/helpers/typeof.js +10 -0
- package/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js +9 -0
- package/node_modules/@babel/runtime/helpers/using.js +12 -0
- package/node_modules/@babel/runtime/helpers/usingCtx.js +59 -0
- package/node_modules/@babel/runtime/helpers/wrapAsyncGenerator.js +69 -0
- package/node_modules/@babel/runtime/helpers/wrapNativeSuper.js +27 -0
- package/node_modules/@babel/runtime/helpers/wrapRegExp.js +52 -0
- package/node_modules/@babel/runtime/helpers/writeOnlyError.js +4 -0
- package/node_modules/@babel/runtime/package.json +1062 -0
- package/node_modules/@babel/runtime/regenerator/index.js +15 -0
- package/node_modules/@coral-xyz/anchor/README.md +10 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/index.js +7201 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/index.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/borsh/accounts.d.ts +27 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/borsh/accounts.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/borsh/event.d.ts +14 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/borsh/event.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/borsh/idl.d.ts +32 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/borsh/idl.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/borsh/index.d.ts +33 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/borsh/index.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/borsh/instruction.d.ts +42 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/borsh/instruction.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/borsh/types.d.ts +16 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/borsh/types.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/index.d.ts +43 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/index.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/system/accounts.d.ts +12 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/system/accounts.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/system/events.d.ts +9 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/system/events.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/system/index.d.ts +17 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/system/index.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/system/instruction.d.ts +8 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/system/instruction.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/system/types.d.ts +8 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/system/types.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/error.d.ts +131 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/error.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/idl.d.ts +215 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/idl.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/index.d.ts +16 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/index.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/native/index.d.ts +7 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/native/index.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/native/system.d.ts +390 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/native/system.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/nodewallet.d.ts +14 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/nodewallet.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/program/accounts-resolver.d.ts +63 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/program/accounts-resolver.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/program/common.d.ts +20 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/program/common.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/program/context.d.ts +63 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/program/context.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/program/event.d.ts +57 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/program/event.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/program/index.d.ts +272 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/program/index.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/account.d.ts +146 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/account.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/index.d.ts +35 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/index.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/instruction.d.ts +57 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/instruction.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/methods.d.ts +206 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/methods.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/rpc.d.ts +49 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/rpc.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/simulate.d.ts +57 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/simulate.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/transaction.d.ts +42 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/transaction.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/types.d.ts +153 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/types.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/views.d.ts +15 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/views.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/program/token-account-layout.d.ts +2 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/program/token-account-layout.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/provider.d.ts +104 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/provider.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/bytes/base64.d.ts +4 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/bytes/base64.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/bytes/bs58.d.ts +3 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/bytes/bs58.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/bytes/hex.d.ts +4 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/bytes/hex.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/bytes/index.d.ts +5 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/bytes/index.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/bytes/utf8.d.ts +3 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/bytes/utf8.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/common.d.ts +22 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/common.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/features.d.ts +3 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/features.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/index.d.ts +8 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/index.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/pubkey.d.ts +3 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/pubkey.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/registry.d.ts +34 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/registry.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/rpc.d.ts +21 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/rpc.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/sha256.d.ts +2 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/sha256.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/token.d.ts +8 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/token.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/workspace.d.ts +14 -0
- package/node_modules/@coral-xyz/anchor/dist/browser/src/workspace.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/accounts.d.ts +27 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/accounts.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/accounts.js +103 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/accounts.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/event.d.ts +14 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/event.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/event.js +78 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/event.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/idl.d.ts +32 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/idl.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/idl.js +419 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/idl.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/index.d.ts +33 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/index.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/index.js +27 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/index.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/instruction.d.ts +42 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/instruction.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/instruction.js +274 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/instruction.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/types.d.ts +16 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/types.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/types.js +42 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/types.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/index.d.ts +43 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/index.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/index.js +19 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/index.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/accounts.d.ts +12 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/accounts.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/accounts.js +107 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/accounts.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/events.d.ts +9 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/events.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/events.js +11 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/events.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/index.d.ts +17 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/index.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/index.js +20 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/index.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/instruction.d.ts +8 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/instruction.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/instruction.js +242 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/instruction.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/types.d.ts +8 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/types.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/types.js +14 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/types.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/error.d.ts +131 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/error.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/error.js +583 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/error.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/idl.d.ts +215 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/idl.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/idl.js +109 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/idl.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/index.d.ts +16 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/index.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/index.js +50 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/index.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/native/index.d.ts +7 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/native/index.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/native/index.js +11 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/native/index.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/native/system.d.ts +390 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/native/system.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/native/system.js +394 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/native/system.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/nodewallet.d.ts +14 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/nodewallet.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/nodewallet.js +48 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/nodewallet.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/accounts-resolver.d.ts +63 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/accounts-resolver.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/accounts-resolver.js +437 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/accounts-resolver.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/common.d.ts +20 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/common.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/common.js +49 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/common.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/context.d.ts +63 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/context.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/context.js +16 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/context.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/event.d.ts +57 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/event.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/event.js +207 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/event.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/index.d.ts +272 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/index.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/index.js +177 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/index.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/account.d.ts +146 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/account.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/account.js +257 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/account.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/index.d.ts +35 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/index.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/index.js +63 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/index.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/instruction.d.ts +57 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/instruction.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/instruction.js +94 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/instruction.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/methods.d.ts +206 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/methods.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/methods.js +309 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/methods.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/rpc.d.ts +49 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/rpc.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/rpc.js +25 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/rpc.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/simulate.d.ts +57 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/simulate.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/simulate.js +42 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/simulate.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/transaction.d.ts +42 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/transaction.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/transaction.js +24 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/transaction.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/types.d.ts +153 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/types.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/types.js +3 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/types.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/views.d.ts +15 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/views.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/views.js +30 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/views.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/token-account-layout.d.ts +2 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/token-account-layout.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/token-account-layout.js +136 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/token-account-layout.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/provider.d.ts +104 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/provider.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/provider.js +309 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/provider.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/base64.d.ts +4 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/base64.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/base64.js +12 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/base64.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/bs58.d.ts +3 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/bs58.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/bs58.js +15 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/bs58.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/hex.d.ts +4 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/hex.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/hex.js +22 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/hex.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/index.d.ts +5 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/index.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/index.js +31 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/index.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/utf8.d.ts +3 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/utf8.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/utf8.js +18 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/utf8.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/common.d.ts +22 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/common.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/common.js +32 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/common.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/features.d.ts +3 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/features.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/features.js +16 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/features.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/index.d.ts +8 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/index.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/index.js +34 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/index.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/pubkey.d.ts +3 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/pubkey.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/pubkey.js +16 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/pubkey.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/registry.d.ts +34 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/registry.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/registry.js +88 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/registry.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/rpc.d.ts +21 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/rpc.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/rpc.js +167 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/rpc.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/sha256.d.ts +2 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/sha256.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/sha256.js +8 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/sha256.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/token.d.ts +8 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/token.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/token.js +11 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/token.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/workspace.d.ts +14 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/workspace.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/workspace.js +98 -0
- package/node_modules/@coral-xyz/anchor/dist/cjs/workspace.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/accounts.d.ts +27 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/accounts.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/accounts.js +96 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/accounts.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/event.d.ts +14 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/event.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/event.js +51 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/event.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/idl.d.ts +32 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/idl.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/idl.js +392 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/idl.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/index.d.ts +33 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/index.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/index.js +20 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/index.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/instruction.d.ts +42 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/instruction.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/instruction.js +244 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/instruction.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/types.d.ts +16 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/types.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/types.js +38 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/types.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/index.d.ts +43 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/index.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/index.js +3 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/index.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/accounts.d.ts +12 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/accounts.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/accounts.js +80 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/accounts.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/events.d.ts +9 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/events.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/events.js +7 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/events.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/index.d.ts +17 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/index.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/index.js +16 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/index.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/instruction.d.ts +8 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/instruction.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/instruction.js +212 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/instruction.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/types.d.ts +8 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/types.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/types.js +10 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/types.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/error.d.ts +131 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/error.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/error.js +552 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/error.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/idl.d.ts +215 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/idl.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/idl.js +74 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/idl.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/index.d.ts +16 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/index.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/index.js +14 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/index.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/native/index.d.ts +7 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/native/index.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/native/index.js +7 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/native/index.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/native/system.d.ts +390 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/native/system.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/native/system.js +389 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/native/system.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/nodewallet.d.ts +14 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/nodewallet.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/nodewallet.js +45 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/nodewallet.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/program/accounts-resolver.d.ts +63 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/program/accounts-resolver.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/program/accounts-resolver.js +429 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/program/accounts-resolver.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/program/common.d.ts +20 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/program/common.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/program/common.js +43 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/program/common.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/program/context.d.ts +63 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/program/context.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/program/context.js +13 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/program/context.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/program/event.d.ts +57 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/program/event.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/program/event.js +202 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/program/event.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/program/index.d.ts +272 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/program/index.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/program/index.js +156 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/program/index.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/account.d.ts +146 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/account.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/account.js +226 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/account.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/index.d.ts +35 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/index.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/index.js +54 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/index.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/instruction.d.ts +57 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/instruction.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/instruction.js +68 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/instruction.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/methods.d.ts +206 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/methods.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/methods.js +302 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/methods.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/rpc.d.ts +49 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/rpc.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/rpc.js +22 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/rpc.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/simulate.d.ts +57 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/simulate.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/simulate.js +39 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/simulate.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/transaction.d.ts +42 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/transaction.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/transaction.js +21 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/transaction.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/types.d.ts +153 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/types.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/types.js +2 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/types.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/views.d.ts +15 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/views.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/views.js +27 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/views.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/program/token-account-layout.d.ts +2 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/program/token-account-layout.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/program/token-account-layout.js +107 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/program/token-account-layout.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/provider.d.ts +104 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/provider.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/provider.js +303 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/provider.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/base64.d.ts +4 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/base64.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/base64.js +8 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/base64.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/bs58.d.ts +3 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/bs58.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/bs58.js +8 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/bs58.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/hex.d.ts +4 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/hex.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/hex.js +18 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/hex.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/index.d.ts +5 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/index.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/index.js +5 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/index.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/utf8.d.ts +3 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/utf8.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/utf8.js +14 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/utf8.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/common.d.ts +22 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/common.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/common.js +27 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/common.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/features.d.ts +3 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/features.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/features.js +12 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/features.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/index.d.ts +8 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/index.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/index.js +8 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/index.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/pubkey.d.ts +3 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/pubkey.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/pubkey.js +13 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/pubkey.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/registry.d.ts +34 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/registry.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/registry.js +57 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/registry.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/rpc.d.ts +21 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/rpc.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/rpc.js +161 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/rpc.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/sha256.d.ts +2 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/sha256.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/sha256.js +5 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/sha256.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/token.d.ts +8 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/token.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/token.js +7 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/token.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/workspace.d.ts +14 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/workspace.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/workspace.js +70 -0
- package/node_modules/@coral-xyz/anchor/dist/esm/workspace.js.map +1 -0
- package/node_modules/@coral-xyz/anchor/dist/tsconfig.cjs.tsbuildinfo +1 -0
- package/node_modules/@coral-xyz/anchor/dist/tsconfig.tsbuildinfo +1 -0
- package/node_modules/@coral-xyz/anchor/package.json +84 -0
- package/node_modules/@coral-xyz/anchor/types/buffer-layout/index.d.ts +88 -0
- package/node_modules/@coral-xyz/anchor-errors/dist/index.d.ts +157 -0
- package/node_modules/@coral-xyz/anchor-errors/dist/index.d.ts.map +1 -0
- package/node_modules/@coral-xyz/anchor-errors/dist/index.js +167 -0
- package/node_modules/@coral-xyz/anchor-errors/dist/index.js.map +1 -0
- package/node_modules/@coral-xyz/anchor-errors/package.json +32 -0
- package/node_modules/@coral-xyz/borsh/dist/index.d.ts +31 -0
- package/node_modules/@coral-xyz/borsh/dist/index.d.ts.map +1 -0
- package/node_modules/@coral-xyz/borsh/dist/index.js +222 -0
- package/node_modules/@coral-xyz/borsh/dist/index.js.map +1 -0
- package/node_modules/@coral-xyz/borsh/package.json +35 -0
- package/node_modules/@noble/curves/LICENSE +21 -0
- package/node_modules/@noble/curves/README.md +998 -0
- package/node_modules/@noble/curves/_shortw_utils.d.ts +16 -0
- package/node_modules/@noble/curves/_shortw_utils.d.ts.map +1 -0
- package/node_modules/@noble/curves/_shortw_utils.js +25 -0
- package/node_modules/@noble/curves/_shortw_utils.js.map +1 -0
- package/node_modules/@noble/curves/abstract/bls.d.ts +129 -0
- package/node_modules/@noble/curves/abstract/bls.d.ts.map +1 -0
- package/node_modules/@noble/curves/abstract/bls.js +355 -0
- package/node_modules/@noble/curves/abstract/bls.js.map +1 -0
- package/node_modules/@noble/curves/abstract/curve.d.ts +109 -0
- package/node_modules/@noble/curves/abstract/curve.d.ts.map +1 -0
- package/node_modules/@noble/curves/abstract/curve.js +392 -0
- package/node_modules/@noble/curves/abstract/curve.js.map +1 -0
- package/node_modules/@noble/curves/abstract/edwards.d.ts +92 -0
- package/node_modules/@noble/curves/abstract/edwards.d.ts.map +1 -0
- package/node_modules/@noble/curves/abstract/edwards.js +452 -0
- package/node_modules/@noble/curves/abstract/edwards.js.map +1 -0
- package/node_modules/@noble/curves/abstract/fft.d.ts +120 -0
- package/node_modules/@noble/curves/abstract/fft.d.ts.map +1 -0
- package/node_modules/@noble/curves/abstract/fft.js +439 -0
- package/node_modules/@noble/curves/abstract/fft.js.map +1 -0
- package/node_modules/@noble/curves/abstract/hash-to-curve.d.ts +84 -0
- package/node_modules/@noble/curves/abstract/hash-to-curve.d.ts.map +1 -0
- package/node_modules/@noble/curves/abstract/hash-to-curve.js +196 -0
- package/node_modules/@noble/curves/abstract/hash-to-curve.js.map +1 -0
- package/node_modules/@noble/curves/abstract/modular.d.ts +153 -0
- package/node_modules/@noble/curves/abstract/modular.d.ts.map +1 -0
- package/node_modules/@noble/curves/abstract/modular.js +481 -0
- package/node_modules/@noble/curves/abstract/modular.js.map +1 -0
- package/node_modules/@noble/curves/abstract/montgomery.d.ts +21 -0
- package/node_modules/@noble/curves/abstract/montgomery.d.ts.map +1 -0
- package/node_modules/@noble/curves/abstract/montgomery.js +140 -0
- package/node_modules/@noble/curves/abstract/montgomery.js.map +1 -0
- package/node_modules/@noble/curves/abstract/poseidon.d.ts +76 -0
- package/node_modules/@noble/curves/abstract/poseidon.d.ts.map +1 -0
- package/node_modules/@noble/curves/abstract/poseidon.js +300 -0
- package/node_modules/@noble/curves/abstract/poseidon.js.map +1 -0
- package/node_modules/@noble/curves/abstract/tower.d.ts +119 -0
- package/node_modules/@noble/curves/abstract/tower.d.ts.map +1 -0
- package/node_modules/@noble/curves/abstract/tower.js +500 -0
- package/node_modules/@noble/curves/abstract/tower.js.map +1 -0
- package/node_modules/@noble/curves/abstract/utils.d.ts +119 -0
- package/node_modules/@noble/curves/abstract/utils.d.ts.map +1 -0
- package/node_modules/@noble/curves/abstract/utils.js +377 -0
- package/node_modules/@noble/curves/abstract/utils.js.map +1 -0
- package/node_modules/@noble/curves/abstract/weierstrass.d.ts +260 -0
- package/node_modules/@noble/curves/abstract/weierstrass.d.ts.map +1 -0
- package/node_modules/@noble/curves/abstract/weierstrass.js +1226 -0
- package/node_modules/@noble/curves/abstract/weierstrass.js.map +1 -0
- package/node_modules/@noble/curves/bls12-381.d.ts +14 -0
- package/node_modules/@noble/curves/bls12-381.d.ts.map +1 -0
- package/node_modules/@noble/curves/bls12-381.js +703 -0
- package/node_modules/@noble/curves/bls12-381.js.map +1 -0
- package/node_modules/@noble/curves/bn254.d.ts +16 -0
- package/node_modules/@noble/curves/bn254.d.ts.map +1 -0
- package/node_modules/@noble/curves/bn254.js +238 -0
- package/node_modules/@noble/curves/bn254.js.map +1 -0
- package/node_modules/@noble/curves/ed25519.d.ts +117 -0
- package/node_modules/@noble/curves/ed25519.d.ts.map +1 -0
- package/node_modules/@noble/curves/ed25519.js +483 -0
- package/node_modules/@noble/curves/ed25519.js.map +1 -0
- package/node_modules/@noble/curves/ed448.d.ts +98 -0
- package/node_modules/@noble/curves/ed448.d.ts.map +1 -0
- package/node_modules/@noble/curves/ed448.js +438 -0
- package/node_modules/@noble/curves/ed448.js.map +1 -0
- package/node_modules/@noble/curves/esm/_shortw_utils.d.ts +16 -0
- package/node_modules/@noble/curves/esm/_shortw_utils.d.ts.map +1 -0
- package/node_modules/@noble/curves/esm/_shortw_utils.js +21 -0
- package/node_modules/@noble/curves/esm/_shortw_utils.js.map +1 -0
- package/node_modules/@noble/curves/esm/abstract/bls.d.ts +129 -0
- package/node_modules/@noble/curves/esm/abstract/bls.d.ts.map +1 -0
- package/node_modules/@noble/curves/esm/abstract/bls.js +352 -0
- package/node_modules/@noble/curves/esm/abstract/bls.js.map +1 -0
- package/node_modules/@noble/curves/esm/abstract/curve.d.ts +109 -0
- package/node_modules/@noble/curves/esm/abstract/curve.d.ts.map +1 -0
- package/node_modules/@noble/curves/esm/abstract/curve.js +386 -0
- package/node_modules/@noble/curves/esm/abstract/curve.js.map +1 -0
- package/node_modules/@noble/curves/esm/abstract/edwards.d.ts +92 -0
- package/node_modules/@noble/curves/esm/abstract/edwards.d.ts.map +1 -0
- package/node_modules/@noble/curves/esm/abstract/edwards.js +449 -0
- package/node_modules/@noble/curves/esm/abstract/edwards.js.map +1 -0
- package/node_modules/@noble/curves/esm/abstract/fft.d.ts +120 -0
- package/node_modules/@noble/curves/esm/abstract/fft.d.ts.map +1 -0
- package/node_modules/@noble/curves/esm/abstract/fft.js +426 -0
- package/node_modules/@noble/curves/esm/abstract/fft.js.map +1 -0
- package/node_modules/@noble/curves/esm/abstract/hash-to-curve.d.ts +84 -0
- package/node_modules/@noble/curves/esm/abstract/hash-to-curve.d.ts.map +1 -0
- package/node_modules/@noble/curves/esm/abstract/hash-to-curve.js +189 -0
- package/node_modules/@noble/curves/esm/abstract/hash-to-curve.js.map +1 -0
- package/node_modules/@noble/curves/esm/abstract/modular.d.ts +153 -0
- package/node_modules/@noble/curves/esm/abstract/modular.d.ts.map +1 -0
- package/node_modules/@noble/curves/esm/abstract/modular.js +457 -0
- package/node_modules/@noble/curves/esm/abstract/modular.js.map +1 -0
- package/node_modules/@noble/curves/esm/abstract/montgomery.d.ts +21 -0
- package/node_modules/@noble/curves/esm/abstract/montgomery.d.ts.map +1 -0
- package/node_modules/@noble/curves/esm/abstract/montgomery.js +137 -0
- package/node_modules/@noble/curves/esm/abstract/montgomery.js.map +1 -0
- package/node_modules/@noble/curves/esm/abstract/poseidon.d.ts +76 -0
- package/node_modules/@noble/curves/esm/abstract/poseidon.d.ts.map +1 -0
- package/node_modules/@noble/curves/esm/abstract/poseidon.js +291 -0
- package/node_modules/@noble/curves/esm/abstract/poseidon.js.map +1 -0
- package/node_modules/@noble/curves/esm/abstract/tower.d.ts +119 -0
- package/node_modules/@noble/curves/esm/abstract/tower.d.ts.map +1 -0
- package/node_modules/@noble/curves/esm/abstract/tower.js +496 -0
- package/node_modules/@noble/curves/esm/abstract/tower.js.map +1 -0
- package/node_modules/@noble/curves/esm/abstract/utils.d.ts +119 -0
- package/node_modules/@noble/curves/esm/abstract/utils.d.ts.map +1 -0
- package/node_modules/@noble/curves/esm/abstract/utils.js +348 -0
- package/node_modules/@noble/curves/esm/abstract/utils.js.map +1 -0
- package/node_modules/@noble/curves/esm/abstract/weierstrass.d.ts +260 -0
- package/node_modules/@noble/curves/esm/abstract/weierstrass.d.ts.map +1 -0
- package/node_modules/@noble/curves/esm/abstract/weierstrass.js +1218 -0
- package/node_modules/@noble/curves/esm/abstract/weierstrass.js.map +1 -0
- package/node_modules/@noble/curves/esm/bls12-381.d.ts +14 -0
- package/node_modules/@noble/curves/esm/bls12-381.d.ts.map +1 -0
- package/node_modules/@noble/curves/esm/bls12-381.js +700 -0
- package/node_modules/@noble/curves/esm/bls12-381.js.map +1 -0
- package/node_modules/@noble/curves/esm/bn254.d.ts +16 -0
- package/node_modules/@noble/curves/esm/bn254.d.ts.map +1 -0
- package/node_modules/@noble/curves/esm/bn254.js +234 -0
- package/node_modules/@noble/curves/esm/bn254.js.map +1 -0
- package/node_modules/@noble/curves/esm/ed25519.d.ts +117 -0
- package/node_modules/@noble/curves/esm/ed25519.d.ts.map +1 -0
- package/node_modules/@noble/curves/esm/ed25519.js +477 -0
- package/node_modules/@noble/curves/esm/ed25519.js.map +1 -0
- package/node_modules/@noble/curves/esm/ed448.d.ts +98 -0
- package/node_modules/@noble/curves/esm/ed448.d.ts.map +1 -0
- package/node_modules/@noble/curves/esm/ed448.js +433 -0
- package/node_modules/@noble/curves/esm/ed448.js.map +1 -0
- package/node_modules/@noble/curves/esm/index.d.ts +2 -0
- package/node_modules/@noble/curves/esm/index.d.ts.map +1 -0
- package/node_modules/@noble/curves/esm/index.js +19 -0
- package/node_modules/@noble/curves/esm/index.js.map +1 -0
- package/node_modules/@noble/curves/esm/jubjub.d.ts +12 -0
- package/node_modules/@noble/curves/esm/jubjub.d.ts.map +1 -0
- package/node_modules/@noble/curves/esm/jubjub.js +12 -0
- package/node_modules/@noble/curves/esm/jubjub.js.map +1 -0
- package/node_modules/@noble/curves/esm/misc.d.ts +21 -0
- package/node_modules/@noble/curves/esm/misc.d.ts.map +1 -0
- package/node_modules/@noble/curves/esm/misc.js +107 -0
- package/node_modules/@noble/curves/esm/misc.js.map +1 -0
- package/node_modules/@noble/curves/esm/nist.d.ts +30 -0
- package/node_modules/@noble/curves/esm/nist.d.ts.map +1 -0
- package/node_modules/@noble/curves/esm/nist.js +121 -0
- package/node_modules/@noble/curves/esm/nist.js.map +1 -0
- package/node_modules/@noble/curves/esm/p256.d.ts +12 -0
- package/node_modules/@noble/curves/esm/p256.d.ts.map +1 -0
- package/node_modules/@noble/curves/esm/p256.js +12 -0
- package/node_modules/@noble/curves/esm/p256.js.map +1 -0
- package/node_modules/@noble/curves/esm/p384.d.ts +13 -0
- package/node_modules/@noble/curves/esm/p384.d.ts.map +1 -0
- package/node_modules/@noble/curves/esm/p384.js +13 -0
- package/node_modules/@noble/curves/esm/p384.js.map +1 -0
- package/node_modules/@noble/curves/esm/p521.d.ts +12 -0
- package/node_modules/@noble/curves/esm/p521.d.ts.map +1 -0
- package/node_modules/@noble/curves/esm/p521.js +12 -0
- package/node_modules/@noble/curves/esm/p521.js.map +1 -0
- package/node_modules/@noble/curves/esm/package.json +4 -0
- package/node_modules/@noble/curves/esm/pasta.d.ts +10 -0
- package/node_modules/@noble/curves/esm/pasta.d.ts.map +1 -0
- package/node_modules/@noble/curves/esm/pasta.js +10 -0
- package/node_modules/@noble/curves/esm/pasta.js.map +1 -0
- package/node_modules/@noble/curves/esm/secp256k1.d.ts +76 -0
- package/node_modules/@noble/curves/esm/secp256k1.d.ts.map +1 -0
- package/node_modules/@noble/curves/esm/secp256k1.js +287 -0
- package/node_modules/@noble/curves/esm/secp256k1.js.map +1 -0
- package/node_modules/@noble/curves/index.d.ts +1 -0
- package/node_modules/@noble/curves/index.d.ts.map +1 -0
- package/node_modules/@noble/curves/index.js +19 -0
- package/node_modules/@noble/curves/index.js.map +1 -0
- package/node_modules/@noble/curves/jubjub.d.ts +12 -0
- package/node_modules/@noble/curves/jubjub.d.ts.map +1 -0
- package/node_modules/@noble/curves/jubjub.js +15 -0
- package/node_modules/@noble/curves/jubjub.js.map +1 -0
- package/node_modules/@noble/curves/misc.d.ts +21 -0
- package/node_modules/@noble/curves/misc.d.ts.map +1 -0
- package/node_modules/@noble/curves/misc.js +112 -0
- package/node_modules/@noble/curves/misc.js.map +1 -0
- package/node_modules/@noble/curves/nist.d.ts +30 -0
- package/node_modules/@noble/curves/nist.d.ts.map +1 -0
- package/node_modules/@noble/curves/nist.js +124 -0
- package/node_modules/@noble/curves/nist.js.map +1 -0
- package/node_modules/@noble/curves/p256.d.ts +12 -0
- package/node_modules/@noble/curves/p256.d.ts.map +1 -0
- package/node_modules/@noble/curves/p256.js +9 -0
- package/node_modules/@noble/curves/p256.js.map +1 -0
- package/node_modules/@noble/curves/p384.d.ts +13 -0
- package/node_modules/@noble/curves/p384.d.ts.map +1 -0
- package/node_modules/@noble/curves/p384.js +10 -0
- package/node_modules/@noble/curves/p384.js.map +1 -0
- package/node_modules/@noble/curves/p521.d.ts +12 -0
- package/node_modules/@noble/curves/p521.d.ts.map +1 -0
- package/node_modules/@noble/curves/p521.js +9 -0
- package/node_modules/@noble/curves/p521.js.map +1 -0
- package/node_modules/@noble/curves/package.json +284 -0
- package/node_modules/@noble/curves/pasta.d.ts +10 -0
- package/node_modules/@noble/curves/pasta.d.ts.map +1 -0
- package/node_modules/@noble/curves/pasta.js +13 -0
- package/node_modules/@noble/curves/pasta.js.map +1 -0
- package/node_modules/@noble/curves/secp256k1.d.ts +76 -0
- package/node_modules/@noble/curves/secp256k1.d.ts.map +1 -0
- package/node_modules/@noble/curves/secp256k1.js +290 -0
- package/node_modules/@noble/curves/secp256k1.js.map +1 -0
- package/node_modules/@noble/curves/src/_shortw_utils.ts +30 -0
- package/node_modules/@noble/curves/src/abstract/bls.ts +570 -0
- package/node_modules/@noble/curves/src/abstract/curve.ts +471 -0
- package/node_modules/@noble/curves/src/abstract/edwards.ts +569 -0
- package/node_modules/@noble/curves/src/abstract/fft.ts +508 -0
- package/node_modules/@noble/curves/src/abstract/hash-to-curve.ts +265 -0
- package/node_modules/@noble/curves/src/abstract/modular.ts +533 -0
- package/node_modules/@noble/curves/src/abstract/montgomery.ts +165 -0
- package/node_modules/@noble/curves/src/abstract/poseidon.ts +331 -0
- package/node_modules/@noble/curves/src/abstract/tower.ts +650 -0
- package/node_modules/@noble/curves/src/abstract/utils.ts +382 -0
- package/node_modules/@noble/curves/src/abstract/weierstrass.ts +1437 -0
- package/node_modules/@noble/curves/src/bls12-381.ts +754 -0
- package/node_modules/@noble/curves/src/bn254.ts +262 -0
- package/node_modules/@noble/curves/src/ed25519.ts +552 -0
- package/node_modules/@noble/curves/src/ed448.ts +524 -0
- package/node_modules/@noble/curves/src/index.ts +17 -0
- package/node_modules/@noble/curves/src/jubjub.ts +12 -0
- package/node_modules/@noble/curves/src/misc.ts +123 -0
- package/node_modules/@noble/curves/src/nist.ts +155 -0
- package/node_modules/@noble/curves/src/p256.ts +11 -0
- package/node_modules/@noble/curves/src/p384.ts +13 -0
- package/node_modules/@noble/curves/src/p521.ts +11 -0
- package/node_modules/@noble/curves/src/package.json +3 -0
- package/node_modules/@noble/curves/src/pasta.ts +9 -0
- package/node_modules/@noble/curves/src/secp256k1.ts +333 -0
- package/node_modules/@noble/hashes/LICENSE +21 -0
- package/node_modules/@noble/hashes/README.md +521 -0
- package/node_modules/@noble/hashes/_assert.d.ts +17 -0
- package/node_modules/@noble/hashes/_assert.d.ts.map +1 -0
- package/node_modules/@noble/hashes/_assert.js +18 -0
- package/node_modules/@noble/hashes/_assert.js.map +1 -0
- package/node_modules/@noble/hashes/_blake.d.ts +14 -0
- package/node_modules/@noble/hashes/_blake.d.ts.map +1 -0
- package/node_modules/@noble/hashes/_blake.js +50 -0
- package/node_modules/@noble/hashes/_blake.js.map +1 -0
- package/node_modules/@noble/hashes/_md.d.ts +51 -0
- package/node_modules/@noble/hashes/_md.d.ts.map +1 -0
- package/node_modules/@noble/hashes/_md.js +162 -0
- package/node_modules/@noble/hashes/_md.js.map +1 -0
- package/node_modules/@noble/hashes/_u64.d.ts +55 -0
- package/node_modules/@noble/hashes/_u64.d.ts.map +1 -0
- package/node_modules/@noble/hashes/_u64.js +90 -0
- package/node_modules/@noble/hashes/_u64.js.map +1 -0
- package/node_modules/@noble/hashes/argon2.d.ts +32 -0
- package/node_modules/@noble/hashes/argon2.d.ts.map +1 -0
- package/node_modules/@noble/hashes/argon2.js +401 -0
- package/node_modules/@noble/hashes/argon2.js.map +1 -0
- package/node_modules/@noble/hashes/blake1.d.ts +106 -0
- package/node_modules/@noble/hashes/blake1.d.ts.map +1 -0
- package/node_modules/@noble/hashes/blake1.js +459 -0
- package/node_modules/@noble/hashes/blake1.js.map +1 -0
- package/node_modules/@noble/hashes/blake2.d.ts +116 -0
- package/node_modules/@noble/hashes/blake2.d.ts.map +1 -0
- package/node_modules/@noble/hashes/blake2.js +420 -0
- package/node_modules/@noble/hashes/blake2.js.map +1 -0
- package/node_modules/@noble/hashes/blake2b.d.ts +11 -0
- package/node_modules/@noble/hashes/blake2b.d.ts.map +1 -0
- package/node_modules/@noble/hashes/blake2b.js +14 -0
- package/node_modules/@noble/hashes/blake2b.js.map +1 -0
- package/node_modules/@noble/hashes/blake2s.d.ts +20 -0
- package/node_modules/@noble/hashes/blake2s.d.ts.map +1 -0
- package/node_modules/@noble/hashes/blake2s.js +24 -0
- package/node_modules/@noble/hashes/blake2s.js.map +1 -0
- package/node_modules/@noble/hashes/blake3.d.ts +54 -0
- package/node_modules/@noble/hashes/blake3.d.ts.map +1 -0
- package/node_modules/@noble/hashes/blake3.js +255 -0
- package/node_modules/@noble/hashes/blake3.js.map +1 -0
- package/node_modules/@noble/hashes/crypto.d.ts +2 -0
- package/node_modules/@noble/hashes/crypto.d.ts.map +1 -0
- package/node_modules/@noble/hashes/crypto.js +5 -0
- package/node_modules/@noble/hashes/crypto.js.map +1 -0
- package/node_modules/@noble/hashes/cryptoNode.d.ts +2 -0
- package/node_modules/@noble/hashes/cryptoNode.d.ts.map +1 -0
- package/node_modules/@noble/hashes/cryptoNode.js +18 -0
- package/node_modules/@noble/hashes/cryptoNode.js.map +1 -0
- package/node_modules/@noble/hashes/eskdf.d.ts +47 -0
- package/node_modules/@noble/hashes/eskdf.d.ts.map +1 -0
- package/node_modules/@noble/hashes/eskdf.js +166 -0
- package/node_modules/@noble/hashes/eskdf.js.map +1 -0
- package/node_modules/@noble/hashes/esm/_assert.d.ts +17 -0
- package/node_modules/@noble/hashes/esm/_assert.d.ts.map +1 -0
- package/node_modules/@noble/hashes/esm/_assert.js +15 -0
- package/node_modules/@noble/hashes/esm/_assert.js.map +1 -0
- package/node_modules/@noble/hashes/esm/_blake.d.ts +14 -0
- package/node_modules/@noble/hashes/esm/_blake.d.ts.map +1 -0
- package/node_modules/@noble/hashes/esm/_blake.js +45 -0
- package/node_modules/@noble/hashes/esm/_blake.js.map +1 -0
- package/node_modules/@noble/hashes/esm/_md.d.ts +51 -0
- package/node_modules/@noble/hashes/esm/_md.d.ts.map +1 -0
- package/node_modules/@noble/hashes/esm/_md.js +155 -0
- package/node_modules/@noble/hashes/esm/_md.js.map +1 -0
- package/node_modules/@noble/hashes/esm/_u64.d.ts +55 -0
- package/node_modules/@noble/hashes/esm/_u64.d.ts.map +1 -0
- package/node_modules/@noble/hashes/esm/_u64.js +67 -0
- package/node_modules/@noble/hashes/esm/_u64.js.map +1 -0
- package/node_modules/@noble/hashes/esm/argon2.d.ts +32 -0
- package/node_modules/@noble/hashes/esm/argon2.d.ts.map +1 -0
- package/node_modules/@noble/hashes/esm/argon2.js +392 -0
- package/node_modules/@noble/hashes/esm/argon2.js.map +1 -0
- package/node_modules/@noble/hashes/esm/blake1.d.ts +106 -0
- package/node_modules/@noble/hashes/esm/blake1.d.ts.map +1 -0
- package/node_modules/@noble/hashes/esm/blake1.js +452 -0
- package/node_modules/@noble/hashes/esm/blake1.js.map +1 -0
- package/node_modules/@noble/hashes/esm/blake2.d.ts +116 -0
- package/node_modules/@noble/hashes/esm/blake2.d.ts.map +1 -0
- package/node_modules/@noble/hashes/esm/blake2.js +413 -0
- package/node_modules/@noble/hashes/esm/blake2.js.map +1 -0
- package/node_modules/@noble/hashes/esm/blake2b.d.ts +11 -0
- package/node_modules/@noble/hashes/esm/blake2b.d.ts.map +1 -0
- package/node_modules/@noble/hashes/esm/blake2b.js +11 -0
- package/node_modules/@noble/hashes/esm/blake2b.js.map +1 -0
- package/node_modules/@noble/hashes/esm/blake2s.d.ts +20 -0
- package/node_modules/@noble/hashes/esm/blake2s.d.ts.map +1 -0
- package/node_modules/@noble/hashes/esm/blake2s.js +21 -0
- package/node_modules/@noble/hashes/esm/blake2s.js.map +1 -0
- package/node_modules/@noble/hashes/esm/blake3.d.ts +54 -0
- package/node_modules/@noble/hashes/esm/blake3.d.ts.map +1 -0
- package/node_modules/@noble/hashes/esm/blake3.js +251 -0
- package/node_modules/@noble/hashes/esm/blake3.js.map +1 -0
- package/node_modules/@noble/hashes/esm/crypto.d.ts +2 -0
- package/node_modules/@noble/hashes/esm/crypto.d.ts.map +1 -0
- package/node_modules/@noble/hashes/esm/crypto.js +2 -0
- package/node_modules/@noble/hashes/esm/crypto.js.map +1 -0
- package/node_modules/@noble/hashes/esm/cryptoNode.d.ts +2 -0
- package/node_modules/@noble/hashes/esm/cryptoNode.d.ts.map +1 -0
- package/node_modules/@noble/hashes/esm/cryptoNode.js +15 -0
- package/node_modules/@noble/hashes/esm/cryptoNode.js.map +1 -0
- package/node_modules/@noble/hashes/esm/eskdf.d.ts +47 -0
- package/node_modules/@noble/hashes/esm/eskdf.d.ts.map +1 -0
- package/node_modules/@noble/hashes/esm/eskdf.js +160 -0
- package/node_modules/@noble/hashes/esm/eskdf.js.map +1 -0
- package/node_modules/@noble/hashes/esm/hkdf.d.ts +36 -0
- package/node_modules/@noble/hashes/esm/hkdf.d.ts.map +1 -0
- package/node_modules/@noble/hashes/esm/hkdf.js +82 -0
- package/node_modules/@noble/hashes/esm/hkdf.js.map +1 -0
- package/node_modules/@noble/hashes/esm/hmac.d.ts +35 -0
- package/node_modules/@noble/hashes/esm/hmac.d.ts.map +1 -0
- package/node_modules/@noble/hashes/esm/hmac.js +86 -0
- package/node_modules/@noble/hashes/esm/hmac.js.map +1 -0
- package/node_modules/@noble/hashes/esm/index.d.ts +2 -0
- package/node_modules/@noble/hashes/esm/index.d.ts.map +1 -0
- package/node_modules/@noble/hashes/esm/index.js +33 -0
- package/node_modules/@noble/hashes/esm/index.js.map +1 -0
- package/node_modules/@noble/hashes/esm/legacy.d.ts +71 -0
- package/node_modules/@noble/hashes/esm/legacy.d.ts.map +1 -0
- package/node_modules/@noble/hashes/esm/legacy.js +281 -0
- package/node_modules/@noble/hashes/esm/legacy.js.map +1 -0
- package/node_modules/@noble/hashes/esm/package.json +10 -0
- package/node_modules/@noble/hashes/esm/pbkdf2.d.ts +23 -0
- package/node_modules/@noble/hashes/esm/pbkdf2.d.ts.map +1 -0
- package/node_modules/@noble/hashes/esm/pbkdf2.js +97 -0
- package/node_modules/@noble/hashes/esm/pbkdf2.js.map +1 -0
- package/node_modules/@noble/hashes/esm/ripemd160.d.ts +13 -0
- package/node_modules/@noble/hashes/esm/ripemd160.d.ts.map +1 -0
- package/node_modules/@noble/hashes/esm/ripemd160.js +13 -0
- package/node_modules/@noble/hashes/esm/ripemd160.js.map +1 -0
- package/node_modules/@noble/hashes/esm/scrypt.d.ts +34 -0
- package/node_modules/@noble/hashes/esm/scrypt.d.ts.map +1 -0
- package/node_modules/@noble/hashes/esm/scrypt.js +228 -0
- package/node_modules/@noble/hashes/esm/scrypt.js.map +1 -0
- package/node_modules/@noble/hashes/esm/sha1.d.ts +11 -0
- package/node_modules/@noble/hashes/esm/sha1.d.ts.map +1 -0
- package/node_modules/@noble/hashes/esm/sha1.js +11 -0
- package/node_modules/@noble/hashes/esm/sha1.js.map +1 -0
- package/node_modules/@noble/hashes/esm/sha2.d.ts +159 -0
- package/node_modules/@noble/hashes/esm/sha2.d.ts.map +1 -0
- package/node_modules/@noble/hashes/esm/sha2.js +375 -0
- package/node_modules/@noble/hashes/esm/sha2.js.map +1 -0
- package/node_modules/@noble/hashes/esm/sha256.d.ts +20 -0
- package/node_modules/@noble/hashes/esm/sha256.d.ts.map +1 -0
- package/node_modules/@noble/hashes/esm/sha256.js +20 -0
- package/node_modules/@noble/hashes/esm/sha256.js.map +1 -0
- package/node_modules/@noble/hashes/esm/sha3-addons.d.ts +142 -0
- package/node_modules/@noble/hashes/esm/sha3-addons.d.ts.map +1 -0
- package/node_modules/@noble/hashes/esm/sha3-addons.js +393 -0
- package/node_modules/@noble/hashes/esm/sha3-addons.js.map +1 -0
- package/node_modules/@noble/hashes/esm/sha3.d.ts +53 -0
- package/node_modules/@noble/hashes/esm/sha3.d.ts.map +1 -0
- package/node_modules/@noble/hashes/esm/sha3.js +234 -0
- package/node_modules/@noble/hashes/esm/sha3.js.map +1 -0
- package/node_modules/@noble/hashes/esm/sha512.d.ts +26 -0
- package/node_modules/@noble/hashes/esm/sha512.d.ts.map +1 -0
- package/node_modules/@noble/hashes/esm/sha512.js +26 -0
- package/node_modules/@noble/hashes/esm/sha512.js.map +1 -0
- package/node_modules/@noble/hashes/esm/utils.d.ts +161 -0
- package/node_modules/@noble/hashes/esm/utils.d.ts.map +1 -0
- package/node_modules/@noble/hashes/esm/utils.js +281 -0
- package/node_modules/@noble/hashes/esm/utils.js.map +1 -0
- package/node_modules/@noble/hashes/hkdf.d.ts +36 -0
- package/node_modules/@noble/hashes/hkdf.d.ts.map +1 -0
- package/node_modules/@noble/hashes/hkdf.js +88 -0
- package/node_modules/@noble/hashes/hkdf.js.map +1 -0
- package/node_modules/@noble/hashes/hmac.d.ts +35 -0
- package/node_modules/@noble/hashes/hmac.d.ts.map +1 -0
- package/node_modules/@noble/hashes/hmac.js +91 -0
- package/node_modules/@noble/hashes/hmac.js.map +1 -0
- package/node_modules/@noble/hashes/index.d.ts +1 -0
- package/node_modules/@noble/hashes/index.d.ts.map +1 -0
- package/node_modules/@noble/hashes/index.js +33 -0
- package/node_modules/@noble/hashes/index.js.map +1 -0
- package/node_modules/@noble/hashes/legacy.d.ts +71 -0
- package/node_modules/@noble/hashes/legacy.d.ts.map +1 -0
- package/node_modules/@noble/hashes/legacy.js +287 -0
- package/node_modules/@noble/hashes/legacy.js.map +1 -0
- package/node_modules/@noble/hashes/package.json +266 -0
- package/node_modules/@noble/hashes/pbkdf2.d.ts +23 -0
- package/node_modules/@noble/hashes/pbkdf2.d.ts.map +1 -0
- package/node_modules/@noble/hashes/pbkdf2.js +101 -0
- package/node_modules/@noble/hashes/pbkdf2.js.map +1 -0
- package/node_modules/@noble/hashes/ripemd160.d.ts +13 -0
- package/node_modules/@noble/hashes/ripemd160.d.ts.map +1 -0
- package/node_modules/@noble/hashes/ripemd160.js +16 -0
- package/node_modules/@noble/hashes/ripemd160.js.map +1 -0
- package/node_modules/@noble/hashes/scrypt.d.ts +34 -0
- package/node_modules/@noble/hashes/scrypt.d.ts.map +1 -0
- package/node_modules/@noble/hashes/scrypt.js +232 -0
- package/node_modules/@noble/hashes/scrypt.js.map +1 -0
- package/node_modules/@noble/hashes/sha1.d.ts +11 -0
- package/node_modules/@noble/hashes/sha1.d.ts.map +1 -0
- package/node_modules/@noble/hashes/sha1.js +14 -0
- package/node_modules/@noble/hashes/sha1.js.map +1 -0
- package/node_modules/@noble/hashes/sha2.d.ts +159 -0
- package/node_modules/@noble/hashes/sha2.d.ts.map +1 -0
- package/node_modules/@noble/hashes/sha2.js +384 -0
- package/node_modules/@noble/hashes/sha2.js.map +1 -0
- package/node_modules/@noble/hashes/sha256.d.ts +20 -0
- package/node_modules/@noble/hashes/sha256.d.ts.map +1 -0
- package/node_modules/@noble/hashes/sha256.js +23 -0
- package/node_modules/@noble/hashes/sha256.js.map +1 -0
- package/node_modules/@noble/hashes/sha3-addons.d.ts +142 -0
- package/node_modules/@noble/hashes/sha3-addons.d.ts.map +1 -0
- package/node_modules/@noble/hashes/sha3-addons.js +402 -0
- package/node_modules/@noble/hashes/sha3-addons.js.map +1 -0
- package/node_modules/@noble/hashes/sha3.d.ts +53 -0
- package/node_modules/@noble/hashes/sha3.d.ts.map +1 -0
- package/node_modules/@noble/hashes/sha3.js +239 -0
- package/node_modules/@noble/hashes/sha3.js.map +1 -0
- package/node_modules/@noble/hashes/sha512.d.ts +26 -0
- package/node_modules/@noble/hashes/sha512.d.ts.map +1 -0
- package/node_modules/@noble/hashes/sha512.js +29 -0
- package/node_modules/@noble/hashes/sha512.js.map +1 -0
- package/node_modules/@noble/hashes/src/_assert.ts +22 -0
- package/node_modules/@noble/hashes/src/_blake.ts +50 -0
- package/node_modules/@noble/hashes/src/_md.ts +176 -0
- package/node_modules/@noble/hashes/src/_u64.ts +91 -0
- package/node_modules/@noble/hashes/src/argon2.ts +497 -0
- package/node_modules/@noble/hashes/src/blake1.ts +534 -0
- package/node_modules/@noble/hashes/src/blake2.ts +486 -0
- package/node_modules/@noble/hashes/src/blake2b.ts +10 -0
- package/node_modules/@noble/hashes/src/blake2s.ts +20 -0
- package/node_modules/@noble/hashes/src/blake3.ts +272 -0
- package/node_modules/@noble/hashes/src/crypto.ts +9 -0
- package/node_modules/@noble/hashes/src/cryptoNode.ts +15 -0
- package/node_modules/@noble/hashes/src/eskdf.ts +187 -0
- package/node_modules/@noble/hashes/src/hkdf.ts +88 -0
- package/node_modules/@noble/hashes/src/hmac.ts +94 -0
- package/node_modules/@noble/hashes/src/index.ts +31 -0
- package/node_modules/@noble/hashes/src/legacy.ts +293 -0
- package/node_modules/@noble/hashes/src/pbkdf2.ts +122 -0
- package/node_modules/@noble/hashes/src/ripemd160.ts +12 -0
- package/node_modules/@noble/hashes/src/scrypt.ts +257 -0
- package/node_modules/@noble/hashes/src/sha1.ts +10 -0
- package/node_modules/@noble/hashes/src/sha2.ts +402 -0
- package/node_modules/@noble/hashes/src/sha256.ts +24 -0
- package/node_modules/@noble/hashes/src/sha3-addons.ts +499 -0
- package/node_modules/@noble/hashes/src/sha3.ts +258 -0
- package/node_modules/@noble/hashes/src/sha512.ts +34 -0
- package/node_modules/@noble/hashes/src/utils.ts +395 -0
- package/node_modules/@noble/hashes/utils.d.ts +161 -0
- package/node_modules/@noble/hashes/utils.d.ts.map +1 -0
- package/node_modules/@noble/hashes/utils.js +313 -0
- package/node_modules/@noble/hashes/utils.js.map +1 -0
- package/node_modules/@solana/buffer-layout/LICENSE +21 -0
- package/node_modules/@solana/buffer-layout/README.md +403 -0
- package/node_modules/@solana/buffer-layout/lib/Layout.d.ts +1191 -0
- package/node_modules/@solana/buffer-layout/lib/Layout.js +2390 -0
- package/node_modules/@solana/buffer-layout/lib/Layout.js.map +1 -0
- package/node_modules/@solana/buffer-layout/package.json +55 -0
- package/node_modules/@solana/codecs-core/LICENSE +20 -0
- package/node_modules/@solana/codecs-core/README.md +662 -0
- package/node_modules/@solana/codecs-core/dist/index.browser.cjs +504 -0
- package/node_modules/@solana/codecs-core/dist/index.browser.cjs.map +1 -0
- package/node_modules/@solana/codecs-core/dist/index.browser.mjs +460 -0
- package/node_modules/@solana/codecs-core/dist/index.browser.mjs.map +1 -0
- package/node_modules/@solana/codecs-core/dist/index.native.mjs +460 -0
- package/node_modules/@solana/codecs-core/dist/index.native.mjs.map +1 -0
- package/node_modules/@solana/codecs-core/dist/index.node.cjs +504 -0
- package/node_modules/@solana/codecs-core/dist/index.node.cjs.map +1 -0
- package/node_modules/@solana/codecs-core/dist/index.node.mjs +460 -0
- package/node_modules/@solana/codecs-core/dist/index.node.mjs.map +1 -0
- package/node_modules/@solana/codecs-core/dist/types/add-codec-sentinel.d.ts +70 -0
- package/node_modules/@solana/codecs-core/dist/types/add-codec-sentinel.d.ts.map +1 -0
- package/node_modules/@solana/codecs-core/dist/types/add-codec-size-prefix.d.ts +67 -0
- package/node_modules/@solana/codecs-core/dist/types/add-codec-size-prefix.d.ts.map +1 -0
- package/node_modules/@solana/codecs-core/dist/types/assertions.d.ts +62 -0
- package/node_modules/@solana/codecs-core/dist/types/assertions.d.ts.map +1 -0
- package/node_modules/@solana/codecs-core/dist/types/bytes.d.ts +92 -0
- package/node_modules/@solana/codecs-core/dist/types/bytes.d.ts.map +1 -0
- package/node_modules/@solana/codecs-core/dist/types/codec.d.ts +827 -0
- package/node_modules/@solana/codecs-core/dist/types/codec.d.ts.map +1 -0
- package/node_modules/@solana/codecs-core/dist/types/combine-codec.d.ts +75 -0
- package/node_modules/@solana/codecs-core/dist/types/combine-codec.d.ts.map +1 -0
- package/node_modules/@solana/codecs-core/dist/types/fix-codec-size.d.ts +111 -0
- package/node_modules/@solana/codecs-core/dist/types/fix-codec-size.d.ts.map +1 -0
- package/node_modules/@solana/codecs-core/dist/types/index.d.ts +667 -0
- package/node_modules/@solana/codecs-core/dist/types/index.d.ts.map +1 -0
- package/node_modules/@solana/codecs-core/dist/types/offset-codec.d.ts +328 -0
- package/node_modules/@solana/codecs-core/dist/types/offset-codec.d.ts.map +1 -0
- package/node_modules/@solana/codecs-core/dist/types/pad-codec.d.ts +162 -0
- package/node_modules/@solana/codecs-core/dist/types/pad-codec.d.ts.map +1 -0
- package/node_modules/@solana/codecs-core/dist/types/readonly-uint8array.d.ts +19 -0
- package/node_modules/@solana/codecs-core/dist/types/readonly-uint8array.d.ts.map +1 -0
- package/node_modules/@solana/codecs-core/dist/types/resize-codec.d.ts +129 -0
- package/node_modules/@solana/codecs-core/dist/types/resize-codec.d.ts.map +1 -0
- package/node_modules/@solana/codecs-core/dist/types/reverse-codec.d.ts +92 -0
- package/node_modules/@solana/codecs-core/dist/types/reverse-codec.d.ts.map +1 -0
- package/node_modules/@solana/codecs-core/dist/types/transform-codec.d.ts +114 -0
- package/node_modules/@solana/codecs-core/dist/types/transform-codec.d.ts.map +1 -0
- package/node_modules/@solana/codecs-core/package.json +83 -0
- package/node_modules/@solana/codecs-numbers/LICENSE +20 -0
- package/node_modules/@solana/codecs-numbers/README.md +130 -0
- package/node_modules/@solana/codecs-numbers/dist/index.browser.cjs +331 -0
- package/node_modules/@solana/codecs-numbers/dist/index.browser.cjs.map +1 -0
- package/node_modules/@solana/codecs-numbers/dist/index.browser.mjs +289 -0
- package/node_modules/@solana/codecs-numbers/dist/index.browser.mjs.map +1 -0
- package/node_modules/@solana/codecs-numbers/dist/index.native.mjs +289 -0
- package/node_modules/@solana/codecs-numbers/dist/index.native.mjs.map +1 -0
- package/node_modules/@solana/codecs-numbers/dist/index.node.cjs +331 -0
- package/node_modules/@solana/codecs-numbers/dist/index.node.cjs.map +1 -0
- package/node_modules/@solana/codecs-numbers/dist/index.node.mjs +289 -0
- package/node_modules/@solana/codecs-numbers/dist/index.node.mjs.map +1 -0
- package/node_modules/@solana/codecs-numbers/dist/types/assertions.d.ts +27 -0
- package/node_modules/@solana/codecs-numbers/dist/types/assertions.d.ts.map +1 -0
- package/node_modules/@solana/codecs-numbers/dist/types/common.d.ts +84 -0
- package/node_modules/@solana/codecs-numbers/dist/types/common.d.ts.map +1 -0
- package/node_modules/@solana/codecs-numbers/dist/types/f32.d.ts +87 -0
- package/node_modules/@solana/codecs-numbers/dist/types/f32.d.ts.map +1 -0
- package/node_modules/@solana/codecs-numbers/dist/types/f64.d.ts +87 -0
- package/node_modules/@solana/codecs-numbers/dist/types/f64.d.ts.map +1 -0
- package/node_modules/@solana/codecs-numbers/dist/types/i128.d.ts +91 -0
- package/node_modules/@solana/codecs-numbers/dist/types/i128.d.ts.map +1 -0
- package/node_modules/@solana/codecs-numbers/dist/types/i16.d.ts +87 -0
- package/node_modules/@solana/codecs-numbers/dist/types/i16.d.ts.map +1 -0
- package/node_modules/@solana/codecs-numbers/dist/types/i32.d.ts +87 -0
- package/node_modules/@solana/codecs-numbers/dist/types/i32.d.ts.map +1 -0
- package/node_modules/@solana/codecs-numbers/dist/types/i64.d.ts +90 -0
- package/node_modules/@solana/codecs-numbers/dist/types/i64.d.ts.map +1 -0
- package/node_modules/@solana/codecs-numbers/dist/types/i8.d.ts +75 -0
- package/node_modules/@solana/codecs-numbers/dist/types/i8.d.ts.map +1 -0
- package/node_modules/@solana/codecs-numbers/dist/types/index.d.ts +26 -0
- package/node_modules/@solana/codecs-numbers/dist/types/index.d.ts.map +1 -0
- package/node_modules/@solana/codecs-numbers/dist/types/short-u16.d.ts +96 -0
- package/node_modules/@solana/codecs-numbers/dist/types/short-u16.d.ts.map +1 -0
- package/node_modules/@solana/codecs-numbers/dist/types/u128.d.ts +87 -0
- package/node_modules/@solana/codecs-numbers/dist/types/u128.d.ts.map +1 -0
- package/node_modules/@solana/codecs-numbers/dist/types/u16.d.ts +85 -0
- package/node_modules/@solana/codecs-numbers/dist/types/u16.d.ts.map +1 -0
- package/node_modules/@solana/codecs-numbers/dist/types/u32.d.ts +85 -0
- package/node_modules/@solana/codecs-numbers/dist/types/u32.d.ts.map +1 -0
- package/node_modules/@solana/codecs-numbers/dist/types/u64.d.ts +88 -0
- package/node_modules/@solana/codecs-numbers/dist/types/u64.d.ts.map +1 -0
- package/node_modules/@solana/codecs-numbers/dist/types/u8.d.ts +71 -0
- package/node_modules/@solana/codecs-numbers/dist/types/u8.d.ts.map +1 -0
- package/node_modules/@solana/codecs-numbers/dist/types/utils.d.ts +18 -0
- package/node_modules/@solana/codecs-numbers/dist/types/utils.d.ts.map +1 -0
- package/node_modules/@solana/codecs-numbers/package.json +83 -0
- package/node_modules/@solana/errors/LICENSE +20 -0
- package/node_modules/@solana/errors/README.md +87 -0
- package/node_modules/@solana/errors/bin/cli.mjs +7 -0
- package/node_modules/@solana/errors/dist/cli.mjs +570 -0
- package/node_modules/@solana/errors/dist/index.browser.cjs +1084 -0
- package/node_modules/@solana/errors/dist/index.browser.cjs.map +1 -0
- package/node_modules/@solana/errors/dist/index.browser.mjs +852 -0
- package/node_modules/@solana/errors/dist/index.browser.mjs.map +1 -0
- package/node_modules/@solana/errors/dist/index.native.mjs +852 -0
- package/node_modules/@solana/errors/dist/index.native.mjs.map +1 -0
- package/node_modules/@solana/errors/dist/index.node.cjs +1084 -0
- package/node_modules/@solana/errors/dist/index.node.cjs.map +1 -0
- package/node_modules/@solana/errors/dist/index.node.mjs +852 -0
- package/node_modules/@solana/errors/dist/index.node.mjs.map +1 -0
- package/node_modules/@solana/errors/dist/types/codes.d.ts +275 -0
- package/node_modules/@solana/errors/dist/types/codes.d.ts.map +1 -0
- package/node_modules/@solana/errors/dist/types/context.d.ts +398 -0
- package/node_modules/@solana/errors/dist/types/context.d.ts.map +1 -0
- package/node_modules/@solana/errors/dist/types/error.d.ts +75 -0
- package/node_modules/@solana/errors/dist/types/error.d.ts.map +1 -0
- package/node_modules/@solana/errors/dist/types/index.d.ts +72 -0
- package/node_modules/@solana/errors/dist/types/index.d.ts.map +1 -0
- package/node_modules/@solana/errors/dist/types/instruction-error.d.ts +9 -0
- package/node_modules/@solana/errors/dist/types/instruction-error.d.ts.map +1 -0
- package/node_modules/@solana/errors/dist/types/json-rpc-error.d.ts +51 -0
- package/node_modules/@solana/errors/dist/types/json-rpc-error.d.ts.map +1 -0
- package/node_modules/@solana/errors/dist/types/message-formatter.d.ts +4 -0
- package/node_modules/@solana/errors/dist/types/message-formatter.d.ts.map +1 -0
- package/node_modules/@solana/errors/dist/types/messages.d.ts +16 -0
- package/node_modules/@solana/errors/dist/types/messages.d.ts.map +1 -0
- package/node_modules/@solana/errors/dist/types/rpc-enum-errors.d.ts +31 -0
- package/node_modules/@solana/errors/dist/types/rpc-enum-errors.d.ts.map +1 -0
- package/node_modules/@solana/errors/dist/types/stack-trace.d.ts +2 -0
- package/node_modules/@solana/errors/dist/types/stack-trace.d.ts.map +1 -0
- package/node_modules/@solana/errors/dist/types/transaction-error.d.ts +5 -0
- package/node_modules/@solana/errors/dist/types/transaction-error.d.ts.map +1 -0
- package/node_modules/@solana/errors/node_modules/chalk/license +9 -0
- package/node_modules/@solana/errors/node_modules/chalk/package.json +83 -0
- package/node_modules/@solana/errors/node_modules/chalk/readme.md +297 -0
- package/node_modules/@solana/errors/node_modules/chalk/source/index.d.ts +325 -0
- package/node_modules/@solana/errors/node_modules/chalk/source/index.js +225 -0
- package/node_modules/@solana/errors/node_modules/chalk/source/utilities.js +33 -0
- package/node_modules/@solana/errors/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +236 -0
- package/node_modules/@solana/errors/node_modules/chalk/source/vendor/ansi-styles/index.js +223 -0
- package/node_modules/@solana/errors/node_modules/chalk/source/vendor/supports-color/browser.d.ts +1 -0
- package/node_modules/@solana/errors/node_modules/chalk/source/vendor/supports-color/browser.js +34 -0
- package/node_modules/@solana/errors/node_modules/chalk/source/vendor/supports-color/index.d.ts +55 -0
- package/node_modules/@solana/errors/node_modules/chalk/source/vendor/supports-color/index.js +182 -0
- package/node_modules/@solana/errors/node_modules/commander/LICENSE +22 -0
- package/node_modules/@solana/errors/node_modules/commander/Readme.md +1149 -0
- package/node_modules/@solana/errors/node_modules/commander/esm.mjs +16 -0
- package/node_modules/@solana/errors/node_modules/commander/index.js +24 -0
- package/node_modules/@solana/errors/node_modules/commander/lib/argument.js +149 -0
- package/node_modules/@solana/errors/node_modules/commander/lib/command.js +2662 -0
- package/node_modules/@solana/errors/node_modules/commander/lib/error.js +39 -0
- package/node_modules/@solana/errors/node_modules/commander/lib/help.js +709 -0
- package/node_modules/@solana/errors/node_modules/commander/lib/option.js +367 -0
- package/node_modules/@solana/errors/node_modules/commander/lib/suggestSimilar.js +101 -0
- package/node_modules/@solana/errors/node_modules/commander/package-support.json +16 -0
- package/node_modules/@solana/errors/node_modules/commander/package.json +82 -0
- package/node_modules/@solana/errors/node_modules/commander/typings/esm.d.mts +3 -0
- package/node_modules/@solana/errors/node_modules/commander/typings/index.d.ts +1045 -0
- package/node_modules/@solana/errors/package.json +84 -0
- package/node_modules/@solana/web3.js/LICENSE +20 -0
- package/node_modules/@solana/web3.js/README.md +145 -0
- package/node_modules/@solana/web3.js/lib/index.browser.cjs.js +10562 -0
- package/node_modules/@solana/web3.js/lib/index.browser.cjs.js.map +1 -0
- package/node_modules/@solana/web3.js/lib/index.browser.esm.js +10461 -0
- package/node_modules/@solana/web3.js/lib/index.browser.esm.js.map +1 -0
- package/node_modules/@solana/web3.js/lib/index.cjs.js +11311 -0
- package/node_modules/@solana/web3.js/lib/index.cjs.js.map +1 -0
- package/node_modules/@solana/web3.js/lib/index.d.ts +4021 -0
- package/node_modules/@solana/web3.js/lib/index.esm.js +11206 -0
- package/node_modules/@solana/web3.js/lib/index.esm.js.map +1 -0
- package/node_modules/@solana/web3.js/lib/index.iife.js +26083 -0
- package/node_modules/@solana/web3.js/lib/index.iife.js.map +1 -0
- package/node_modules/@solana/web3.js/lib/index.iife.min.js +20 -0
- package/node_modules/@solana/web3.js/lib/index.iife.min.js.map +1 -0
- package/node_modules/@solana/web3.js/lib/index.native.js +10562 -0
- package/node_modules/@solana/web3.js/lib/index.native.js.map +1 -0
- package/node_modules/@solana/web3.js/node_modules/superstruct/License.md +9 -0
- package/node_modules/@solana/web3.js/node_modules/superstruct/Readme.md +230 -0
- package/node_modules/@solana/web3.js/node_modules/superstruct/dist/error.d.ts +33 -0
- package/node_modules/@solana/web3.js/node_modules/superstruct/dist/error.d.ts.map +1 -0
- package/node_modules/@solana/web3.js/node_modules/superstruct/dist/index.cjs +1084 -0
- package/node_modules/@solana/web3.js/node_modules/superstruct/dist/index.cjs.map +1 -0
- package/node_modules/@solana/web3.js/node_modules/superstruct/dist/index.d.ts +7 -0
- package/node_modules/@solana/web3.js/node_modules/superstruct/dist/index.d.ts.map +1 -0
- package/node_modules/@solana/web3.js/node_modules/superstruct/dist/index.mjs +1026 -0
- package/node_modules/@solana/web3.js/node_modules/superstruct/dist/index.mjs.map +1 -0
- package/node_modules/@solana/web3.js/node_modules/superstruct/dist/struct.d.ts +119 -0
- package/node_modules/@solana/web3.js/node_modules/superstruct/dist/struct.d.ts.map +1 -0
- package/node_modules/@solana/web3.js/node_modules/superstruct/dist/structs/coercions.d.ts +29 -0
- package/node_modules/@solana/web3.js/node_modules/superstruct/dist/structs/coercions.d.ts.map +1 -0
- package/node_modules/@solana/web3.js/node_modules/superstruct/dist/structs/refinements.d.ts +38 -0
- package/node_modules/@solana/web3.js/node_modules/superstruct/dist/structs/refinements.d.ts.map +1 -0
- package/node_modules/@solana/web3.js/node_modules/superstruct/dist/structs/types.d.ts +142 -0
- package/node_modules/@solana/web3.js/node_modules/superstruct/dist/structs/types.d.ts.map +1 -0
- package/node_modules/@solana/web3.js/node_modules/superstruct/dist/structs/utilities.d.ts +66 -0
- package/node_modules/@solana/web3.js/node_modules/superstruct/dist/structs/utilities.d.ts.map +1 -0
- package/node_modules/@solana/web3.js/node_modules/superstruct/dist/utils.d.ts +144 -0
- package/node_modules/@solana/web3.js/node_modules/superstruct/dist/utils.d.ts.map +1 -0
- package/node_modules/@solana/web3.js/node_modules/superstruct/package.json +85 -0
- package/node_modules/@solana/web3.js/package.json +75 -0
- package/node_modules/@solana/web3.js/src/__forks__/browser/fetch-impl.ts +4 -0
- package/node_modules/@solana/web3.js/src/__forks__/react-native/fetch-impl.ts +4 -0
- package/node_modules/@solana/web3.js/src/account-data.ts +39 -0
- package/node_modules/@solana/web3.js/src/account.ts +55 -0
- package/node_modules/@solana/web3.js/src/blockhash.ts +4 -0
- package/node_modules/@solana/web3.js/src/bpf-loader-deprecated.ts +5 -0
- package/node_modules/@solana/web3.js/src/bpf-loader.ts +50 -0
- package/node_modules/@solana/web3.js/src/connection.ts +6955 -0
- package/node_modules/@solana/web3.js/src/epoch-schedule.ts +102 -0
- package/node_modules/@solana/web3.js/src/errors.ts +133 -0
- package/node_modules/@solana/web3.js/src/fee-calculator.ts +18 -0
- package/node_modules/@solana/web3.js/src/fetch-impl.ts +16 -0
- package/node_modules/@solana/web3.js/src/index.ts +24 -0
- package/node_modules/@solana/web3.js/src/instruction.ts +58 -0
- package/node_modules/@solana/web3.js/src/keypair.ts +102 -0
- package/node_modules/@solana/web3.js/src/layout.ts +188 -0
- package/node_modules/@solana/web3.js/src/loader.ts +267 -0
- package/node_modules/@solana/web3.js/src/message/account-keys.ts +79 -0
- package/node_modules/@solana/web3.js/src/message/compiled-keys.ts +165 -0
- package/node_modules/@solana/web3.js/src/message/index.ts +47 -0
- package/node_modules/@solana/web3.js/src/message/legacy.ts +323 -0
- package/node_modules/@solana/web3.js/src/message/v0.ts +513 -0
- package/node_modules/@solana/web3.js/src/message/versioned.ts +36 -0
- package/node_modules/@solana/web3.js/src/nonce-account.ts +82 -0
- package/node_modules/@solana/web3.js/src/programs/address-lookup-table/index.ts +438 -0
- package/node_modules/@solana/web3.js/src/programs/address-lookup-table/state.ts +84 -0
- package/node_modules/@solana/web3.js/src/programs/compute-budget.ts +281 -0
- package/node_modules/@solana/web3.js/src/programs/ed25519.ts +157 -0
- package/node_modules/@solana/web3.js/src/programs/index.ts +7 -0
- package/node_modules/@solana/web3.js/src/programs/secp256k1.ts +228 -0
- package/node_modules/@solana/web3.js/src/programs/stake.ts +952 -0
- package/node_modules/@solana/web3.js/src/programs/system.ts +1048 -0
- package/node_modules/@solana/web3.js/src/programs/vote.ts +586 -0
- package/node_modules/@solana/web3.js/src/publickey.ts +259 -0
- package/node_modules/@solana/web3.js/src/rpc-websocket.ts +75 -0
- package/node_modules/@solana/web3.js/src/sysvar.ts +37 -0
- package/node_modules/@solana/web3.js/src/timing.ts +23 -0
- package/node_modules/@solana/web3.js/src/transaction/constants.ts +12 -0
- package/node_modules/@solana/web3.js/src/transaction/expiry-custom-errors.ts +48 -0
- package/node_modules/@solana/web3.js/src/transaction/index.ts +5 -0
- package/node_modules/@solana/web3.js/src/transaction/legacy.ts +970 -0
- package/node_modules/@solana/web3.js/src/transaction/message.ts +140 -0
- package/node_modules/@solana/web3.js/src/transaction/versioned.ts +127 -0
- package/node_modules/@solana/web3.js/src/utils/assert.ts +8 -0
- package/node_modules/@solana/web3.js/src/utils/bigint.ts +24 -0
- package/node_modules/@solana/web3.js/src/utils/borsh-schema.ts +38 -0
- package/node_modules/@solana/web3.js/src/utils/cluster.ts +35 -0
- package/node_modules/@solana/web3.js/src/utils/ed25519.ts +43 -0
- package/node_modules/@solana/web3.js/src/utils/guarded-array-utils.ts +34 -0
- package/node_modules/@solana/web3.js/src/utils/index.ts +5 -0
- package/node_modules/@solana/web3.js/src/utils/makeWebsocketUrl.ts +26 -0
- package/node_modules/@solana/web3.js/src/utils/promise-timeout.ts +14 -0
- package/node_modules/@solana/web3.js/src/utils/secp256k1.ts +11 -0
- package/node_modules/@solana/web3.js/src/utils/send-and-confirm-raw-transaction.ts +110 -0
- package/node_modules/@solana/web3.js/src/utils/send-and-confirm-transaction.ts +106 -0
- package/node_modules/@solana/web3.js/src/utils/shortvec-encoding.ts +28 -0
- package/node_modules/@solana/web3.js/src/utils/sleep.ts +4 -0
- package/node_modules/@solana/web3.js/src/utils/to-buffer.ts +11 -0
- package/node_modules/@solana/web3.js/src/validator-info.ts +108 -0
- package/node_modules/@solana/web3.js/src/vote-account.ts +236 -0
- package/node_modules/@swc/helpers/LICENSE +201 -0
- package/node_modules/@swc/helpers/_/_apply_decorated_descriptor/package.json +4 -0
- package/node_modules/@swc/helpers/_/_apply_decs_2203_r/package.json +4 -0
- package/node_modules/@swc/helpers/_/_array_like_to_array/package.json +4 -0
- package/node_modules/@swc/helpers/_/_array_with_holes/package.json +4 -0
- package/node_modules/@swc/helpers/_/_array_without_holes/package.json +4 -0
- package/node_modules/@swc/helpers/_/_assert_this_initialized/package.json +4 -0
- package/node_modules/@swc/helpers/_/_async_generator/package.json +4 -0
- package/node_modules/@swc/helpers/_/_async_generator_delegate/package.json +4 -0
- package/node_modules/@swc/helpers/_/_async_iterator/package.json +4 -0
- package/node_modules/@swc/helpers/_/_async_to_generator/package.json +4 -0
- package/node_modules/@swc/helpers/_/_await_async_generator/package.json +4 -0
- package/node_modules/@swc/helpers/_/_await_value/package.json +4 -0
- package/node_modules/@swc/helpers/_/_call_super/package.json +4 -0
- package/node_modules/@swc/helpers/_/_check_private_redeclaration/package.json +4 -0
- package/node_modules/@swc/helpers/_/_class_apply_descriptor_destructure/package.json +4 -0
- package/node_modules/@swc/helpers/_/_class_apply_descriptor_get/package.json +4 -0
- package/node_modules/@swc/helpers/_/_class_apply_descriptor_set/package.json +4 -0
- package/node_modules/@swc/helpers/_/_class_apply_descriptor_update/package.json +4 -0
- package/node_modules/@swc/helpers/_/_class_call_check/package.json +4 -0
- package/node_modules/@swc/helpers/_/_class_check_private_static_access/package.json +4 -0
- package/node_modules/@swc/helpers/_/_class_check_private_static_field_descriptor/package.json +4 -0
- package/node_modules/@swc/helpers/_/_class_extract_field_descriptor/package.json +4 -0
- package/node_modules/@swc/helpers/_/_class_name_tdz_error/package.json +4 -0
- package/node_modules/@swc/helpers/_/_class_private_field_destructure/package.json +4 -0
- package/node_modules/@swc/helpers/_/_class_private_field_get/package.json +4 -0
- package/node_modules/@swc/helpers/_/_class_private_field_init/package.json +4 -0
- package/node_modules/@swc/helpers/_/_class_private_field_loose_base/package.json +4 -0
- package/node_modules/@swc/helpers/_/_class_private_field_loose_key/package.json +4 -0
- package/node_modules/@swc/helpers/_/_class_private_field_set/package.json +4 -0
- package/node_modules/@swc/helpers/_/_class_private_field_update/package.json +4 -0
- package/node_modules/@swc/helpers/_/_class_private_method_get/package.json +4 -0
- package/node_modules/@swc/helpers/_/_class_private_method_init/package.json +4 -0
- package/node_modules/@swc/helpers/_/_class_private_method_set/package.json +4 -0
- package/node_modules/@swc/helpers/_/_class_static_private_field_destructure/package.json +4 -0
- package/node_modules/@swc/helpers/_/_class_static_private_field_spec_get/package.json +4 -0
- package/node_modules/@swc/helpers/_/_class_static_private_field_spec_set/package.json +4 -0
- package/node_modules/@swc/helpers/_/_class_static_private_field_update/package.json +4 -0
- package/node_modules/@swc/helpers/_/_class_static_private_method_get/package.json +4 -0
- package/node_modules/@swc/helpers/_/_construct/package.json +4 -0
- package/node_modules/@swc/helpers/_/_create_class/package.json +4 -0
- package/node_modules/@swc/helpers/_/_create_for_of_iterator_helper_loose/package.json +4 -0
- package/node_modules/@swc/helpers/_/_create_super/package.json +4 -0
- package/node_modules/@swc/helpers/_/_decorate/package.json +4 -0
- package/node_modules/@swc/helpers/_/_defaults/package.json +4 -0
- package/node_modules/@swc/helpers/_/_define_enumerable_properties/package.json +4 -0
- package/node_modules/@swc/helpers/_/_define_property/package.json +4 -0
- package/node_modules/@swc/helpers/_/_dispose/package.json +4 -0
- package/node_modules/@swc/helpers/_/_export_star/package.json +4 -0
- package/node_modules/@swc/helpers/_/_extends/package.json +4 -0
- package/node_modules/@swc/helpers/_/_get/package.json +4 -0
- package/node_modules/@swc/helpers/_/_get_prototype_of/package.json +4 -0
- package/node_modules/@swc/helpers/_/_identity/package.json +4 -0
- package/node_modules/@swc/helpers/_/_inherits/package.json +4 -0
- package/node_modules/@swc/helpers/_/_inherits_loose/package.json +4 -0
- package/node_modules/@swc/helpers/_/_initializer_define_property/package.json +4 -0
- package/node_modules/@swc/helpers/_/_initializer_warning_helper/package.json +4 -0
- package/node_modules/@swc/helpers/_/_instanceof/package.json +4 -0
- package/node_modules/@swc/helpers/_/_interop_require_default/package.json +4 -0
- package/node_modules/@swc/helpers/_/_interop_require_wildcard/package.json +4 -0
- package/node_modules/@swc/helpers/_/_is_native_function/package.json +4 -0
- package/node_modules/@swc/helpers/_/_is_native_reflect_construct/package.json +4 -0
- package/node_modules/@swc/helpers/_/_iterable_to_array/package.json +4 -0
- package/node_modules/@swc/helpers/_/_iterable_to_array_limit/package.json +4 -0
- package/node_modules/@swc/helpers/_/_iterable_to_array_limit_loose/package.json +4 -0
- package/node_modules/@swc/helpers/_/_jsx/package.json +4 -0
- package/node_modules/@swc/helpers/_/_new_arrow_check/package.json +4 -0
- package/node_modules/@swc/helpers/_/_non_iterable_rest/package.json +4 -0
- package/node_modules/@swc/helpers/_/_non_iterable_spread/package.json +4 -0
- package/node_modules/@swc/helpers/_/_object_destructuring_empty/package.json +4 -0
- package/node_modules/@swc/helpers/_/_object_spread/package.json +4 -0
- package/node_modules/@swc/helpers/_/_object_spread_props/package.json +4 -0
- package/node_modules/@swc/helpers/_/_object_without_properties/package.json +4 -0
- package/node_modules/@swc/helpers/_/_object_without_properties_loose/package.json +4 -0
- package/node_modules/@swc/helpers/_/_overload_yield/package.json +4 -0
- package/node_modules/@swc/helpers/_/_possible_constructor_return/package.json +4 -0
- package/node_modules/@swc/helpers/_/_read_only_error/package.json +4 -0
- package/node_modules/@swc/helpers/_/_set/package.json +4 -0
- package/node_modules/@swc/helpers/_/_set_prototype_of/package.json +4 -0
- package/node_modules/@swc/helpers/_/_skip_first_generator_next/package.json +4 -0
- package/node_modules/@swc/helpers/_/_sliced_to_array/package.json +4 -0
- package/node_modules/@swc/helpers/_/_sliced_to_array_loose/package.json +4 -0
- package/node_modules/@swc/helpers/_/_super_prop_base/package.json +4 -0
- package/node_modules/@swc/helpers/_/_tagged_template_literal/package.json +4 -0
- package/node_modules/@swc/helpers/_/_tagged_template_literal_loose/package.json +4 -0
- package/node_modules/@swc/helpers/_/_throw/package.json +4 -0
- package/node_modules/@swc/helpers/_/_to_array/package.json +4 -0
- package/node_modules/@swc/helpers/_/_to_consumable_array/package.json +4 -0
- package/node_modules/@swc/helpers/_/_to_primitive/package.json +4 -0
- package/node_modules/@swc/helpers/_/_to_property_key/package.json +4 -0
- package/node_modules/@swc/helpers/_/_ts_add_disposable_resource/package.json +4 -0
- package/node_modules/@swc/helpers/_/_ts_decorate/package.json +4 -0
- package/node_modules/@swc/helpers/_/_ts_dispose_resources/package.json +4 -0
- package/node_modules/@swc/helpers/_/_ts_generator/package.json +4 -0
- package/node_modules/@swc/helpers/_/_ts_metadata/package.json +4 -0
- package/node_modules/@swc/helpers/_/_ts_param/package.json +4 -0
- package/node_modules/@swc/helpers/_/_ts_values/package.json +4 -0
- package/node_modules/@swc/helpers/_/_type_of/package.json +4 -0
- package/node_modules/@swc/helpers/_/_unsupported_iterable_to_array/package.json +4 -0
- package/node_modules/@swc/helpers/_/_update/package.json +4 -0
- package/node_modules/@swc/helpers/_/_using/package.json +4 -0
- package/node_modules/@swc/helpers/_/_using_ctx/package.json +4 -0
- package/node_modules/@swc/helpers/_/_wrap_async_generator/package.json +4 -0
- package/node_modules/@swc/helpers/_/_wrap_native_super/package.json +4 -0
- package/node_modules/@swc/helpers/_/_write_only_error/package.json +4 -0
- package/node_modules/@swc/helpers/_/index/package.json +4 -0
- package/node_modules/@swc/helpers/cjs/_apply_decorated_descriptor.cjs +35 -0
- package/node_modules/@swc/helpers/cjs/_apply_decs_2203_r.cjs +550 -0
- package/node_modules/@swc/helpers/cjs/_array_like_to_array.cjs +10 -0
- package/node_modules/@swc/helpers/cjs/_array_with_holes.cjs +6 -0
- package/node_modules/@swc/helpers/cjs/_array_without_holes.cjs +8 -0
- package/node_modules/@swc/helpers/cjs/_assert_this_initialized.cjs +8 -0
- package/node_modules/@swc/helpers/cjs/_async_generator.cjs +76 -0
- package/node_modules/@swc/helpers/cjs/_async_generator_delegate.cjs +53 -0
- package/node_modules/@swc/helpers/cjs/_async_iterator.cjs +46 -0
- package/node_modules/@swc/helpers/cjs/_async_to_generator.cjs +33 -0
- package/node_modules/@swc/helpers/cjs/_await_async_generator.cjs +8 -0
- package/node_modules/@swc/helpers/cjs/_await_value.cjs +6 -0
- package/node_modules/@swc/helpers/cjs/_call_super.cjs +19 -0
- package/node_modules/@swc/helpers/cjs/_check_private_redeclaration.cjs +8 -0
- package/node_modules/@swc/helpers/cjs/_class_apply_descriptor_destructure.cjs +25 -0
- package/node_modules/@swc/helpers/cjs/_class_apply_descriptor_get.cjs +8 -0
- package/node_modules/@swc/helpers/cjs/_class_apply_descriptor_set.cjs +15 -0
- package/node_modules/@swc/helpers/cjs/_class_apply_descriptor_update.cjs +30 -0
- package/node_modules/@swc/helpers/cjs/_class_call_check.cjs +6 -0
- package/node_modules/@swc/helpers/cjs/_class_check_private_static_access.cjs +6 -0
- package/node_modules/@swc/helpers/cjs/_class_check_private_static_field_descriptor.cjs +8 -0
- package/node_modules/@swc/helpers/cjs/_class_extract_field_descriptor.cjs +8 -0
- package/node_modules/@swc/helpers/cjs/_class_name_tdz_error.cjs +6 -0
- package/node_modules/@swc/helpers/cjs/_class_private_field_destructure.cjs +10 -0
- package/node_modules/@swc/helpers/cjs/_class_private_field_get.cjs +10 -0
- package/node_modules/@swc/helpers/cjs/_class_private_field_init.cjs +9 -0
- package/node_modules/@swc/helpers/cjs/_class_private_field_loose_base.cjs +10 -0
- package/node_modules/@swc/helpers/cjs/_class_private_field_loose_key.cjs +8 -0
- package/node_modules/@swc/helpers/cjs/_class_private_field_set.cjs +11 -0
- package/node_modules/@swc/helpers/cjs/_class_private_field_update.cjs +10 -0
- package/node_modules/@swc/helpers/cjs/_class_private_method_get.cjs +8 -0
- package/node_modules/@swc/helpers/cjs/_class_private_method_init.cjs +9 -0
- package/node_modules/@swc/helpers/cjs/_class_private_method_set.cjs +6 -0
- package/node_modules/@swc/helpers/cjs/_class_static_private_field_destructure.cjs +13 -0
- package/node_modules/@swc/helpers/cjs/_class_static_private_field_spec_get.cjs +13 -0
- package/node_modules/@swc/helpers/cjs/_class_static_private_field_spec_set.cjs +14 -0
- package/node_modules/@swc/helpers/cjs/_class_static_private_field_update.cjs +13 -0
- package/node_modules/@swc/helpers/cjs/_class_static_private_method_get.cjs +10 -0
- package/node_modules/@swc/helpers/cjs/_construct.cjs +22 -0
- package/node_modules/@swc/helpers/cjs/_create_class.cjs +20 -0
- package/node_modules/@swc/helpers/cjs/_create_for_of_iterator_helper_loose.cjs +24 -0
- package/node_modules/@swc/helpers/cjs/_create_super.cjs +23 -0
- package/node_modules/@swc/helpers/cjs/_decorate.cjs +270 -0
- package/node_modules/@swc/helpers/cjs/_defaults.cjs +15 -0
- package/node_modules/@swc/helpers/cjs/_define_enumerable_properties.cjs +26 -0
- package/node_modules/@swc/helpers/cjs/_define_property.cjs +10 -0
- package/node_modules/@swc/helpers/cjs/_dispose.cjs +43 -0
- package/node_modules/@swc/helpers/cjs/_export_star.cjs +17 -0
- package/node_modules/@swc/helpers/cjs/_extends.cjs +15 -0
- package/node_modules/@swc/helpers/cjs/_get.cjs +23 -0
- package/node_modules/@swc/helpers/cjs/_get_prototype_of.cjs +10 -0
- package/node_modules/@swc/helpers/cjs/_identity.cjs +7 -0
- package/node_modules/@swc/helpers/cjs/_inherits.cjs +14 -0
- package/node_modules/@swc/helpers/cjs/_inherits_loose.cjs +8 -0
- package/node_modules/@swc/helpers/cjs/_initializer_define_property.cjs +13 -0
- package/node_modules/@swc/helpers/cjs/_initializer_warning_helper.cjs +11 -0
- package/node_modules/@swc/helpers/cjs/_instanceof.cjs +8 -0
- package/node_modules/@swc/helpers/cjs/_interop_require_default.cjs +6 -0
- package/node_modules/@swc/helpers/cjs/_interop_require_wildcard.cjs +38 -0
- package/node_modules/@swc/helpers/cjs/_is_native_function.cjs +6 -0
- package/node_modules/@swc/helpers/cjs/_is_native_reflect_construct.cjs +18 -0
- package/node_modules/@swc/helpers/cjs/_iterable_to_array.cjs +8 -0
- package/node_modules/@swc/helpers/cjs/_iterable_to_array_limit.cjs +31 -0
- package/node_modules/@swc/helpers/cjs/_iterable_to_array_limit_loose.cjs +17 -0
- package/node_modules/@swc/helpers/cjs/_jsx.cjs +28 -0
- package/node_modules/@swc/helpers/cjs/_new_arrow_check.cjs +6 -0
- package/node_modules/@swc/helpers/cjs/_non_iterable_rest.cjs +6 -0
- package/node_modules/@swc/helpers/cjs/_non_iterable_spread.cjs +6 -0
- package/node_modules/@swc/helpers/cjs/_object_destructuring_empty.cjs +8 -0
- package/node_modules/@swc/helpers/cjs/_object_spread.cjs +25 -0
- package/node_modules/@swc/helpers/cjs/_object_spread_props.cjs +30 -0
- package/node_modules/@swc/helpers/cjs/_object_without_properties.cjs +23 -0
- package/node_modules/@swc/helpers/cjs/_object_without_properties_loose.cjs +18 -0
- package/node_modules/@swc/helpers/cjs/_overload_yield.cjs +8 -0
- package/node_modules/@swc/helpers/cjs/_possible_constructor_return.cjs +11 -0
- package/node_modules/@swc/helpers/cjs/_read_only_error.cjs +6 -0
- package/node_modules/@swc/helpers/cjs/_set.cjs +44 -0
- package/node_modules/@swc/helpers/cjs/_set_prototype_of.cjs +12 -0
- package/node_modules/@swc/helpers/cjs/_skip_first_generator_next.cjs +11 -0
- package/node_modules/@swc/helpers/cjs/_sliced_to_array.cjs +11 -0
- package/node_modules/@swc/helpers/cjs/_sliced_to_array_loose.cjs +11 -0
- package/node_modules/@swc/helpers/cjs/_super_prop_base.cjs +13 -0
- package/node_modules/@swc/helpers/cjs/_tagged_template_literal.cjs +8 -0
- package/node_modules/@swc/helpers/cjs/_tagged_template_literal_loose.cjs +10 -0
- package/node_modules/@swc/helpers/cjs/_throw.cjs +6 -0
- package/node_modules/@swc/helpers/cjs/_to_array.cjs +11 -0
- package/node_modules/@swc/helpers/cjs/_to_consumable_array.cjs +11 -0
- package/node_modules/@swc/helpers/cjs/_to_primitive.cjs +18 -0
- package/node_modules/@swc/helpers/cjs/_to_property_key.cjs +11 -0
- package/node_modules/@swc/helpers/cjs/_ts_add_disposable_resource.cjs +3 -0
- package/node_modules/@swc/helpers/cjs/_ts_decorate.cjs +3 -0
- package/node_modules/@swc/helpers/cjs/_ts_dispose_resources.cjs +3 -0
- package/node_modules/@swc/helpers/cjs/_ts_generator.cjs +3 -0
- package/node_modules/@swc/helpers/cjs/_ts_metadata.cjs +3 -0
- package/node_modules/@swc/helpers/cjs/_ts_param.cjs +3 -0
- package/node_modules/@swc/helpers/cjs/_ts_values.cjs +3 -0
- package/node_modules/@swc/helpers/cjs/_type_of.cjs +8 -0
- package/node_modules/@swc/helpers/cjs/_unsupported_iterable_to_array.cjs +15 -0
- package/node_modules/@swc/helpers/cjs/_update.cjs +16 -0
- package/node_modules/@swc/helpers/cjs/_using.cjs +24 -0
- package/node_modules/@swc/helpers/cjs/_using_ctx.cjs +75 -0
- package/node_modules/@swc/helpers/cjs/_wrap_async_generator.cjs +10 -0
- package/node_modules/@swc/helpers/cjs/_wrap_native_super.cjs +28 -0
- package/node_modules/@swc/helpers/cjs/_write_only_error.cjs +6 -0
- package/node_modules/@swc/helpers/cjs/index.cjs +427 -0
- package/node_modules/@swc/helpers/esm/_apply_decorated_descriptor.js +33 -0
- package/node_modules/@swc/helpers/esm/_apply_decs_2203_r.js +548 -0
- package/node_modules/@swc/helpers/esm/_array_like_to_array.js +8 -0
- package/node_modules/@swc/helpers/esm/_array_with_holes.js +4 -0
- package/node_modules/@swc/helpers/esm/_array_without_holes.js +6 -0
- package/node_modules/@swc/helpers/esm/_assert_this_initialized.js +6 -0
- package/node_modules/@swc/helpers/esm/_async_generator.js +74 -0
- package/node_modules/@swc/helpers/esm/_async_generator_delegate.js +51 -0
- package/node_modules/@swc/helpers/esm/_async_iterator.js +44 -0
- package/node_modules/@swc/helpers/esm/_async_to_generator.js +31 -0
- package/node_modules/@swc/helpers/esm/_await_async_generator.js +6 -0
- package/node_modules/@swc/helpers/esm/_await_value.js +4 -0
- package/node_modules/@swc/helpers/esm/_call_super.js +17 -0
- package/node_modules/@swc/helpers/esm/_check_private_redeclaration.js +6 -0
- package/node_modules/@swc/helpers/esm/_class_apply_descriptor_destructure.js +23 -0
- package/node_modules/@swc/helpers/esm/_class_apply_descriptor_get.js +6 -0
- package/node_modules/@swc/helpers/esm/_class_apply_descriptor_set.js +13 -0
- package/node_modules/@swc/helpers/esm/_class_apply_descriptor_update.js +28 -0
- package/node_modules/@swc/helpers/esm/_class_call_check.js +4 -0
- package/node_modules/@swc/helpers/esm/_class_check_private_static_access.js +4 -0
- package/node_modules/@swc/helpers/esm/_class_check_private_static_field_descriptor.js +6 -0
- package/node_modules/@swc/helpers/esm/_class_extract_field_descriptor.js +6 -0
- package/node_modules/@swc/helpers/esm/_class_name_tdz_error.js +4 -0
- package/node_modules/@swc/helpers/esm/_class_private_field_destructure.js +8 -0
- package/node_modules/@swc/helpers/esm/_class_private_field_get.js +8 -0
- package/node_modules/@swc/helpers/esm/_class_private_field_init.js +7 -0
- package/node_modules/@swc/helpers/esm/_class_private_field_loose_base.js +8 -0
- package/node_modules/@swc/helpers/esm/_class_private_field_loose_key.js +6 -0
- package/node_modules/@swc/helpers/esm/_class_private_field_set.js +9 -0
- package/node_modules/@swc/helpers/esm/_class_private_field_update.js +8 -0
- package/node_modules/@swc/helpers/esm/_class_private_method_get.js +6 -0
- package/node_modules/@swc/helpers/esm/_class_private_method_init.js +7 -0
- package/node_modules/@swc/helpers/esm/_class_private_method_set.js +4 -0
- package/node_modules/@swc/helpers/esm/_class_static_private_field_destructure.js +11 -0
- package/node_modules/@swc/helpers/esm/_class_static_private_field_spec_get.js +11 -0
- package/node_modules/@swc/helpers/esm/_class_static_private_field_spec_set.js +12 -0
- package/node_modules/@swc/helpers/esm/_class_static_private_field_update.js +11 -0
- package/node_modules/@swc/helpers/esm/_class_static_private_method_get.js +8 -0
- package/node_modules/@swc/helpers/esm/_construct.js +20 -0
- package/node_modules/@swc/helpers/esm/_create_class.js +18 -0
- package/node_modules/@swc/helpers/esm/_create_for_of_iterator_helper_loose.js +22 -0
- package/node_modules/@swc/helpers/esm/_create_super.js +21 -0
- package/node_modules/@swc/helpers/esm/_decorate.js +268 -0
- package/node_modules/@swc/helpers/esm/_defaults.js +13 -0
- package/node_modules/@swc/helpers/esm/_define_enumerable_properties.js +24 -0
- package/node_modules/@swc/helpers/esm/_define_property.js +8 -0
- package/node_modules/@swc/helpers/esm/_dispose.js +41 -0
- package/node_modules/@swc/helpers/esm/_export_star.js +15 -0
- package/node_modules/@swc/helpers/esm/_extends.js +13 -0
- package/node_modules/@swc/helpers/esm/_get.js +21 -0
- package/node_modules/@swc/helpers/esm/_get_prototype_of.js +8 -0
- package/node_modules/@swc/helpers/esm/_identity.js +5 -0
- package/node_modules/@swc/helpers/esm/_inherits.js +12 -0
- package/node_modules/@swc/helpers/esm/_inherits_loose.js +6 -0
- package/node_modules/@swc/helpers/esm/_initializer_define_property.js +11 -0
- package/node_modules/@swc/helpers/esm/_initializer_warning_helper.js +9 -0
- package/node_modules/@swc/helpers/esm/_instanceof.js +6 -0
- package/node_modules/@swc/helpers/esm/_interop_require_default.js +4 -0
- package/node_modules/@swc/helpers/esm/_interop_require_wildcard.js +36 -0
- package/node_modules/@swc/helpers/esm/_is_native_function.js +4 -0
- package/node_modules/@swc/helpers/esm/_is_native_reflect_construct.js +16 -0
- package/node_modules/@swc/helpers/esm/_iterable_to_array.js +6 -0
- package/node_modules/@swc/helpers/esm/_iterable_to_array_limit.js +29 -0
- package/node_modules/@swc/helpers/esm/_iterable_to_array_limit_loose.js +15 -0
- package/node_modules/@swc/helpers/esm/_jsx.js +26 -0
- package/node_modules/@swc/helpers/esm/_new_arrow_check.js +4 -0
- package/node_modules/@swc/helpers/esm/_non_iterable_rest.js +4 -0
- package/node_modules/@swc/helpers/esm/_non_iterable_spread.js +4 -0
- package/node_modules/@swc/helpers/esm/_object_destructuring_empty.js +6 -0
- package/node_modules/@swc/helpers/esm/_object_spread.js +23 -0
- package/node_modules/@swc/helpers/esm/_object_spread_props.js +28 -0
- package/node_modules/@swc/helpers/esm/_object_without_properties.js +21 -0
- package/node_modules/@swc/helpers/esm/_object_without_properties_loose.js +16 -0
- package/node_modules/@swc/helpers/esm/_overload_yield.js +6 -0
- package/node_modules/@swc/helpers/esm/_possible_constructor_return.js +9 -0
- package/node_modules/@swc/helpers/esm/_read_only_error.js +4 -0
- package/node_modules/@swc/helpers/esm/_set.js +42 -0
- package/node_modules/@swc/helpers/esm/_set_prototype_of.js +10 -0
- package/node_modules/@swc/helpers/esm/_skip_first_generator_next.js +9 -0
- package/node_modules/@swc/helpers/esm/_sliced_to_array.js +9 -0
- package/node_modules/@swc/helpers/esm/_sliced_to_array_loose.js +9 -0
- package/node_modules/@swc/helpers/esm/_super_prop_base.js +11 -0
- package/node_modules/@swc/helpers/esm/_tagged_template_literal.js +6 -0
- package/node_modules/@swc/helpers/esm/_tagged_template_literal_loose.js +8 -0
- package/node_modules/@swc/helpers/esm/_throw.js +4 -0
- package/node_modules/@swc/helpers/esm/_to_array.js +9 -0
- package/node_modules/@swc/helpers/esm/_to_consumable_array.js +9 -0
- package/node_modules/@swc/helpers/esm/_to_primitive.js +16 -0
- package/node_modules/@swc/helpers/esm/_to_property_key.js +9 -0
- package/node_modules/@swc/helpers/esm/_ts_add_disposable_resource.js +1 -0
- package/node_modules/@swc/helpers/esm/_ts_decorate.js +1 -0
- package/node_modules/@swc/helpers/esm/_ts_dispose_resources.js +1 -0
- package/node_modules/@swc/helpers/esm/_ts_generator.js +1 -0
- package/node_modules/@swc/helpers/esm/_ts_metadata.js +1 -0
- package/node_modules/@swc/helpers/esm/_ts_param.js +1 -0
- package/node_modules/@swc/helpers/esm/_ts_values.js +1 -0
- package/node_modules/@swc/helpers/esm/_type_of.js +6 -0
- package/node_modules/@swc/helpers/esm/_unsupported_iterable_to_array.js +13 -0
- package/node_modules/@swc/helpers/esm/_update.js +14 -0
- package/node_modules/@swc/helpers/esm/_using.js +22 -0
- package/node_modules/@swc/helpers/esm/_using_ctx.js +73 -0
- package/node_modules/@swc/helpers/esm/_wrap_async_generator.js +8 -0
- package/node_modules/@swc/helpers/esm/_wrap_native_super.js +26 -0
- package/node_modules/@swc/helpers/esm/_write_only_error.js +4 -0
- package/node_modules/@swc/helpers/esm/index.js +107 -0
- package/node_modules/@swc/helpers/package.json +689 -0
- package/node_modules/@swc/helpers/scripts/ast_grep.js +229 -0
- package/node_modules/@swc/helpers/scripts/build.js +133 -0
- package/node_modules/@swc/helpers/scripts/errors.js +1 -0
- package/node_modules/@swc/helpers/scripts/utils.js +3 -0
- package/node_modules/@swc/helpers/src/_apply_decorated_descriptor.mjs +1 -0
- package/node_modules/@swc/helpers/src/_apply_decs_2203_r.mjs +1 -0
- package/node_modules/@swc/helpers/src/_array_like_to_array.mjs +1 -0
- package/node_modules/@swc/helpers/src/_array_with_holes.mjs +1 -0
- package/node_modules/@swc/helpers/src/_array_without_holes.mjs +1 -0
- package/node_modules/@swc/helpers/src/_assert_this_initialized.mjs +1 -0
- package/node_modules/@swc/helpers/src/_async_generator.mjs +1 -0
- package/node_modules/@swc/helpers/src/_async_generator_delegate.mjs +1 -0
- package/node_modules/@swc/helpers/src/_async_iterator.mjs +1 -0
- package/node_modules/@swc/helpers/src/_async_to_generator.mjs +1 -0
- package/node_modules/@swc/helpers/src/_await_async_generator.mjs +1 -0
- package/node_modules/@swc/helpers/src/_await_value.mjs +1 -0
- package/node_modules/@swc/helpers/src/_call_super.mjs +1 -0
- package/node_modules/@swc/helpers/src/_check_private_redeclaration.mjs +1 -0
- package/node_modules/@swc/helpers/src/_class_apply_descriptor_destructure.mjs +1 -0
- package/node_modules/@swc/helpers/src/_class_apply_descriptor_get.mjs +1 -0
- package/node_modules/@swc/helpers/src/_class_apply_descriptor_set.mjs +1 -0
- package/node_modules/@swc/helpers/src/_class_apply_descriptor_update.mjs +1 -0
- package/node_modules/@swc/helpers/src/_class_call_check.mjs +1 -0
- package/node_modules/@swc/helpers/src/_class_check_private_static_access.mjs +1 -0
- package/node_modules/@swc/helpers/src/_class_check_private_static_field_descriptor.mjs +1 -0
- package/node_modules/@swc/helpers/src/_class_extract_field_descriptor.mjs +1 -0
- package/node_modules/@swc/helpers/src/_class_name_tdz_error.mjs +1 -0
- package/node_modules/@swc/helpers/src/_class_private_field_destructure.mjs +1 -0
- package/node_modules/@swc/helpers/src/_class_private_field_get.mjs +1 -0
- package/node_modules/@swc/helpers/src/_class_private_field_init.mjs +1 -0
- package/node_modules/@swc/helpers/src/_class_private_field_loose_base.mjs +1 -0
- package/node_modules/@swc/helpers/src/_class_private_field_loose_key.mjs +1 -0
- package/node_modules/@swc/helpers/src/_class_private_field_set.mjs +1 -0
- package/node_modules/@swc/helpers/src/_class_private_field_update.mjs +1 -0
- package/node_modules/@swc/helpers/src/_class_private_method_get.mjs +1 -0
- package/node_modules/@swc/helpers/src/_class_private_method_init.mjs +1 -0
- package/node_modules/@swc/helpers/src/_class_private_method_set.mjs +1 -0
- package/node_modules/@swc/helpers/src/_class_static_private_field_destructure.mjs +1 -0
- package/node_modules/@swc/helpers/src/_class_static_private_field_spec_get.mjs +1 -0
- package/node_modules/@swc/helpers/src/_class_static_private_field_spec_set.mjs +1 -0
- package/node_modules/@swc/helpers/src/_class_static_private_field_update.mjs +1 -0
- package/node_modules/@swc/helpers/src/_class_static_private_method_get.mjs +1 -0
- package/node_modules/@swc/helpers/src/_construct.mjs +1 -0
- package/node_modules/@swc/helpers/src/_create_class.mjs +1 -0
- package/node_modules/@swc/helpers/src/_create_for_of_iterator_helper_loose.mjs +1 -0
- package/node_modules/@swc/helpers/src/_create_super.mjs +1 -0
- package/node_modules/@swc/helpers/src/_decorate.mjs +1 -0
- package/node_modules/@swc/helpers/src/_defaults.mjs +1 -0
- package/node_modules/@swc/helpers/src/_define_enumerable_properties.mjs +1 -0
- package/node_modules/@swc/helpers/src/_define_property.mjs +1 -0
- package/node_modules/@swc/helpers/src/_dispose.mjs +1 -0
- package/node_modules/@swc/helpers/src/_export_star.mjs +1 -0
- package/node_modules/@swc/helpers/src/_extends.mjs +1 -0
- package/node_modules/@swc/helpers/src/_get.mjs +1 -0
- package/node_modules/@swc/helpers/src/_get_prototype_of.mjs +1 -0
- package/node_modules/@swc/helpers/src/_identity.mjs +1 -0
- package/node_modules/@swc/helpers/src/_inherits.mjs +1 -0
- package/node_modules/@swc/helpers/src/_inherits_loose.mjs +1 -0
- package/node_modules/@swc/helpers/src/_initializer_define_property.mjs +1 -0
- package/node_modules/@swc/helpers/src/_initializer_warning_helper.mjs +1 -0
- package/node_modules/@swc/helpers/src/_instanceof.mjs +1 -0
- package/node_modules/@swc/helpers/src/_interop_require_default.mjs +1 -0
- package/node_modules/@swc/helpers/src/_interop_require_wildcard.mjs +1 -0
- package/node_modules/@swc/helpers/src/_is_native_function.mjs +1 -0
- package/node_modules/@swc/helpers/src/_is_native_reflect_construct.mjs +1 -0
- package/node_modules/@swc/helpers/src/_iterable_to_array.mjs +1 -0
- package/node_modules/@swc/helpers/src/_iterable_to_array_limit.mjs +1 -0
- package/node_modules/@swc/helpers/src/_iterable_to_array_limit_loose.mjs +1 -0
- package/node_modules/@swc/helpers/src/_jsx.mjs +1 -0
- package/node_modules/@swc/helpers/src/_new_arrow_check.mjs +1 -0
- package/node_modules/@swc/helpers/src/_non_iterable_rest.mjs +1 -0
- package/node_modules/@swc/helpers/src/_non_iterable_spread.mjs +1 -0
- package/node_modules/@swc/helpers/src/_object_destructuring_empty.mjs +1 -0
- package/node_modules/@swc/helpers/src/_object_spread.mjs +1 -0
- package/node_modules/@swc/helpers/src/_object_spread_props.mjs +1 -0
- package/node_modules/@swc/helpers/src/_object_without_properties.mjs +1 -0
- package/node_modules/@swc/helpers/src/_object_without_properties_loose.mjs +1 -0
- package/node_modules/@swc/helpers/src/_overload_yield.mjs +1 -0
- package/node_modules/@swc/helpers/src/_possible_constructor_return.mjs +1 -0
- package/node_modules/@swc/helpers/src/_read_only_error.mjs +1 -0
- package/node_modules/@swc/helpers/src/_set.mjs +1 -0
- package/node_modules/@swc/helpers/src/_set_prototype_of.mjs +1 -0
- package/node_modules/@swc/helpers/src/_skip_first_generator_next.mjs +1 -0
- package/node_modules/@swc/helpers/src/_sliced_to_array.mjs +1 -0
- package/node_modules/@swc/helpers/src/_sliced_to_array_loose.mjs +1 -0
- package/node_modules/@swc/helpers/src/_super_prop_base.mjs +1 -0
- package/node_modules/@swc/helpers/src/_tagged_template_literal.mjs +1 -0
- package/node_modules/@swc/helpers/src/_tagged_template_literal_loose.mjs +1 -0
- package/node_modules/@swc/helpers/src/_throw.mjs +1 -0
- package/node_modules/@swc/helpers/src/_to_array.mjs +1 -0
- package/node_modules/@swc/helpers/src/_to_consumable_array.mjs +1 -0
- package/node_modules/@swc/helpers/src/_to_primitive.mjs +1 -0
- package/node_modules/@swc/helpers/src/_to_property_key.mjs +1 -0
- package/node_modules/@swc/helpers/src/_ts_add_disposable_resource.mjs +1 -0
- package/node_modules/@swc/helpers/src/_ts_decorate.mjs +1 -0
- package/node_modules/@swc/helpers/src/_ts_dispose_resources.mjs +1 -0
- package/node_modules/@swc/helpers/src/_ts_generator.mjs +1 -0
- package/node_modules/@swc/helpers/src/_ts_metadata.mjs +1 -0
- package/node_modules/@swc/helpers/src/_ts_param.mjs +1 -0
- package/node_modules/@swc/helpers/src/_ts_values.mjs +1 -0
- package/node_modules/@swc/helpers/src/_type_of.mjs +1 -0
- package/node_modules/@swc/helpers/src/_unsupported_iterable_to_array.mjs +1 -0
- package/node_modules/@swc/helpers/src/_update.mjs +1 -0
- package/node_modules/@swc/helpers/src/_using.mjs +1 -0
- package/node_modules/@swc/helpers/src/_using_ctx.mjs +1 -0
- package/node_modules/@swc/helpers/src/_wrap_async_generator.mjs +1 -0
- package/node_modules/@swc/helpers/src/_wrap_native_super.mjs +1 -0
- package/node_modules/@swc/helpers/src/_write_only_error.mjs +1 -0
- package/node_modules/@swc/helpers/src/index.mjs +1 -0
- package/node_modules/@types/connect/LICENSE +21 -0
- package/node_modules/@types/connect/README.md +15 -0
- package/node_modules/@types/connect/index.d.ts +91 -0
- package/node_modules/@types/connect/package.json +32 -0
- package/node_modules/@types/node/LICENSE +21 -0
- package/node_modules/@types/node/README.md +15 -0
- package/node_modules/@types/node/assert/strict.d.ts +8 -0
- package/node_modules/@types/node/assert.d.ts +1054 -0
- package/node_modules/@types/node/async_hooks.d.ts +603 -0
- package/node_modules/@types/node/buffer.buffer.d.ts +463 -0
- package/node_modules/@types/node/buffer.d.ts +1926 -0
- package/node_modules/@types/node/child_process.d.ts +1549 -0
- package/node_modules/@types/node/cluster.d.ts +579 -0
- package/node_modules/@types/node/compatibility/disposable.d.ts +16 -0
- package/node_modules/@types/node/compatibility/index.d.ts +9 -0
- package/node_modules/@types/node/compatibility/indexable.d.ts +23 -0
- package/node_modules/@types/node/compatibility/iterators.d.ts +21 -0
- package/node_modules/@types/node/console.d.ts +452 -0
- package/node_modules/@types/node/constants.d.ts +21 -0
- package/node_modules/@types/node/crypto.d.ts +4509 -0
- package/node_modules/@types/node/dgram.d.ts +599 -0
- package/node_modules/@types/node/diagnostics_channel.d.ts +573 -0
- package/node_modules/@types/node/dns/promises.d.ts +476 -0
- package/node_modules/@types/node/dns.d.ts +865 -0
- package/node_modules/@types/node/dom-events.d.ts +124 -0
- package/node_modules/@types/node/domain.d.ts +170 -0
- package/node_modules/@types/node/events.d.ts +931 -0
- package/node_modules/@types/node/fs/promises.d.ts +1272 -0
- package/node_modules/@types/node/fs.d.ts +4437 -0
- package/node_modules/@types/node/globals.d.ts +371 -0
- package/node_modules/@types/node/globals.typedarray.d.ts +21 -0
- package/node_modules/@types/node/http.d.ts +1980 -0
- package/node_modules/@types/node/http2.d.ts +2557 -0
- package/node_modules/@types/node/https.d.ts +545 -0
- package/node_modules/@types/node/index.d.ts +92 -0
- package/node_modules/@types/node/inspector.d.ts +4002 -0
- package/node_modules/@types/node/module.d.ts +772 -0
- package/node_modules/@types/node/net.d.ts +1035 -0
- package/node_modules/@types/node/os.d.ts +495 -0
- package/node_modules/@types/node/package.json +225 -0
- package/node_modules/@types/node/path.d.ts +200 -0
- package/node_modules/@types/node/perf_hooks.d.ts +970 -0
- package/node_modules/@types/node/process.d.ts +2063 -0
- package/node_modules/@types/node/punycode.d.ts +117 -0
- package/node_modules/@types/node/querystring.d.ts +152 -0
- package/node_modules/@types/node/readline/promises.d.ts +162 -0
- package/node_modules/@types/node/readline.d.ts +594 -0
- package/node_modules/@types/node/repl.d.ts +430 -0
- package/node_modules/@types/node/sea.d.ts +153 -0
- package/node_modules/@types/node/sqlite.d.ts +508 -0
- package/node_modules/@types/node/stream/consumers.d.ts +38 -0
- package/node_modules/@types/node/stream/promises.d.ts +90 -0
- package/node_modules/@types/node/stream/web.d.ts +614 -0
- package/node_modules/@types/node/stream.d.ts +1662 -0
- package/node_modules/@types/node/string_decoder.d.ts +67 -0
- package/node_modules/@types/node/test.d.ts +2280 -0
- package/node_modules/@types/node/timers/promises.d.ts +108 -0
- package/node_modules/@types/node/timers.d.ts +287 -0
- package/node_modules/@types/node/tls.d.ts +1259 -0
- package/node_modules/@types/node/trace_events.d.ts +197 -0
- package/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +460 -0
- package/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +19 -0
- package/node_modules/@types/node/ts5.6/index.d.ts +92 -0
- package/node_modules/@types/node/tty.d.ts +208 -0
- package/node_modules/@types/node/url.d.ts +972 -0
- package/node_modules/@types/node/util.d.ts +2584 -0
- package/node_modules/@types/node/v8.d.ts +889 -0
- package/node_modules/@types/node/vm.d.ts +991 -0
- package/node_modules/@types/node/wasi.d.ts +181 -0
- package/node_modules/@types/node/worker_threads.d.ts +746 -0
- package/node_modules/@types/node/zlib.d.ts +670 -0
- package/node_modules/@types/uuid/LICENSE +21 -0
- package/node_modules/@types/uuid/README.md +16 -0
- package/node_modules/@types/uuid/index.d.mts +10 -0
- package/node_modules/@types/uuid/index.d.ts +80 -0
- package/node_modules/@types/uuid/package.json +54 -0
- package/node_modules/@types/ws/LICENSE +21 -0
- package/node_modules/@types/ws/README.md +16 -0
- package/node_modules/@types/ws/index.d.ts +353 -0
- package/node_modules/@types/ws/package.json +57 -0
- package/node_modules/agentkeepalive/LICENSE +23 -0
- package/node_modules/agentkeepalive/README.md +256 -0
- package/node_modules/agentkeepalive/browser.js +5 -0
- package/node_modules/agentkeepalive/index.d.ts +69 -0
- package/node_modules/agentkeepalive/index.js +7 -0
- package/node_modules/agentkeepalive/lib/agent.js +402 -0
- package/node_modules/agentkeepalive/lib/constants.js +14 -0
- package/node_modules/agentkeepalive/lib/https_agent.js +51 -0
- package/node_modules/agentkeepalive/package.json +56 -0
- package/node_modules/base-x/LICENSE.md +22 -0
- package/node_modules/base-x/README.md +67 -0
- package/node_modules/base-x/package.json +49 -0
- package/node_modules/base-x/src/index.d.ts +10 -0
- package/node_modules/base-x/src/index.js +123 -0
- package/node_modules/base64-js/LICENSE +21 -0
- package/node_modules/base64-js/README.md +34 -0
- package/node_modules/base64-js/base64js.min.js +1 -0
- package/node_modules/base64-js/index.d.ts +3 -0
- package/node_modules/base64-js/index.js +150 -0
- package/node_modules/base64-js/package.json +47 -0
- package/node_modules/bn.js/LICENSE +19 -0
- package/node_modules/bn.js/README.md +214 -0
- package/node_modules/bn.js/lib/bn.js +3548 -0
- package/node_modules/bn.js/package.json +39 -0
- package/node_modules/borsh/LICENSE-APACHE +201 -0
- package/node_modules/borsh/LICENSE-MIT.txt +23 -0
- package/node_modules/borsh/README.md +83 -0
- package/node_modules/borsh/lib/index.d.ts +52 -0
- package/node_modules/borsh/lib/index.js +440 -0
- package/node_modules/borsh/package.json +61 -0
- package/node_modules/bs58/README.md +71 -0
- package/node_modules/bs58/index.js +4 -0
- package/node_modules/bs58/package.json +37 -0
- package/node_modules/buffer/AUTHORS.md +73 -0
- package/node_modules/buffer/LICENSE +21 -0
- package/node_modules/buffer/README.md +410 -0
- package/node_modules/buffer/index.d.ts +194 -0
- package/node_modules/buffer/index.js +2106 -0
- package/node_modules/buffer/package.json +93 -0
- package/node_modules/buffer-layout/.eslintrc.js +45 -0
- package/node_modules/buffer-layout/.travis.yml +9 -0
- package/node_modules/buffer-layout/CHANGELOG.md +222 -0
- package/node_modules/buffer-layout/LICENSE +21 -0
- package/node_modules/buffer-layout/README.md +397 -0
- package/node_modules/buffer-layout/jsdoc/conf.json +10 -0
- package/node_modules/buffer-layout/jsdoc/custom/local.js +75 -0
- package/node_modules/buffer-layout/lib/Layout.js +2712 -0
- package/node_modules/buffer-layout/package.json +40 -0
- package/node_modules/buffer-layout/test/LayoutTest.js +2162 -0
- package/node_modules/buffer-layout/test/examples.c +112 -0
- package/node_modules/buffer-layout/test/examples.js +259 -0
- package/node_modules/buffer-layout/test/n64.c +71 -0
- package/node_modules/buffer-layout/x.js +36 -0
- package/node_modules/bufferutil/LICENSE +20 -0
- package/node_modules/bufferutil/README.md +79 -0
- package/node_modules/bufferutil/binding.gyp +32 -0
- package/node_modules/bufferutil/fallback.js +34 -0
- package/node_modules/bufferutil/index.js +7 -0
- package/node_modules/bufferutil/package.json +36 -0
- package/node_modules/bufferutil/prebuilds/darwin-x64+arm64/bufferutil.node +0 -0
- package/node_modules/bufferutil/prebuilds/linux-x64/bufferutil.node +0 -0
- package/node_modules/bufferutil/prebuilds/win32-ia32/bufferutil.node +0 -0
- package/node_modules/bufferutil/prebuilds/win32-x64/bufferutil.node +0 -0
- package/node_modules/bufferutil/src/bufferutil.c +171 -0
- package/node_modules/camelcase/index.d.ts +103 -0
- package/node_modules/camelcase/index.js +113 -0
- package/node_modules/camelcase/license +9 -0
- package/node_modules/camelcase/package.json +44 -0
- package/node_modules/camelcase/readme.md +144 -0
- package/node_modules/commander/LICENSE +22 -0
- package/node_modules/commander/Readme.md +428 -0
- package/node_modules/commander/index.js +1224 -0
- package/node_modules/commander/package.json +38 -0
- package/node_modules/commander/typings/index.d.ts +310 -0
- package/node_modules/cross-fetch/LICENSE +21 -0
- package/node_modules/cross-fetch/README.md +169 -0
- package/node_modules/cross-fetch/dist/browser-polyfill.js +658 -0
- package/node_modules/cross-fetch/dist/browser-ponyfill.js +686 -0
- package/node_modules/cross-fetch/dist/cross-fetch.js +2 -0
- package/node_modules/cross-fetch/dist/cross-fetch.js.map +1 -0
- package/node_modules/cross-fetch/dist/node-polyfill.js +11 -0
- package/node_modules/cross-fetch/dist/node-ponyfill.js +22 -0
- package/node_modules/cross-fetch/dist/react-native-polyfill.js +12 -0
- package/node_modules/cross-fetch/dist/react-native-ponyfill.js +6 -0
- package/node_modules/cross-fetch/index.d.ts +14 -0
- package/node_modules/cross-fetch/package.json +127 -0
- package/node_modules/cross-fetch/polyfill/package.json +8 -0
- package/node_modules/delay/index.d.ts +107 -0
- package/node_modules/delay/index.js +72 -0
- package/node_modules/delay/license +9 -0
- package/node_modules/delay/package.json +54 -0
- package/node_modules/delay/readme.md +173 -0
- package/node_modules/es6-promise/LICENSE +19 -0
- package/node_modules/es6-promise/README.md +97 -0
- package/node_modules/es6-promise/auto.js +4 -0
- package/node_modules/es6-promise/dist/es6-promise.auto.js +1176 -0
- package/node_modules/es6-promise/dist/es6-promise.auto.map +1 -0
- package/node_modules/es6-promise/dist/es6-promise.auto.min.js +1 -0
- package/node_modules/es6-promise/dist/es6-promise.auto.min.map +1 -0
- package/node_modules/es6-promise/dist/es6-promise.js +1174 -0
- package/node_modules/es6-promise/dist/es6-promise.map +1 -0
- package/node_modules/es6-promise/dist/es6-promise.min.js +1 -0
- package/node_modules/es6-promise/dist/es6-promise.min.map +1 -0
- package/node_modules/es6-promise/es6-promise.d.ts +85 -0
- package/node_modules/es6-promise/lib/es6-promise/-internal.js +243 -0
- package/node_modules/es6-promise/lib/es6-promise/asap.js +119 -0
- package/node_modules/es6-promise/lib/es6-promise/enumerator.js +124 -0
- package/node_modules/es6-promise/lib/es6-promise/polyfill.js +35 -0
- package/node_modules/es6-promise/lib/es6-promise/promise/all.js +52 -0
- package/node_modules/es6-promise/lib/es6-promise/promise/race.js +84 -0
- package/node_modules/es6-promise/lib/es6-promise/promise/reject.js +46 -0
- package/node_modules/es6-promise/lib/es6-promise/promise/resolve.js +48 -0
- package/node_modules/es6-promise/lib/es6-promise/promise.js +431 -0
- package/node_modules/es6-promise/lib/es6-promise/then.js +32 -0
- package/node_modules/es6-promise/lib/es6-promise/utils.js +21 -0
- package/node_modules/es6-promise/lib/es6-promise.auto.js +3 -0
- package/node_modules/es6-promise/lib/es6-promise.js +7 -0
- package/node_modules/es6-promise/package.json +78 -0
- package/node_modules/es6-promisify/README.md +89 -0
- package/node_modules/es6-promisify/dist/promise.js +73 -0
- package/node_modules/es6-promisify/dist/promisify.js +85 -0
- package/node_modules/es6-promisify/package.json +41 -0
- package/node_modules/eventemitter3/LICENSE +21 -0
- package/node_modules/eventemitter3/README.md +94 -0
- package/node_modules/eventemitter3/index.d.ts +134 -0
- package/node_modules/eventemitter3/index.js +336 -0
- package/node_modules/eventemitter3/package.json +56 -0
- package/node_modules/eventemitter3/umd/eventemitter3.js +340 -0
- package/node_modules/eventemitter3/umd/eventemitter3.min.js +1 -0
- package/node_modules/eventemitter3/umd/eventemitter3.min.js.map +1 -0
- package/node_modules/eyes/LICENSE +20 -0
- package/node_modules/eyes/Makefile +4 -0
- package/node_modules/eyes/README.md +73 -0
- package/node_modules/eyes/lib/eyes.js +236 -0
- package/node_modules/eyes/package.json +14 -0
- package/node_modules/eyes/test/eyes-test.js +56 -0
- package/node_modules/fast-stable-stringify/.npmignore +4 -0
- package/node_modules/fast-stable-stringify/.travis.yml +10 -0
- package/node_modules/fast-stable-stringify/LICENSE +21 -0
- package/node_modules/fast-stable-stringify/README.md +81 -0
- package/node_modules/fast-stable-stringify/cli/files-to-comparison-results.js +67 -0
- package/node_modules/fast-stable-stringify/cli/format-table.js +70 -0
- package/node_modules/fast-stable-stringify/cli/index.js +19 -0
- package/node_modules/fast-stable-stringify/fixtures/index.js +5 -0
- package/node_modules/fast-stable-stringify/fixtures/input-data-types.js +191 -0
- package/node_modules/fast-stable-stringify/fixtures/log-result.json +22 -0
- package/node_modules/fast-stable-stringify/fixtures/log.txt +24 -0
- package/node_modules/fast-stable-stringify/index.js +73 -0
- package/node_modules/fast-stable-stringify/karma.conf.js +124 -0
- package/node_modules/fast-stable-stringify/karma.conf.travis.js +95 -0
- package/node_modules/fast-stable-stringify/package.json +47 -0
- package/node_modules/fast-stable-stringify/results/escape-long/Chrome 60.0.3112 (Windows 7 0.0.0).json +57 -0
- package/node_modules/fast-stable-stringify/results/escape-long/Chrome Mobile 55.0.2883 (Android 6.0.0).json +57 -0
- package/node_modules/fast-stable-stringify/results/escape-long/Edge 14.14393.0 (Windows 10 0.0.0).json +57 -0
- package/node_modules/fast-stable-stringify/results/escape-long/Firefox 54.0.0 (Windows 7 0.0.0).json +57 -0
- package/node_modules/fast-stable-stringify/results/escape-long/IE 10.0.0 (Windows 7 0.0.0).json +57 -0
- package/node_modules/fast-stable-stringify/results/escape-long/IE 11.0.0 (Windows 7 0.0.0).json +57 -0
- package/node_modules/fast-stable-stringify/results/escape-long/IE 9.0.0 (Windows 7 0.0.0).json +57 -0
- package/node_modules/fast-stable-stringify/results/escape-long/Mobile Safari 10.0.0 (iOS 10.3.0).json +57 -0
- package/node_modules/fast-stable-stringify/results/escape-long/Safari 10.0.1 (Mac OS X 10.12.1).json +57 -0
- package/node_modules/fast-stable-stringify/results/escape-short/Chrome 60.0.3112 (Windows 7 0.0.0).json +57 -0
- package/node_modules/fast-stable-stringify/results/escape-short/Chrome Mobile 55.0.2883 (Android 6.0.0).json +57 -0
- package/node_modules/fast-stable-stringify/results/escape-short/Edge 14.14393.0 (Windows 10 0.0.0).json +57 -0
- package/node_modules/fast-stable-stringify/results/escape-short/Firefox 54.0.0 (Windows 7 0.0.0).json +57 -0
- package/node_modules/fast-stable-stringify/results/escape-short/IE 10.0.0 (Windows 7 0.0.0).json +57 -0
- package/node_modules/fast-stable-stringify/results/escape-short/IE 11.0.0 (Windows 7 0.0.0).json +57 -0
- package/node_modules/fast-stable-stringify/results/escape-short/IE 9.0.0 (Windows 7 0.0.0).json +57 -0
- package/node_modules/fast-stable-stringify/results/escape-short/Mobile Safari 10.0.0 (iOS 10.3.0).json +57 -0
- package/node_modules/fast-stable-stringify/results/escape-short/Safari 10.0.1 (Mac OS X 10.12.1).json +57 -0
- package/node_modules/fast-stable-stringify/results/escape.md +20 -0
- package/node_modules/fast-stable-stringify/results/itar-long/Chrome 60.0.3112 (Windows 7 0.0.0).json +35 -0
- package/node_modules/fast-stable-stringify/results/itar-long/Chrome Mobile 55.0.2883 (Android 6.0.0).json +35 -0
- package/node_modules/fast-stable-stringify/results/itar-long/Edge 14.14393.0 (Windows 10 0.0.0).json +35 -0
- package/node_modules/fast-stable-stringify/results/itar-long/Firefox 54.0.0 (Windows 7 0.0.0).json +35 -0
- package/node_modules/fast-stable-stringify/results/itar-long/IE 10.0.0 (Windows 7 0.0.0).json +35 -0
- package/node_modules/fast-stable-stringify/results/itar-long/IE 11.0.0 (Windows 7 0.0.0).json +35 -0
- package/node_modules/fast-stable-stringify/results/itar-long/IE 9.0.0 (Windows 7 0.0.0).json +35 -0
- package/node_modules/fast-stable-stringify/results/itar-long/Mobile Safari 10.0.0 (iOS 10.3.0).json +35 -0
- package/node_modules/fast-stable-stringify/results/itar-long/Safari 10.0.1 (Mac OS X 10.12.1).json +35 -0
- package/node_modules/fast-stable-stringify/results/itar-short/Chrome 60.0.3112 (Windows 7 0.0.0).json +35 -0
- package/node_modules/fast-stable-stringify/results/itar-short/Chrome Mobile 55.0.2883 (Android 6.0.0).json +35 -0
- package/node_modules/fast-stable-stringify/results/itar-short/Edge 14.14393.0 (Windows 10 0.0.0).json +35 -0
- package/node_modules/fast-stable-stringify/results/itar-short/Firefox 54.0.0 (Windows 7 0.0.0).json +35 -0
- package/node_modules/fast-stable-stringify/results/itar-short/IE 10.0.0 (Windows 7 0.0.0).json +35 -0
- package/node_modules/fast-stable-stringify/results/itar-short/IE 11.0.0 (Windows 7 0.0.0).json +35 -0
- package/node_modules/fast-stable-stringify/results/itar-short/IE 9.0.0 (Windows 7 0.0.0).json +35 -0
- package/node_modules/fast-stable-stringify/results/itar-short/Mobile Safari 10.0.0 (iOS 10.3.0).json +35 -0
- package/node_modules/fast-stable-stringify/results/itar-short/Safari 10.0.1 (Mac OS X 10.12.1).json +35 -0
- package/node_modules/fast-stable-stringify/results/itar.md +20 -0
- package/node_modules/fast-stable-stringify/results/iter/Chrome 60.0.3112 (Windows 7 0.0.0).json +35 -0
- package/node_modules/fast-stable-stringify/results/iter/Chrome Mobile 39.0.0 (Android 5.1.1).json +35 -0
- package/node_modules/fast-stable-stringify/results/iter/Chrome Mobile 55.0.2883 (Android 6.0.0).json +35 -0
- package/node_modules/fast-stable-stringify/results/iter/Edge 14.14393.0 (Windows 10 0.0.0).json +35 -0
- package/node_modules/fast-stable-stringify/results/iter/Firefox 54.0.0 (Windows 7 0.0.0).json +35 -0
- package/node_modules/fast-stable-stringify/results/iter/IE 10.0.0 (Windows 7 0.0.0).json +35 -0
- package/node_modules/fast-stable-stringify/results/iter/IE 11.0.0 (Windows 7 0.0.0).json +35 -0
- package/node_modules/fast-stable-stringify/results/iter/IE 9.0.0 (Windows 7 0.0.0).json +35 -0
- package/node_modules/fast-stable-stringify/results/iter/Mobile Safari 10.0.0 (iOS 10.3.0).json +35 -0
- package/node_modules/fast-stable-stringify/results/iter/Mobile Safari 9.0.0 (iOS 9.2.0).json +35 -0
- package/node_modules/fast-stable-stringify/results/iter/Safari 10.0.1 (Mac OS X 10.12.1).json +35 -0
- package/node_modules/fast-stable-stringify/results/iter/Safari 9.1.2 (Mac OS X 10.11.6).json +35 -0
- package/node_modules/fast-stable-stringify/results/iter.md +14 -0
- package/node_modules/fast-stable-stringify/results/libs/Chrome 60.0.3112 (Windows 7 0.0.0).json +46 -0
- package/node_modules/fast-stable-stringify/results/libs/Chrome Mobile 55.0.2883 (Android 6.0.0).json +46 -0
- package/node_modules/fast-stable-stringify/results/libs/Edge 14.14393.0 (Windows 10 0.0.0).json +46 -0
- package/node_modules/fast-stable-stringify/results/libs/Firefox 54.0.0 (Windows 7 0.0.0).json +46 -0
- package/node_modules/fast-stable-stringify/results/libs/IE 10.0.0 (Windows 7 0.0.0).json +35 -0
- package/node_modules/fast-stable-stringify/results/libs/IE 11.0.0 (Windows 7 0.0.0).json +35 -0
- package/node_modules/fast-stable-stringify/results/libs/IE 9.0.0 (Windows 7 0.0.0).json +35 -0
- package/node_modules/fast-stable-stringify/results/libs/Mobile Safari 10.0.0 (iOS 10.3.0).json +46 -0
- package/node_modules/fast-stable-stringify/results/libs/Safari 10.0.1 (Mac OS X 10.12.1).json +46 -0
- package/node_modules/fast-stable-stringify/results/libs.md +15 -0
- package/node_modules/fast-stable-stringify/test/escape-long.js +147 -0
- package/node_modules/fast-stable-stringify/test/escape-short.js +147 -0
- package/node_modules/fast-stable-stringify/test/index.js +6 -0
- package/node_modules/fast-stable-stringify/test/itar-long.js +52 -0
- package/node_modules/fast-stable-stringify/test/itar-short.js +52 -0
- package/node_modules/fast-stable-stringify/test/iter.js +84 -0
- package/node_modules/fast-stable-stringify/test/libs.js +57 -0
- package/node_modules/fast-stable-stringify/test/travis.js +43 -0
- package/node_modules/fast-stable-stringify/test/validate.js +24 -0
- package/node_modules/fast-stable-stringify/util/eachRecursive.js +9 -0
- package/node_modules/fast-stable-stringify/util/get-git-hash-sync.js +21 -0
- package/node_modules/fast-stable-stringify/util/get-lib-info.js +22 -0
- package/node_modules/fast-stable-stringify/util/object-path.js +47 -0
- package/node_modules/fast-stable-stringify/v8-profile/bench.js +8 -0
- package/node_modules/fast-stable-stringify/v8-profile/run.sh +2 -0
- package/node_modules/fast-stable-stringify/zuul-local.sh +2 -0
- package/node_modules/humanize-ms/LICENSE +17 -0
- package/node_modules/humanize-ms/README.md +40 -0
- package/node_modules/humanize-ms/index.js +24 -0
- package/node_modules/humanize-ms/package.json +37 -0
- package/node_modules/ieee754/LICENSE +11 -0
- package/node_modules/ieee754/README.md +51 -0
- package/node_modules/ieee754/index.d.ts +10 -0
- package/node_modules/ieee754/index.js +85 -0
- package/node_modules/ieee754/package.json +52 -0
- package/node_modules/isomorphic-ws/LICENSE +21 -0
- package/node_modules/isomorphic-ws/README.md +58 -0
- package/node_modules/isomorphic-ws/browser.js +17 -0
- package/node_modules/isomorphic-ws/index.d.ts +8 -0
- package/node_modules/isomorphic-ws/node.js +3 -0
- package/node_modules/isomorphic-ws/package.json +34 -0
- package/node_modules/jayson/.gitignore +8 -0
- package/node_modules/jayson/LICENSE +22 -0
- package/node_modules/jayson/README.md +1387 -0
- package/node_modules/jayson/bin/jayson.js +111 -0
- package/node_modules/jayson/index.d.ts +370 -0
- package/node_modules/jayson/index.js +1 -0
- package/node_modules/jayson/lib/client/browser/index.d.ts +14 -0
- package/node_modules/jayson/lib/client/browser/index.js +163 -0
- package/node_modules/jayson/lib/client/http.js +116 -0
- package/node_modules/jayson/lib/client/https.js +34 -0
- package/node_modules/jayson/lib/client/index.js +220 -0
- package/node_modules/jayson/lib/client/tcp.js +90 -0
- package/node_modules/jayson/lib/client/tls.js +89 -0
- package/node_modules/jayson/lib/client/websocket.js +135 -0
- package/node_modules/jayson/lib/generateRequest.js +63 -0
- package/node_modules/jayson/lib/index.js +31 -0
- package/node_modules/jayson/lib/method.js +120 -0
- package/node_modules/jayson/lib/server/http.js +26 -0
- package/node_modules/jayson/lib/server/https.js +26 -0
- package/node_modules/jayson/lib/server/index.js +475 -0
- package/node_modules/jayson/lib/server/middleware.js +75 -0
- package/node_modules/jayson/lib/server/tcp.js +72 -0
- package/node_modules/jayson/lib/server/tls.js +72 -0
- package/node_modules/jayson/lib/server/websocket.js +62 -0
- package/node_modules/jayson/lib/utils.js +514 -0
- package/node_modules/jayson/node_modules/@types/node/LICENSE +21 -0
- package/node_modules/jayson/node_modules/@types/node/README.md +16 -0
- package/node_modules/jayson/node_modules/@types/node/assert.d.ts +117 -0
- package/node_modules/jayson/node_modules/@types/node/async_hooks.d.ts +246 -0
- package/node_modules/jayson/node_modules/@types/node/buffer.d.ts +22 -0
- package/node_modules/jayson/node_modules/@types/node/child_process.d.ts +507 -0
- package/node_modules/jayson/node_modules/@types/node/cluster.d.ts +260 -0
- package/node_modules/jayson/node_modules/@types/node/console.d.ts +3 -0
- package/node_modules/jayson/node_modules/@types/node/constants.d.ts +448 -0
- package/node_modules/jayson/node_modules/@types/node/crypto.d.ts +1183 -0
- package/node_modules/jayson/node_modules/@types/node/dgram.d.ts +118 -0
- package/node_modules/jayson/node_modules/@types/node/dns.d.ts +372 -0
- package/node_modules/jayson/node_modules/@types/node/domain.d.ts +16 -0
- package/node_modules/jayson/node_modules/@types/node/events.d.ts +47 -0
- package/node_modules/jayson/node_modules/@types/node/fs.d.ts +2567 -0
- package/node_modules/jayson/node_modules/@types/node/globals.d.ts +1351 -0
- package/node_modules/jayson/node_modules/@types/node/globals.global.d.ts +1 -0
- package/node_modules/jayson/node_modules/@types/node/http.d.ts +456 -0
- package/node_modules/jayson/node_modules/@types/node/http2.d.ts +952 -0
- package/node_modules/jayson/node_modules/@types/node/https.d.ts +156 -0
- package/node_modules/jayson/node_modules/@types/node/index.d.ts +91 -0
- package/node_modules/jayson/node_modules/@types/node/inspector.d.ts +3040 -0
- package/node_modules/jayson/node_modules/@types/node/module.d.ts +3 -0
- package/node_modules/jayson/node_modules/@types/node/net.d.ts +290 -0
- package/node_modules/jayson/node_modules/@types/node/os.d.ts +263 -0
- package/node_modules/jayson/node_modules/@types/node/package.json +195 -0
- package/node_modules/jayson/node_modules/@types/node/path.d.ts +159 -0
- package/node_modules/jayson/node_modules/@types/node/perf_hooks.d.ts +259 -0
- package/node_modules/jayson/node_modules/@types/node/process.d.ts +15 -0
- package/node_modules/jayson/node_modules/@types/node/punycode.d.ts +75 -0
- package/node_modules/jayson/node_modules/@types/node/querystring.d.ts +29 -0
- package/node_modules/jayson/node_modules/@types/node/readline.d.ts +158 -0
- package/node_modules/jayson/node_modules/@types/node/repl.d.ts +390 -0
- package/node_modules/jayson/node_modules/@types/node/stream.d.ts +334 -0
- package/node_modules/jayson/node_modules/@types/node/string_decoder.d.ts +7 -0
- package/node_modules/jayson/node_modules/@types/node/timers.d.ts +16 -0
- package/node_modules/jayson/node_modules/@types/node/tls.d.ts +713 -0
- package/node_modules/jayson/node_modules/@types/node/trace_events.d.ts +61 -0
- package/node_modules/jayson/node_modules/@types/node/tty.d.ts +66 -0
- package/node_modules/jayson/node_modules/@types/node/url.d.ts +147 -0
- package/node_modules/jayson/node_modules/@types/node/util.d.ts +200 -0
- package/node_modules/jayson/node_modules/@types/node/v8.d.ts +197 -0
- package/node_modules/jayson/node_modules/@types/node/vm.d.ts +112 -0
- package/node_modules/jayson/node_modules/@types/node/wasi.d.ts +55 -0
- package/node_modules/jayson/node_modules/@types/node/worker_threads.d.ts +207 -0
- package/node_modules/jayson/node_modules/@types/node/zlib.d.ts +356 -0
- package/node_modules/jayson/package.json +89 -0
- package/node_modules/jayson/promise/index.d.ts +367 -0
- package/node_modules/jayson/promise/index.js +3 -0
- package/node_modules/jayson/promise/lib/client/browser/index.d.ts +12 -0
- package/node_modules/jayson/promise/lib/client/browser/index.js +28 -0
- package/node_modules/jayson/promise/lib/client/http.js +23 -0
- package/node_modules/jayson/promise/lib/client/https.js +24 -0
- package/node_modules/jayson/promise/lib/client/index.js +53 -0
- package/node_modules/jayson/promise/lib/client/tcp.js +23 -0
- package/node_modules/jayson/promise/lib/client/tls.js +23 -0
- package/node_modules/jayson/promise/lib/client/websocket.js +23 -0
- package/node_modules/jayson/promise/lib/index.js +33 -0
- package/node_modules/jayson/promise/lib/method.js +54 -0
- package/node_modules/jayson/promise/lib/server.js +23 -0
- package/node_modules/jayson/promise/lib/utils.js +23 -0
- package/node_modules/json-stringify-safe/.npmignore +1 -0
- package/node_modules/json-stringify-safe/CHANGELOG.md +14 -0
- package/node_modules/json-stringify-safe/LICENSE +15 -0
- package/node_modules/json-stringify-safe/Makefile +35 -0
- package/node_modules/json-stringify-safe/README.md +52 -0
- package/node_modules/json-stringify-safe/package.json +31 -0
- package/node_modules/json-stringify-safe/stringify.js +27 -0
- package/node_modules/json-stringify-safe/test/mocha.opts +2 -0
- package/node_modules/json-stringify-safe/test/stringify_test.js +246 -0
- package/node_modules/ms/index.js +162 -0
- package/node_modules/ms/license.md +21 -0
- package/node_modules/ms/package.json +38 -0
- package/node_modules/ms/readme.md +59 -0
- package/node_modules/node-fetch/LICENSE.md +22 -0
- package/node_modules/node-fetch/README.md +634 -0
- package/node_modules/node-fetch/browser.js +25 -0
- package/node_modules/node-fetch/lib/index.es.js +1777 -0
- package/node_modules/node-fetch/lib/index.js +1787 -0
- package/node_modules/node-fetch/lib/index.mjs +1775 -0
- package/node_modules/node-fetch/package.json +89 -0
- package/node_modules/node-gyp-build/LICENSE +21 -0
- package/node_modules/node-gyp-build/README.md +58 -0
- package/node_modules/node-gyp-build/SECURITY.md +5 -0
- package/node_modules/node-gyp-build/bin.js +84 -0
- package/node_modules/node-gyp-build/build-test.js +19 -0
- package/node_modules/node-gyp-build/index.js +6 -0
- package/node_modules/node-gyp-build/node-gyp-build.js +207 -0
- package/node_modules/node-gyp-build/optional.js +7 -0
- package/node_modules/node-gyp-build/package.json +43 -0
- package/node_modules/pako/LICENSE +21 -0
- package/node_modules/pako/README.md +177 -0
- package/node_modules/pako/dist/pako.es5.js +6688 -0
- package/node_modules/pako/dist/pako.es5.min.js +2 -0
- package/node_modules/pako/dist/pako.esm.mjs +6877 -0
- package/node_modules/pako/dist/pako.js +6896 -0
- package/node_modules/pako/dist/pako.min.js +2 -0
- package/node_modules/pako/dist/pako_deflate.es5.js +3924 -0
- package/node_modules/pako/dist/pako_deflate.es5.min.js +2 -0
- package/node_modules/pako/dist/pako_deflate.js +4126 -0
- package/node_modules/pako/dist/pako_deflate.min.js +2 -0
- package/node_modules/pako/dist/pako_inflate.es5.js +3229 -0
- package/node_modules/pako/dist/pako_inflate.es5.min.js +2 -0
- package/node_modules/pako/dist/pako_inflate.js +3239 -0
- package/node_modules/pako/dist/pako_inflate.min.js +2 -0
- package/node_modules/pako/index.js +18 -0
- package/node_modules/pako/lib/deflate.js +380 -0
- package/node_modules/pako/lib/inflate.js +419 -0
- package/node_modules/pako/lib/utils/common.js +48 -0
- package/node_modules/pako/lib/utils/strings.js +174 -0
- package/node_modules/pako/lib/zlib/README +59 -0
- package/node_modules/pako/lib/zlib/adler32.js +51 -0
- package/node_modules/pako/lib/zlib/constants.js +68 -0
- package/node_modules/pako/lib/zlib/crc32.js +59 -0
- package/node_modules/pako/lib/zlib/deflate.js +2048 -0
- package/node_modules/pako/lib/zlib/gzheader.js +58 -0
- package/node_modules/pako/lib/zlib/inffast.js +344 -0
- package/node_modules/pako/lib/zlib/inflate.js +1572 -0
- package/node_modules/pako/lib/zlib/inftrees.js +340 -0
- package/node_modules/pako/lib/zlib/messages.js +32 -0
- package/node_modules/pako/lib/zlib/trees.js +1179 -0
- package/node_modules/pako/lib/zlib/zstream.js +47 -0
- package/node_modules/pako/package.json +64 -0
- package/node_modules/rpc-websockets/LICENSE +10 -0
- package/node_modules/rpc-websockets/README.md +156 -0
- package/node_modules/rpc-websockets/dist/index.browser-bundle.js +14 -0
- package/node_modules/rpc-websockets/dist/index.browser.cjs +389 -0
- package/node_modules/rpc-websockets/dist/index.browser.cjs.map +1 -0
- package/node_modules/rpc-websockets/dist/index.browser.d.mts +225 -0
- package/node_modules/rpc-websockets/dist/index.browser.d.ts +225 -0
- package/node_modules/rpc-websockets/dist/index.browser.mjs +384 -0
- package/node_modules/rpc-websockets/dist/index.browser.mjs.map +1 -0
- package/node_modules/rpc-websockets/dist/index.cjs +898 -0
- package/node_modules/rpc-websockets/dist/index.cjs.map +1 -0
- package/node_modules/rpc-websockets/dist/index.d.mts +415 -0
- package/node_modules/rpc-websockets/dist/index.d.ts +415 -0
- package/node_modules/rpc-websockets/dist/index.mjs +886 -0
- package/node_modules/rpc-websockets/dist/index.mjs.map +1 -0
- package/node_modules/rpc-websockets/node_modules/@types/ws/LICENSE +21 -0
- package/node_modules/rpc-websockets/node_modules/@types/ws/README.md +15 -0
- package/node_modules/rpc-websockets/node_modules/@types/ws/index.d.mts +451 -0
- package/node_modules/rpc-websockets/node_modules/@types/ws/index.d.ts +445 -0
- package/node_modules/rpc-websockets/node_modules/@types/ws/package.json +72 -0
- package/node_modules/rpc-websockets/node_modules/eventemitter3/LICENSE +21 -0
- package/node_modules/rpc-websockets/node_modules/eventemitter3/README.md +94 -0
- package/node_modules/rpc-websockets/node_modules/eventemitter3/dist/eventemitter3.esm.js +347 -0
- package/node_modules/rpc-websockets/node_modules/eventemitter3/dist/eventemitter3.esm.min.js +1 -0
- package/node_modules/rpc-websockets/node_modules/eventemitter3/dist/eventemitter3.esm.min.js.map +1 -0
- package/node_modules/rpc-websockets/node_modules/eventemitter3/dist/eventemitter3.umd.js +355 -0
- package/node_modules/rpc-websockets/node_modules/eventemitter3/dist/eventemitter3.umd.min.js +1 -0
- package/node_modules/rpc-websockets/node_modules/eventemitter3/dist/eventemitter3.umd.min.js.map +1 -0
- package/node_modules/rpc-websockets/node_modules/eventemitter3/index.d.ts +135 -0
- package/node_modules/rpc-websockets/node_modules/eventemitter3/index.js +336 -0
- package/node_modules/rpc-websockets/node_modules/eventemitter3/index.mjs +4 -0
- package/node_modules/rpc-websockets/node_modules/eventemitter3/package.json +67 -0
- package/node_modules/rpc-websockets/node_modules/ws/LICENSE +20 -0
- package/node_modules/rpc-websockets/node_modules/ws/README.md +548 -0
- package/node_modules/rpc-websockets/node_modules/ws/browser.js +8 -0
- package/node_modules/rpc-websockets/node_modules/ws/index.js +13 -0
- package/node_modules/rpc-websockets/node_modules/ws/lib/buffer-util.js +131 -0
- package/node_modules/rpc-websockets/node_modules/ws/lib/constants.js +18 -0
- package/node_modules/rpc-websockets/node_modules/ws/lib/event-target.js +292 -0
- package/node_modules/rpc-websockets/node_modules/ws/lib/extension.js +203 -0
- package/node_modules/rpc-websockets/node_modules/ws/lib/limiter.js +55 -0
- package/node_modules/rpc-websockets/node_modules/ws/lib/permessage-deflate.js +528 -0
- package/node_modules/rpc-websockets/node_modules/ws/lib/receiver.js +706 -0
- package/node_modules/rpc-websockets/node_modules/ws/lib/sender.js +602 -0
- package/node_modules/rpc-websockets/node_modules/ws/lib/stream.js +161 -0
- package/node_modules/rpc-websockets/node_modules/ws/lib/subprotocol.js +62 -0
- package/node_modules/rpc-websockets/node_modules/ws/lib/validation.js +152 -0
- package/node_modules/rpc-websockets/node_modules/ws/lib/websocket-server.js +540 -0
- package/node_modules/rpc-websockets/node_modules/ws/lib/websocket.js +1388 -0
- package/node_modules/rpc-websockets/node_modules/ws/package.json +69 -0
- package/node_modules/rpc-websockets/node_modules/ws/wrapper.mjs +8 -0
- package/node_modules/rpc-websockets/package.json +90 -0
- package/node_modules/safe-buffer/LICENSE +21 -0
- package/node_modules/safe-buffer/README.md +584 -0
- package/node_modules/safe-buffer/index.d.ts +187 -0
- package/node_modules/safe-buffer/index.js +65 -0
- package/node_modules/safe-buffer/package.json +51 -0
- package/node_modules/stream-chain/LICENSE +11 -0
- package/node_modules/stream-chain/README.md +334 -0
- package/node_modules/stream-chain/defs.js +22 -0
- package/node_modules/stream-chain/index.js +203 -0
- package/node_modules/stream-chain/package.json +31 -0
- package/node_modules/stream-chain/utils/FromIterable.js +94 -0
- package/node_modules/stream-chain/utils/Reduce.js +40 -0
- package/node_modules/stream-chain/utils/asFun.js +85 -0
- package/node_modules/stream-chain/utils/asGen.js +77 -0
- package/node_modules/stream-chain/utils/comp.js +20 -0
- package/node_modules/stream-chain/utils/fold.js +43 -0
- package/node_modules/stream-chain/utils/gen.js +24 -0
- package/node_modules/stream-chain/utils/scan.js +41 -0
- package/node_modules/stream-chain/utils/skip.js +32 -0
- package/node_modules/stream-chain/utils/skipWhile.js +46 -0
- package/node_modules/stream-chain/utils/take.js +39 -0
- package/node_modules/stream-chain/utils/takeWhile.js +47 -0
- package/node_modules/stream-json/Assembler.js +154 -0
- package/node_modules/stream-json/Disassembler.js +209 -0
- package/node_modules/stream-json/Emitter.js +22 -0
- package/node_modules/stream-json/LICENSE +34 -0
- package/node_modules/stream-json/Parser.js +545 -0
- package/node_modules/stream-json/README.md +128 -0
- package/node_modules/stream-json/Stringer.js +153 -0
- package/node_modules/stream-json/filters/Filter.js +130 -0
- package/node_modules/stream-json/filters/FilterBase.js +201 -0
- package/node_modules/stream-json/filters/Ignore.js +24 -0
- package/node_modules/stream-json/filters/Pick.js +58 -0
- package/node_modules/stream-json/filters/Replace.js +115 -0
- package/node_modules/stream-json/index.js +11 -0
- package/node_modules/stream-json/jsonl/Parser.js +131 -0
- package/node_modules/stream-json/jsonl/Stringer.js +29 -0
- package/node_modules/stream-json/package.json +45 -0
- package/node_modules/stream-json/streamers/StreamArray.js +44 -0
- package/node_modules/stream-json/streamers/StreamBase.js +101 -0
- package/node_modules/stream-json/streamers/StreamObject.js +43 -0
- package/node_modules/stream-json/streamers/StreamValues.js +33 -0
- package/node_modules/stream-json/utils/Batch.js +44 -0
- package/node_modules/stream-json/utils/Utf8Stream.js +53 -0
- package/node_modules/stream-json/utils/Verifier.js +485 -0
- package/node_modules/stream-json/utils/emit.js +5 -0
- package/node_modules/stream-json/utils/withParser.js +10 -0
- package/node_modules/superstruct/License.md +9 -0
- package/node_modules/superstruct/Readme.md +228 -0
- package/node_modules/superstruct/lib/coercions.d.ts +19 -0
- package/node_modules/superstruct/lib/coercions.d.ts.map +1 -0
- package/node_modules/superstruct/lib/error.d.ts +32 -0
- package/node_modules/superstruct/lib/error.d.ts.map +1 -0
- package/node_modules/superstruct/lib/index.cjs +1257 -0
- package/node_modules/superstruct/lib/index.cjs.d.ts +579 -0
- package/node_modules/superstruct/lib/index.cjs.map +1 -0
- package/node_modules/superstruct/lib/index.d.cts +579 -0
- package/node_modules/superstruct/lib/index.d.ts +7 -0
- package/node_modules/superstruct/lib/index.d.ts.map +1 -0
- package/node_modules/superstruct/lib/index.es.d.ts +579 -0
- package/node_modules/superstruct/lib/index.es.js +1203 -0
- package/node_modules/superstruct/lib/index.es.js.map +1 -0
- package/node_modules/superstruct/lib/refinements.d.ts +19 -0
- package/node_modules/superstruct/lib/refinements.d.ts.map +1 -0
- package/node_modules/superstruct/lib/struct.d.ts +110 -0
- package/node_modules/superstruct/lib/struct.d.ts.map +1 -0
- package/node_modules/superstruct/lib/structs/coercions.d.ts +29 -0
- package/node_modules/superstruct/lib/structs/coercions.d.ts.map +1 -0
- package/node_modules/superstruct/lib/structs/refinements.d.ts +38 -0
- package/node_modules/superstruct/lib/structs/refinements.d.ts.map +1 -0
- package/node_modules/superstruct/lib/structs/types.d.ts +142 -0
- package/node_modules/superstruct/lib/structs/types.d.ts.map +1 -0
- package/node_modules/superstruct/lib/structs/utilities.d.ts +66 -0
- package/node_modules/superstruct/lib/structs/utilities.d.ts.map +1 -0
- package/node_modules/superstruct/lib/types.d.ts +200 -0
- package/node_modules/superstruct/lib/types.d.ts.map +1 -0
- package/node_modules/superstruct/lib/typings.d.ts +36 -0
- package/node_modules/superstruct/lib/typings.d.ts.map +1 -0
- package/node_modules/superstruct/lib/utilities.d.ts +56 -0
- package/node_modules/superstruct/lib/utilities.d.ts.map +1 -0
- package/node_modules/superstruct/lib/utils.d.ts +139 -0
- package/node_modules/superstruct/lib/utils.d.ts.map +1 -0
- package/node_modules/superstruct/lib/xtras.d.ts +56 -0
- package/node_modules/superstruct/lib/xtras.d.ts.map +1 -0
- package/node_modules/superstruct/package.json +110 -0
- package/node_modules/superstruct/umd/coercions.d.ts +18 -0
- package/node_modules/superstruct/umd/index.d.ts +4 -0
- package/node_modules/superstruct/umd/refinements.d.ts +14 -0
- package/node_modules/superstruct/umd/struct.d.ts +80 -0
- package/node_modules/superstruct/umd/superstruct.d.ts +579 -0
- package/node_modules/superstruct/umd/superstruct.js +1262 -0
- package/node_modules/superstruct/umd/superstruct.min.d.ts +579 -0
- package/node_modules/superstruct/umd/superstruct.min.js +1 -0
- package/node_modules/superstruct/umd/types.d.ts +127 -0
- package/node_modules/superstruct/umd/utils.d.ts +9 -0
- package/node_modules/text-encoding-utf-8/LICENSE.md +29 -0
- package/node_modules/text-encoding-utf-8/README.md +63 -0
- package/node_modules/text-encoding-utf-8/lib/encoding.js +655 -0
- package/node_modules/text-encoding-utf-8/lib/encoding.lib.js +642 -0
- package/node_modules/text-encoding-utf-8/lib/encoding.lib.mjs +665 -0
- package/node_modules/text-encoding-utf-8/package.json +26 -0
- package/node_modules/text-encoding-utf-8/src/encoding.js +665 -0
- package/node_modules/text-encoding-utf-8/src/polyfill.js +21 -0
- package/node_modules/toml/.jshintrc +18 -0
- package/node_modules/toml/.travis.yml +7 -0
- package/node_modules/toml/CHANGELOG.md +116 -0
- package/node_modules/toml/LICENSE +22 -0
- package/node_modules/toml/README.md +93 -0
- package/node_modules/toml/benchmark.js +12 -0
- package/node_modules/toml/index.d.ts +3 -0
- package/node_modules/toml/index.js +9 -0
- package/node_modules/toml/lib/compiler.js +195 -0
- package/node_modules/toml/lib/parser.js +3841 -0
- package/node_modules/toml/package.json +24 -0
- package/node_modules/toml/src/toml.pegjs +231 -0
- package/node_modules/toml/test/bad.toml +5 -0
- package/node_modules/toml/test/example.toml +32 -0
- package/node_modules/toml/test/hard_example.toml +33 -0
- package/node_modules/toml/test/inline_tables.toml +10 -0
- package/node_modules/toml/test/literal_strings.toml +5 -0
- package/node_modules/toml/test/multiline_eat_whitespace.toml +15 -0
- package/node_modules/toml/test/multiline_literal_strings.toml +7 -0
- package/node_modules/toml/test/multiline_strings.toml +6 -0
- package/node_modules/toml/test/smoke.js +22 -0
- package/node_modules/toml/test/table_arrays_easy.toml +10 -0
- package/node_modules/toml/test/table_arrays_hard.toml +31 -0
- package/node_modules/toml/test/test_toml.js +596 -0
- package/node_modules/tslib/CopyrightNotice.txt +15 -0
- package/node_modules/tslib/LICENSE.txt +12 -0
- package/node_modules/tslib/README.md +164 -0
- package/node_modules/tslib/SECURITY.md +41 -0
- package/node_modules/tslib/modules/index.d.ts +38 -0
- package/node_modules/tslib/modules/index.js +70 -0
- package/node_modules/tslib/modules/package.json +3 -0
- package/node_modules/tslib/package.json +47 -0
- package/node_modules/tslib/tslib.d.ts +460 -0
- package/node_modules/tslib/tslib.es6.html +1 -0
- package/node_modules/tslib/tslib.es6.js +402 -0
- package/node_modules/tslib/tslib.es6.mjs +401 -0
- package/node_modules/tslib/tslib.html +1 -0
- package/node_modules/tslib/tslib.js +484 -0
- package/node_modules/undici-types/LICENSE +21 -0
- package/node_modules/undici-types/README.md +6 -0
- package/node_modules/undici-types/agent.d.ts +31 -0
- package/node_modules/undici-types/api.d.ts +43 -0
- package/node_modules/undici-types/balanced-pool.d.ts +29 -0
- package/node_modules/undici-types/cache.d.ts +36 -0
- package/node_modules/undici-types/client.d.ts +108 -0
- package/node_modules/undici-types/connector.d.ts +34 -0
- package/node_modules/undici-types/content-type.d.ts +21 -0
- package/node_modules/undici-types/cookies.d.ts +28 -0
- package/node_modules/undici-types/diagnostics-channel.d.ts +66 -0
- package/node_modules/undici-types/dispatcher.d.ts +256 -0
- package/node_modules/undici-types/env-http-proxy-agent.d.ts +21 -0
- package/node_modules/undici-types/errors.d.ts +149 -0
- package/node_modules/undici-types/eventsource.d.ts +61 -0
- package/node_modules/undici-types/fetch.d.ts +209 -0
- package/node_modules/undici-types/file.d.ts +39 -0
- package/node_modules/undici-types/filereader.d.ts +54 -0
- package/node_modules/undici-types/formdata.d.ts +108 -0
- package/node_modules/undici-types/global-dispatcher.d.ts +9 -0
- package/node_modules/undici-types/global-origin.d.ts +7 -0
- package/node_modules/undici-types/handlers.d.ts +15 -0
- package/node_modules/undici-types/header.d.ts +4 -0
- package/node_modules/undici-types/index.d.ts +71 -0
- package/node_modules/undici-types/interceptors.d.ts +17 -0
- package/node_modules/undici-types/mock-agent.d.ts +50 -0
- package/node_modules/undici-types/mock-client.d.ts +25 -0
- package/node_modules/undici-types/mock-errors.d.ts +12 -0
- package/node_modules/undici-types/mock-interceptor.d.ts +93 -0
- package/node_modules/undici-types/mock-pool.d.ts +25 -0
- package/node_modules/undici-types/package.json +55 -0
- package/node_modules/undici-types/patch.d.ts +33 -0
- package/node_modules/undici-types/pool-stats.d.ts +19 -0
- package/node_modules/undici-types/pool.d.ts +39 -0
- package/node_modules/undici-types/proxy-agent.d.ts +28 -0
- package/node_modules/undici-types/readable.d.ts +65 -0
- package/node_modules/undici-types/retry-agent.d.ts +8 -0
- package/node_modules/undici-types/retry-handler.d.ts +116 -0
- package/node_modules/undici-types/util.d.ts +18 -0
- package/node_modules/undici-types/webidl.d.ts +228 -0
- package/node_modules/undici-types/websocket.d.ts +150 -0
- package/node_modules/utf-8-validate/LICENSE +30 -0
- package/node_modules/utf-8-validate/README.md +50 -0
- package/node_modules/utf-8-validate/binding.gyp +18 -0
- package/node_modules/utf-8-validate/fallback.js +62 -0
- package/node_modules/utf-8-validate/index.js +7 -0
- package/node_modules/utf-8-validate/package.json +36 -0
- package/node_modules/utf-8-validate/prebuilds/darwin-x64+arm64/node.napi.node +0 -0
- package/node_modules/utf-8-validate/prebuilds/linux-x64/node.napi.node +0 -0
- package/node_modules/utf-8-validate/prebuilds/win32-ia32/node.napi.node +0 -0
- package/node_modules/utf-8-validate/prebuilds/win32-x64/node.napi.node +0 -0
- package/node_modules/utf-8-validate/src/validation.c +109 -0
- package/node_modules/uuid/CHANGELOG.md +229 -0
- package/node_modules/uuid/CONTRIBUTING.md +18 -0
- package/node_modules/uuid/LICENSE.md +9 -0
- package/node_modules/uuid/README.md +505 -0
- package/node_modules/uuid/dist/bin/uuid +2 -0
- package/node_modules/uuid/dist/esm-browser/index.js +9 -0
- package/node_modules/uuid/dist/esm-browser/md5.js +215 -0
- package/node_modules/uuid/dist/esm-browser/nil.js +1 -0
- package/node_modules/uuid/dist/esm-browser/parse.js +35 -0
- package/node_modules/uuid/dist/esm-browser/regex.js +1 -0
- package/node_modules/uuid/dist/esm-browser/rng.js +19 -0
- package/node_modules/uuid/dist/esm-browser/sha1.js +96 -0
- package/node_modules/uuid/dist/esm-browser/stringify.js +30 -0
- package/node_modules/uuid/dist/esm-browser/v1.js +95 -0
- package/node_modules/uuid/dist/esm-browser/v3.js +4 -0
- package/node_modules/uuid/dist/esm-browser/v35.js +64 -0
- package/node_modules/uuid/dist/esm-browser/v4.js +24 -0
- package/node_modules/uuid/dist/esm-browser/v5.js +4 -0
- package/node_modules/uuid/dist/esm-browser/validate.js +7 -0
- package/node_modules/uuid/dist/esm-browser/version.js +11 -0
- package/node_modules/uuid/dist/esm-node/index.js +9 -0
- package/node_modules/uuid/dist/esm-node/md5.js +13 -0
- package/node_modules/uuid/dist/esm-node/nil.js +1 -0
- package/node_modules/uuid/dist/esm-node/parse.js +35 -0
- package/node_modules/uuid/dist/esm-node/regex.js +1 -0
- package/node_modules/uuid/dist/esm-node/rng.js +12 -0
- package/node_modules/uuid/dist/esm-node/sha1.js +13 -0
- package/node_modules/uuid/dist/esm-node/stringify.js +29 -0
- package/node_modules/uuid/dist/esm-node/v1.js +95 -0
- package/node_modules/uuid/dist/esm-node/v3.js +4 -0
- package/node_modules/uuid/dist/esm-node/v35.js +64 -0
- package/node_modules/uuid/dist/esm-node/v4.js +24 -0
- package/node_modules/uuid/dist/esm-node/v5.js +4 -0
- package/node_modules/uuid/dist/esm-node/validate.js +7 -0
- package/node_modules/uuid/dist/esm-node/version.js +11 -0
- package/node_modules/uuid/dist/index.js +79 -0
- package/node_modules/uuid/dist/md5-browser.js +223 -0
- package/node_modules/uuid/dist/md5.js +23 -0
- package/node_modules/uuid/dist/nil.js +8 -0
- package/node_modules/uuid/dist/parse.js +45 -0
- package/node_modules/uuid/dist/regex.js +8 -0
- package/node_modules/uuid/dist/rng-browser.js +26 -0
- package/node_modules/uuid/dist/rng.js +24 -0
- package/node_modules/uuid/dist/sha1-browser.js +104 -0
- package/node_modules/uuid/dist/sha1.js +23 -0
- package/node_modules/uuid/dist/stringify.js +39 -0
- package/node_modules/uuid/dist/umd/uuid.min.js +1 -0
- package/node_modules/uuid/dist/umd/uuidNIL.min.js +1 -0
- package/node_modules/uuid/dist/umd/uuidParse.min.js +1 -0
- package/node_modules/uuid/dist/umd/uuidStringify.min.js +1 -0
- package/node_modules/uuid/dist/umd/uuidValidate.min.js +1 -0
- package/node_modules/uuid/dist/umd/uuidVersion.min.js +1 -0
- package/node_modules/uuid/dist/umd/uuidv1.min.js +1 -0
- package/node_modules/uuid/dist/umd/uuidv3.min.js +1 -0
- package/node_modules/uuid/dist/umd/uuidv4.min.js +1 -0
- package/node_modules/uuid/dist/umd/uuidv5.min.js +1 -0
- package/node_modules/uuid/dist/uuid-bin.js +85 -0
- package/node_modules/uuid/dist/v1.js +107 -0
- package/node_modules/uuid/dist/v3.js +16 -0
- package/node_modules/uuid/dist/v35.js +78 -0
- package/node_modules/uuid/dist/v4.js +37 -0
- package/node_modules/uuid/dist/v5.js +16 -0
- package/node_modules/uuid/dist/validate.js +17 -0
- package/node_modules/uuid/dist/version.js +21 -0
- package/node_modules/uuid/package.json +135 -0
- package/node_modules/uuid/wrapper.mjs +10 -0
- package/node_modules/webidl-conversions/LICENSE.md +12 -0
- package/node_modules/webidl-conversions/README.md +53 -0
- package/node_modules/webidl-conversions/lib/index.js +189 -0
- package/node_modules/webidl-conversions/package.json +23 -0
- package/node_modules/whatwg-url/LICENSE.txt +21 -0
- package/node_modules/whatwg-url/README.md +67 -0
- package/node_modules/whatwg-url/lib/URL-impl.js +200 -0
- package/node_modules/whatwg-url/lib/URL.js +196 -0
- package/node_modules/whatwg-url/lib/public-api.js +11 -0
- package/node_modules/whatwg-url/lib/url-state-machine.js +1297 -0
- package/node_modules/whatwg-url/lib/utils.js +20 -0
- package/node_modules/whatwg-url/node_modules/tr46/.npmignore +4 -0
- package/node_modules/whatwg-url/node_modules/tr46/index.js +193 -0
- package/node_modules/whatwg-url/node_modules/tr46/lib/.gitkeep +0 -0
- package/node_modules/whatwg-url/node_modules/tr46/lib/mappingTable.json +1 -0
- package/node_modules/whatwg-url/node_modules/tr46/package.json +31 -0
- package/node_modules/whatwg-url/package.json +32 -0
- package/node_modules/ws/LICENSE +21 -0
- package/node_modules/ws/README.md +495 -0
- package/node_modules/ws/browser.js +8 -0
- package/node_modules/ws/index.js +10 -0
- package/node_modules/ws/lib/buffer-util.js +129 -0
- package/node_modules/ws/lib/constants.js +10 -0
- package/node_modules/ws/lib/event-target.js +184 -0
- package/node_modules/ws/lib/extension.js +223 -0
- package/node_modules/ws/lib/limiter.js +55 -0
- package/node_modules/ws/lib/permessage-deflate.js +518 -0
- package/node_modules/ws/lib/receiver.js +607 -0
- package/node_modules/ws/lib/sender.js +409 -0
- package/node_modules/ws/lib/stream.js +180 -0
- package/node_modules/ws/lib/validation.js +104 -0
- package/node_modules/ws/lib/websocket-server.js +449 -0
- package/node_modules/ws/lib/websocket.js +1197 -0
- package/node_modules/ws/package.json +56 -0
- package/package.json +4 -1
|
@@ -0,0 +1,1549 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The `node:child_process` module provides the ability to spawn subprocesses in
|
|
3
|
+
* a manner that is similar, but not identical, to [`popen(3)`](http://man7.org/linux/man-pages/man3/popen.3.html). This capability
|
|
4
|
+
* is primarily provided by the {@link spawn} function:
|
|
5
|
+
*
|
|
6
|
+
* ```js
|
|
7
|
+
* import { spawn } from 'node:child_process';
|
|
8
|
+
* const ls = spawn('ls', ['-lh', '/usr']);
|
|
9
|
+
*
|
|
10
|
+
* ls.stdout.on('data', (data) => {
|
|
11
|
+
* console.log(`stdout: ${data}`);
|
|
12
|
+
* });
|
|
13
|
+
*
|
|
14
|
+
* ls.stderr.on('data', (data) => {
|
|
15
|
+
* console.error(`stderr: ${data}`);
|
|
16
|
+
* });
|
|
17
|
+
*
|
|
18
|
+
* ls.on('close', (code) => {
|
|
19
|
+
* console.log(`child process exited with code ${code}`);
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* By default, pipes for `stdin`, `stdout`, and `stderr` are established between
|
|
24
|
+
* the parent Node.js process and the spawned subprocess. These pipes have
|
|
25
|
+
* limited (and platform-specific) capacity. If the subprocess writes to
|
|
26
|
+
* stdout in excess of that limit without the output being captured, the
|
|
27
|
+
* subprocess blocks waiting for the pipe buffer to accept more data. This is
|
|
28
|
+
* identical to the behavior of pipes in the shell. Use the `{ stdio: 'ignore' }` option if the output will not be consumed.
|
|
29
|
+
*
|
|
30
|
+
* The command lookup is performed using the `options.env.PATH` environment
|
|
31
|
+
* variable if `env` is in the `options` object. Otherwise, `process.env.PATH` is
|
|
32
|
+
* used. If `options.env` is set without `PATH`, lookup on Unix is performed
|
|
33
|
+
* on a default search path search of `/usr/bin:/bin` (see your operating system's
|
|
34
|
+
* manual for execvpe/execvp), on Windows the current processes environment
|
|
35
|
+
* variable `PATH` is used.
|
|
36
|
+
*
|
|
37
|
+
* On Windows, environment variables are case-insensitive. Node.js
|
|
38
|
+
* lexicographically sorts the `env` keys and uses the first one that
|
|
39
|
+
* case-insensitively matches. Only first (in lexicographic order) entry will be
|
|
40
|
+
* passed to the subprocess. This might lead to issues on Windows when passing
|
|
41
|
+
* objects to the `env` option that have multiple variants of the same key, such as `PATH` and `Path`.
|
|
42
|
+
*
|
|
43
|
+
* The {@link spawn} method spawns the child process asynchronously,
|
|
44
|
+
* without blocking the Node.js event loop. The {@link spawnSync} function provides equivalent functionality in a synchronous manner that blocks
|
|
45
|
+
* the event loop until the spawned process either exits or is terminated.
|
|
46
|
+
*
|
|
47
|
+
* For convenience, the `node:child_process` module provides a handful of
|
|
48
|
+
* synchronous and asynchronous alternatives to {@link spawn} and {@link spawnSync}. Each of these alternatives are implemented on
|
|
49
|
+
* top of {@link spawn} or {@link spawnSync}.
|
|
50
|
+
*
|
|
51
|
+
* * {@link exec}: spawns a shell and runs a command within that
|
|
52
|
+
* shell, passing the `stdout` and `stderr` to a callback function when
|
|
53
|
+
* complete.
|
|
54
|
+
* * {@link execFile}: similar to {@link exec} except
|
|
55
|
+
* that it spawns the command directly without first spawning a shell by
|
|
56
|
+
* default.
|
|
57
|
+
* * {@link fork}: spawns a new Node.js process and invokes a
|
|
58
|
+
* specified module with an IPC communication channel established that allows
|
|
59
|
+
* sending messages between parent and child.
|
|
60
|
+
* * {@link execSync}: a synchronous version of {@link exec} that will block the Node.js event loop.
|
|
61
|
+
* * {@link execFileSync}: a synchronous version of {@link execFile} that will block the Node.js event loop.
|
|
62
|
+
*
|
|
63
|
+
* For certain use cases, such as automating shell scripts, the `synchronous counterparts` may be more convenient. In many cases, however,
|
|
64
|
+
* the synchronous methods can have significant impact on performance due to
|
|
65
|
+
* stalling the event loop while spawned processes complete.
|
|
66
|
+
* @see [source](https://github.com/nodejs/node/blob/v22.x/lib/child_process.js)
|
|
67
|
+
*/
|
|
68
|
+
declare module "child_process" {
|
|
69
|
+
import { ObjectEncodingOptions } from "node:fs";
|
|
70
|
+
import { Abortable, EventEmitter } from "node:events";
|
|
71
|
+
import * as dgram from "node:dgram";
|
|
72
|
+
import * as net from "node:net";
|
|
73
|
+
import { Pipe, Readable, Stream, Writable } from "node:stream";
|
|
74
|
+
import { URL } from "node:url";
|
|
75
|
+
type Serializable = string | object | number | boolean | bigint;
|
|
76
|
+
type SendHandle = net.Socket | net.Server | dgram.Socket | undefined;
|
|
77
|
+
/**
|
|
78
|
+
* Instances of the `ChildProcess` represent spawned child processes.
|
|
79
|
+
*
|
|
80
|
+
* Instances of `ChildProcess` are not intended to be created directly. Rather,
|
|
81
|
+
* use the {@link spawn}, {@link exec},{@link execFile}, or {@link fork} methods to create
|
|
82
|
+
* instances of `ChildProcess`.
|
|
83
|
+
* @since v2.2.0
|
|
84
|
+
*/
|
|
85
|
+
class ChildProcess extends EventEmitter {
|
|
86
|
+
/**
|
|
87
|
+
* A `Writable Stream` that represents the child process's `stdin`.
|
|
88
|
+
*
|
|
89
|
+
* If a child process waits to read all of its input, the child will not continue
|
|
90
|
+
* until this stream has been closed via `end()`.
|
|
91
|
+
*
|
|
92
|
+
* If the child was spawned with `stdio[0]` set to anything other than `'pipe'`,
|
|
93
|
+
* then this will be `null`.
|
|
94
|
+
*
|
|
95
|
+
* `subprocess.stdin` is an alias for `subprocess.stdio[0]`. Both properties will
|
|
96
|
+
* refer to the same value.
|
|
97
|
+
*
|
|
98
|
+
* The `subprocess.stdin` property can be `null` or `undefined` if the child process could not be successfully spawned.
|
|
99
|
+
* @since v0.1.90
|
|
100
|
+
*/
|
|
101
|
+
stdin: Writable | null;
|
|
102
|
+
/**
|
|
103
|
+
* A `Readable Stream` that represents the child process's `stdout`.
|
|
104
|
+
*
|
|
105
|
+
* If the child was spawned with `stdio[1]` set to anything other than `'pipe'`,
|
|
106
|
+
* then this will be `null`.
|
|
107
|
+
*
|
|
108
|
+
* `subprocess.stdout` is an alias for `subprocess.stdio[1]`. Both properties will
|
|
109
|
+
* refer to the same value.
|
|
110
|
+
*
|
|
111
|
+
* ```js
|
|
112
|
+
* import { spawn } from 'node:child_process';
|
|
113
|
+
*
|
|
114
|
+
* const subprocess = spawn('ls');
|
|
115
|
+
*
|
|
116
|
+
* subprocess.stdout.on('data', (data) => {
|
|
117
|
+
* console.log(`Received chunk ${data}`);
|
|
118
|
+
* });
|
|
119
|
+
* ```
|
|
120
|
+
*
|
|
121
|
+
* The `subprocess.stdout` property can be `null` or `undefined` if the child process could not be successfully spawned.
|
|
122
|
+
* @since v0.1.90
|
|
123
|
+
*/
|
|
124
|
+
stdout: Readable | null;
|
|
125
|
+
/**
|
|
126
|
+
* A `Readable Stream` that represents the child process's `stderr`.
|
|
127
|
+
*
|
|
128
|
+
* If the child was spawned with `stdio[2]` set to anything other than `'pipe'`,
|
|
129
|
+
* then this will be `null`.
|
|
130
|
+
*
|
|
131
|
+
* `subprocess.stderr` is an alias for `subprocess.stdio[2]`. Both properties will
|
|
132
|
+
* refer to the same value.
|
|
133
|
+
*
|
|
134
|
+
* The `subprocess.stderr` property can be `null` or `undefined` if the child process could not be successfully spawned.
|
|
135
|
+
* @since v0.1.90
|
|
136
|
+
*/
|
|
137
|
+
stderr: Readable | null;
|
|
138
|
+
/**
|
|
139
|
+
* The `subprocess.channel` property is a reference to the child's IPC channel. If
|
|
140
|
+
* no IPC channel exists, this property is `undefined`.
|
|
141
|
+
* @since v7.1.0
|
|
142
|
+
*/
|
|
143
|
+
readonly channel?: Pipe | null | undefined;
|
|
144
|
+
/**
|
|
145
|
+
* A sparse array of pipes to the child process, corresponding with positions in
|
|
146
|
+
* the `stdio` option passed to {@link spawn} that have been set
|
|
147
|
+
* to the value `'pipe'`. `subprocess.stdio[0]`, `subprocess.stdio[1]`, and `subprocess.stdio[2]` are also available as `subprocess.stdin`, `subprocess.stdout`, and `subprocess.stderr`,
|
|
148
|
+
* respectively.
|
|
149
|
+
*
|
|
150
|
+
* In the following example, only the child's fd `1` (stdout) is configured as a
|
|
151
|
+
* pipe, so only the parent's `subprocess.stdio[1]` is a stream, all other values
|
|
152
|
+
* in the array are `null`.
|
|
153
|
+
*
|
|
154
|
+
* ```js
|
|
155
|
+
* import assert from 'node:assert';
|
|
156
|
+
* import fs from 'node:fs';
|
|
157
|
+
* import child_process from 'node:child_process';
|
|
158
|
+
*
|
|
159
|
+
* const subprocess = child_process.spawn('ls', {
|
|
160
|
+
* stdio: [
|
|
161
|
+
* 0, // Use parent's stdin for child.
|
|
162
|
+
* 'pipe', // Pipe child's stdout to parent.
|
|
163
|
+
* fs.openSync('err.out', 'w'), // Direct child's stderr to a file.
|
|
164
|
+
* ],
|
|
165
|
+
* });
|
|
166
|
+
*
|
|
167
|
+
* assert.strictEqual(subprocess.stdio[0], null);
|
|
168
|
+
* assert.strictEqual(subprocess.stdio[0], subprocess.stdin);
|
|
169
|
+
*
|
|
170
|
+
* assert(subprocess.stdout);
|
|
171
|
+
* assert.strictEqual(subprocess.stdio[1], subprocess.stdout);
|
|
172
|
+
*
|
|
173
|
+
* assert.strictEqual(subprocess.stdio[2], null);
|
|
174
|
+
* assert.strictEqual(subprocess.stdio[2], subprocess.stderr);
|
|
175
|
+
* ```
|
|
176
|
+
*
|
|
177
|
+
* The `subprocess.stdio` property can be `undefined` if the child process could
|
|
178
|
+
* not be successfully spawned.
|
|
179
|
+
* @since v0.7.10
|
|
180
|
+
*/
|
|
181
|
+
readonly stdio: [
|
|
182
|
+
Writable | null,
|
|
183
|
+
// stdin
|
|
184
|
+
Readable | null,
|
|
185
|
+
// stdout
|
|
186
|
+
Readable | null,
|
|
187
|
+
// stderr
|
|
188
|
+
Readable | Writable | null | undefined,
|
|
189
|
+
// extra
|
|
190
|
+
Readable | Writable | null | undefined, // extra
|
|
191
|
+
];
|
|
192
|
+
/**
|
|
193
|
+
* The `subprocess.killed` property indicates whether the child process
|
|
194
|
+
* successfully received a signal from `subprocess.kill()`. The `killed` property
|
|
195
|
+
* does not indicate that the child process has been terminated.
|
|
196
|
+
* @since v0.5.10
|
|
197
|
+
*/
|
|
198
|
+
readonly killed: boolean;
|
|
199
|
+
/**
|
|
200
|
+
* Returns the process identifier (PID) of the child process. If the child process
|
|
201
|
+
* fails to spawn due to errors, then the value is `undefined` and `error` is
|
|
202
|
+
* emitted.
|
|
203
|
+
*
|
|
204
|
+
* ```js
|
|
205
|
+
* import { spawn } from 'node:child_process';
|
|
206
|
+
* const grep = spawn('grep', ['ssh']);
|
|
207
|
+
*
|
|
208
|
+
* console.log(`Spawned child pid: ${grep.pid}`);
|
|
209
|
+
* grep.stdin.end();
|
|
210
|
+
* ```
|
|
211
|
+
* @since v0.1.90
|
|
212
|
+
*/
|
|
213
|
+
readonly pid?: number | undefined;
|
|
214
|
+
/**
|
|
215
|
+
* The `subprocess.connected` property indicates whether it is still possible to
|
|
216
|
+
* send and receive messages from a child process. When `subprocess.connected` is `false`, it is no longer possible to send or receive messages.
|
|
217
|
+
* @since v0.7.2
|
|
218
|
+
*/
|
|
219
|
+
readonly connected: boolean;
|
|
220
|
+
/**
|
|
221
|
+
* The `subprocess.exitCode` property indicates the exit code of the child process.
|
|
222
|
+
* If the child process is still running, the field will be `null`.
|
|
223
|
+
*/
|
|
224
|
+
readonly exitCode: number | null;
|
|
225
|
+
/**
|
|
226
|
+
* The `subprocess.signalCode` property indicates the signal received by
|
|
227
|
+
* the child process if any, else `null`.
|
|
228
|
+
*/
|
|
229
|
+
readonly signalCode: NodeJS.Signals | null;
|
|
230
|
+
/**
|
|
231
|
+
* The `subprocess.spawnargs` property represents the full list of command-line
|
|
232
|
+
* arguments the child process was launched with.
|
|
233
|
+
*/
|
|
234
|
+
readonly spawnargs: string[];
|
|
235
|
+
/**
|
|
236
|
+
* The `subprocess.spawnfile` property indicates the executable file name of
|
|
237
|
+
* the child process that is launched.
|
|
238
|
+
*
|
|
239
|
+
* For {@link fork}, its value will be equal to `process.execPath`.
|
|
240
|
+
* For {@link spawn}, its value will be the name of
|
|
241
|
+
* the executable file.
|
|
242
|
+
* For {@link exec}, its value will be the name of the shell
|
|
243
|
+
* in which the child process is launched.
|
|
244
|
+
*/
|
|
245
|
+
readonly spawnfile: string;
|
|
246
|
+
/**
|
|
247
|
+
* The `subprocess.kill()` method sends a signal to the child process. If no
|
|
248
|
+
* argument is given, the process will be sent the `'SIGTERM'` signal. See [`signal(7)`](http://man7.org/linux/man-pages/man7/signal.7.html) for a list of available signals. This function
|
|
249
|
+
* returns `true` if [`kill(2)`](http://man7.org/linux/man-pages/man2/kill.2.html) succeeds, and `false` otherwise.
|
|
250
|
+
*
|
|
251
|
+
* ```js
|
|
252
|
+
* import { spawn } from 'node:child_process';
|
|
253
|
+
* const grep = spawn('grep', ['ssh']);
|
|
254
|
+
*
|
|
255
|
+
* grep.on('close', (code, signal) => {
|
|
256
|
+
* console.log(
|
|
257
|
+
* `child process terminated due to receipt of signal ${signal}`);
|
|
258
|
+
* });
|
|
259
|
+
*
|
|
260
|
+
* // Send SIGHUP to process.
|
|
261
|
+
* grep.kill('SIGHUP');
|
|
262
|
+
* ```
|
|
263
|
+
*
|
|
264
|
+
* The `ChildProcess` object may emit an `'error'` event if the signal
|
|
265
|
+
* cannot be delivered. Sending a signal to a child process that has already exited
|
|
266
|
+
* is not an error but may have unforeseen consequences. Specifically, if the
|
|
267
|
+
* process identifier (PID) has been reassigned to another process, the signal will
|
|
268
|
+
* be delivered to that process instead which can have unexpected results.
|
|
269
|
+
*
|
|
270
|
+
* While the function is called `kill`, the signal delivered to the child process
|
|
271
|
+
* may not actually terminate the process.
|
|
272
|
+
*
|
|
273
|
+
* See [`kill(2)`](http://man7.org/linux/man-pages/man2/kill.2.html) for reference.
|
|
274
|
+
*
|
|
275
|
+
* On Windows, where POSIX signals do not exist, the `signal` argument will be
|
|
276
|
+
* ignored, and the process will be killed forcefully and abruptly (similar to `'SIGKILL'`).
|
|
277
|
+
* See `Signal Events` for more details.
|
|
278
|
+
*
|
|
279
|
+
* On Linux, child processes of child processes will not be terminated
|
|
280
|
+
* when attempting to kill their parent. This is likely to happen when running a
|
|
281
|
+
* new process in a shell or with the use of the `shell` option of `ChildProcess`:
|
|
282
|
+
*
|
|
283
|
+
* ```js
|
|
284
|
+
* 'use strict';
|
|
285
|
+
* import { spawn } from 'node:child_process';
|
|
286
|
+
*
|
|
287
|
+
* const subprocess = spawn(
|
|
288
|
+
* 'sh',
|
|
289
|
+
* [
|
|
290
|
+
* '-c',
|
|
291
|
+
* `node -e "setInterval(() => {
|
|
292
|
+
* console.log(process.pid, 'is alive')
|
|
293
|
+
* }, 500);"`,
|
|
294
|
+
* ], {
|
|
295
|
+
* stdio: ['inherit', 'inherit', 'inherit'],
|
|
296
|
+
* },
|
|
297
|
+
* );
|
|
298
|
+
*
|
|
299
|
+
* setTimeout(() => {
|
|
300
|
+
* subprocess.kill(); // Does not terminate the Node.js process in the shell.
|
|
301
|
+
* }, 2000);
|
|
302
|
+
* ```
|
|
303
|
+
* @since v0.1.90
|
|
304
|
+
*/
|
|
305
|
+
kill(signal?: NodeJS.Signals | number): boolean;
|
|
306
|
+
/**
|
|
307
|
+
* Calls {@link ChildProcess.kill} with `'SIGTERM'`.
|
|
308
|
+
* @since v20.5.0
|
|
309
|
+
*/
|
|
310
|
+
[Symbol.dispose](): void;
|
|
311
|
+
/**
|
|
312
|
+
* When an IPC channel has been established between the parent and child (
|
|
313
|
+
* i.e. when using {@link fork}), the `subprocess.send()` method can
|
|
314
|
+
* be used to send messages to the child process. When the child process is a
|
|
315
|
+
* Node.js instance, these messages can be received via the `'message'` event.
|
|
316
|
+
*
|
|
317
|
+
* The message goes through serialization and parsing. The resulting
|
|
318
|
+
* message might not be the same as what is originally sent.
|
|
319
|
+
*
|
|
320
|
+
* For example, in the parent script:
|
|
321
|
+
*
|
|
322
|
+
* ```js
|
|
323
|
+
* import cp from 'node:child_process';
|
|
324
|
+
* const n = cp.fork(`${__dirname}/sub.js`);
|
|
325
|
+
*
|
|
326
|
+
* n.on('message', (m) => {
|
|
327
|
+
* console.log('PARENT got message:', m);
|
|
328
|
+
* });
|
|
329
|
+
*
|
|
330
|
+
* // Causes the child to print: CHILD got message: { hello: 'world' }
|
|
331
|
+
* n.send({ hello: 'world' });
|
|
332
|
+
* ```
|
|
333
|
+
*
|
|
334
|
+
* And then the child script, `'sub.js'` might look like this:
|
|
335
|
+
*
|
|
336
|
+
* ```js
|
|
337
|
+
* process.on('message', (m) => {
|
|
338
|
+
* console.log('CHILD got message:', m);
|
|
339
|
+
* });
|
|
340
|
+
*
|
|
341
|
+
* // Causes the parent to print: PARENT got message: { foo: 'bar', baz: null }
|
|
342
|
+
* process.send({ foo: 'bar', baz: NaN });
|
|
343
|
+
* ```
|
|
344
|
+
*
|
|
345
|
+
* Child Node.js processes will have a `process.send()` method of their own
|
|
346
|
+
* that allows the child to send messages back to the parent.
|
|
347
|
+
*
|
|
348
|
+
* There is a special case when sending a `{cmd: 'NODE_foo'}` message. Messages
|
|
349
|
+
* containing a `NODE_` prefix in the `cmd` property are reserved for use within
|
|
350
|
+
* Node.js core and will not be emitted in the child's `'message'` event. Rather, such messages are emitted using the `'internalMessage'` event and are consumed internally by Node.js.
|
|
351
|
+
* Applications should avoid using such messages or listening for `'internalMessage'` events as it is subject to change without notice.
|
|
352
|
+
*
|
|
353
|
+
* The optional `sendHandle` argument that may be passed to `subprocess.send()` is
|
|
354
|
+
* for passing a TCP server or socket object to the child process. The child will
|
|
355
|
+
* receive the object as the second argument passed to the callback function
|
|
356
|
+
* registered on the `'message'` event. Any data that is received and buffered in
|
|
357
|
+
* the socket will not be sent to the child. Sending IPC sockets is not supported on Windows.
|
|
358
|
+
*
|
|
359
|
+
* The optional `callback` is a function that is invoked after the message is
|
|
360
|
+
* sent but before the child may have received it. The function is called with a
|
|
361
|
+
* single argument: `null` on success, or an `Error` object on failure.
|
|
362
|
+
*
|
|
363
|
+
* If no `callback` function is provided and the message cannot be sent, an `'error'` event will be emitted by the `ChildProcess` object. This can
|
|
364
|
+
* happen, for instance, when the child process has already exited.
|
|
365
|
+
*
|
|
366
|
+
* `subprocess.send()` will return `false` if the channel has closed or when the
|
|
367
|
+
* backlog of unsent messages exceeds a threshold that makes it unwise to send
|
|
368
|
+
* more. Otherwise, the method returns `true`. The `callback` function can be
|
|
369
|
+
* used to implement flow control.
|
|
370
|
+
*
|
|
371
|
+
* #### Example: sending a server object
|
|
372
|
+
*
|
|
373
|
+
* The `sendHandle` argument can be used, for instance, to pass the handle of
|
|
374
|
+
* a TCP server object to the child process as illustrated in the example below:
|
|
375
|
+
*
|
|
376
|
+
* ```js
|
|
377
|
+
* import { createServer } from 'node:net';
|
|
378
|
+
* import { fork } from 'node:child_process';
|
|
379
|
+
* const subprocess = fork('subprocess.js');
|
|
380
|
+
*
|
|
381
|
+
* // Open up the server object and send the handle.
|
|
382
|
+
* const server = createServer();
|
|
383
|
+
* server.on('connection', (socket) => {
|
|
384
|
+
* socket.end('handled by parent');
|
|
385
|
+
* });
|
|
386
|
+
* server.listen(1337, () => {
|
|
387
|
+
* subprocess.send('server', server);
|
|
388
|
+
* });
|
|
389
|
+
* ```
|
|
390
|
+
*
|
|
391
|
+
* The child would then receive the server object as:
|
|
392
|
+
*
|
|
393
|
+
* ```js
|
|
394
|
+
* process.on('message', (m, server) => {
|
|
395
|
+
* if (m === 'server') {
|
|
396
|
+
* server.on('connection', (socket) => {
|
|
397
|
+
* socket.end('handled by child');
|
|
398
|
+
* });
|
|
399
|
+
* }
|
|
400
|
+
* });
|
|
401
|
+
* ```
|
|
402
|
+
*
|
|
403
|
+
* Once the server is now shared between the parent and child, some connections
|
|
404
|
+
* can be handled by the parent and some by the child.
|
|
405
|
+
*
|
|
406
|
+
* While the example above uses a server created using the `node:net` module, `node:dgram` module servers use exactly the same workflow with the exceptions of
|
|
407
|
+
* listening on a `'message'` event instead of `'connection'` and using `server.bind()` instead of `server.listen()`. This is, however, only
|
|
408
|
+
* supported on Unix platforms.
|
|
409
|
+
*
|
|
410
|
+
* #### Example: sending a socket object
|
|
411
|
+
*
|
|
412
|
+
* Similarly, the `sendHandler` argument can be used to pass the handle of a
|
|
413
|
+
* socket to the child process. The example below spawns two children that each
|
|
414
|
+
* handle connections with "normal" or "special" priority:
|
|
415
|
+
*
|
|
416
|
+
* ```js
|
|
417
|
+
* import { createServer } from 'node:net';
|
|
418
|
+
* import { fork } from 'node:child_process';
|
|
419
|
+
* const normal = fork('subprocess.js', ['normal']);
|
|
420
|
+
* const special = fork('subprocess.js', ['special']);
|
|
421
|
+
*
|
|
422
|
+
* // Open up the server and send sockets to child. Use pauseOnConnect to prevent
|
|
423
|
+
* // the sockets from being read before they are sent to the child process.
|
|
424
|
+
* const server = createServer({ pauseOnConnect: true });
|
|
425
|
+
* server.on('connection', (socket) => {
|
|
426
|
+
*
|
|
427
|
+
* // If this is special priority...
|
|
428
|
+
* if (socket.remoteAddress === '74.125.127.100') {
|
|
429
|
+
* special.send('socket', socket);
|
|
430
|
+
* return;
|
|
431
|
+
* }
|
|
432
|
+
* // This is normal priority.
|
|
433
|
+
* normal.send('socket', socket);
|
|
434
|
+
* });
|
|
435
|
+
* server.listen(1337);
|
|
436
|
+
* ```
|
|
437
|
+
*
|
|
438
|
+
* The `subprocess.js` would receive the socket handle as the second argument
|
|
439
|
+
* passed to the event callback function:
|
|
440
|
+
*
|
|
441
|
+
* ```js
|
|
442
|
+
* process.on('message', (m, socket) => {
|
|
443
|
+
* if (m === 'socket') {
|
|
444
|
+
* if (socket) {
|
|
445
|
+
* // Check that the client socket exists.
|
|
446
|
+
* // It is possible for the socket to be closed between the time it is
|
|
447
|
+
* // sent and the time it is received in the child process.
|
|
448
|
+
* socket.end(`Request handled with ${process.argv[2]} priority`);
|
|
449
|
+
* }
|
|
450
|
+
* }
|
|
451
|
+
* });
|
|
452
|
+
* ```
|
|
453
|
+
*
|
|
454
|
+
* Do not use `.maxConnections` on a socket that has been passed to a subprocess.
|
|
455
|
+
* The parent cannot track when the socket is destroyed.
|
|
456
|
+
*
|
|
457
|
+
* Any `'message'` handlers in the subprocess should verify that `socket` exists,
|
|
458
|
+
* as the connection may have been closed during the time it takes to send the
|
|
459
|
+
* connection to the child.
|
|
460
|
+
* @since v0.5.9
|
|
461
|
+
* @param sendHandle `undefined`, or a [`net.Socket`](https://nodejs.org/docs/latest-v22.x/api/net.html#class-netsocket), [`net.Server`](https://nodejs.org/docs/latest-v22.x/api/net.html#class-netserver), or [`dgram.Socket`](https://nodejs.org/docs/latest-v22.x/api/dgram.html#class-dgramsocket) object.
|
|
462
|
+
* @param options The `options` argument, if present, is an object used to parameterize the sending of certain types of handles. `options` supports the following properties:
|
|
463
|
+
*/
|
|
464
|
+
send(message: Serializable, callback?: (error: Error | null) => void): boolean;
|
|
465
|
+
send(message: Serializable, sendHandle?: SendHandle, callback?: (error: Error | null) => void): boolean;
|
|
466
|
+
send(
|
|
467
|
+
message: Serializable,
|
|
468
|
+
sendHandle?: SendHandle,
|
|
469
|
+
options?: MessageOptions,
|
|
470
|
+
callback?: (error: Error | null) => void,
|
|
471
|
+
): boolean;
|
|
472
|
+
/**
|
|
473
|
+
* Closes the IPC channel between parent and child, allowing the child to exit
|
|
474
|
+
* gracefully once there are no other connections keeping it alive. After calling
|
|
475
|
+
* this method the `subprocess.connected` and `process.connected` properties in
|
|
476
|
+
* both the parent and child (respectively) will be set to `false`, and it will be
|
|
477
|
+
* no longer possible to pass messages between the processes.
|
|
478
|
+
*
|
|
479
|
+
* The `'disconnect'` event will be emitted when there are no messages in the
|
|
480
|
+
* process of being received. This will most often be triggered immediately after
|
|
481
|
+
* calling `subprocess.disconnect()`.
|
|
482
|
+
*
|
|
483
|
+
* When the child process is a Node.js instance (e.g. spawned using {@link fork}), the `process.disconnect()` method can be invoked
|
|
484
|
+
* within the child process to close the IPC channel as well.
|
|
485
|
+
* @since v0.7.2
|
|
486
|
+
*/
|
|
487
|
+
disconnect(): void;
|
|
488
|
+
/**
|
|
489
|
+
* By default, the parent will wait for the detached child to exit. To prevent the
|
|
490
|
+
* parent from waiting for a given `subprocess` to exit, use the `subprocess.unref()` method. Doing so will cause the parent's event loop to not
|
|
491
|
+
* include the child in its reference count, allowing the parent to exit
|
|
492
|
+
* independently of the child, unless there is an established IPC channel between
|
|
493
|
+
* the child and the parent.
|
|
494
|
+
*
|
|
495
|
+
* ```js
|
|
496
|
+
* import { spawn } from 'node:child_process';
|
|
497
|
+
*
|
|
498
|
+
* const subprocess = spawn(process.argv[0], ['child_program.js'], {
|
|
499
|
+
* detached: true,
|
|
500
|
+
* stdio: 'ignore',
|
|
501
|
+
* });
|
|
502
|
+
*
|
|
503
|
+
* subprocess.unref();
|
|
504
|
+
* ```
|
|
505
|
+
* @since v0.7.10
|
|
506
|
+
*/
|
|
507
|
+
unref(): void;
|
|
508
|
+
/**
|
|
509
|
+
* Calling `subprocess.ref()` after making a call to `subprocess.unref()` will
|
|
510
|
+
* restore the removed reference count for the child process, forcing the parent
|
|
511
|
+
* to wait for the child to exit before exiting itself.
|
|
512
|
+
*
|
|
513
|
+
* ```js
|
|
514
|
+
* import { spawn } from 'node:child_process';
|
|
515
|
+
*
|
|
516
|
+
* const subprocess = spawn(process.argv[0], ['child_program.js'], {
|
|
517
|
+
* detached: true,
|
|
518
|
+
* stdio: 'ignore',
|
|
519
|
+
* });
|
|
520
|
+
*
|
|
521
|
+
* subprocess.unref();
|
|
522
|
+
* subprocess.ref();
|
|
523
|
+
* ```
|
|
524
|
+
* @since v0.7.10
|
|
525
|
+
*/
|
|
526
|
+
ref(): void;
|
|
527
|
+
/**
|
|
528
|
+
* events.EventEmitter
|
|
529
|
+
* 1. close
|
|
530
|
+
* 2. disconnect
|
|
531
|
+
* 3. error
|
|
532
|
+
* 4. exit
|
|
533
|
+
* 5. message
|
|
534
|
+
* 6. spawn
|
|
535
|
+
*/
|
|
536
|
+
addListener(event: string, listener: (...args: any[]) => void): this;
|
|
537
|
+
addListener(event: "close", listener: (code: number | null, signal: NodeJS.Signals | null) => void): this;
|
|
538
|
+
addListener(event: "disconnect", listener: () => void): this;
|
|
539
|
+
addListener(event: "error", listener: (err: Error) => void): this;
|
|
540
|
+
addListener(event: "exit", listener: (code: number | null, signal: NodeJS.Signals | null) => void): this;
|
|
541
|
+
addListener(event: "message", listener: (message: Serializable, sendHandle: SendHandle) => void): this;
|
|
542
|
+
addListener(event: "spawn", listener: () => void): this;
|
|
543
|
+
emit(event: string | symbol, ...args: any[]): boolean;
|
|
544
|
+
emit(event: "close", code: number | null, signal: NodeJS.Signals | null): boolean;
|
|
545
|
+
emit(event: "disconnect"): boolean;
|
|
546
|
+
emit(event: "error", err: Error): boolean;
|
|
547
|
+
emit(event: "exit", code: number | null, signal: NodeJS.Signals | null): boolean;
|
|
548
|
+
emit(event: "message", message: Serializable, sendHandle: SendHandle): boolean;
|
|
549
|
+
emit(event: "spawn", listener: () => void): boolean;
|
|
550
|
+
on(event: string, listener: (...args: any[]) => void): this;
|
|
551
|
+
on(event: "close", listener: (code: number | null, signal: NodeJS.Signals | null) => void): this;
|
|
552
|
+
on(event: "disconnect", listener: () => void): this;
|
|
553
|
+
on(event: "error", listener: (err: Error) => void): this;
|
|
554
|
+
on(event: "exit", listener: (code: number | null, signal: NodeJS.Signals | null) => void): this;
|
|
555
|
+
on(event: "message", listener: (message: Serializable, sendHandle: SendHandle) => void): this;
|
|
556
|
+
on(event: "spawn", listener: () => void): this;
|
|
557
|
+
once(event: string, listener: (...args: any[]) => void): this;
|
|
558
|
+
once(event: "close", listener: (code: number | null, signal: NodeJS.Signals | null) => void): this;
|
|
559
|
+
once(event: "disconnect", listener: () => void): this;
|
|
560
|
+
once(event: "error", listener: (err: Error) => void): this;
|
|
561
|
+
once(event: "exit", listener: (code: number | null, signal: NodeJS.Signals | null) => void): this;
|
|
562
|
+
once(event: "message", listener: (message: Serializable, sendHandle: SendHandle) => void): this;
|
|
563
|
+
once(event: "spawn", listener: () => void): this;
|
|
564
|
+
prependListener(event: string, listener: (...args: any[]) => void): this;
|
|
565
|
+
prependListener(event: "close", listener: (code: number | null, signal: NodeJS.Signals | null) => void): this;
|
|
566
|
+
prependListener(event: "disconnect", listener: () => void): this;
|
|
567
|
+
prependListener(event: "error", listener: (err: Error) => void): this;
|
|
568
|
+
prependListener(event: "exit", listener: (code: number | null, signal: NodeJS.Signals | null) => void): this;
|
|
569
|
+
prependListener(event: "message", listener: (message: Serializable, sendHandle: SendHandle) => void): this;
|
|
570
|
+
prependListener(event: "spawn", listener: () => void): this;
|
|
571
|
+
prependOnceListener(event: string, listener: (...args: any[]) => void): this;
|
|
572
|
+
prependOnceListener(
|
|
573
|
+
event: "close",
|
|
574
|
+
listener: (code: number | null, signal: NodeJS.Signals | null) => void,
|
|
575
|
+
): this;
|
|
576
|
+
prependOnceListener(event: "disconnect", listener: () => void): this;
|
|
577
|
+
prependOnceListener(event: "error", listener: (err: Error) => void): this;
|
|
578
|
+
prependOnceListener(
|
|
579
|
+
event: "exit",
|
|
580
|
+
listener: (code: number | null, signal: NodeJS.Signals | null) => void,
|
|
581
|
+
): this;
|
|
582
|
+
prependOnceListener(event: "message", listener: (message: Serializable, sendHandle: SendHandle) => void): this;
|
|
583
|
+
prependOnceListener(event: "spawn", listener: () => void): this;
|
|
584
|
+
}
|
|
585
|
+
// return this object when stdio option is undefined or not specified
|
|
586
|
+
interface ChildProcessWithoutNullStreams extends ChildProcess {
|
|
587
|
+
stdin: Writable;
|
|
588
|
+
stdout: Readable;
|
|
589
|
+
stderr: Readable;
|
|
590
|
+
readonly stdio: [
|
|
591
|
+
Writable,
|
|
592
|
+
Readable,
|
|
593
|
+
Readable,
|
|
594
|
+
// stderr
|
|
595
|
+
Readable | Writable | null | undefined,
|
|
596
|
+
// extra, no modification
|
|
597
|
+
Readable | Writable | null | undefined, // extra, no modification
|
|
598
|
+
];
|
|
599
|
+
}
|
|
600
|
+
// return this object when stdio option is a tuple of 3
|
|
601
|
+
interface ChildProcessByStdio<I extends null | Writable, O extends null | Readable, E extends null | Readable>
|
|
602
|
+
extends ChildProcess
|
|
603
|
+
{
|
|
604
|
+
stdin: I;
|
|
605
|
+
stdout: O;
|
|
606
|
+
stderr: E;
|
|
607
|
+
readonly stdio: [
|
|
608
|
+
I,
|
|
609
|
+
O,
|
|
610
|
+
E,
|
|
611
|
+
Readable | Writable | null | undefined,
|
|
612
|
+
// extra, no modification
|
|
613
|
+
Readable | Writable | null | undefined, // extra, no modification
|
|
614
|
+
];
|
|
615
|
+
}
|
|
616
|
+
interface MessageOptions {
|
|
617
|
+
keepOpen?: boolean | undefined;
|
|
618
|
+
}
|
|
619
|
+
type IOType = "overlapped" | "pipe" | "ignore" | "inherit";
|
|
620
|
+
type StdioOptions = IOType | Array<IOType | "ipc" | Stream | number | null | undefined>;
|
|
621
|
+
type SerializationType = "json" | "advanced";
|
|
622
|
+
interface MessagingOptions extends Abortable {
|
|
623
|
+
/**
|
|
624
|
+
* Specify the kind of serialization used for sending messages between processes.
|
|
625
|
+
* @default 'json'
|
|
626
|
+
*/
|
|
627
|
+
serialization?: SerializationType | undefined;
|
|
628
|
+
/**
|
|
629
|
+
* The signal value to be used when the spawned process will be killed by the abort signal.
|
|
630
|
+
* @default 'SIGTERM'
|
|
631
|
+
*/
|
|
632
|
+
killSignal?: NodeJS.Signals | number | undefined;
|
|
633
|
+
/**
|
|
634
|
+
* In milliseconds the maximum amount of time the process is allowed to run.
|
|
635
|
+
*/
|
|
636
|
+
timeout?: number | undefined;
|
|
637
|
+
}
|
|
638
|
+
interface ProcessEnvOptions {
|
|
639
|
+
uid?: number | undefined;
|
|
640
|
+
gid?: number | undefined;
|
|
641
|
+
cwd?: string | URL | undefined;
|
|
642
|
+
env?: NodeJS.ProcessEnv | undefined;
|
|
643
|
+
}
|
|
644
|
+
interface CommonOptions extends ProcessEnvOptions {
|
|
645
|
+
/**
|
|
646
|
+
* @default false
|
|
647
|
+
*/
|
|
648
|
+
windowsHide?: boolean | undefined;
|
|
649
|
+
/**
|
|
650
|
+
* @default 0
|
|
651
|
+
*/
|
|
652
|
+
timeout?: number | undefined;
|
|
653
|
+
}
|
|
654
|
+
interface CommonSpawnOptions extends CommonOptions, MessagingOptions, Abortable {
|
|
655
|
+
argv0?: string | undefined;
|
|
656
|
+
/**
|
|
657
|
+
* Can be set to 'pipe', 'inherit', 'overlapped', or 'ignore', or an array of these strings.
|
|
658
|
+
* If passed as an array, the first element is used for `stdin`, the second for
|
|
659
|
+
* `stdout`, and the third for `stderr`. A fourth element can be used to
|
|
660
|
+
* specify the `stdio` behavior beyond the standard streams. See
|
|
661
|
+
* {@link ChildProcess.stdio} for more information.
|
|
662
|
+
*
|
|
663
|
+
* @default 'pipe'
|
|
664
|
+
*/
|
|
665
|
+
stdio?: StdioOptions | undefined;
|
|
666
|
+
shell?: boolean | string | undefined;
|
|
667
|
+
windowsVerbatimArguments?: boolean | undefined;
|
|
668
|
+
}
|
|
669
|
+
interface SpawnOptions extends CommonSpawnOptions {
|
|
670
|
+
detached?: boolean | undefined;
|
|
671
|
+
}
|
|
672
|
+
interface SpawnOptionsWithoutStdio extends SpawnOptions {
|
|
673
|
+
stdio?: StdioPipeNamed | StdioPipe[] | undefined;
|
|
674
|
+
}
|
|
675
|
+
type StdioNull = "inherit" | "ignore" | Stream;
|
|
676
|
+
type StdioPipeNamed = "pipe" | "overlapped";
|
|
677
|
+
type StdioPipe = undefined | null | StdioPipeNamed;
|
|
678
|
+
interface SpawnOptionsWithStdioTuple<
|
|
679
|
+
Stdin extends StdioNull | StdioPipe,
|
|
680
|
+
Stdout extends StdioNull | StdioPipe,
|
|
681
|
+
Stderr extends StdioNull | StdioPipe,
|
|
682
|
+
> extends SpawnOptions {
|
|
683
|
+
stdio: [Stdin, Stdout, Stderr];
|
|
684
|
+
}
|
|
685
|
+
/**
|
|
686
|
+
* The `child_process.spawn()` method spawns a new process using the given `command`, with command-line arguments in `args`. If omitted, `args` defaults
|
|
687
|
+
* to an empty array.
|
|
688
|
+
*
|
|
689
|
+
* **If the `shell` option is enabled, do not pass unsanitized user input to this**
|
|
690
|
+
* **function. Any input containing shell metacharacters may be used to trigger**
|
|
691
|
+
* **arbitrary command execution.**
|
|
692
|
+
*
|
|
693
|
+
* A third argument may be used to specify additional options, with these defaults:
|
|
694
|
+
*
|
|
695
|
+
* ```js
|
|
696
|
+
* const defaults = {
|
|
697
|
+
* cwd: undefined,
|
|
698
|
+
* env: process.env,
|
|
699
|
+
* };
|
|
700
|
+
* ```
|
|
701
|
+
*
|
|
702
|
+
* Use `cwd` to specify the working directory from which the process is spawned.
|
|
703
|
+
* If not given, the default is to inherit the current working directory. If given,
|
|
704
|
+
* but the path does not exist, the child process emits an `ENOENT` error
|
|
705
|
+
* and exits immediately. `ENOENT` is also emitted when the command
|
|
706
|
+
* does not exist.
|
|
707
|
+
*
|
|
708
|
+
* Use `env` to specify environment variables that will be visible to the new
|
|
709
|
+
* process, the default is `process.env`.
|
|
710
|
+
*
|
|
711
|
+
* `undefined` values in `env` will be ignored.
|
|
712
|
+
*
|
|
713
|
+
* Example of running `ls -lh /usr`, capturing `stdout`, `stderr`, and the
|
|
714
|
+
* exit code:
|
|
715
|
+
*
|
|
716
|
+
* ```js
|
|
717
|
+
* import { spawn } from 'node:child_process';
|
|
718
|
+
* const ls = spawn('ls', ['-lh', '/usr']);
|
|
719
|
+
*
|
|
720
|
+
* ls.stdout.on('data', (data) => {
|
|
721
|
+
* console.log(`stdout: ${data}`);
|
|
722
|
+
* });
|
|
723
|
+
*
|
|
724
|
+
* ls.stderr.on('data', (data) => {
|
|
725
|
+
* console.error(`stderr: ${data}`);
|
|
726
|
+
* });
|
|
727
|
+
*
|
|
728
|
+
* ls.on('close', (code) => {
|
|
729
|
+
* console.log(`child process exited with code ${code}`);
|
|
730
|
+
* });
|
|
731
|
+
* ```
|
|
732
|
+
*
|
|
733
|
+
* Example: A very elaborate way to run `ps ax | grep ssh`
|
|
734
|
+
*
|
|
735
|
+
* ```js
|
|
736
|
+
* import { spawn } from 'node:child_process';
|
|
737
|
+
* const ps = spawn('ps', ['ax']);
|
|
738
|
+
* const grep = spawn('grep', ['ssh']);
|
|
739
|
+
*
|
|
740
|
+
* ps.stdout.on('data', (data) => {
|
|
741
|
+
* grep.stdin.write(data);
|
|
742
|
+
* });
|
|
743
|
+
*
|
|
744
|
+
* ps.stderr.on('data', (data) => {
|
|
745
|
+
* console.error(`ps stderr: ${data}`);
|
|
746
|
+
* });
|
|
747
|
+
*
|
|
748
|
+
* ps.on('close', (code) => {
|
|
749
|
+
* if (code !== 0) {
|
|
750
|
+
* console.log(`ps process exited with code ${code}`);
|
|
751
|
+
* }
|
|
752
|
+
* grep.stdin.end();
|
|
753
|
+
* });
|
|
754
|
+
*
|
|
755
|
+
* grep.stdout.on('data', (data) => {
|
|
756
|
+
* console.log(data.toString());
|
|
757
|
+
* });
|
|
758
|
+
*
|
|
759
|
+
* grep.stderr.on('data', (data) => {
|
|
760
|
+
* console.error(`grep stderr: ${data}`);
|
|
761
|
+
* });
|
|
762
|
+
*
|
|
763
|
+
* grep.on('close', (code) => {
|
|
764
|
+
* if (code !== 0) {
|
|
765
|
+
* console.log(`grep process exited with code ${code}`);
|
|
766
|
+
* }
|
|
767
|
+
* });
|
|
768
|
+
* ```
|
|
769
|
+
*
|
|
770
|
+
* Example of checking for failed `spawn`:
|
|
771
|
+
*
|
|
772
|
+
* ```js
|
|
773
|
+
* import { spawn } from 'node:child_process';
|
|
774
|
+
* const subprocess = spawn('bad_command');
|
|
775
|
+
*
|
|
776
|
+
* subprocess.on('error', (err) => {
|
|
777
|
+
* console.error('Failed to start subprocess.');
|
|
778
|
+
* });
|
|
779
|
+
* ```
|
|
780
|
+
*
|
|
781
|
+
* Certain platforms (macOS, Linux) will use the value of `argv[0]` for the process
|
|
782
|
+
* title while others (Windows, SunOS) will use `command`.
|
|
783
|
+
*
|
|
784
|
+
* Node.js overwrites `argv[0]` with `process.execPath` on startup, so `process.argv[0]` in a Node.js child process will not match the `argv0` parameter passed to `spawn` from the parent. Retrieve
|
|
785
|
+
* it with the `process.argv0` property instead.
|
|
786
|
+
*
|
|
787
|
+
* If the `signal` option is enabled, calling `.abort()` on the corresponding `AbortController` is similar to calling `.kill()` on the child process except
|
|
788
|
+
* the error passed to the callback will be an `AbortError`:
|
|
789
|
+
*
|
|
790
|
+
* ```js
|
|
791
|
+
* import { spawn } from 'node:child_process';
|
|
792
|
+
* const controller = new AbortController();
|
|
793
|
+
* const { signal } = controller;
|
|
794
|
+
* const grep = spawn('grep', ['ssh'], { signal });
|
|
795
|
+
* grep.on('error', (err) => {
|
|
796
|
+
* // This will be called with err being an AbortError if the controller aborts
|
|
797
|
+
* });
|
|
798
|
+
* controller.abort(); // Stops the child process
|
|
799
|
+
* ```
|
|
800
|
+
* @since v0.1.90
|
|
801
|
+
* @param command The command to run.
|
|
802
|
+
* @param args List of string arguments.
|
|
803
|
+
*/
|
|
804
|
+
function spawn(command: string, options?: SpawnOptionsWithoutStdio): ChildProcessWithoutNullStreams;
|
|
805
|
+
function spawn(
|
|
806
|
+
command: string,
|
|
807
|
+
options: SpawnOptionsWithStdioTuple<StdioPipe, StdioPipe, StdioPipe>,
|
|
808
|
+
): ChildProcessByStdio<Writable, Readable, Readable>;
|
|
809
|
+
function spawn(
|
|
810
|
+
command: string,
|
|
811
|
+
options: SpawnOptionsWithStdioTuple<StdioPipe, StdioPipe, StdioNull>,
|
|
812
|
+
): ChildProcessByStdio<Writable, Readable, null>;
|
|
813
|
+
function spawn(
|
|
814
|
+
command: string,
|
|
815
|
+
options: SpawnOptionsWithStdioTuple<StdioPipe, StdioNull, StdioPipe>,
|
|
816
|
+
): ChildProcessByStdio<Writable, null, Readable>;
|
|
817
|
+
function spawn(
|
|
818
|
+
command: string,
|
|
819
|
+
options: SpawnOptionsWithStdioTuple<StdioNull, StdioPipe, StdioPipe>,
|
|
820
|
+
): ChildProcessByStdio<null, Readable, Readable>;
|
|
821
|
+
function spawn(
|
|
822
|
+
command: string,
|
|
823
|
+
options: SpawnOptionsWithStdioTuple<StdioPipe, StdioNull, StdioNull>,
|
|
824
|
+
): ChildProcessByStdio<Writable, null, null>;
|
|
825
|
+
function spawn(
|
|
826
|
+
command: string,
|
|
827
|
+
options: SpawnOptionsWithStdioTuple<StdioNull, StdioPipe, StdioNull>,
|
|
828
|
+
): ChildProcessByStdio<null, Readable, null>;
|
|
829
|
+
function spawn(
|
|
830
|
+
command: string,
|
|
831
|
+
options: SpawnOptionsWithStdioTuple<StdioNull, StdioNull, StdioPipe>,
|
|
832
|
+
): ChildProcessByStdio<null, null, Readable>;
|
|
833
|
+
function spawn(
|
|
834
|
+
command: string,
|
|
835
|
+
options: SpawnOptionsWithStdioTuple<StdioNull, StdioNull, StdioNull>,
|
|
836
|
+
): ChildProcessByStdio<null, null, null>;
|
|
837
|
+
function spawn(command: string, options: SpawnOptions): ChildProcess;
|
|
838
|
+
// overloads of spawn with 'args'
|
|
839
|
+
function spawn(
|
|
840
|
+
command: string,
|
|
841
|
+
args?: readonly string[],
|
|
842
|
+
options?: SpawnOptionsWithoutStdio,
|
|
843
|
+
): ChildProcessWithoutNullStreams;
|
|
844
|
+
function spawn(
|
|
845
|
+
command: string,
|
|
846
|
+
args: readonly string[],
|
|
847
|
+
options: SpawnOptionsWithStdioTuple<StdioPipe, StdioPipe, StdioPipe>,
|
|
848
|
+
): ChildProcessByStdio<Writable, Readable, Readable>;
|
|
849
|
+
function spawn(
|
|
850
|
+
command: string,
|
|
851
|
+
args: readonly string[],
|
|
852
|
+
options: SpawnOptionsWithStdioTuple<StdioPipe, StdioPipe, StdioNull>,
|
|
853
|
+
): ChildProcessByStdio<Writable, Readable, null>;
|
|
854
|
+
function spawn(
|
|
855
|
+
command: string,
|
|
856
|
+
args: readonly string[],
|
|
857
|
+
options: SpawnOptionsWithStdioTuple<StdioPipe, StdioNull, StdioPipe>,
|
|
858
|
+
): ChildProcessByStdio<Writable, null, Readable>;
|
|
859
|
+
function spawn(
|
|
860
|
+
command: string,
|
|
861
|
+
args: readonly string[],
|
|
862
|
+
options: SpawnOptionsWithStdioTuple<StdioNull, StdioPipe, StdioPipe>,
|
|
863
|
+
): ChildProcessByStdio<null, Readable, Readable>;
|
|
864
|
+
function spawn(
|
|
865
|
+
command: string,
|
|
866
|
+
args: readonly string[],
|
|
867
|
+
options: SpawnOptionsWithStdioTuple<StdioPipe, StdioNull, StdioNull>,
|
|
868
|
+
): ChildProcessByStdio<Writable, null, null>;
|
|
869
|
+
function spawn(
|
|
870
|
+
command: string,
|
|
871
|
+
args: readonly string[],
|
|
872
|
+
options: SpawnOptionsWithStdioTuple<StdioNull, StdioPipe, StdioNull>,
|
|
873
|
+
): ChildProcessByStdio<null, Readable, null>;
|
|
874
|
+
function spawn(
|
|
875
|
+
command: string,
|
|
876
|
+
args: readonly string[],
|
|
877
|
+
options: SpawnOptionsWithStdioTuple<StdioNull, StdioNull, StdioPipe>,
|
|
878
|
+
): ChildProcessByStdio<null, null, Readable>;
|
|
879
|
+
function spawn(
|
|
880
|
+
command: string,
|
|
881
|
+
args: readonly string[],
|
|
882
|
+
options: SpawnOptionsWithStdioTuple<StdioNull, StdioNull, StdioNull>,
|
|
883
|
+
): ChildProcessByStdio<null, null, null>;
|
|
884
|
+
function spawn(command: string, args: readonly string[], options: SpawnOptions): ChildProcess;
|
|
885
|
+
interface ExecOptions extends CommonOptions {
|
|
886
|
+
shell?: string | undefined;
|
|
887
|
+
signal?: AbortSignal | undefined;
|
|
888
|
+
maxBuffer?: number | undefined;
|
|
889
|
+
killSignal?: NodeJS.Signals | number | undefined;
|
|
890
|
+
}
|
|
891
|
+
interface ExecOptionsWithStringEncoding extends ExecOptions {
|
|
892
|
+
encoding: BufferEncoding;
|
|
893
|
+
}
|
|
894
|
+
interface ExecOptionsWithBufferEncoding extends ExecOptions {
|
|
895
|
+
encoding: BufferEncoding | null; // specify `null`.
|
|
896
|
+
}
|
|
897
|
+
interface ExecException extends Error {
|
|
898
|
+
cmd?: string | undefined;
|
|
899
|
+
killed?: boolean | undefined;
|
|
900
|
+
code?: number | undefined;
|
|
901
|
+
signal?: NodeJS.Signals | undefined;
|
|
902
|
+
stdout?: string;
|
|
903
|
+
stderr?: string;
|
|
904
|
+
}
|
|
905
|
+
/**
|
|
906
|
+
* Spawns a shell then executes the `command` within that shell, buffering any
|
|
907
|
+
* generated output. The `command` string passed to the exec function is processed
|
|
908
|
+
* directly by the shell and special characters (vary based on [shell](https://en.wikipedia.org/wiki/List_of_command-line_interpreters))
|
|
909
|
+
* need to be dealt with accordingly:
|
|
910
|
+
*
|
|
911
|
+
* ```js
|
|
912
|
+
* import { exec } from 'node:child_process';
|
|
913
|
+
*
|
|
914
|
+
* exec('"/path/to/test file/test.sh" arg1 arg2');
|
|
915
|
+
* // Double quotes are used so that the space in the path is not interpreted as
|
|
916
|
+
* // a delimiter of multiple arguments.
|
|
917
|
+
*
|
|
918
|
+
* exec('echo "The \\$HOME variable is $HOME"');
|
|
919
|
+
* // The $HOME variable is escaped in the first instance, but not in the second.
|
|
920
|
+
* ```
|
|
921
|
+
*
|
|
922
|
+
* **Never pass unsanitized user input to this function. Any input containing shell**
|
|
923
|
+
* **metacharacters may be used to trigger arbitrary command execution.**
|
|
924
|
+
*
|
|
925
|
+
* If a `callback` function is provided, it is called with the arguments `(error, stdout, stderr)`. On success, `error` will be `null`. On error, `error` will be an instance of `Error`. The
|
|
926
|
+
* `error.code` property will be
|
|
927
|
+
* the exit code of the process. By convention, any exit code other than `0` indicates an error. `error.signal` will be the signal that terminated the
|
|
928
|
+
* process.
|
|
929
|
+
*
|
|
930
|
+
* The `stdout` and `stderr` arguments passed to the callback will contain the
|
|
931
|
+
* stdout and stderr output of the child process. By default, Node.js will decode
|
|
932
|
+
* the output as UTF-8 and pass strings to the callback. The `encoding` option
|
|
933
|
+
* can be used to specify the character encoding used to decode the stdout and
|
|
934
|
+
* stderr output. If `encoding` is `'buffer'`, or an unrecognized character
|
|
935
|
+
* encoding, `Buffer` objects will be passed to the callback instead.
|
|
936
|
+
*
|
|
937
|
+
* ```js
|
|
938
|
+
* import { exec } from 'node:child_process';
|
|
939
|
+
* exec('cat *.js missing_file | wc -l', (error, stdout, stderr) => {
|
|
940
|
+
* if (error) {
|
|
941
|
+
* console.error(`exec error: ${error}`);
|
|
942
|
+
* return;
|
|
943
|
+
* }
|
|
944
|
+
* console.log(`stdout: ${stdout}`);
|
|
945
|
+
* console.error(`stderr: ${stderr}`);
|
|
946
|
+
* });
|
|
947
|
+
* ```
|
|
948
|
+
*
|
|
949
|
+
* If `timeout` is greater than `0`, the parent will send the signal
|
|
950
|
+
* identified by the `killSignal` property (the default is `'SIGTERM'`) if the
|
|
951
|
+
* child runs longer than `timeout` milliseconds.
|
|
952
|
+
*
|
|
953
|
+
* Unlike the [`exec(3)`](http://man7.org/linux/man-pages/man3/exec.3.html) POSIX system call, `child_process.exec()` does not replace
|
|
954
|
+
* the existing process and uses a shell to execute the command.
|
|
955
|
+
*
|
|
956
|
+
* If this method is invoked as its `util.promisify()` ed version, it returns
|
|
957
|
+
* a `Promise` for an `Object` with `stdout` and `stderr` properties. The returned `ChildProcess` instance is attached to the `Promise` as a `child` property. In
|
|
958
|
+
* case of an error (including any error resulting in an exit code other than 0), a
|
|
959
|
+
* rejected promise is returned, with the same `error` object given in the
|
|
960
|
+
* callback, but with two additional properties `stdout` and `stderr`.
|
|
961
|
+
*
|
|
962
|
+
* ```js
|
|
963
|
+
* import util from 'node:util';
|
|
964
|
+
* import child_process from 'node:child_process';
|
|
965
|
+
* const exec = util.promisify(child_process.exec);
|
|
966
|
+
*
|
|
967
|
+
* async function lsExample() {
|
|
968
|
+
* const { stdout, stderr } = await exec('ls');
|
|
969
|
+
* console.log('stdout:', stdout);
|
|
970
|
+
* console.error('stderr:', stderr);
|
|
971
|
+
* }
|
|
972
|
+
* lsExample();
|
|
973
|
+
* ```
|
|
974
|
+
*
|
|
975
|
+
* If the `signal` option is enabled, calling `.abort()` on the corresponding `AbortController` is similar to calling `.kill()` on the child process except
|
|
976
|
+
* the error passed to the callback will be an `AbortError`:
|
|
977
|
+
*
|
|
978
|
+
* ```js
|
|
979
|
+
* import { exec } from 'node:child_process';
|
|
980
|
+
* const controller = new AbortController();
|
|
981
|
+
* const { signal } = controller;
|
|
982
|
+
* const child = exec('grep ssh', { signal }, (error) => {
|
|
983
|
+
* console.error(error); // an AbortError
|
|
984
|
+
* });
|
|
985
|
+
* controller.abort();
|
|
986
|
+
* ```
|
|
987
|
+
* @since v0.1.90
|
|
988
|
+
* @param command The command to run, with space-separated arguments.
|
|
989
|
+
* @param callback called with the output when process terminates.
|
|
990
|
+
*/
|
|
991
|
+
function exec(
|
|
992
|
+
command: string,
|
|
993
|
+
callback?: (error: ExecException | null, stdout: string, stderr: string) => void,
|
|
994
|
+
): ChildProcess;
|
|
995
|
+
// `options` with `"buffer"` or `null` for `encoding` means stdout/stderr are definitely `Buffer`.
|
|
996
|
+
function exec(
|
|
997
|
+
command: string,
|
|
998
|
+
options: {
|
|
999
|
+
encoding: "buffer" | null;
|
|
1000
|
+
} & ExecOptions,
|
|
1001
|
+
callback?: (error: ExecException | null, stdout: Buffer, stderr: Buffer) => void,
|
|
1002
|
+
): ChildProcess;
|
|
1003
|
+
// `options` with well known `encoding` means stdout/stderr are definitely `string`.
|
|
1004
|
+
function exec(
|
|
1005
|
+
command: string,
|
|
1006
|
+
options: {
|
|
1007
|
+
encoding: BufferEncoding;
|
|
1008
|
+
} & ExecOptions,
|
|
1009
|
+
callback?: (error: ExecException | null, stdout: string, stderr: string) => void,
|
|
1010
|
+
): ChildProcess;
|
|
1011
|
+
// `options` with an `encoding` whose type is `string` means stdout/stderr could either be `Buffer` or `string`.
|
|
1012
|
+
// There is no guarantee the `encoding` is unknown as `string` is a superset of `BufferEncoding`.
|
|
1013
|
+
function exec(
|
|
1014
|
+
command: string,
|
|
1015
|
+
options: {
|
|
1016
|
+
encoding: BufferEncoding;
|
|
1017
|
+
} & ExecOptions,
|
|
1018
|
+
callback?: (error: ExecException | null, stdout: string | Buffer, stderr: string | Buffer) => void,
|
|
1019
|
+
): ChildProcess;
|
|
1020
|
+
// `options` without an `encoding` means stdout/stderr are definitely `string`.
|
|
1021
|
+
function exec(
|
|
1022
|
+
command: string,
|
|
1023
|
+
options: ExecOptions,
|
|
1024
|
+
callback?: (error: ExecException | null, stdout: string, stderr: string) => void,
|
|
1025
|
+
): ChildProcess;
|
|
1026
|
+
// fallback if nothing else matches. Worst case is always `string | Buffer`.
|
|
1027
|
+
function exec(
|
|
1028
|
+
command: string,
|
|
1029
|
+
options: (ObjectEncodingOptions & ExecOptions) | undefined | null,
|
|
1030
|
+
callback?: (error: ExecException | null, stdout: string | Buffer, stderr: string | Buffer) => void,
|
|
1031
|
+
): ChildProcess;
|
|
1032
|
+
interface PromiseWithChild<T> extends Promise<T> {
|
|
1033
|
+
child: ChildProcess;
|
|
1034
|
+
}
|
|
1035
|
+
namespace exec {
|
|
1036
|
+
function __promisify__(command: string): PromiseWithChild<{
|
|
1037
|
+
stdout: string;
|
|
1038
|
+
stderr: string;
|
|
1039
|
+
}>;
|
|
1040
|
+
function __promisify__(
|
|
1041
|
+
command: string,
|
|
1042
|
+
options: {
|
|
1043
|
+
encoding: "buffer" | null;
|
|
1044
|
+
} & ExecOptions,
|
|
1045
|
+
): PromiseWithChild<{
|
|
1046
|
+
stdout: Buffer;
|
|
1047
|
+
stderr: Buffer;
|
|
1048
|
+
}>;
|
|
1049
|
+
function __promisify__(
|
|
1050
|
+
command: string,
|
|
1051
|
+
options: {
|
|
1052
|
+
encoding: BufferEncoding;
|
|
1053
|
+
} & ExecOptions,
|
|
1054
|
+
): PromiseWithChild<{
|
|
1055
|
+
stdout: string;
|
|
1056
|
+
stderr: string;
|
|
1057
|
+
}>;
|
|
1058
|
+
function __promisify__(
|
|
1059
|
+
command: string,
|
|
1060
|
+
options: ExecOptions,
|
|
1061
|
+
): PromiseWithChild<{
|
|
1062
|
+
stdout: string;
|
|
1063
|
+
stderr: string;
|
|
1064
|
+
}>;
|
|
1065
|
+
function __promisify__(
|
|
1066
|
+
command: string,
|
|
1067
|
+
options?: (ObjectEncodingOptions & ExecOptions) | null,
|
|
1068
|
+
): PromiseWithChild<{
|
|
1069
|
+
stdout: string | Buffer;
|
|
1070
|
+
stderr: string | Buffer;
|
|
1071
|
+
}>;
|
|
1072
|
+
}
|
|
1073
|
+
interface ExecFileOptions extends CommonOptions, Abortable {
|
|
1074
|
+
maxBuffer?: number | undefined;
|
|
1075
|
+
killSignal?: NodeJS.Signals | number | undefined;
|
|
1076
|
+
windowsVerbatimArguments?: boolean | undefined;
|
|
1077
|
+
shell?: boolean | string | undefined;
|
|
1078
|
+
signal?: AbortSignal | undefined;
|
|
1079
|
+
}
|
|
1080
|
+
interface ExecFileOptionsWithStringEncoding extends ExecFileOptions {
|
|
1081
|
+
encoding: BufferEncoding;
|
|
1082
|
+
}
|
|
1083
|
+
interface ExecFileOptionsWithBufferEncoding extends ExecFileOptions {
|
|
1084
|
+
encoding: "buffer" | null;
|
|
1085
|
+
}
|
|
1086
|
+
interface ExecFileOptionsWithOtherEncoding extends ExecFileOptions {
|
|
1087
|
+
encoding: BufferEncoding;
|
|
1088
|
+
}
|
|
1089
|
+
type ExecFileException =
|
|
1090
|
+
& Omit<ExecException, "code">
|
|
1091
|
+
& Omit<NodeJS.ErrnoException, "code">
|
|
1092
|
+
& { code?: string | number | undefined | null };
|
|
1093
|
+
/**
|
|
1094
|
+
* The `child_process.execFile()` function is similar to {@link exec} except that it does not spawn a shell by default. Rather, the specified
|
|
1095
|
+
* executable `file` is spawned directly as a new process making it slightly more
|
|
1096
|
+
* efficient than {@link exec}.
|
|
1097
|
+
*
|
|
1098
|
+
* The same options as {@link exec} are supported. Since a shell is
|
|
1099
|
+
* not spawned, behaviors such as I/O redirection and file globbing are not
|
|
1100
|
+
* supported.
|
|
1101
|
+
*
|
|
1102
|
+
* ```js
|
|
1103
|
+
* import { execFile } from 'node:child_process';
|
|
1104
|
+
* const child = execFile('node', ['--version'], (error, stdout, stderr) => {
|
|
1105
|
+
* if (error) {
|
|
1106
|
+
* throw error;
|
|
1107
|
+
* }
|
|
1108
|
+
* console.log(stdout);
|
|
1109
|
+
* });
|
|
1110
|
+
* ```
|
|
1111
|
+
*
|
|
1112
|
+
* The `stdout` and `stderr` arguments passed to the callback will contain the
|
|
1113
|
+
* stdout and stderr output of the child process. By default, Node.js will decode
|
|
1114
|
+
* the output as UTF-8 and pass strings to the callback. The `encoding` option
|
|
1115
|
+
* can be used to specify the character encoding used to decode the stdout and
|
|
1116
|
+
* stderr output. If `encoding` is `'buffer'`, or an unrecognized character
|
|
1117
|
+
* encoding, `Buffer` objects will be passed to the callback instead.
|
|
1118
|
+
*
|
|
1119
|
+
* If this method is invoked as its `util.promisify()` ed version, it returns
|
|
1120
|
+
* a `Promise` for an `Object` with `stdout` and `stderr` properties. The returned `ChildProcess` instance is attached to the `Promise` as a `child` property. In
|
|
1121
|
+
* case of an error (including any error resulting in an exit code other than 0), a
|
|
1122
|
+
* rejected promise is returned, with the same `error` object given in the
|
|
1123
|
+
* callback, but with two additional properties `stdout` and `stderr`.
|
|
1124
|
+
*
|
|
1125
|
+
* ```js
|
|
1126
|
+
* import util from 'node:util';
|
|
1127
|
+
* import child_process from 'node:child_process';
|
|
1128
|
+
* const execFile = util.promisify(child_process.execFile);
|
|
1129
|
+
* async function getVersion() {
|
|
1130
|
+
* const { stdout } = await execFile('node', ['--version']);
|
|
1131
|
+
* console.log(stdout);
|
|
1132
|
+
* }
|
|
1133
|
+
* getVersion();
|
|
1134
|
+
* ```
|
|
1135
|
+
*
|
|
1136
|
+
* **If the `shell` option is enabled, do not pass unsanitized user input to this**
|
|
1137
|
+
* **function. Any input containing shell metacharacters may be used to trigger**
|
|
1138
|
+
* **arbitrary command execution.**
|
|
1139
|
+
*
|
|
1140
|
+
* If the `signal` option is enabled, calling `.abort()` on the corresponding `AbortController` is similar to calling `.kill()` on the child process except
|
|
1141
|
+
* the error passed to the callback will be an `AbortError`:
|
|
1142
|
+
*
|
|
1143
|
+
* ```js
|
|
1144
|
+
* import { execFile } from 'node:child_process';
|
|
1145
|
+
* const controller = new AbortController();
|
|
1146
|
+
* const { signal } = controller;
|
|
1147
|
+
* const child = execFile('node', ['--version'], { signal }, (error) => {
|
|
1148
|
+
* console.error(error); // an AbortError
|
|
1149
|
+
* });
|
|
1150
|
+
* controller.abort();
|
|
1151
|
+
* ```
|
|
1152
|
+
* @since v0.1.91
|
|
1153
|
+
* @param file The name or path of the executable file to run.
|
|
1154
|
+
* @param args List of string arguments.
|
|
1155
|
+
* @param callback Called with the output when process terminates.
|
|
1156
|
+
*/
|
|
1157
|
+
function execFile(file: string): ChildProcess;
|
|
1158
|
+
function execFile(
|
|
1159
|
+
file: string,
|
|
1160
|
+
options: (ObjectEncodingOptions & ExecFileOptions) | undefined | null,
|
|
1161
|
+
): ChildProcess;
|
|
1162
|
+
function execFile(file: string, args?: readonly string[] | null): ChildProcess;
|
|
1163
|
+
function execFile(
|
|
1164
|
+
file: string,
|
|
1165
|
+
args: readonly string[] | undefined | null,
|
|
1166
|
+
options: (ObjectEncodingOptions & ExecFileOptions) | undefined | null,
|
|
1167
|
+
): ChildProcess;
|
|
1168
|
+
// no `options` definitely means stdout/stderr are `string`.
|
|
1169
|
+
function execFile(
|
|
1170
|
+
file: string,
|
|
1171
|
+
callback: (error: ExecFileException | null, stdout: string, stderr: string) => void,
|
|
1172
|
+
): ChildProcess;
|
|
1173
|
+
function execFile(
|
|
1174
|
+
file: string,
|
|
1175
|
+
args: readonly string[] | undefined | null,
|
|
1176
|
+
callback: (error: ExecFileException | null, stdout: string, stderr: string) => void,
|
|
1177
|
+
): ChildProcess;
|
|
1178
|
+
// `options` with `"buffer"` or `null` for `encoding` means stdout/stderr are definitely `Buffer`.
|
|
1179
|
+
function execFile(
|
|
1180
|
+
file: string,
|
|
1181
|
+
options: ExecFileOptionsWithBufferEncoding,
|
|
1182
|
+
callback: (error: ExecFileException | null, stdout: Buffer, stderr: Buffer) => void,
|
|
1183
|
+
): ChildProcess;
|
|
1184
|
+
function execFile(
|
|
1185
|
+
file: string,
|
|
1186
|
+
args: readonly string[] | undefined | null,
|
|
1187
|
+
options: ExecFileOptionsWithBufferEncoding,
|
|
1188
|
+
callback: (error: ExecFileException | null, stdout: Buffer, stderr: Buffer) => void,
|
|
1189
|
+
): ChildProcess;
|
|
1190
|
+
// `options` with well known `encoding` means stdout/stderr are definitely `string`.
|
|
1191
|
+
function execFile(
|
|
1192
|
+
file: string,
|
|
1193
|
+
options: ExecFileOptionsWithStringEncoding,
|
|
1194
|
+
callback: (error: ExecFileException | null, stdout: string, stderr: string) => void,
|
|
1195
|
+
): ChildProcess;
|
|
1196
|
+
function execFile(
|
|
1197
|
+
file: string,
|
|
1198
|
+
args: readonly string[] | undefined | null,
|
|
1199
|
+
options: ExecFileOptionsWithStringEncoding,
|
|
1200
|
+
callback: (error: ExecFileException | null, stdout: string, stderr: string) => void,
|
|
1201
|
+
): ChildProcess;
|
|
1202
|
+
// `options` with an `encoding` whose type is `string` means stdout/stderr could either be `Buffer` or `string`.
|
|
1203
|
+
// There is no guarantee the `encoding` is unknown as `string` is a superset of `BufferEncoding`.
|
|
1204
|
+
function execFile(
|
|
1205
|
+
file: string,
|
|
1206
|
+
options: ExecFileOptionsWithOtherEncoding,
|
|
1207
|
+
callback: (error: ExecFileException | null, stdout: string | Buffer, stderr: string | Buffer) => void,
|
|
1208
|
+
): ChildProcess;
|
|
1209
|
+
function execFile(
|
|
1210
|
+
file: string,
|
|
1211
|
+
args: readonly string[] | undefined | null,
|
|
1212
|
+
options: ExecFileOptionsWithOtherEncoding,
|
|
1213
|
+
callback: (error: ExecFileException | null, stdout: string | Buffer, stderr: string | Buffer) => void,
|
|
1214
|
+
): ChildProcess;
|
|
1215
|
+
// `options` without an `encoding` means stdout/stderr are definitely `string`.
|
|
1216
|
+
function execFile(
|
|
1217
|
+
file: string,
|
|
1218
|
+
options: ExecFileOptions,
|
|
1219
|
+
callback: (error: ExecFileException | null, stdout: string, stderr: string) => void,
|
|
1220
|
+
): ChildProcess;
|
|
1221
|
+
function execFile(
|
|
1222
|
+
file: string,
|
|
1223
|
+
args: readonly string[] | undefined | null,
|
|
1224
|
+
options: ExecFileOptions,
|
|
1225
|
+
callback: (error: ExecFileException | null, stdout: string, stderr: string) => void,
|
|
1226
|
+
): ChildProcess;
|
|
1227
|
+
// fallback if nothing else matches. Worst case is always `string | Buffer`.
|
|
1228
|
+
function execFile(
|
|
1229
|
+
file: string,
|
|
1230
|
+
options: (ObjectEncodingOptions & ExecFileOptions) | undefined | null,
|
|
1231
|
+
callback:
|
|
1232
|
+
| ((error: ExecFileException | null, stdout: string | Buffer, stderr: string | Buffer) => void)
|
|
1233
|
+
| undefined
|
|
1234
|
+
| null,
|
|
1235
|
+
): ChildProcess;
|
|
1236
|
+
function execFile(
|
|
1237
|
+
file: string,
|
|
1238
|
+
args: readonly string[] | undefined | null,
|
|
1239
|
+
options: (ObjectEncodingOptions & ExecFileOptions) | undefined | null,
|
|
1240
|
+
callback:
|
|
1241
|
+
| ((error: ExecFileException | null, stdout: string | Buffer, stderr: string | Buffer) => void)
|
|
1242
|
+
| undefined
|
|
1243
|
+
| null,
|
|
1244
|
+
): ChildProcess;
|
|
1245
|
+
namespace execFile {
|
|
1246
|
+
function __promisify__(file: string): PromiseWithChild<{
|
|
1247
|
+
stdout: string;
|
|
1248
|
+
stderr: string;
|
|
1249
|
+
}>;
|
|
1250
|
+
function __promisify__(
|
|
1251
|
+
file: string,
|
|
1252
|
+
args: readonly string[] | undefined | null,
|
|
1253
|
+
): PromiseWithChild<{
|
|
1254
|
+
stdout: string;
|
|
1255
|
+
stderr: string;
|
|
1256
|
+
}>;
|
|
1257
|
+
function __promisify__(
|
|
1258
|
+
file: string,
|
|
1259
|
+
options: ExecFileOptionsWithBufferEncoding,
|
|
1260
|
+
): PromiseWithChild<{
|
|
1261
|
+
stdout: Buffer;
|
|
1262
|
+
stderr: Buffer;
|
|
1263
|
+
}>;
|
|
1264
|
+
function __promisify__(
|
|
1265
|
+
file: string,
|
|
1266
|
+
args: readonly string[] | undefined | null,
|
|
1267
|
+
options: ExecFileOptionsWithBufferEncoding,
|
|
1268
|
+
): PromiseWithChild<{
|
|
1269
|
+
stdout: Buffer;
|
|
1270
|
+
stderr: Buffer;
|
|
1271
|
+
}>;
|
|
1272
|
+
function __promisify__(
|
|
1273
|
+
file: string,
|
|
1274
|
+
options: ExecFileOptionsWithStringEncoding,
|
|
1275
|
+
): PromiseWithChild<{
|
|
1276
|
+
stdout: string;
|
|
1277
|
+
stderr: string;
|
|
1278
|
+
}>;
|
|
1279
|
+
function __promisify__(
|
|
1280
|
+
file: string,
|
|
1281
|
+
args: readonly string[] | undefined | null,
|
|
1282
|
+
options: ExecFileOptionsWithStringEncoding,
|
|
1283
|
+
): PromiseWithChild<{
|
|
1284
|
+
stdout: string;
|
|
1285
|
+
stderr: string;
|
|
1286
|
+
}>;
|
|
1287
|
+
function __promisify__(
|
|
1288
|
+
file: string,
|
|
1289
|
+
options: ExecFileOptionsWithOtherEncoding,
|
|
1290
|
+
): PromiseWithChild<{
|
|
1291
|
+
stdout: string | Buffer;
|
|
1292
|
+
stderr: string | Buffer;
|
|
1293
|
+
}>;
|
|
1294
|
+
function __promisify__(
|
|
1295
|
+
file: string,
|
|
1296
|
+
args: readonly string[] | undefined | null,
|
|
1297
|
+
options: ExecFileOptionsWithOtherEncoding,
|
|
1298
|
+
): PromiseWithChild<{
|
|
1299
|
+
stdout: string | Buffer;
|
|
1300
|
+
stderr: string | Buffer;
|
|
1301
|
+
}>;
|
|
1302
|
+
function __promisify__(
|
|
1303
|
+
file: string,
|
|
1304
|
+
options: ExecFileOptions,
|
|
1305
|
+
): PromiseWithChild<{
|
|
1306
|
+
stdout: string;
|
|
1307
|
+
stderr: string;
|
|
1308
|
+
}>;
|
|
1309
|
+
function __promisify__(
|
|
1310
|
+
file: string,
|
|
1311
|
+
args: readonly string[] | undefined | null,
|
|
1312
|
+
options: ExecFileOptions,
|
|
1313
|
+
): PromiseWithChild<{
|
|
1314
|
+
stdout: string;
|
|
1315
|
+
stderr: string;
|
|
1316
|
+
}>;
|
|
1317
|
+
function __promisify__(
|
|
1318
|
+
file: string,
|
|
1319
|
+
options: (ObjectEncodingOptions & ExecFileOptions) | undefined | null,
|
|
1320
|
+
): PromiseWithChild<{
|
|
1321
|
+
stdout: string | Buffer;
|
|
1322
|
+
stderr: string | Buffer;
|
|
1323
|
+
}>;
|
|
1324
|
+
function __promisify__(
|
|
1325
|
+
file: string,
|
|
1326
|
+
args: readonly string[] | undefined | null,
|
|
1327
|
+
options: (ObjectEncodingOptions & ExecFileOptions) | undefined | null,
|
|
1328
|
+
): PromiseWithChild<{
|
|
1329
|
+
stdout: string | Buffer;
|
|
1330
|
+
stderr: string | Buffer;
|
|
1331
|
+
}>;
|
|
1332
|
+
}
|
|
1333
|
+
interface ForkOptions extends ProcessEnvOptions, MessagingOptions, Abortable {
|
|
1334
|
+
execPath?: string | undefined;
|
|
1335
|
+
execArgv?: string[] | undefined;
|
|
1336
|
+
silent?: boolean | undefined;
|
|
1337
|
+
/**
|
|
1338
|
+
* Can be set to 'pipe', 'inherit', 'overlapped', or 'ignore', or an array of these strings.
|
|
1339
|
+
* If passed as an array, the first element is used for `stdin`, the second for
|
|
1340
|
+
* `stdout`, and the third for `stderr`. A fourth element can be used to
|
|
1341
|
+
* specify the `stdio` behavior beyond the standard streams. See
|
|
1342
|
+
* {@link ChildProcess.stdio} for more information.
|
|
1343
|
+
*
|
|
1344
|
+
* @default 'pipe'
|
|
1345
|
+
*/
|
|
1346
|
+
stdio?: StdioOptions | undefined;
|
|
1347
|
+
detached?: boolean | undefined;
|
|
1348
|
+
windowsVerbatimArguments?: boolean | undefined;
|
|
1349
|
+
}
|
|
1350
|
+
/**
|
|
1351
|
+
* The `child_process.fork()` method is a special case of {@link spawn} used specifically to spawn new Node.js processes.
|
|
1352
|
+
* Like {@link spawn}, a `ChildProcess` object is returned. The
|
|
1353
|
+
* returned `ChildProcess` will have an additional communication channel
|
|
1354
|
+
* built-in that allows messages to be passed back and forth between the parent and
|
|
1355
|
+
* child. See `subprocess.send()` for details.
|
|
1356
|
+
*
|
|
1357
|
+
* Keep in mind that spawned Node.js child processes are
|
|
1358
|
+
* independent of the parent with exception of the IPC communication channel
|
|
1359
|
+
* that is established between the two. Each process has its own memory, with
|
|
1360
|
+
* their own V8 instances. Because of the additional resource allocations
|
|
1361
|
+
* required, spawning a large number of child Node.js processes is not
|
|
1362
|
+
* recommended.
|
|
1363
|
+
*
|
|
1364
|
+
* By default, `child_process.fork()` will spawn new Node.js instances using the `process.execPath` of the parent process. The `execPath` property in the `options` object allows for an alternative
|
|
1365
|
+
* execution path to be used.
|
|
1366
|
+
*
|
|
1367
|
+
* Node.js processes launched with a custom `execPath` will communicate with the
|
|
1368
|
+
* parent process using the file descriptor (fd) identified using the
|
|
1369
|
+
* environment variable `NODE_CHANNEL_FD` on the child process.
|
|
1370
|
+
*
|
|
1371
|
+
* Unlike the [`fork(2)`](http://man7.org/linux/man-pages/man2/fork.2.html) POSIX system call, `child_process.fork()` does not clone the
|
|
1372
|
+
* current process.
|
|
1373
|
+
*
|
|
1374
|
+
* The `shell` option available in {@link spawn} is not supported by `child_process.fork()` and will be ignored if set.
|
|
1375
|
+
*
|
|
1376
|
+
* If the `signal` option is enabled, calling `.abort()` on the corresponding `AbortController` is similar to calling `.kill()` on the child process except
|
|
1377
|
+
* the error passed to the callback will be an `AbortError`:
|
|
1378
|
+
*
|
|
1379
|
+
* ```js
|
|
1380
|
+
* if (process.argv[2] === 'child') {
|
|
1381
|
+
* setTimeout(() => {
|
|
1382
|
+
* console.log(`Hello from ${process.argv[2]}!`);
|
|
1383
|
+
* }, 1_000);
|
|
1384
|
+
* } else {
|
|
1385
|
+
* import { fork } from 'node:child_process';
|
|
1386
|
+
* const controller = new AbortController();
|
|
1387
|
+
* const { signal } = controller;
|
|
1388
|
+
* const child = fork(__filename, ['child'], { signal });
|
|
1389
|
+
* child.on('error', (err) => {
|
|
1390
|
+
* // This will be called with err being an AbortError if the controller aborts
|
|
1391
|
+
* });
|
|
1392
|
+
* controller.abort(); // Stops the child process
|
|
1393
|
+
* }
|
|
1394
|
+
* ```
|
|
1395
|
+
* @since v0.5.0
|
|
1396
|
+
* @param modulePath The module to run in the child.
|
|
1397
|
+
* @param args List of string arguments.
|
|
1398
|
+
*/
|
|
1399
|
+
function fork(modulePath: string | URL, options?: ForkOptions): ChildProcess;
|
|
1400
|
+
function fork(modulePath: string | URL, args?: readonly string[], options?: ForkOptions): ChildProcess;
|
|
1401
|
+
interface SpawnSyncOptions extends CommonSpawnOptions {
|
|
1402
|
+
input?: string | NodeJS.ArrayBufferView | undefined;
|
|
1403
|
+
maxBuffer?: number | undefined;
|
|
1404
|
+
encoding?: BufferEncoding | "buffer" | null | undefined;
|
|
1405
|
+
}
|
|
1406
|
+
interface SpawnSyncOptionsWithStringEncoding extends SpawnSyncOptions {
|
|
1407
|
+
encoding: BufferEncoding;
|
|
1408
|
+
}
|
|
1409
|
+
interface SpawnSyncOptionsWithBufferEncoding extends SpawnSyncOptions {
|
|
1410
|
+
encoding?: "buffer" | null | undefined;
|
|
1411
|
+
}
|
|
1412
|
+
interface SpawnSyncReturns<T> {
|
|
1413
|
+
pid: number;
|
|
1414
|
+
output: Array<T | null>;
|
|
1415
|
+
stdout: T;
|
|
1416
|
+
stderr: T;
|
|
1417
|
+
status: number | null;
|
|
1418
|
+
signal: NodeJS.Signals | null;
|
|
1419
|
+
error?: Error | undefined;
|
|
1420
|
+
}
|
|
1421
|
+
/**
|
|
1422
|
+
* The `child_process.spawnSync()` method is generally identical to {@link spawn} with the exception that the function will not return
|
|
1423
|
+
* until the child process has fully closed. When a timeout has been encountered
|
|
1424
|
+
* and `killSignal` is sent, the method won't return until the process has
|
|
1425
|
+
* completely exited. If the process intercepts and handles the `SIGTERM` signal
|
|
1426
|
+
* and doesn't exit, the parent process will wait until the child process has
|
|
1427
|
+
* exited.
|
|
1428
|
+
*
|
|
1429
|
+
* **If the `shell` option is enabled, do not pass unsanitized user input to this**
|
|
1430
|
+
* **function. Any input containing shell metacharacters may be used to trigger**
|
|
1431
|
+
* **arbitrary command execution.**
|
|
1432
|
+
* @since v0.11.12
|
|
1433
|
+
* @param command The command to run.
|
|
1434
|
+
* @param args List of string arguments.
|
|
1435
|
+
*/
|
|
1436
|
+
function spawnSync(command: string): SpawnSyncReturns<Buffer>;
|
|
1437
|
+
function spawnSync(command: string, options: SpawnSyncOptionsWithStringEncoding): SpawnSyncReturns<string>;
|
|
1438
|
+
function spawnSync(command: string, options: SpawnSyncOptionsWithBufferEncoding): SpawnSyncReturns<Buffer>;
|
|
1439
|
+
function spawnSync(command: string, options?: SpawnSyncOptions): SpawnSyncReturns<string | Buffer>;
|
|
1440
|
+
function spawnSync(command: string, args: readonly string[]): SpawnSyncReturns<Buffer>;
|
|
1441
|
+
function spawnSync(
|
|
1442
|
+
command: string,
|
|
1443
|
+
args: readonly string[],
|
|
1444
|
+
options: SpawnSyncOptionsWithStringEncoding,
|
|
1445
|
+
): SpawnSyncReturns<string>;
|
|
1446
|
+
function spawnSync(
|
|
1447
|
+
command: string,
|
|
1448
|
+
args: readonly string[],
|
|
1449
|
+
options: SpawnSyncOptionsWithBufferEncoding,
|
|
1450
|
+
): SpawnSyncReturns<Buffer>;
|
|
1451
|
+
function spawnSync(
|
|
1452
|
+
command: string,
|
|
1453
|
+
args?: readonly string[],
|
|
1454
|
+
options?: SpawnSyncOptions,
|
|
1455
|
+
): SpawnSyncReturns<string | Buffer>;
|
|
1456
|
+
interface CommonExecOptions extends CommonOptions {
|
|
1457
|
+
input?: string | NodeJS.ArrayBufferView | undefined;
|
|
1458
|
+
/**
|
|
1459
|
+
* Can be set to 'pipe', 'inherit, or 'ignore', or an array of these strings.
|
|
1460
|
+
* If passed as an array, the first element is used for `stdin`, the second for
|
|
1461
|
+
* `stdout`, and the third for `stderr`. A fourth element can be used to
|
|
1462
|
+
* specify the `stdio` behavior beyond the standard streams. See
|
|
1463
|
+
* {@link ChildProcess.stdio} for more information.
|
|
1464
|
+
*
|
|
1465
|
+
* @default 'pipe'
|
|
1466
|
+
*/
|
|
1467
|
+
stdio?: StdioOptions | undefined;
|
|
1468
|
+
killSignal?: NodeJS.Signals | number | undefined;
|
|
1469
|
+
maxBuffer?: number | undefined;
|
|
1470
|
+
encoding?: BufferEncoding | "buffer" | null | undefined;
|
|
1471
|
+
}
|
|
1472
|
+
interface ExecSyncOptions extends CommonExecOptions {
|
|
1473
|
+
shell?: string | undefined;
|
|
1474
|
+
}
|
|
1475
|
+
interface ExecSyncOptionsWithStringEncoding extends ExecSyncOptions {
|
|
1476
|
+
encoding: BufferEncoding;
|
|
1477
|
+
}
|
|
1478
|
+
interface ExecSyncOptionsWithBufferEncoding extends ExecSyncOptions {
|
|
1479
|
+
encoding?: "buffer" | null | undefined;
|
|
1480
|
+
}
|
|
1481
|
+
/**
|
|
1482
|
+
* The `child_process.execSync()` method is generally identical to {@link exec} with the exception that the method will not return
|
|
1483
|
+
* until the child process has fully closed. When a timeout has been encountered
|
|
1484
|
+
* and `killSignal` is sent, the method won't return until the process has
|
|
1485
|
+
* completely exited. If the child process intercepts and handles the `SIGTERM` signal and doesn't exit, the parent process will wait until the child process
|
|
1486
|
+
* has exited.
|
|
1487
|
+
*
|
|
1488
|
+
* If the process times out or has a non-zero exit code, this method will throw.
|
|
1489
|
+
* The `Error` object will contain the entire result from {@link spawnSync}.
|
|
1490
|
+
*
|
|
1491
|
+
* **Never pass unsanitized user input to this function. Any input containing shell**
|
|
1492
|
+
* **metacharacters may be used to trigger arbitrary command execution.**
|
|
1493
|
+
* @since v0.11.12
|
|
1494
|
+
* @param command The command to run.
|
|
1495
|
+
* @return The stdout from the command.
|
|
1496
|
+
*/
|
|
1497
|
+
function execSync(command: string): Buffer;
|
|
1498
|
+
function execSync(command: string, options: ExecSyncOptionsWithStringEncoding): string;
|
|
1499
|
+
function execSync(command: string, options: ExecSyncOptionsWithBufferEncoding): Buffer;
|
|
1500
|
+
function execSync(command: string, options?: ExecSyncOptions): string | Buffer;
|
|
1501
|
+
interface ExecFileSyncOptions extends CommonExecOptions {
|
|
1502
|
+
shell?: boolean | string | undefined;
|
|
1503
|
+
}
|
|
1504
|
+
interface ExecFileSyncOptionsWithStringEncoding extends ExecFileSyncOptions {
|
|
1505
|
+
encoding: BufferEncoding;
|
|
1506
|
+
}
|
|
1507
|
+
interface ExecFileSyncOptionsWithBufferEncoding extends ExecFileSyncOptions {
|
|
1508
|
+
encoding?: "buffer" | null; // specify `null`.
|
|
1509
|
+
}
|
|
1510
|
+
/**
|
|
1511
|
+
* The `child_process.execFileSync()` method is generally identical to {@link execFile} with the exception that the method will not
|
|
1512
|
+
* return until the child process has fully closed. When a timeout has been
|
|
1513
|
+
* encountered and `killSignal` is sent, the method won't return until the process
|
|
1514
|
+
* has completely exited.
|
|
1515
|
+
*
|
|
1516
|
+
* If the child process intercepts and handles the `SIGTERM` signal and
|
|
1517
|
+
* does not exit, the parent process will still wait until the child process has
|
|
1518
|
+
* exited.
|
|
1519
|
+
*
|
|
1520
|
+
* If the process times out or has a non-zero exit code, this method will throw an `Error` that will include the full result of the underlying {@link spawnSync}.
|
|
1521
|
+
*
|
|
1522
|
+
* **If the `shell` option is enabled, do not pass unsanitized user input to this**
|
|
1523
|
+
* **function. Any input containing shell metacharacters may be used to trigger**
|
|
1524
|
+
* **arbitrary command execution.**
|
|
1525
|
+
* @since v0.11.12
|
|
1526
|
+
* @param file The name or path of the executable file to run.
|
|
1527
|
+
* @param args List of string arguments.
|
|
1528
|
+
* @return The stdout from the command.
|
|
1529
|
+
*/
|
|
1530
|
+
function execFileSync(file: string): Buffer;
|
|
1531
|
+
function execFileSync(file: string, options: ExecFileSyncOptionsWithStringEncoding): string;
|
|
1532
|
+
function execFileSync(file: string, options: ExecFileSyncOptionsWithBufferEncoding): Buffer;
|
|
1533
|
+
function execFileSync(file: string, options?: ExecFileSyncOptions): string | Buffer;
|
|
1534
|
+
function execFileSync(file: string, args: readonly string[]): Buffer;
|
|
1535
|
+
function execFileSync(
|
|
1536
|
+
file: string,
|
|
1537
|
+
args: readonly string[],
|
|
1538
|
+
options: ExecFileSyncOptionsWithStringEncoding,
|
|
1539
|
+
): string;
|
|
1540
|
+
function execFileSync(
|
|
1541
|
+
file: string,
|
|
1542
|
+
args: readonly string[],
|
|
1543
|
+
options: ExecFileSyncOptionsWithBufferEncoding,
|
|
1544
|
+
): Buffer;
|
|
1545
|
+
function execFileSync(file: string, args?: readonly string[], options?: ExecFileSyncOptions): string | Buffer;
|
|
1546
|
+
}
|
|
1547
|
+
declare module "node:child_process" {
|
|
1548
|
+
export * from "child_process";
|
|
1549
|
+
}
|