@supernovaio/cli 1.0.3 → 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commands/describe-design-system.d.ts +1 -12
- package/dist/commands/describe-design-system.js +14 -32
- package/dist/commands/describe-workspaces.d.ts +3 -1
- package/dist/commands/describe-workspaces.js +24 -12
- package/dist/commands/publish-documentation.d.ts +1 -13
- package/dist/commands/publish-documentation.js +13 -30
- package/dist/commands/run-local-exporter.d.ts +2 -8
- package/dist/commands/run-local-exporter.js +9 -50
- package/dist/commands/sync-tokens.d.ts +1 -16
- package/dist/commands/sync-tokens.js +8 -30
- package/dist/types/types.d.ts +1 -0
- package/dist/utils/figma-tokens-data-loader.d.ts +1 -1
- package/dist/utils/figma-tokens-data-loader.js +2 -2
- package/dist/utils/run-exporter/exporter-utils.d.ts +1 -0
- package/dist/utils/run-exporter/exporter-utils.js +1 -0
- package/dist/utils/sdk.d.ts +19 -0
- package/dist/utils/sdk.js +49 -0
- package/node_modules/@supernova-studio/pulsar-core/build/main/core/src/model/exporters/Exporter.d.ts +3 -0
- package/node_modules/@supernova-studio/pulsar-core/build/main/core/src/pulsar/PulsarInterface.d.ts +1 -0
- package/node_modules/@supernova-studio/pulsar-core/build/main/core/src/pulsar/managers/generators/PulsarExporterPackageGenerator.d.ts +1 -1
- package/node_modules/@supernova-studio/pulsar-core/build/main/core/src/pulsar/managers/loaders/PulsarExporterPackageBrowserLoader.d.ts +3 -1
- package/node_modules/@supernova-studio/pulsar-core/build/main/core/src/pulsar/managers/loaders/PulsarExporterPackageGithubLoader.d.ts +3 -1
- package/node_modules/@supernova-studio/pulsar-core/build/main/core/src/pulsar/managers/loaders/PulsarExporterPackageURLLoader.d.ts +3 -1
- package/node_modules/@supernova-studio/pulsar-core/build/main/pulsar-core.js +1 -1
- package/node_modules/@supernova-studio/pulsar-core/node_modules/agent-base/README.md +95 -0
- package/node_modules/@supernova-studio/pulsar-core/node_modules/agent-base/dist/helpers.d.ts +15 -0
- package/node_modules/@supernova-studio/pulsar-core/node_modules/agent-base/dist/helpers.d.ts.map +1 -0
- package/node_modules/@supernova-studio/pulsar-core/node_modules/agent-base/dist/helpers.js +66 -0
- package/node_modules/@supernova-studio/pulsar-core/node_modules/agent-base/dist/helpers.js.map +1 -0
- package/node_modules/@supernova-studio/pulsar-core/node_modules/agent-base/dist/index.d.ts +38 -0
- package/node_modules/@supernova-studio/pulsar-core/node_modules/agent-base/dist/index.d.ts.map +1 -0
- package/node_modules/@supernova-studio/pulsar-core/node_modules/agent-base/dist/index.js +112 -0
- package/node_modules/@supernova-studio/pulsar-core/node_modules/agent-base/dist/index.js.map +1 -0
- package/node_modules/@supernova-studio/pulsar-core/node_modules/agent-base/package.json +49 -0
- package/node_modules/@supernova-studio/pulsar-core/node_modules/https-proxy-agent/README.md +97 -0
- package/node_modules/@supernova-studio/pulsar-core/node_modules/https-proxy-agent/dist/index.d.ts +46 -0
- package/node_modules/@supernova-studio/pulsar-core/node_modules/https-proxy-agent/dist/index.d.ts.map +1 -0
- package/node_modules/@supernova-studio/pulsar-core/node_modules/https-proxy-agent/dist/index.js +174 -0
- package/node_modules/@supernova-studio/pulsar-core/node_modules/https-proxy-agent/dist/index.js.map +1 -0
- package/node_modules/@supernova-studio/pulsar-core/node_modules/https-proxy-agent/dist/parse-proxy-response.d.ts +15 -0
- package/node_modules/@supernova-studio/pulsar-core/node_modules/https-proxy-agent/dist/parse-proxy-response.d.ts.map +1 -0
- package/node_modules/@supernova-studio/pulsar-core/node_modules/https-proxy-agent/dist/parse-proxy-response.js +101 -0
- package/node_modules/@supernova-studio/pulsar-core/node_modules/https-proxy-agent/dist/parse-proxy-response.js.map +1 -0
- package/node_modules/@supernova-studio/pulsar-core/node_modules/https-proxy-agent/package.json +50 -0
- package/node_modules/@supernova-studio/pulsar-core/package.json +5 -4
- package/node_modules/@supernova-studio/pulsar-language/build/main/language/src/extensions/dsm/DSMBridge.d.ts +4 -0
- package/node_modules/@supernova-studio/pulsar-language/build/main/language/src/interpreter/ExecutionContext.d.ts +2 -1
- package/node_modules/@supernova-studio/pulsar-language/build/main/pulsar-language.js +2 -2
- package/node_modules/@supernova-studio/pulsar-language/node_modules/agent-base/README.md +95 -0
- package/node_modules/@supernova-studio/pulsar-language/node_modules/agent-base/dist/helpers.d.ts +15 -0
- package/node_modules/@supernova-studio/pulsar-language/node_modules/agent-base/dist/helpers.d.ts.map +1 -0
- package/node_modules/@supernova-studio/pulsar-language/node_modules/agent-base/dist/helpers.js +66 -0
- package/node_modules/@supernova-studio/pulsar-language/node_modules/agent-base/dist/helpers.js.map +1 -0
- package/node_modules/@supernova-studio/pulsar-language/node_modules/agent-base/dist/index.d.ts +38 -0
- package/node_modules/@supernova-studio/pulsar-language/node_modules/agent-base/dist/index.d.ts.map +1 -0
- package/node_modules/@supernova-studio/pulsar-language/node_modules/agent-base/dist/index.js +112 -0
- package/node_modules/@supernova-studio/pulsar-language/node_modules/agent-base/dist/index.js.map +1 -0
- package/node_modules/@supernova-studio/pulsar-language/node_modules/agent-base/package.json +49 -0
- package/node_modules/@supernova-studio/pulsar-language/node_modules/https-proxy-agent/README.md +97 -0
- package/node_modules/@supernova-studio/pulsar-language/node_modules/https-proxy-agent/dist/index.d.ts +46 -0
- package/node_modules/@supernova-studio/pulsar-language/node_modules/https-proxy-agent/dist/index.d.ts.map +1 -0
- package/node_modules/@supernova-studio/pulsar-language/node_modules/https-proxy-agent/dist/index.js +174 -0
- package/node_modules/@supernova-studio/pulsar-language/node_modules/https-proxy-agent/dist/index.js.map +1 -0
- package/node_modules/@supernova-studio/pulsar-language/node_modules/https-proxy-agent/dist/parse-proxy-response.d.ts +15 -0
- package/node_modules/@supernova-studio/pulsar-language/node_modules/https-proxy-agent/dist/parse-proxy-response.d.ts.map +1 -0
- package/node_modules/@supernova-studio/pulsar-language/node_modules/https-proxy-agent/dist/parse-proxy-response.js +101 -0
- package/node_modules/@supernova-studio/pulsar-language/node_modules/https-proxy-agent/dist/parse-proxy-response.js.map +1 -0
- package/node_modules/@supernova-studio/pulsar-language/node_modules/https-proxy-agent/package.json +50 -0
- package/node_modules/@supernova-studio/pulsar-language/package.json +5 -4
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/.eslintrc.d.cts +41 -0
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/core/SDKSupernova.d.ts +7 -0
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/core/areas/SDKAreaAutomation.d.ts +156 -19
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/core/areas/SDKAreaDataSources.d.ts +14 -0
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/core/areas/SDKAreaDocumentation.d.ts +48 -2
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/core/areas/SDKAreaIntegrations.d.ts +6 -6
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/core/areas/SDKAreaMultiplayer.d.ts +10 -0
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/core/areas/SDKAreaResources.d.ts +28 -0
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/core/areas/SDKAreaVersions.d.ts +1 -1
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/core/areas/SDKAreaWorkspaces.d.ts +54 -5
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/core/data/SDKDataBridge.d.ts +4 -1
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/core/data/SDKDataCore.d.ts +95 -25
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/core/data/requests/SDKDataCoreReadRequests.d.ts +59 -12
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/core/data/requests/SDKDataCoreWriteRequests.d.ts +56 -16
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/core/resolvers/SDKAssetGroupResolver.d.ts +4 -0
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/core/resolvers/SDKTokenResolver.d.ts +4 -4
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/exports-pulsar.d.ts +2 -2
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/exports.d.ts +54 -7
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/docs/blocks/definition/SDKDocsBlockBehavior.d.ts +2 -11
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/docs/blocks/definition/SDKDocsBlockDefinition.d.ts +9 -23
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/docs/blocks/definition/SDKDocsBlockItemDefinition.d.ts +20 -0
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/docs/blocks/definition/SDKDocsBlockLayout.d.ts +2 -7
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/docs/blocks/definition/SDKDocsBlockVariant.d.ts +4 -14
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/docs/blocks/definition/actual/assets/SDKDocsBlockActualAssets.d.ts +6 -0
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/docs/blocks/definition/actual/code/SDKDocsBlockActualCode.d.ts +6 -0
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/docs/blocks/definition/actual/code-react/SDKDocsBlockActualCodeReact.d.ts +6 -0
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/docs/blocks/definition/actual/component-checklist/SDKDocsBlockActualComponentChecklist.d.ts +6 -0
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/docs/blocks/definition/actual/component-checklist-all/SDKDocsBlockActualComponentChecklistAll.d.ts +6 -0
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/docs/blocks/definition/actual/component-health/SDKDocsBlockActualComponentHealth.d.ts +6 -0
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/docs/blocks/definition/actual/figma-frames/SDKDocsBlockActualFigmaFrames.d.ts +6 -0
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/docs/blocks/definition/actual/link/SDKDocsBlockActualLink.d.ts +8 -0
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/docs/blocks/definition/actual/omni-multi-item/SDKDocsBlockActualOmniMultiItem.d.ts +6 -0
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/docs/blocks/definition/actual/omni-single-item/SDKDocsBlockActualOmniSingleItem.d.ts +6 -0
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/docs/blocks/definition/actual/release-notes/SDKDocsBlockActualReleaseNotes.d.ts +6 -0
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/docs/blocks/definition/actual/token-detail/SDKDocsBlockActualTokenDetail.d.ts +6 -0
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/docs/blocks/definition/actual/token-group/SDKDocsBlockActualTokenGroup.d.ts +6 -0
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/docs/blocks/definition/actual/token-list/SDKDocsBlockActualTokenList.d.ts +6 -0
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockAssetProperty.d.ts +22 -3
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockAssetPropertyProperty.d.ts +9 -3
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockBooleanProperty.d.ts +10 -4
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockCodeProperty.d.ts +13 -3
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockCodeSandboxProperty.d.ts +17 -4
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockColorProperty.d.ts +13 -0
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockComponentProperty.d.ts +21 -4
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockComponentPropertyProperty.d.ts +9 -3
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockDividerProperty.d.ts +9 -3
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockEmbedUrlProperty.d.ts +12 -3
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockImageProperty.d.ts +15 -5
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockMarkdownProperty.d.ts +10 -9
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockMultiRichTextProperty.d.ts +19 -0
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockMultiSelectProperty.d.ts +11 -10
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockNumberProperty.d.ts +11 -3
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockProperty.d.ts +7 -11
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockRichTextProperty.d.ts +15 -10
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockSingleSelectProperty.d.ts +11 -10
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockStorybookProperty.d.ts +22 -5
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockTableProperty.d.ts +34 -7
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockTextProperty.d.ts +12 -11
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockTokenProperty.d.ts +23 -8
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockTokenPropertyProperty.d.ts +10 -9
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockTokenTypeProperty.d.ts +13 -9
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockUrlProperty.d.ts +14 -0
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/docs/blocks/support/SDKDocsImageRef.d.ts +5 -2
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/docs/blocks/support/SDKDocsLinkRef.d.ts +10 -7
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/docs/blocks/usage/SDKDocsBlock.d.ts +31 -41
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/docs/blocks/usage/SDKDocsBlockItem.d.ts +16 -0
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/docs/entities/SDKDocsEntityHeader.d.ts +5 -2
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/documentation/SDKDocumentationLegacyGroup.d.ts +3 -3
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/documentation/SDKDocumentationLegacyPageAsset.d.ts +8 -2
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockFrame.d.ts +4 -1
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockRenderCode.d.ts +1 -1
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/documentation/configuration/SDKDocumentationLegacyItemHeader.d.ts +5 -2
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/enums/SDKCodeLanguage.d.ts +33 -0
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/enums/SDKDocBlockMode.d.ts +8 -0
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/enums/SDKDocsBlockAssetPropertyPreviewContainerSize.d.ts +6 -0
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/enums/SDKDocsBlockBehaviorDataType.d.ts +3 -1
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/enums/SDKDocsBlockImagePropertyAspectRatio.d.ts +4 -2
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/enums/SDKDocsBlockImagePropertyWidth.d.ts +2 -0
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/enums/SDKDocsBlockItemPropertyType.d.ts +7 -4
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/enums/SDKDocsBlockItemVariantLayoutAlign.d.ts +3 -3
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/enums/SDKDocsBlockItemVariantLayoutColumnResizing.d.ts +2 -2
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/enums/SDKDocsBlockItemVariantLayoutGap.d.ts +4 -4
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/enums/SDKDocsBlockMultiRichTextPropertyStyle.d.ts +8 -0
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/enums/SDKDocsBlockRichTextPropertyStyle.d.ts +0 -4
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/enums/SDKDocsPublishStatus.d.ts +4 -0
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/enums/SDKSourceType.d.ts +2 -1
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/enums/SDKTokenType.d.ts +19 -19
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/enums/SDKUserRole.d.ts +3 -2
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/exporters/CodegenAccount.d.ts +9 -0
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/exporters/CodegenAzureBranch.d.ts +7 -0
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/exporters/CodegenAzureOrganization.d.ts +7 -0
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/exporters/CodegenAzureProject.d.ts +7 -0
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/exporters/CodegenAzureRepository.d.ts +11 -0
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/exporters/CodegenBitbucketBranch.d.ts +7 -0
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/exporters/CodegenBitbucketProject.d.ts +6 -0
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/exporters/CodegenBitbucketRepository.d.ts +8 -0
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/exporters/CodegenBitbucketWorkspace.d.ts +6 -0
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/exporters/CodegenBranch.d.ts +8 -0
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/exporters/CodegenConnection.d.ts +10 -0
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/exporters/CodegenGitlabBranch.d.ts +7 -0
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/exporters/CodegenGitlabGroup.d.ts +6 -0
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/exporters/CodegenGitlabRepository.d.ts +9 -0
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/exporters/CodegenRepository.d.ts +15 -0
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/exporters/SDKConnections.d.ts +1 -1
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/exporters/SDKExporter.d.ts +7 -2
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/exporters/SDKPipeline.d.ts +42 -61
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/exporters/exporter_builds/SDKExportBuild.d.ts +6 -0
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/exporters/exporter_builds/SDKExportBuildResults.d.ts +12 -0
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/exporters/exporter_builds/SDKExportDestinations.d.ts +16 -1
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/exporters/remote/SDKRemoteAzureCodegenBranchModel.d.ts +5 -0
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/exporters/remote/SDKRemoteAzureCodegenOrganizationModel.d.ts +5 -0
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/exporters/remote/SDKRemoteAzureCodegenProjectModel.d.ts +5 -0
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/exporters/remote/SDKRemoteAzureCodegenRepositoryModel.d.ts +9 -0
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/exporters/remote/SDKRemoteBitbucketCodegenBranchModel.d.ts +5 -0
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/exporters/remote/SDKRemoteBitbucketCodegenProjectModel.d.ts +4 -0
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/exporters/remote/SDKRemoteBitbucketCodegenRepositoryModel.d.ts +6 -0
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/exporters/remote/SDKRemoteBitbucketCodegenWorkspaceModel.d.ts +4 -0
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/exporters/remote/SDKRemoteCodegenAccountModel.d.ts +7 -0
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/exporters/remote/SDKRemoteCodegenBranchModel.d.ts +6 -0
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/exporters/remote/SDKRemoteCodegenConnectionModel.d.ts +8 -0
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/exporters/remote/SDKRemoteCodegenRepositoryModel.d.ts +17 -0
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/exporters/remote/SDKRemoteConnectionsModel.d.ts +1 -1
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/exporters/remote/SDKRemoteGitlabCodegenBranchModel.d.ts +5 -0
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/exporters/remote/SDKRemoteGitlabCodegenGroupModel.d.ts +4 -0
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/exporters/remote/SDKRemoteGitlabCodegenRepositoryModel.d.ts +7 -0
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/exporters/remote/SDKRemotePipelineModel.d.ts +2 -0
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/groups/SDKAssetGroup.d.ts +4 -0
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/membership/SDKMembership.d.ts +5 -5
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/resources/SDKResource.d.ts +26 -0
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/resources/SDKResourceAsset.d.ts +6 -0
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/resources/SDKResourceFont.d.ts +15 -0
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/support/SDKFigmaFrame.d.ts +22 -0
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/support/SDKFigmaStructure.d.ts +27 -0
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/support/SDKFigmaStructureDetail.d.ts +30 -0
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/support/SDKLogger.d.ts +4 -0
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/support/SDKSource.d.ts +20 -4
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/support/SDKTokenOrigin.d.ts +1 -1
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/themes/SDKTokenTheme.d.ts +8 -8
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/themes/SDKTokenThemeOverride.d.ts +9 -9
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/tokens/SDKColorToken.d.ts +1 -0
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/tokens/SDKDimensionToken.d.ts +1 -1
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/tokens/SDKStringToken.d.ts +3 -3
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/tokens/SDKTextCaseToken.d.ts +1 -1
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/tokens/SDKTextDecorationToken.d.ts +1 -1
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/tokens/SDKTokenValue.d.ts +2 -2
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/users/SDKUser.d.ts +6 -0
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/users/SDKUserProfile.d.ts +10 -4
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/workspaces/SDKWorkspaceInvitation.d.ts +5 -1
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/workspaces/SDKWorkspaceSSOSettings.d.ts +2 -0
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/workspaces/SDKWorkspaceSubscription.d.ts +4 -0
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/tests/FigmaTokensDataLoader.d.ts +3 -3
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/tests/helpers.d.ts +1 -1
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/tools/design-tokens/SDKToolsDesignTokensPlugin.d.ts +8 -3
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/tools/design-tokens/utilities/SDKDTJSONConverter.d.ts +2 -1
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/tools/design-tokens/utilities/SDKDTJSONParser.d.ts +3 -1
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/tools/design-tokens/utilities/tree/SDKDTGroupTree.d.ts +1 -1
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/tools/docs-block-builder/SDKDocsBlockBuilder.d.ts +40 -17
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/tools/json-builder/elements-transformers/SDKToolsJSONElementFigmaTokensTransformer.d.ts +1 -1
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/tools/json-builder/elements-transformers/SDKToolsJSONElementTransformer.d.ts +1 -1
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/tools/markdown-transform/SDKToolsMarkdownTransformBlock.d.ts +2 -2
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/tools/markdown-transform/SDKToolsMarkdownTransformUtil.d.ts +1 -1
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/tools/token-preview/TokenUtilPreviewGenerator.d.ts +4 -1
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/tools/token-preview/TokenUtilPreviewStyleGenerator.d.ts +4 -1
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/tools/token-transform/SDKToolsTokenTransform.d.ts +1 -1
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/utils/CommonUtils.d.ts +5 -0
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/utils/TokenUtils.d.ts +9 -9
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/utils/deepPartial.d.ts +3 -0
- package/node_modules/@supernovaio/sdk/build/supernova-sdk-typescript.js +1 -1
- package/node_modules/@supernovaio/sdk/build/supernova-sdk-typescript.js.map +1 -1
- package/node_modules/@supernovaio/sdk/node_modules/agent-base/README.md +95 -0
- package/node_modules/@supernovaio/sdk/node_modules/agent-base/dist/helpers.d.ts +15 -0
- package/node_modules/@supernovaio/sdk/node_modules/agent-base/dist/helpers.d.ts.map +1 -0
- package/node_modules/@supernovaio/sdk/node_modules/agent-base/dist/helpers.js +66 -0
- package/node_modules/@supernovaio/sdk/node_modules/agent-base/dist/helpers.js.map +1 -0
- package/node_modules/@supernovaio/sdk/node_modules/agent-base/dist/index.d.ts +38 -0
- package/node_modules/@supernovaio/sdk/node_modules/agent-base/dist/index.d.ts.map +1 -0
- package/node_modules/@supernovaio/sdk/node_modules/agent-base/dist/index.js +112 -0
- package/node_modules/@supernovaio/sdk/node_modules/agent-base/dist/index.js.map +1 -0
- package/node_modules/@supernovaio/sdk/node_modules/agent-base/package.json +49 -0
- package/node_modules/@supernovaio/sdk/node_modules/https-proxy-agent/README.md +97 -0
- package/node_modules/@supernovaio/sdk/node_modules/https-proxy-agent/dist/index.d.ts +46 -0
- package/node_modules/@supernovaio/sdk/node_modules/https-proxy-agent/dist/index.d.ts.map +1 -0
- package/node_modules/@supernovaio/sdk/node_modules/https-proxy-agent/dist/index.js +174 -0
- package/node_modules/@supernovaio/sdk/node_modules/https-proxy-agent/dist/index.js.map +1 -0
- package/node_modules/@supernovaio/sdk/node_modules/https-proxy-agent/dist/parse-proxy-response.d.ts +15 -0
- package/node_modules/@supernovaio/sdk/node_modules/https-proxy-agent/dist/parse-proxy-response.d.ts.map +1 -0
- package/node_modules/@supernovaio/sdk/node_modules/https-proxy-agent/dist/parse-proxy-response.js +101 -0
- package/node_modules/@supernovaio/sdk/node_modules/https-proxy-agent/dist/parse-proxy-response.js.map +1 -0
- package/node_modules/@supernovaio/sdk/node_modules/https-proxy-agent/package.json +50 -0
- package/node_modules/@supernovaio/sdk/package.json +8 -1
- package/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/core/SDKDesignSystemVersionWriter.d.ts +14 -0
- package/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/core/SDKSupernova.d.ts +47 -0
- package/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/core/data/SDKDataBridge.d.ts +53 -0
- package/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/core/data/SDKDataCore.d.ts +146 -0
- package/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/elements/SDKElementProperty.d.ts +56 -0
- package/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/themes/SDKTokenTheme.d.ts +63 -0
- package/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/themes/SDKTokenThemeOverride.d.ts +49 -0
- package/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/tools/markdown-transform/SDKToolsMarkdownTransformBlock.d.ts +75 -0
- package/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/tools/markdown-transform/SDKToolsMarkdownTransformCustomBlock.d.ts +18 -0
- package/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/tools/markdown-transform/SDKToolsMarkdownTransformUtil.d.ts +34 -0
- package/node_modules/@supernovaio/supernova-sdk/build/supernova-sdk-typescript.js +2 -0
- package/node_modules/@supernovaio/supernova-sdk/build/supernova-sdk-typescript.js.map +1 -0
- package/node_modules/@supernovaio/supernova-sdk/node_modules/agent-base/README.md +95 -0
- package/node_modules/@supernovaio/supernova-sdk/node_modules/agent-base/dist/helpers.d.ts +15 -0
- package/node_modules/@supernovaio/supernova-sdk/node_modules/agent-base/dist/helpers.d.ts.map +1 -0
- package/node_modules/@supernovaio/supernova-sdk/node_modules/agent-base/dist/helpers.js +66 -0
- package/node_modules/@supernovaio/supernova-sdk/node_modules/agent-base/dist/helpers.js.map +1 -0
- package/node_modules/@supernovaio/supernova-sdk/node_modules/agent-base/dist/index.d.ts +38 -0
- package/node_modules/@supernovaio/supernova-sdk/node_modules/agent-base/dist/index.d.ts.map +1 -0
- package/node_modules/@supernovaio/supernova-sdk/node_modules/agent-base/dist/index.js +112 -0
- package/node_modules/@supernovaio/supernova-sdk/node_modules/agent-base/dist/index.js.map +1 -0
- package/node_modules/@supernovaio/supernova-sdk/node_modules/agent-base/package.json +49 -0
- package/node_modules/@supernovaio/supernova-sdk/node_modules/https-proxy-agent/README.md +97 -0
- package/node_modules/@supernovaio/supernova-sdk/node_modules/https-proxy-agent/dist/index.d.ts +46 -0
- package/node_modules/@supernovaio/supernova-sdk/node_modules/https-proxy-agent/dist/index.d.ts.map +1 -0
- package/node_modules/@supernovaio/supernova-sdk/node_modules/https-proxy-agent/dist/index.js +174 -0
- package/node_modules/@supernovaio/supernova-sdk/node_modules/https-proxy-agent/dist/index.js.map +1 -0
- package/node_modules/@supernovaio/supernova-sdk/node_modules/https-proxy-agent/dist/parse-proxy-response.d.ts +15 -0
- package/node_modules/@supernovaio/supernova-sdk/node_modules/https-proxy-agent/dist/parse-proxy-response.d.ts.map +1 -0
- package/node_modules/@supernovaio/supernova-sdk/node_modules/https-proxy-agent/dist/parse-proxy-response.js +101 -0
- package/node_modules/@supernovaio/supernova-sdk/node_modules/https-proxy-agent/dist/parse-proxy-response.js.map +1 -0
- package/node_modules/@supernovaio/supernova-sdk/node_modules/https-proxy-agent/package.json +50 -0
- package/node_modules/@supernovaio/supernova-sdk/package.json +130 -0
- package/node_modules/async-mutex/README.md +20 -16
- package/node_modules/async-mutex/es6/withTimeout.js +5 -2
- package/node_modules/async-mutex/index.mjs +5 -2
- package/node_modules/async-mutex/lib/withTimeout.js +5 -2
- package/node_modules/async-mutex/package.json +9 -9
- package/node_modules/debug/LICENSE +20 -0
- package/node_modules/debug/README.md +481 -0
- package/node_modules/debug/package.json +59 -0
- package/node_modules/debug/src/browser.js +269 -0
- package/node_modules/debug/src/common.js +274 -0
- package/node_modules/debug/src/index.js +10 -0
- package/node_modules/debug/src/node.js +263 -0
- package/node_modules/moment/CHANGELOG.md +8 -0
- package/node_modules/moment/dist/locale/ar-dz.js +8 -8
- package/node_modules/moment/dist/locale/ar-ly.js +8 -8
- package/node_modules/moment/dist/locale/ar-ps.js +112 -0
- package/node_modules/moment/dist/locale/ar.js +8 -8
- package/node_modules/moment/dist/locale/be.js +2 -2
- package/node_modules/moment/dist/locale/bs.js +14 -4
- package/node_modules/moment/dist/locale/ca.js +6 -6
- package/node_modules/moment/dist/locale/cs.js +5 -4
- package/node_modules/moment/dist/locale/cv.js +2 -2
- package/node_modules/moment/dist/locale/en-au.js +6 -6
- package/node_modules/moment/dist/locale/en-ca.js +6 -6
- package/node_modules/moment/dist/locale/en-gb.js +6 -6
- package/node_modules/moment/dist/locale/en-ie.js +6 -6
- package/node_modules/moment/dist/locale/en-il.js +6 -6
- package/node_modules/moment/dist/locale/en-in.js +6 -6
- package/node_modules/moment/dist/locale/en-nz.js +6 -6
- package/node_modules/moment/dist/locale/en-sg.js +6 -6
- package/node_modules/moment/dist/locale/it.js +4 -4
- package/node_modules/moment/dist/locale/ku-kmr.js +121 -0
- package/node_modules/moment/dist/locale/lt.js +2 -2
- package/node_modules/moment/dist/locale/me.js +2 -2
- package/node_modules/moment/dist/locale/nb.js +4 -4
- package/node_modules/moment/dist/locale/nl-be.js +1 -1
- package/node_modules/moment/dist/locale/nl.js +1 -1
- package/node_modules/moment/dist/locale/oc-lnc.js +6 -6
- package/node_modules/moment/dist/locale/ru.js +2 -2
- package/node_modules/moment/dist/locale/sv.js +6 -6
- package/node_modules/moment/dist/locale/tet.js +6 -6
- package/node_modules/moment/dist/locale/tlh.js +8 -8
- package/node_modules/moment/dist/locale/tzl.js +2 -2
- package/node_modules/moment/dist/locale/uk.js +4 -4
- package/node_modules/moment/dist/locale/x-pseudo.js +6 -6
- package/node_modules/moment/dist/moment.js +368 -365
- package/node_modules/moment/locale/ar-dz.js +8 -8
- package/node_modules/moment/locale/ar-ly.js +8 -8
- package/node_modules/moment/locale/ar-ps.js +123 -0
- package/node_modules/moment/locale/ar.js +8 -8
- package/node_modules/moment/locale/be.js +2 -2
- package/node_modules/moment/locale/bs.js +14 -4
- package/node_modules/moment/locale/ca.js +6 -6
- package/node_modules/moment/locale/cs.js +5 -4
- package/node_modules/moment/locale/cv.js +2 -2
- package/node_modules/moment/locale/en-au.js +6 -6
- package/node_modules/moment/locale/en-ca.js +6 -6
- package/node_modules/moment/locale/en-gb.js +6 -6
- package/node_modules/moment/locale/en-ie.js +6 -6
- package/node_modules/moment/locale/en-il.js +6 -6
- package/node_modules/moment/locale/en-in.js +6 -6
- package/node_modules/moment/locale/en-nz.js +6 -6
- package/node_modules/moment/locale/en-sg.js +6 -6
- package/node_modules/moment/locale/it.js +4 -4
- package/node_modules/moment/locale/ku-kmr.js +125 -0
- package/node_modules/moment/locale/lt.js +2 -2
- package/node_modules/moment/locale/me.js +2 -2
- package/node_modules/moment/locale/nb.js +4 -4
- package/node_modules/moment/locale/nl-be.js +1 -1
- package/node_modules/moment/locale/nl.js +1 -1
- package/node_modules/moment/locale/oc-lnc.js +6 -6
- package/node_modules/moment/locale/ru.js +2 -2
- package/node_modules/moment/locale/sv.js +6 -6
- package/node_modules/moment/locale/tet.js +6 -6
- package/node_modules/moment/locale/tlh.js +8 -8
- package/node_modules/moment/locale/tzl.js +2 -2
- package/node_modules/moment/locale/uk.js +4 -4
- package/node_modules/moment/locale/x-pseudo.js +6 -6
- package/node_modules/moment/min/locales.js +536 -306
- package/node_modules/moment/min/locales.min.js +1 -1
- package/node_modules/moment/min/locales.min.js.map +1 -1
- package/node_modules/moment/min/moment-with-locales.js +903 -670
- package/node_modules/moment/min/moment-with-locales.min.js +1 -1
- package/node_modules/moment/min/moment-with-locales.min.js.map +1 -1
- package/node_modules/moment/min/moment.min.js +1 -1
- package/node_modules/moment/min/moment.min.js.map +1 -1
- package/node_modules/moment/moment.js +368 -365
- package/node_modules/moment/package.json +7 -3
- package/node_modules/moment/src/lib/create/check-overflow.js +15 -15
- package/node_modules/moment/src/lib/create/valid.js +24 -24
- package/node_modules/moment/src/lib/duration/as.js +3 -15
- package/node_modules/moment/src/lib/locale/en.js +6 -6
- package/node_modules/moment/src/lib/locale/locales.js +2 -1
- package/node_modules/moment/src/lib/moment/calendar.js +10 -10
- package/node_modules/moment/src/lib/moment/get-set.js +66 -22
- package/node_modules/moment/src/lib/parse/regex.js +4 -0
- package/node_modules/moment/src/lib/units/aliases.js +50 -6
- package/node_modules/moment/src/lib/units/day-of-month.js +7 -11
- package/node_modules/moment/src/lib/units/day-of-week.js +9 -20
- package/node_modules/moment/src/lib/units/day-of-year.js +0 -9
- package/node_modules/moment/src/lib/units/era.js +13 -7
- package/node_modules/moment/src/lib/units/hour.js +5 -12
- package/node_modules/moment/src/lib/units/millisecond.js +0 -10
- package/node_modules/moment/src/lib/units/minute.js +7 -12
- package/node_modules/moment/src/lib/units/month.js +18 -27
- package/node_modules/moment/src/lib/units/priorities.js +18 -5
- package/node_modules/moment/src/lib/units/quarter.js +0 -10
- package/node_modules/moment/src/lib/units/second.js +7 -12
- package/node_modules/moment/src/lib/units/week-year.js +1 -11
- package/node_modules/moment/src/lib/units/week.js +8 -15
- package/node_modules/moment/src/lib/units/year.js +0 -10
- package/node_modules/moment/src/locale/ar-dz.js +8 -8
- package/node_modules/moment/src/locale/ar-ly.js +8 -8
- package/node_modules/moment/src/locale/ar-ps.js +112 -0
- package/node_modules/moment/src/locale/ar.js +8 -8
- package/node_modules/moment/src/locale/be.js +2 -2
- package/node_modules/moment/src/locale/bs.js +14 -4
- package/node_modules/moment/src/locale/ca.js +6 -6
- package/node_modules/moment/src/locale/cs.js +5 -4
- package/node_modules/moment/src/locale/cv.js +2 -2
- package/node_modules/moment/src/locale/en-au.js +6 -6
- package/node_modules/moment/src/locale/en-ca.js +6 -6
- package/node_modules/moment/src/locale/en-gb.js +6 -6
- package/node_modules/moment/src/locale/en-ie.js +6 -6
- package/node_modules/moment/src/locale/en-il.js +6 -6
- package/node_modules/moment/src/locale/en-in.js +6 -6
- package/node_modules/moment/src/locale/en-nz.js +6 -6
- package/node_modules/moment/src/locale/en-sg.js +6 -6
- package/node_modules/moment/src/locale/it.js +4 -4
- package/node_modules/moment/src/locale/ku-kmr.js +121 -0
- package/node_modules/moment/src/locale/lt.js +2 -2
- package/node_modules/moment/src/locale/me.js +2 -2
- package/node_modules/moment/src/locale/nb.js +4 -4
- package/node_modules/moment/src/locale/nl-be.js +1 -1
- package/node_modules/moment/src/locale/nl.js +1 -1
- package/node_modules/moment/src/locale/oc-lnc.js +6 -6
- package/node_modules/moment/src/locale/ru.js +2 -2
- package/node_modules/moment/src/locale/sv.js +6 -6
- package/node_modules/moment/src/locale/tet.js +6 -6
- package/node_modules/moment/src/locale/tlh.js +8 -8
- package/node_modules/moment/src/locale/tzl.js +2 -2
- package/node_modules/moment/src/locale/uk.js +4 -4
- package/node_modules/moment/src/locale/x-pseudo.js +6 -6
- package/node_modules/moment/src/moment.js +2 -2
- package/oclif.manifest.json +46 -1
- package/package.json +6 -4
- package/node_modules/@octokit/app/dist-node/index.js.map +0 -1
- package/node_modules/@octokit/app/dist-src/each-installation.js +0 -28
- package/node_modules/@octokit/app/dist-src/each-repository.js +0 -45
- package/node_modules/@octokit/app/dist-src/get-installation-octokit.js +0 -15
- package/node_modules/@octokit/app/dist-src/index.js +0 -77
- package/node_modules/@octokit/app/dist-src/middleware/node/index.js +0 -46
- package/node_modules/@octokit/app/dist-src/middleware/node/on-unhandled-request-default.js +0 -8
- package/node_modules/@octokit/app/dist-src/types.js +0 -1
- package/node_modules/@octokit/app/dist-src/version.js +0 -1
- package/node_modules/@octokit/app/dist-src/webhooks.js +0 -47
- package/node_modules/@octokit/app/dist-types/each-installation.d.ts +0 -119
- package/node_modules/@octokit/app/dist-types/each-repository.d.ts +0 -266
- package/node_modules/@octokit/app/dist-types/get-installation-octokit.d.ts +0 -3
- package/node_modules/@octokit/app/dist-types/index.d.ts +0 -52
- package/node_modules/@octokit/app/dist-types/middleware/node/index.d.ts +0 -12
- package/node_modules/@octokit/app/dist-types/middleware/node/on-unhandled-request-default.d.ts +0 -4
- package/node_modules/@octokit/app/dist-types/types.d.ts +0 -51
- package/node_modules/@octokit/app/dist-types/version.d.ts +0 -1
- package/node_modules/@octokit/app/dist-types/webhooks.d.ts +0 -6
- package/node_modules/@octokit/auth-app/dist-node/index.js.map +0 -1
- package/node_modules/@octokit/auth-app/dist-src/auth.js +0 -28
- package/node_modules/@octokit/auth-app/dist-src/cache.js +0 -71
- package/node_modules/@octokit/auth-app/dist-src/get-app-authentication.js +0 -24
- package/node_modules/@octokit/auth-app/dist-src/get-installation-authentication.js +0 -81
- package/node_modules/@octokit/auth-app/dist-src/hook.js +0 -88
- package/node_modules/@octokit/auth-app/dist-src/index.js +0 -46
- package/node_modules/@octokit/auth-app/dist-src/requires-app-auth.js +0 -53
- package/node_modules/@octokit/auth-app/dist-src/to-token-authentication.js +0 -12
- package/node_modules/@octokit/auth-app/dist-src/types.js +0 -1
- package/node_modules/@octokit/auth-app/dist-src/version.js +0 -1
- package/node_modules/@octokit/auth-app/dist-types/auth.d.ts +0 -20
- package/node_modules/@octokit/auth-app/dist-types/cache.d.ts +0 -5
- package/node_modules/@octokit/auth-app/dist-types/get-app-authentication.d.ts +0 -4
- package/node_modules/@octokit/auth-app/dist-types/get-installation-authentication.d.ts +0 -2
- package/node_modules/@octokit/auth-app/dist-types/hook.d.ts +0 -2
- package/node_modules/@octokit/auth-app/dist-types/index.d.ts +0 -4
- package/node_modules/@octokit/auth-app/dist-types/requires-app-auth.d.ts +0 -1
- package/node_modules/@octokit/auth-app/dist-types/to-token-authentication.d.ts +0 -2
- package/node_modules/@octokit/auth-app/dist-types/types.d.ts +0 -125
- package/node_modules/@octokit/auth-app/dist-types/version.d.ts +0 -1
- package/node_modules/@octokit/auth-app/dist-web/index.js +0 -403
- package/node_modules/@octokit/auth-app/dist-web/index.js.map +0 -1
- package/node_modules/@octokit/auth-oauth-app/dist-node/index.js.map +0 -1
- package/node_modules/@octokit/auth-oauth-app/dist-src/auth.js +0 -40
- package/node_modules/@octokit/auth-oauth-app/dist-src/hook.js +0 -24
- package/node_modules/@octokit/auth-oauth-app/dist-src/index.js +0 -20
- package/node_modules/@octokit/auth-oauth-app/dist-src/types.js +0 -1
- package/node_modules/@octokit/auth-oauth-app/dist-src/version.js +0 -1
- package/node_modules/@octokit/auth-oauth-app/dist-types/auth.d.ts +0 -18
- package/node_modules/@octokit/auth-oauth-app/dist-types/hook.d.ts +0 -3
- package/node_modules/@octokit/auth-oauth-app/dist-types/index.d.ts +0 -5
- package/node_modules/@octokit/auth-oauth-app/dist-types/types.d.ts +0 -98
- package/node_modules/@octokit/auth-oauth-app/dist-types/version.d.ts +0 -1
- package/node_modules/@octokit/auth-oauth-app/dist-web/index.js +0 -87
- package/node_modules/@octokit/auth-oauth-app/dist-web/index.js.map +0 -1
- package/node_modules/@octokit/auth-oauth-app/node_modules/@octokit/request-error/dist-node/index.js.map +0 -1
- package/node_modules/@octokit/auth-oauth-app/node_modules/@octokit/request-error/dist-src/index.js +0 -55
- package/node_modules/@octokit/auth-oauth-app/node_modules/@octokit/request-error/dist-src/types.js +0 -1
- package/node_modules/@octokit/auth-oauth-app/node_modules/@octokit/request-error/dist-types/index.d.ts +0 -33
- package/node_modules/@octokit/auth-oauth-app/node_modules/@octokit/request-error/dist-types/types.d.ts +0 -9
- package/node_modules/@octokit/auth-oauth-app/node_modules/@octokit/request-error/dist-web/index.js +0 -59
- package/node_modules/@octokit/auth-oauth-app/node_modules/@octokit/request-error/dist-web/index.js.map +0 -1
- package/node_modules/@octokit/auth-oauth-device/dist-node/index.js.map +0 -1
- package/node_modules/@octokit/auth-oauth-device/dist-src/auth.js +0 -6
- package/node_modules/@octokit/auth-oauth-device/dist-src/get-oauth-access-token.js +0 -78
- package/node_modules/@octokit/auth-oauth-device/dist-src/hook.js +0 -14
- package/node_modules/@octokit/auth-oauth-device/dist-src/index.js +0 -36
- package/node_modules/@octokit/auth-oauth-device/dist-src/types.js +0 -1
- package/node_modules/@octokit/auth-oauth-device/dist-src/version.js +0 -1
- package/node_modules/@octokit/auth-oauth-device/dist-types/auth.d.ts +0 -2
- package/node_modules/@octokit/auth-oauth-device/dist-types/get-oauth-access-token.d.ts +0 -6
- package/node_modules/@octokit/auth-oauth-device/dist-types/hook.d.ts +0 -3
- package/node_modules/@octokit/auth-oauth-device/dist-types/index.d.ts +0 -4
- package/node_modules/@octokit/auth-oauth-device/dist-types/types.d.ts +0 -68
- package/node_modules/@octokit/auth-oauth-device/dist-types/version.d.ts +0 -1
- package/node_modules/@octokit/auth-oauth-device/dist-web/index.js +0 -138
- package/node_modules/@octokit/auth-oauth-device/dist-web/index.js.map +0 -1
- package/node_modules/@octokit/auth-oauth-device/node_modules/@octokit/request-error/dist-node/index.js.map +0 -1
- package/node_modules/@octokit/auth-oauth-device/node_modules/@octokit/request-error/dist-src/index.js +0 -55
- package/node_modules/@octokit/auth-oauth-device/node_modules/@octokit/request-error/dist-src/types.js +0 -1
- package/node_modules/@octokit/auth-oauth-device/node_modules/@octokit/request-error/dist-types/index.d.ts +0 -33
- package/node_modules/@octokit/auth-oauth-device/node_modules/@octokit/request-error/dist-types/types.d.ts +0 -9
- package/node_modules/@octokit/auth-oauth-device/node_modules/@octokit/request-error/dist-web/index.js +0 -59
- package/node_modules/@octokit/auth-oauth-device/node_modules/@octokit/request-error/dist-web/index.js.map +0 -1
- package/node_modules/@octokit/auth-oauth-user/dist-node/index.js.map +0 -1
- package/node_modules/@octokit/auth-oauth-user/dist-src/auth.js +0 -94
- package/node_modules/@octokit/auth-oauth-user/dist-src/get-authentication.js +0 -48
- package/node_modules/@octokit/auth-oauth-user/dist-src/hook.js +0 -21
- package/node_modules/@octokit/auth-oauth-user/dist-src/index.js +0 -25
- package/node_modules/@octokit/auth-oauth-user/dist-src/requires-basic-auth.js +0 -20
- package/node_modules/@octokit/auth-oauth-user/dist-src/types.js +0 -1
- package/node_modules/@octokit/auth-oauth-user/dist-src/version.js +0 -1
- package/node_modules/@octokit/auth-oauth-user/dist-types/auth.d.ts +0 -3
- package/node_modules/@octokit/auth-oauth-user/dist-types/get-authentication.d.ts +0 -3
- package/node_modules/@octokit/auth-oauth-user/dist-types/hook.d.ts +0 -6
- package/node_modules/@octokit/auth-oauth-user/dist-types/index.d.ts +0 -11
- package/node_modules/@octokit/auth-oauth-user/dist-types/requires-basic-auth.d.ts +0 -1
- package/node_modules/@octokit/auth-oauth-user/dist-types/types.d.ts +0 -110
- package/node_modules/@octokit/auth-oauth-user/dist-types/version.d.ts +0 -1
- package/node_modules/@octokit/auth-oauth-user/dist-web/index.js +0 -210
- package/node_modules/@octokit/auth-oauth-user/dist-web/index.js.map +0 -1
- package/node_modules/@octokit/auth-oauth-user/node_modules/@octokit/oauth-methods/dist-node/index.js.map +0 -1
- package/node_modules/@octokit/auth-oauth-user/node_modules/@octokit/oauth-methods/dist-src/check-token.js +0 -27
- package/node_modules/@octokit/auth-oauth-user/node_modules/@octokit/oauth-methods/dist-src/create-device-code.js +0 -14
- package/node_modules/@octokit/auth-oauth-user/node_modules/@octokit/oauth-methods/dist-src/delete-authorization.js +0 -15
- package/node_modules/@octokit/auth-oauth-user/node_modules/@octokit/oauth-methods/dist-src/delete-token.js +0 -15
- package/node_modules/@octokit/auth-oauth-user/node_modules/@octokit/oauth-methods/dist-src/exchange-device-code.js +0 -34
- package/node_modules/@octokit/auth-oauth-user/node_modules/@octokit/oauth-methods/dist-src/exchange-web-flow-code.js +0 -33
- package/node_modules/@octokit/auth-oauth-user/node_modules/@octokit/oauth-methods/dist-src/get-web-flow-authorization-url.js +0 -11
- package/node_modules/@octokit/auth-oauth-user/node_modules/@octokit/oauth-methods/dist-src/index.js +0 -11
- package/node_modules/@octokit/auth-oauth-user/node_modules/@octokit/oauth-methods/dist-src/refresh-token.js +0 -27
- package/node_modules/@octokit/auth-oauth-user/node_modules/@octokit/oauth-methods/dist-src/reset-token.js +0 -28
- package/node_modules/@octokit/auth-oauth-user/node_modules/@octokit/oauth-methods/dist-src/scope-token.js +0 -21
- package/node_modules/@octokit/auth-oauth-user/node_modules/@octokit/oauth-methods/dist-src/types.js +0 -1
- package/node_modules/@octokit/auth-oauth-user/node_modules/@octokit/oauth-methods/dist-src/utils.js +0 -27
- package/node_modules/@octokit/auth-oauth-user/node_modules/@octokit/oauth-methods/dist-src/version.js +0 -1
- package/node_modules/@octokit/auth-oauth-user/node_modules/@octokit/oauth-methods/dist-types/check-token.d.ts +0 -24
- package/node_modules/@octokit/auth-oauth-user/node_modules/@octokit/oauth-methods/dist-types/create-device-code.d.ts +0 -20
- package/node_modules/@octokit/auth-oauth-user/node_modules/@octokit/oauth-methods/dist-types/delete-authorization.d.ts +0 -18
- package/node_modules/@octokit/auth-oauth-user/node_modules/@octokit/oauth-methods/dist-types/delete-token.d.ts +0 -18
- package/node_modules/@octokit/auth-oauth-user/node_modules/@octokit/oauth-methods/dist-types/exchange-device-code.d.ts +0 -57
- package/node_modules/@octokit/auth-oauth-user/node_modules/@octokit/oauth-methods/dist-types/exchange-web-flow-code.d.ts +0 -32
- package/node_modules/@octokit/auth-oauth-user/node_modules/@octokit/oauth-methods/dist-types/get-web-flow-authorization-url.d.ts +0 -25
- package/node_modules/@octokit/auth-oauth-user/node_modules/@octokit/oauth-methods/dist-types/index.d.ts +0 -12
- package/node_modules/@octokit/auth-oauth-user/node_modules/@octokit/oauth-methods/dist-types/refresh-token.d.ts +0 -13
- package/node_modules/@octokit/auth-oauth-user/node_modules/@octokit/oauth-methods/dist-types/reset-token.d.ts +0 -24
- package/node_modules/@octokit/auth-oauth-user/node_modules/@octokit/oauth-methods/dist-types/scope-token.d.ts +0 -29
- package/node_modules/@octokit/auth-oauth-user/node_modules/@octokit/oauth-methods/dist-types/types.d.ts +0 -58
- package/node_modules/@octokit/auth-oauth-user/node_modules/@octokit/oauth-methods/dist-types/utils.d.ts +0 -3
- package/node_modules/@octokit/auth-oauth-user/node_modules/@octokit/oauth-methods/dist-types/version.d.ts +0 -1
- package/node_modules/@octokit/auth-token/dist-node/index.js.map +0 -1
- package/node_modules/@octokit/auth-token/dist-src/auth.js +0 -21
- package/node_modules/@octokit/auth-token/dist-src/hook.js +0 -6
- package/node_modules/@octokit/auth-token/dist-src/index.js +0 -14
- package/node_modules/@octokit/auth-token/dist-src/types.js +0 -1
- package/node_modules/@octokit/auth-token/dist-src/with-authorization-prefix.js +0 -11
- package/node_modules/@octokit/auth-token/dist-types/auth.d.ts +0 -2
- package/node_modules/@octokit/auth-token/dist-types/hook.d.ts +0 -2
- package/node_modules/@octokit/auth-token/dist-types/index.d.ts +0 -7
- package/node_modules/@octokit/auth-token/dist-types/types.d.ts +0 -33
- package/node_modules/@octokit/auth-token/dist-types/with-authorization-prefix.d.ts +0 -6
- package/node_modules/@octokit/auth-token/dist-web/index.js +0 -55
- package/node_modules/@octokit/auth-token/dist-web/index.js.map +0 -1
- package/node_modules/@octokit/auth-unauthenticated/dist-node/index.js.map +0 -1
- package/node_modules/@octokit/auth-unauthenticated/dist-src/auth.js +0 -6
- package/node_modules/@octokit/auth-unauthenticated/dist-src/hook.js +0 -27
- package/node_modules/@octokit/auth-unauthenticated/dist-src/index.js +0 -10
- package/node_modules/@octokit/auth-unauthenticated/dist-src/is-abuse-limit-error.js +0 -7
- package/node_modules/@octokit/auth-unauthenticated/dist-src/is-rate-limit-error.js +0 -10
- package/node_modules/@octokit/auth-unauthenticated/dist-src/types.js +0 -1
- package/node_modules/@octokit/auth-unauthenticated/dist-types/auth.d.ts +0 -2
- package/node_modules/@octokit/auth-unauthenticated/dist-types/hook.d.ts +0 -2
- package/node_modules/@octokit/auth-unauthenticated/dist-types/index.d.ts +0 -7
- package/node_modules/@octokit/auth-unauthenticated/dist-types/is-abuse-limit-error.d.ts +0 -2
- package/node_modules/@octokit/auth-unauthenticated/dist-types/is-rate-limit-error.d.ts +0 -2
- package/node_modules/@octokit/auth-unauthenticated/dist-types/types.d.ts +0 -18
- package/node_modules/@octokit/auth-unauthenticated/dist-web/index.js +0 -63
- package/node_modules/@octokit/auth-unauthenticated/dist-web/index.js.map +0 -1
- package/node_modules/@octokit/core/dist-node/index.js.map +0 -1
- package/node_modules/@octokit/core/dist-src/index.js +0 -125
- package/node_modules/@octokit/core/dist-src/types.js +0 -1
- package/node_modules/@octokit/core/dist-src/version.js +0 -1
- package/node_modules/@octokit/core/dist-types/index.d.ts +0 -30
- package/node_modules/@octokit/core/dist-types/types.d.ts +0 -44
- package/node_modules/@octokit/core/dist-types/version.d.ts +0 -1
- package/node_modules/@octokit/core/dist-web/index.js +0 -130
- package/node_modules/@octokit/core/dist-web/index.js.map +0 -1
- package/node_modules/@octokit/endpoint/dist-node/index.js.map +0 -1
- package/node_modules/@octokit/endpoint/dist-src/defaults.js +0 -17
- package/node_modules/@octokit/endpoint/dist-src/endpoint-with-defaults.js +0 -5
- package/node_modules/@octokit/endpoint/dist-src/index.js +0 -3
- package/node_modules/@octokit/endpoint/dist-src/merge.js +0 -26
- package/node_modules/@octokit/endpoint/dist-src/parse.js +0 -81
- package/node_modules/@octokit/endpoint/dist-src/util/add-query-parameters.js +0 -17
- package/node_modules/@octokit/endpoint/dist-src/util/extract-url-variable-names.js +0 -11
- package/node_modules/@octokit/endpoint/dist-src/util/lowercase-keys.js +0 -9
- package/node_modules/@octokit/endpoint/dist-src/util/merge-deep.js +0 -16
- package/node_modules/@octokit/endpoint/dist-src/util/omit.js +0 -8
- package/node_modules/@octokit/endpoint/dist-src/util/remove-undefined-properties.js +0 -8
- package/node_modules/@octokit/endpoint/dist-src/util/url-template.js +0 -164
- package/node_modules/@octokit/endpoint/dist-src/version.js +0 -1
- package/node_modules/@octokit/endpoint/dist-src/with-defaults.js +0 -13
- package/node_modules/@octokit/endpoint/dist-types/defaults.d.ts +0 -2
- package/node_modules/@octokit/endpoint/dist-types/endpoint-with-defaults.d.ts +0 -3
- package/node_modules/@octokit/endpoint/dist-types/index.d.ts +0 -1
- package/node_modules/@octokit/endpoint/dist-types/merge.d.ts +0 -2
- package/node_modules/@octokit/endpoint/dist-types/parse.d.ts +0 -2
- package/node_modules/@octokit/endpoint/dist-types/util/add-query-parameters.d.ts +0 -4
- package/node_modules/@octokit/endpoint/dist-types/util/extract-url-variable-names.d.ts +0 -1
- package/node_modules/@octokit/endpoint/dist-types/util/lowercase-keys.d.ts +0 -5
- package/node_modules/@octokit/endpoint/dist-types/util/merge-deep.d.ts +0 -1
- package/node_modules/@octokit/endpoint/dist-types/util/omit.d.ts +0 -5
- package/node_modules/@octokit/endpoint/dist-types/util/remove-undefined-properties.d.ts +0 -1
- package/node_modules/@octokit/endpoint/dist-types/util/url-template.d.ts +0 -3
- package/node_modules/@octokit/endpoint/dist-types/version.d.ts +0 -1
- package/node_modules/@octokit/endpoint/dist-types/with-defaults.d.ts +0 -2
- package/node_modules/@octokit/endpoint/dist-web/index.js +0 -381
- package/node_modules/@octokit/endpoint/dist-web/index.js.map +0 -1
- package/node_modules/@octokit/graphql/dist-node/index.js.map +0 -1
- package/node_modules/@octokit/graphql/dist-src/error.js +0 -21
- package/node_modules/@octokit/graphql/dist-src/graphql.js +0 -52
- package/node_modules/@octokit/graphql/dist-src/index.js +0 -18
- package/node_modules/@octokit/graphql/dist-src/types.js +0 -1
- package/node_modules/@octokit/graphql/dist-src/version.js +0 -1
- package/node_modules/@octokit/graphql/dist-src/with-defaults.js +0 -12
- package/node_modules/@octokit/graphql/dist-types/error.d.ts +0 -13
- package/node_modules/@octokit/graphql/dist-types/graphql.d.ts +0 -3
- package/node_modules/@octokit/graphql/dist-types/index.d.ts +0 -5
- package/node_modules/@octokit/graphql/dist-types/types.d.ts +0 -55
- package/node_modules/@octokit/graphql/dist-types/version.d.ts +0 -1
- package/node_modules/@octokit/graphql/dist-types/with-defaults.d.ts +0 -3
- package/node_modules/@octokit/graphql/dist-web/index.js +0 -106
- package/node_modules/@octokit/graphql/dist-web/index.js.map +0 -1
- package/node_modules/@octokit/oauth-app/dist-node/index.js.map +0 -1
- package/node_modules/@octokit/oauth-app/dist-src/add-event-handler.js +0 -12
- package/node_modules/@octokit/oauth-app/dist-src/emit-event.js +0 -13
- package/node_modules/@octokit/oauth-app/dist-src/index.js +0 -68
- package/node_modules/@octokit/oauth-app/dist-src/methods/check-token.js +0 -13
- package/node_modules/@octokit/oauth-app/dist-src/methods/create-token.js +0 -29
- package/node_modules/@octokit/oauth-app/dist-src/methods/delete-authorization.js +0 -44
- package/node_modules/@octokit/oauth-app/dist-src/methods/delete-token.js +0 -33
- package/node_modules/@octokit/oauth-app/dist-src/methods/get-oauth-client-code.js +0 -7
- package/node_modules/@octokit/oauth-app/dist-src/methods/get-user-octokit.js +0 -26
- package/node_modules/@octokit/oauth-app/dist-src/methods/get-web-flow-authorization-url.js +0 -14
- package/node_modules/@octokit/oauth-app/dist-src/methods/refresh-token.js +0 -35
- package/node_modules/@octokit/oauth-app/dist-src/methods/reset-token.js +0 -63
- package/node_modules/@octokit/oauth-app/dist-src/methods/scope-token.js +0 -35
- package/node_modules/@octokit/oauth-app/dist-src/middleware/aws-lambda/api-gateway-v2-parse-request.js +0 -12
- package/node_modules/@octokit/oauth-app/dist-src/middleware/aws-lambda/api-gateway-v2-send-response.js +0 -7
- package/node_modules/@octokit/oauth-app/dist-src/middleware/aws-lambda/api-gateway-v2.js +0 -16
- package/node_modules/@octokit/oauth-app/dist-src/middleware/handle-request.js +0 -218
- package/node_modules/@octokit/oauth-app/dist-src/middleware/node/index.js +0 -24
- package/node_modules/@octokit/oauth-app/dist-src/middleware/node/parse-request.js +0 -14
- package/node_modules/@octokit/oauth-app/dist-src/middleware/node/send-response.js +0 -4
- package/node_modules/@octokit/oauth-app/dist-src/middleware/on-unhandled-request-default.js +0 -9
- package/node_modules/@octokit/oauth-app/dist-src/middleware/types.js +0 -1
- package/node_modules/@octokit/oauth-app/dist-src/middleware/web-worker/index.js +0 -23
- package/node_modules/@octokit/oauth-app/dist-src/middleware/web-worker/parse-request.js +0 -10
- package/node_modules/@octokit/oauth-app/dist-src/middleware/web-worker/send-response.js +0 -6
- package/node_modules/@octokit/oauth-app/dist-src/oauth-app-octokit.js +0 -6
- package/node_modules/@octokit/oauth-app/dist-src/types.js +0 -1
- package/node_modules/@octokit/oauth-app/dist-src/version.js +0 -1
- package/node_modules/@octokit/oauth-app/dist-types/add-event-handler.d.ts +0 -2
- package/node_modules/@octokit/oauth-app/dist-types/emit-event.d.ts +0 -2
- package/node_modules/@octokit/oauth-app/dist-types/index.d.ts +0 -46
- package/node_modules/@octokit/oauth-app/dist-types/methods/check-token.d.ts +0 -14
- package/node_modules/@octokit/oauth-app/dist-types/methods/create-token.d.ts +0 -24
- package/node_modules/@octokit/oauth-app/dist-types/methods/delete-authorization.d.ts +0 -9
- package/node_modules/@octokit/oauth-app/dist-types/methods/delete-token.d.ts +0 -9
- package/node_modules/@octokit/oauth-app/dist-types/methods/get-oauth-client-code.d.ts +0 -1
- package/node_modules/@octokit/oauth-app/dist-types/methods/get-user-octokit.d.ts +0 -10
- package/node_modules/@octokit/oauth-app/dist-types/methods/get-web-flow-authorization-url.d.ts +0 -10
- package/node_modules/@octokit/oauth-app/dist-types/methods/refresh-token.d.ts +0 -19
- package/node_modules/@octokit/oauth-app/dist-types/methods/reset-token.d.ts +0 -24
- package/node_modules/@octokit/oauth-app/dist-types/methods/scope-token.d.ts +0 -19
- package/node_modules/@octokit/oauth-app/dist-types/middleware/aws-lambda/api-gateway-v2-parse-request.d.ts +0 -3
- package/node_modules/@octokit/oauth-app/dist-types/middleware/aws-lambda/api-gateway-v2-send-response.d.ts +0 -3
- package/node_modules/@octokit/oauth-app/dist-types/middleware/aws-lambda/api-gateway-v2.d.ts +0 -7
- package/node_modules/@octokit/oauth-app/dist-types/middleware/handle-request.d.ts +0 -4
- package/node_modules/@octokit/oauth-app/dist-types/middleware/node/index.d.ts +0 -9
- package/node_modules/@octokit/oauth-app/dist-types/middleware/node/parse-request.d.ts +0 -4
- package/node_modules/@octokit/oauth-app/dist-types/middleware/node/send-response.d.ts +0 -4
- package/node_modules/@octokit/oauth-app/dist-types/middleware/on-unhandled-request-default.d.ts +0 -2
- package/node_modules/@octokit/oauth-app/dist-types/middleware/types.d.ts +0 -14
- package/node_modules/@octokit/oauth-app/dist-types/middleware/web-worker/index.d.ts +0 -7
- package/node_modules/@octokit/oauth-app/dist-types/middleware/web-worker/parse-request.d.ts +0 -2
- package/node_modules/@octokit/oauth-app/dist-types/middleware/web-worker/send-response.d.ts +0 -2
- package/node_modules/@octokit/oauth-app/dist-types/oauth-app-octokit.d.ts +0 -2
- package/node_modules/@octokit/oauth-app/dist-types/types.d.ts +0 -65
- package/node_modules/@octokit/oauth-app/dist-types/version.d.ts +0 -1
- package/node_modules/@octokit/oauth-app/node_modules/@octokit/oauth-methods/dist-node/index.js.map +0 -1
- package/node_modules/@octokit/oauth-app/node_modules/@octokit/oauth-methods/dist-src/check-token.js +0 -27
- package/node_modules/@octokit/oauth-app/node_modules/@octokit/oauth-methods/dist-src/create-device-code.js +0 -14
- package/node_modules/@octokit/oauth-app/node_modules/@octokit/oauth-methods/dist-src/delete-authorization.js +0 -15
- package/node_modules/@octokit/oauth-app/node_modules/@octokit/oauth-methods/dist-src/delete-token.js +0 -15
- package/node_modules/@octokit/oauth-app/node_modules/@octokit/oauth-methods/dist-src/exchange-device-code.js +0 -34
- package/node_modules/@octokit/oauth-app/node_modules/@octokit/oauth-methods/dist-src/exchange-web-flow-code.js +0 -33
- package/node_modules/@octokit/oauth-app/node_modules/@octokit/oauth-methods/dist-src/get-web-flow-authorization-url.js +0 -11
- package/node_modules/@octokit/oauth-app/node_modules/@octokit/oauth-methods/dist-src/index.js +0 -11
- package/node_modules/@octokit/oauth-app/node_modules/@octokit/oauth-methods/dist-src/refresh-token.js +0 -27
- package/node_modules/@octokit/oauth-app/node_modules/@octokit/oauth-methods/dist-src/reset-token.js +0 -28
- package/node_modules/@octokit/oauth-app/node_modules/@octokit/oauth-methods/dist-src/scope-token.js +0 -21
- package/node_modules/@octokit/oauth-app/node_modules/@octokit/oauth-methods/dist-src/types.js +0 -1
- package/node_modules/@octokit/oauth-app/node_modules/@octokit/oauth-methods/dist-src/utils.js +0 -27
- package/node_modules/@octokit/oauth-app/node_modules/@octokit/oauth-methods/dist-src/version.js +0 -1
- package/node_modules/@octokit/oauth-app/node_modules/@octokit/oauth-methods/dist-types/check-token.d.ts +0 -24
- package/node_modules/@octokit/oauth-app/node_modules/@octokit/oauth-methods/dist-types/create-device-code.d.ts +0 -20
- package/node_modules/@octokit/oauth-app/node_modules/@octokit/oauth-methods/dist-types/delete-authorization.d.ts +0 -18
- package/node_modules/@octokit/oauth-app/node_modules/@octokit/oauth-methods/dist-types/delete-token.d.ts +0 -18
- package/node_modules/@octokit/oauth-app/node_modules/@octokit/oauth-methods/dist-types/exchange-device-code.d.ts +0 -57
- package/node_modules/@octokit/oauth-app/node_modules/@octokit/oauth-methods/dist-types/exchange-web-flow-code.d.ts +0 -32
- package/node_modules/@octokit/oauth-app/node_modules/@octokit/oauth-methods/dist-types/get-web-flow-authorization-url.d.ts +0 -25
- package/node_modules/@octokit/oauth-app/node_modules/@octokit/oauth-methods/dist-types/index.d.ts +0 -12
- package/node_modules/@octokit/oauth-app/node_modules/@octokit/oauth-methods/dist-types/refresh-token.d.ts +0 -13
- package/node_modules/@octokit/oauth-app/node_modules/@octokit/oauth-methods/dist-types/reset-token.d.ts +0 -24
- package/node_modules/@octokit/oauth-app/node_modules/@octokit/oauth-methods/dist-types/scope-token.d.ts +0 -29
- package/node_modules/@octokit/oauth-app/node_modules/@octokit/oauth-methods/dist-types/types.d.ts +0 -58
- package/node_modules/@octokit/oauth-app/node_modules/@octokit/oauth-methods/dist-types/utils.d.ts +0 -3
- package/node_modules/@octokit/oauth-app/node_modules/@octokit/oauth-methods/dist-types/version.d.ts +0 -1
- package/node_modules/@octokit/oauth-authorization-url/dist-node/index.js.map +0 -1
- package/node_modules/@octokit/oauth-authorization-url/dist-src/index.js +0 -53
- package/node_modules/@octokit/oauth-authorization-url/dist-src/types.js +0 -1
- package/node_modules/@octokit/oauth-authorization-url/dist-types/index.d.ts +0 -4
- package/node_modules/@octokit/oauth-authorization-url/dist-types/types.d.ts +0 -39
- package/node_modules/@octokit/oauth-authorization-url/dist-web/index.js +0 -56
- package/node_modules/@octokit/oauth-authorization-url/dist-web/index.js.map +0 -1
- package/node_modules/@octokit/oauth-methods/node_modules/@octokit/oauth-authorization-url/dist-node/index.js.map +0 -1
- package/node_modules/@octokit/oauth-methods/node_modules/@octokit/oauth-authorization-url/dist-src/index.js +0 -53
- package/node_modules/@octokit/oauth-methods/node_modules/@octokit/oauth-authorization-url/dist-src/types.js +0 -1
- package/node_modules/@octokit/oauth-methods/node_modules/@octokit/oauth-authorization-url/dist-types/index.d.ts +0 -4
- package/node_modules/@octokit/oauth-methods/node_modules/@octokit/oauth-authorization-url/dist-types/types.d.ts +0 -39
- package/node_modules/@octokit/oauth-methods/node_modules/@octokit/oauth-authorization-url/dist-web/index.js +0 -56
- package/node_modules/@octokit/oauth-methods/node_modules/@octokit/oauth-authorization-url/dist-web/index.js.map +0 -1
- package/node_modules/@octokit/oauth-methods/node_modules/@octokit/request-error/dist-node/index.js.map +0 -1
- package/node_modules/@octokit/oauth-methods/node_modules/@octokit/request-error/dist-src/index.js +0 -55
- package/node_modules/@octokit/oauth-methods/node_modules/@octokit/request-error/dist-src/types.js +0 -1
- package/node_modules/@octokit/oauth-methods/node_modules/@octokit/request-error/dist-types/index.d.ts +0 -33
- package/node_modules/@octokit/oauth-methods/node_modules/@octokit/request-error/dist-types/types.d.ts +0 -9
- package/node_modules/@octokit/oauth-methods/node_modules/@octokit/request-error/dist-web/index.js +0 -59
- package/node_modules/@octokit/oauth-methods/node_modules/@octokit/request-error/dist-web/index.js.map +0 -1
- package/node_modules/@octokit/plugin-paginate-rest/dist-node/index.js.map +0 -1
- package/node_modules/@octokit/plugin-paginate-rest/dist-src/compose-paginate.js +0 -5
- package/node_modules/@octokit/plugin-paginate-rest/dist-src/generated/paginating-endpoints.js +0 -216
- package/node_modules/@octokit/plugin-paginate-rest/dist-src/index.js +0 -17
- package/node_modules/@octokit/plugin-paginate-rest/dist-src/iterator.js +0 -39
- package/node_modules/@octokit/plugin-paginate-rest/dist-src/normalize-paginated-list-response.js +0 -47
- package/node_modules/@octokit/plugin-paginate-rest/dist-src/paginate.js +0 -24
- package/node_modules/@octokit/plugin-paginate-rest/dist-src/paginating-endpoints.js +0 -10
- package/node_modules/@octokit/plugin-paginate-rest/dist-src/types.js +0 -1
- package/node_modules/@octokit/plugin-paginate-rest/dist-src/version.js +0 -1
- package/node_modules/@octokit/plugin-paginate-rest/dist-types/compose-paginate.d.ts +0 -2
- package/node_modules/@octokit/plugin-paginate-rest/dist-types/generated/paginating-endpoints.d.ts +0 -1612
- package/node_modules/@octokit/plugin-paginate-rest/dist-types/index.d.ts +0 -16
- package/node_modules/@octokit/plugin-paginate-rest/dist-types/iterator.d.ts +0 -20
- package/node_modules/@octokit/plugin-paginate-rest/dist-types/normalize-paginated-list-response.d.ts +0 -18
- package/node_modules/@octokit/plugin-paginate-rest/dist-types/paginate.d.ts +0 -3
- package/node_modules/@octokit/plugin-paginate-rest/dist-types/paginating-endpoints.d.ts +0 -3
- package/node_modules/@octokit/plugin-paginate-rest/dist-types/types.d.ts +0 -242
- package/node_modules/@octokit/plugin-paginate-rest/dist-types/version.d.ts +0 -1
- package/node_modules/@octokit/plugin-paginate-rest/dist-web/index.js +0 -358
- package/node_modules/@octokit/plugin-paginate-rest/dist-web/index.js.map +0 -1
- package/node_modules/@octokit/plugin-rest-endpoint-methods/dist-node/index.js.map +0 -1
- package/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/endpoints-to-methods.js +0 -60
- package/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/generated/endpoints.js +0 -1664
- package/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/generated/method-types.js +0 -1
- package/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/generated/parameters-and-response-types.js +0 -1
- package/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/index.js +0 -18
- package/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/types.js +0 -1
- package/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/version.js +0 -1
- package/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/endpoints-to-methods.d.ts +0 -4
- package/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/generated/endpoints.d.ts +0 -3
- package/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/generated/method-types.d.ts +0 -9945
- package/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/generated/parameters-and-response-types.d.ts +0 -3211
- package/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/index.d.ts +0 -11
- package/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/types.d.ts +0 -18
- package/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/version.d.ts +0 -1
- package/node_modules/@octokit/plugin-rest-endpoint-methods/dist-web/index.js +0 -1745
- package/node_modules/@octokit/plugin-rest-endpoint-methods/dist-web/index.js.map +0 -1
- package/node_modules/@octokit/plugin-retry/dist-node/index.js.map +0 -1
- package/node_modules/@octokit/plugin-retry/dist-src/error-request.js +0 -15
- package/node_modules/@octokit/plugin-retry/dist-src/index.js +0 -27
- package/node_modules/@octokit/plugin-retry/dist-src/version.js +0 -1
- package/node_modules/@octokit/plugin-retry/dist-src/wrap-request.js +0 -18
- package/node_modules/@octokit/plugin-retry/dist-types/error-request.d.ts +0 -1
- package/node_modules/@octokit/plugin-retry/dist-types/index.d.ts +0 -11
- package/node_modules/@octokit/plugin-retry/dist-types/version.d.ts +0 -1
- package/node_modules/@octokit/plugin-retry/dist-types/wrap-request.d.ts +0 -1
- package/node_modules/@octokit/plugin-retry/dist-web/index.js +0 -64
- package/node_modules/@octokit/plugin-retry/dist-web/index.js.map +0 -1
- package/node_modules/@octokit/plugin-throttling/dist-node/index.js.map +0 -1
- package/node_modules/@octokit/plugin-throttling/dist-src/generated/triggers-notification-paths.js +0 -19
- package/node_modules/@octokit/plugin-throttling/dist-src/index.js +0 -127
- package/node_modules/@octokit/plugin-throttling/dist-src/route-matcher.js +0 -25
- package/node_modules/@octokit/plugin-throttling/dist-src/types.js +0 -1
- package/node_modules/@octokit/plugin-throttling/dist-src/version.js +0 -1
- package/node_modules/@octokit/plugin-throttling/dist-src/wrap-request.js +0 -47
- package/node_modules/@octokit/plugin-throttling/dist-types/generated/triggers-notification-paths.d.ts +0 -2
- package/node_modules/@octokit/plugin-throttling/dist-types/index.d.ts +0 -7
- package/node_modules/@octokit/plugin-throttling/dist-types/route-matcher.d.ts +0 -1
- package/node_modules/@octokit/plugin-throttling/dist-types/types.d.ts +0 -43
- package/node_modules/@octokit/plugin-throttling/dist-types/version.d.ts +0 -1
- package/node_modules/@octokit/plugin-throttling/dist-types/wrap-request.d.ts +0 -1
- package/node_modules/@octokit/plugin-throttling/dist-web/index.js +0 -223
- package/node_modules/@octokit/plugin-throttling/dist-web/index.js.map +0 -1
- package/node_modules/@octokit/request/dist-node/index.js.map +0 -1
- package/node_modules/@octokit/request/dist-src/fetch-wrapper.js +0 -119
- package/node_modules/@octokit/request/dist-src/get-buffer-response.js +0 -3
- package/node_modules/@octokit/request/dist-src/index.js +0 -9
- package/node_modules/@octokit/request/dist-src/version.js +0 -1
- package/node_modules/@octokit/request/dist-src/with-defaults.js +0 -22
- package/node_modules/@octokit/request/dist-types/fetch-wrapper.d.ts +0 -11
- package/node_modules/@octokit/request/dist-types/get-buffer-response.d.ts +0 -2
- package/node_modules/@octokit/request/dist-types/index.d.ts +0 -1
- package/node_modules/@octokit/request/dist-types/version.d.ts +0 -1
- package/node_modules/@octokit/request/dist-types/with-defaults.d.ts +0 -2
- package/node_modules/@octokit/request/dist-web/index.js +0 -158
- package/node_modules/@octokit/request/dist-web/index.js.map +0 -1
- package/node_modules/@octokit/request-error/dist-node/index.js.map +0 -1
- package/node_modules/@octokit/request-error/dist-src/index.js +0 -55
- package/node_modules/@octokit/request-error/dist-src/types.js +0 -1
- package/node_modules/@octokit/request-error/dist-types/index.d.ts +0 -33
- package/node_modules/@octokit/request-error/dist-types/types.d.ts +0 -9
- package/node_modules/@octokit/request-error/dist-web/index.js +0 -59
- package/node_modules/@octokit/request-error/dist-web/index.js.map +0 -1
- package/node_modules/@octokit/types/dist-node/index.js.map +0 -1
- package/node_modules/@octokit/types/dist-src/AuthInterface.js +0 -1
- package/node_modules/@octokit/types/dist-src/EndpointDefaults.js +0 -1
- package/node_modules/@octokit/types/dist-src/EndpointInterface.js +0 -1
- package/node_modules/@octokit/types/dist-src/EndpointOptions.js +0 -1
- package/node_modules/@octokit/types/dist-src/Fetch.js +0 -1
- package/node_modules/@octokit/types/dist-src/GetResponseTypeFromEndpointMethod.js +0 -1
- package/node_modules/@octokit/types/dist-src/OctokitResponse.js +0 -1
- package/node_modules/@octokit/types/dist-src/RequestError.js +0 -1
- package/node_modules/@octokit/types/dist-src/RequestHeaders.js +0 -1
- package/node_modules/@octokit/types/dist-src/RequestInterface.js +0 -1
- package/node_modules/@octokit/types/dist-src/RequestMethod.js +0 -1
- package/node_modules/@octokit/types/dist-src/RequestOptions.js +0 -1
- package/node_modules/@octokit/types/dist-src/RequestParameters.js +0 -1
- package/node_modules/@octokit/types/dist-src/RequestRequestOptions.js +0 -1
- package/node_modules/@octokit/types/dist-src/ResponseHeaders.js +0 -1
- package/node_modules/@octokit/types/dist-src/Route.js +0 -1
- package/node_modules/@octokit/types/dist-src/Signal.js +0 -1
- package/node_modules/@octokit/types/dist-src/StrategyInterface.js +0 -1
- package/node_modules/@octokit/types/dist-src/Url.js +0 -1
- package/node_modules/@octokit/types/dist-src/VERSION.js +0 -1
- package/node_modules/@octokit/types/dist-src/generated/Endpoints.js +0 -1
- package/node_modules/@octokit/types/dist-src/index.js +0 -21
- package/node_modules/@octokit/types/dist-types/AuthInterface.d.ts +0 -31
- package/node_modules/@octokit/types/dist-types/EndpointDefaults.d.ts +0 -21
- package/node_modules/@octokit/types/dist-types/EndpointInterface.d.ts +0 -65
- package/node_modules/@octokit/types/dist-types/EndpointOptions.d.ts +0 -7
- package/node_modules/@octokit/types/dist-types/Fetch.d.ts +0 -4
- package/node_modules/@octokit/types/dist-types/GetResponseTypeFromEndpointMethod.d.ts +0 -5
- package/node_modules/@octokit/types/dist-types/OctokitResponse.d.ts +0 -17
- package/node_modules/@octokit/types/dist-types/RequestError.d.ts +0 -11
- package/node_modules/@octokit/types/dist-types/RequestHeaders.d.ts +0 -15
- package/node_modules/@octokit/types/dist-types/RequestInterface.d.ts +0 -34
- package/node_modules/@octokit/types/dist-types/RequestMethod.d.ts +0 -4
- package/node_modules/@octokit/types/dist-types/RequestOptions.d.ts +0 -14
- package/node_modules/@octokit/types/dist-types/RequestParameters.d.ts +0 -45
- package/node_modules/@octokit/types/dist-types/RequestRequestOptions.d.ts +0 -26
- package/node_modules/@octokit/types/dist-types/ResponseHeaders.d.ts +0 -20
- package/node_modules/@octokit/types/dist-types/Route.d.ts +0 -4
- package/node_modules/@octokit/types/dist-types/Signal.d.ts +0 -6
- package/node_modules/@octokit/types/dist-types/StrategyInterface.d.ts +0 -4
- package/node_modules/@octokit/types/dist-types/Url.d.ts +0 -4
- package/node_modules/@octokit/types/dist-types/VERSION.d.ts +0 -1
- package/node_modules/@octokit/types/dist-types/generated/Endpoints.d.ts +0 -3571
- package/node_modules/@octokit/types/dist-types/index.d.ts +0 -21
- package/node_modules/@octokit/types/dist-web/index.js +0 -4
- package/node_modules/@octokit/types/dist-web/index.js.map +0 -1
- package/node_modules/@octokit/webhooks/dist-node/index.js.map +0 -1
- package/node_modules/@octokit/webhooks/dist-src/createLogger.js +0 -7
- package/node_modules/@octokit/webhooks/dist-src/event-handler/index.js +0 -20
- package/node_modules/@octokit/webhooks/dist-src/event-handler/on.js +0 -28
- package/node_modules/@octokit/webhooks/dist-src/event-handler/receive.js +0 -57
- package/node_modules/@octokit/webhooks/dist-src/event-handler/remove-listener.js +0 -17
- package/node_modules/@octokit/webhooks/dist-src/event-handler/wrap-error-handler.js +0 -19
- package/node_modules/@octokit/webhooks/dist-src/generated/webhook-names.js +0 -244
- package/node_modules/@octokit/webhooks/dist-src/index.js +0 -30
- package/node_modules/@octokit/webhooks/dist-src/middleware/node/get-missing-headers.js +0 -9
- package/node_modules/@octokit/webhooks/dist-src/middleware/node/get-payload.js +0 -25
- package/node_modules/@octokit/webhooks/dist-src/middleware/node/index.js +0 -10
- package/node_modules/@octokit/webhooks/dist-src/middleware/node/middleware.js +0 -70
- package/node_modules/@octokit/webhooks/dist-src/middleware/node/on-unhandled-request-default.js +0 -8
- package/node_modules/@octokit/webhooks/dist-src/middleware/node/types.js +0 -1
- package/node_modules/@octokit/webhooks/dist-src/sign.js +0 -5
- package/node_modules/@octokit/webhooks/dist-src/to-normalized-json-string.js +0 -9
- package/node_modules/@octokit/webhooks/dist-src/types.js +0 -1
- package/node_modules/@octokit/webhooks/dist-src/verify-and-receive.js +0 -19
- package/node_modules/@octokit/webhooks/dist-src/verify.js +0 -5
- package/node_modules/@octokit/webhooks/dist-types/createLogger.d.ts +0 -7
- package/node_modules/@octokit/webhooks/dist-types/event-handler/index.d.ts +0 -10
- package/node_modules/@octokit/webhooks/dist-types/event-handler/on.d.ts +0 -4
- package/node_modules/@octokit/webhooks/dist-types/event-handler/receive.d.ts +0 -2
- package/node_modules/@octokit/webhooks/dist-types/event-handler/remove-listener.d.ts +0 -2
- package/node_modules/@octokit/webhooks/dist-types/event-handler/wrap-error-handler.d.ts +0 -1
- package/node_modules/@octokit/webhooks/dist-types/generated/webhook-names.d.ts +0 -1
- package/node_modules/@octokit/webhooks/dist-types/index.d.ts +0 -18
- package/node_modules/@octokit/webhooks/dist-types/middleware/node/get-missing-headers.d.ts +0 -3
- package/node_modules/@octokit/webhooks/dist-types/middleware/node/get-payload.d.ts +0 -4
- package/node_modules/@octokit/webhooks/dist-types/middleware/node/index.d.ts +0 -3
- package/node_modules/@octokit/webhooks/dist-types/middleware/node/middleware.d.ts +0 -6
- package/node_modules/@octokit/webhooks/dist-types/middleware/node/on-unhandled-request-default.d.ts +0 -4
- package/node_modules/@octokit/webhooks/dist-types/middleware/node/types.d.ts +0 -9
- package/node_modules/@octokit/webhooks/dist-types/sign.d.ts +0 -1
- package/node_modules/@octokit/webhooks/dist-types/to-normalized-json-string.d.ts +0 -4
- package/node_modules/@octokit/webhooks/dist-types/types.d.ts +0 -62
- package/node_modules/@octokit/webhooks/dist-types/verify-and-receive.d.ts +0 -4
- package/node_modules/@octokit/webhooks/dist-types/verify.d.ts +0 -1
- package/node_modules/@octokit/webhooks/dist-web/index.js +0 -577
- package/node_modules/@octokit/webhooks/dist-web/index.js.map +0 -1
- package/node_modules/@octokit/webhooks-methods/dist-node/index.js.map +0 -1
- package/node_modules/@octokit/webhooks-methods/dist-src/index.js +0 -2
- package/node_modules/@octokit/webhooks-methods/dist-src/node/sign.js +0 -25
- package/node_modules/@octokit/webhooks-methods/dist-src/node/verify.js +0 -23
- package/node_modules/@octokit/webhooks-methods/dist-src/version.js +0 -1
- package/node_modules/@octokit/webhooks-methods/dist-src/web.js +0 -32
- package/node_modules/@octokit/webhooks-methods/dist-types/index.d.ts +0 -2
- package/node_modules/@octokit/webhooks-methods/dist-types/node/sign.d.ts +0 -13
- package/node_modules/@octokit/webhooks-methods/dist-types/node/verify.d.ts +0 -4
- package/node_modules/@octokit/webhooks-methods/dist-types/version.d.ts +0 -1
- package/node_modules/@octokit/webhooks-methods/dist-types/web.d.ts +0 -2
- package/node_modules/@octokit/webhooks-methods/dist-web/index.js +0 -35
- package/node_modules/@octokit/webhooks-methods/dist-web/index.js.map +0 -1
- package/node_modules/@supernova-studio/pulsar-core/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/core/SDKDesignSystemVersionWriter.d.ts +0 -14
- package/node_modules/@supernova-studio/pulsar-core/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/core/SDKSupernova.d.ts +0 -46
- package/node_modules/@supernova-studio/pulsar-core/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/core/data/SDKDataBridge.d.ts +0 -50
- package/node_modules/@supernova-studio/pulsar-core/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/core/data/SDKDataCore.d.ts +0 -146
- package/node_modules/@supernova-studio/pulsar-core/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/elements/SDKElementProperty.d.ts +0 -56
- package/node_modules/@supernova-studio/pulsar-core/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/themes/SDKTokenTheme.d.ts +0 -63
- package/node_modules/@supernova-studio/pulsar-core/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/themes/SDKTokenThemeOverride.d.ts +0 -49
- package/node_modules/@supernova-studio/pulsar-core/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/tests/Enterprise/PluginFigmaTokens_Enterprise.spec.d.ts +0 -1
- package/node_modules/@supernova-studio/pulsar-core/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/tools/markdown-transform/SDKToolsMarkdownTransformBlock.d.ts +0 -75
- package/node_modules/@supernova-studio/pulsar-core/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/tools/markdown-transform/SDKToolsMarkdownTransformUtil.d.ts +0 -26
- package/node_modules/@supernova-studio/pulsar-core/node_modules/@supernovaio/supernova-sdk/build/supernova-sdk-typescript.js +0 -2
- package/node_modules/@supernova-studio/pulsar-core/node_modules/@supernovaio/supernova-sdk/build/supernova-sdk-typescript.js.map +0 -1
- package/node_modules/@supernova-studio/pulsar-core/node_modules/@supernovaio/supernova-sdk/package.json +0 -129
- package/node_modules/@supernova-studio/pulsar-core/node_modules/node-fetch/CHANGELOG.md +0 -272
- package/node_modules/@supernova-studio/pulsar-language/LICENSE +0 -21
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/LICENSE +0 -21
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/README.md +0 -144
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/browser-bundle.d.ts +0 -1
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/core/SDKBrand.d.ts +0 -80
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/core/SDKBrandWriter.d.ts +0 -29
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/core/SDKDesignSystem.d.ts +0 -68
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/core/SDKDesignSystemVersion.d.ts +0 -103
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/core/SDKDesignSystemVersionWriter.d.ts +0 -14
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/core/SDKDocumentation.d.ts +0 -56
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/core/SDKSupernova.d.ts +0 -46
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/core/SDKWorkspace.d.ts +0 -26
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/core/data/SDKConfiguration.d.ts +0 -6
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/core/data/SDKDataBridge.d.ts +0 -50
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/core/data/SDKDataCore.d.ts +0 -146
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/core/errors/SDKSupernovaError.d.ts +0 -24
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/core/resolvers/SDKAssetGroupResolver.d.ts +0 -14
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/core/resolvers/SDKComponentResolver.d.ts +0 -8
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/core/resolvers/SDKDesignComponentGroupResolver.d.ts +0 -13
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/core/resolvers/SDKDocumentationItemResolver.d.ts +0 -32
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/core/resolvers/SDKTokenGroupResolver.d.ts +0 -11
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/core/resolvers/SDKTokenResolver.d.ts +0 -76
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/exports.d.ts +0 -117
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/index.d.ts +0 -1
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/assets/SDKAsset.d.ts +0 -17
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/assets/SDKRenderedAsset.d.ts +0 -28
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/components/SDKComponent.d.ts +0 -27
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/components/SDKDesignComponent.d.ts +0 -34
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/documentation/SDKDocumentationConfiguration.d.ts +0 -13
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/documentation/SDKDocumentationGroup.d.ts +0 -38
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/documentation/SDKDocumentationItem.d.ts +0 -28
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/documentation/SDKDocumentationPage.d.ts +0 -32
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/documentation/SDKDocumentationPageAsset.d.ts +0 -15
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/documentation/SDKDocumentationPageBlock.d.ts +0 -32
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/documentation/SDKDocumentationRichText.d.ts +0 -10
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/documentation/SDKDocumentationRichTextSpan.d.ts +0 -10
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/documentation/SDKDocumentationRichTextSpanAttribute.d.ts +0 -14
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/documentation/blocks/SDKDocumentationPageBlockAsset.d.ts +0 -15
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/documentation/blocks/SDKDocumentationPageBlockAssets.d.ts +0 -24
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/documentation/blocks/SDKDocumentationPageBlockCallout.d.ts +0 -11
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/documentation/blocks/SDKDocumentationPageBlockCode.d.ts +0 -12
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/documentation/blocks/SDKDocumentationPageBlockColumn.d.ts +0 -8
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/documentation/blocks/SDKDocumentationPageBlockColumnItem.d.ts +0 -11
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/documentation/blocks/SDKDocumentationPageBlockCustom.d.ts +0 -16
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/documentation/blocks/SDKDocumentationPageBlockDivider.d.ts +0 -8
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/documentation/blocks/SDKDocumentationPageBlockEmbedFigma.d.ts +0 -8
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/documentation/blocks/SDKDocumentationPageBlockEmbedGeneric.d.ts +0 -15
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/documentation/blocks/SDKDocumentationPageBlockEmbedLink.d.ts +0 -16
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/documentation/blocks/SDKDocumentationPageBlockEmbedStorybook.d.ts +0 -8
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/documentation/blocks/SDKDocumentationPageBlockEmbedYoutube.d.ts +0 -8
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/documentation/blocks/SDKDocumentationPageBlockFrame.d.ts +0 -18
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/documentation/blocks/SDKDocumentationPageBlockFrames.d.ts +0 -26
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/documentation/blocks/SDKDocumentationPageBlockHeading.d.ts +0 -11
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/documentation/blocks/SDKDocumentationPageBlockImage.d.ts +0 -18
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/documentation/blocks/SDKDocumentationPageBlockOrderedList.d.ts +0 -8
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/documentation/blocks/SDKDocumentationPageBlockQuote.d.ts +0 -8
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/documentation/blocks/SDKDocumentationPageBlockRenderCode.d.ts +0 -34
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/documentation/blocks/SDKDocumentationPageBlockShortcut.d.ts +0 -35
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/documentation/blocks/SDKDocumentationPageBlockShortcuts.d.ts +0 -11
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/documentation/blocks/SDKDocumentationPageBlockTab.d.ts +0 -8
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/documentation/blocks/SDKDocumentationPageBlockTabItem.d.ts +0 -10
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/documentation/blocks/SDKDocumentationPageBlockTable.d.ts +0 -23
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/documentation/blocks/SDKDocumentationPageBlockTableCell.d.ts +0 -13
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/documentation/blocks/SDKDocumentationPageBlockTableColumn.d.ts +0 -10
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/documentation/blocks/SDKDocumentationPageBlockTableRow.d.ts +0 -8
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/documentation/blocks/SDKDocumentationPageBlockText.d.ts +0 -13
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/documentation/blocks/SDKDocumentationPageBlockToken.d.ts +0 -10
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/documentation/blocks/SDKDocumentationPageBlockTokenGroup.d.ts +0 -12
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/documentation/blocks/SDKDocumentationPageBlockTokenList.d.ts +0 -10
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/documentation/blocks/SDKDocumentationPageBlockUnorderedList.d.ts +0 -8
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/documentation/builder/SDKDocumentationBlockBuilder.d.ts +0 -6
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/documentation/configuration/SDKDocumentationItemConfiguration.d.ts +0 -10
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/documentation/configuration/SDKDocumentationItemHeader.d.ts +0 -30
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/elements/SDKElementDataView.d.ts +0 -30
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/elements/SDKElementDataViewColumn.d.ts +0 -37
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/elements/SDKElementProperty.d.ts +0 -56
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/elements/SDKElementPropertyOption.d.ts +0 -13
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/elements/values/SDKElementPropertyValue.d.ts +0 -15
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/enums/SDKAlignment.d.ts +0 -5
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/enums/SDKAssetFormat.d.ts +0 -5
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/enums/SDKAssetScale.d.ts +0 -6
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/enums/SDKAssetScaleType.d.ts +0 -4
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/enums/SDKBlurType.d.ts +0 -4
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/enums/SDKBorderPosition.d.ts +0 -5
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/enums/SDKDocumentationCalloutType.d.ts +0 -6
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/enums/SDKDocumentationEnvironment.d.ts +0 -4
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/enums/SDKDocumentationGroupBehavior.d.ts +0 -4
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/enums/SDKDocumentationHeadingType.d.ts +0 -5
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/enums/SDKDocumentationItemType.d.ts +0 -4
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/enums/SDKDocumentationPageAssetType.d.ts +0 -4
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/enums/SDKDocumentationPageBlockThemeType.d.ts +0 -4
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/enums/SDKDocumentationPageBlockType.d.ts +0 -31
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/enums/SDKFrameAlignment.d.ts +0 -4
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/enums/SDKFrameLayout.d.ts +0 -11
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/enums/SDKGradientType.d.ts +0 -5
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/enums/SDKRichTextSpanAttributeType.d.ts +0 -7
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/enums/SDKShadowType.d.ts +0 -4
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/enums/SDKSourceType.d.ts +0 -4
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/enums/SDKTextCase.d.ts +0 -6
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/enums/SDKTextDecoration.d.ts +0 -5
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/enums/SDKTokenType.d.ts +0 -13
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/enums/SDKUnit.d.ts +0 -6
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/exporters/SDKExporter.d.ts +0 -74
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/exporters/custom_blocks/SDKExporterCustomBlock.d.ts +0 -23
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/exporters/custom_blocks/SDKExporterCustomBlockProperty.d.ts +0 -32
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/exporters/custom_blocks/SDKExporterCustomBlockVariant.d.ts +0 -12
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/exporters/custom_properties/SDKExporterConfigurationProperty.d.ts +0 -38
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/groups/SDKAssetGroup.d.ts +0 -20
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/groups/SDKDesignComponentGroup.d.ts +0 -33
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/groups/SDKTokenGroup.d.ts +0 -42
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/support/SDKDesignComponentOrigin.d.ts +0 -23
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/support/SDKFrameOrigin.d.ts +0 -25
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/support/SDKSize.d.ts +0 -9
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/support/SDKSource.d.ts +0 -102
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/support/SDKTokenOrigin.d.ts +0 -15
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/support/SDKWorkspaceNPMRegistry.d.ts +0 -13
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/themes/SDKThemeUtilities.d.ts +0 -6
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/themes/SDKTokenTheme.d.ts +0 -63
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/themes/SDKTokenThemeOverride.d.ts +0 -49
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/tokens/SDKBlurToken.d.ts +0 -18
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/tokens/SDKBorderToken.d.ts +0 -19
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/tokens/SDKColorToken.d.ts +0 -23
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/tokens/SDKFontToken.d.ts +0 -16
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/tokens/SDKGenericToken.d.ts +0 -20
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/tokens/SDKGradientToken.d.ts +0 -21
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/tokens/SDKMeasureToken.d.ts +0 -26
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/tokens/SDKRadiusToken.d.ts +0 -18
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/tokens/SDKShadowToken.d.ts +0 -21
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/tokens/SDKTextToken.d.ts +0 -16
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/tokens/SDKToken.d.ts +0 -30
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/tokens/SDKTokenCompator.d.ts +0 -20
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/tokens/SDKTokenValue.d.ts +0 -113
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/tokens/SDKTypographyToken.d.ts +0 -19
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/tokens/remote/SDKRemoteTokenData.d.ts +0 -45
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/tokens/remote/SDKRemoteTokenModel.d.ts +0 -62
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/tokens/remote/SDKRemoteTokenValue.d.ts +0 -72
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/model/users/SDKUser.d.ts +0 -22
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/tests/Accessors/Brand.spec.d.ts +0 -1
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/tests/Accessors/Components.spec.d.ts +0 -1
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/tests/Accessors/DesignSystem.spec.d.ts +0 -1
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/tests/Accessors/DesignSystemVersion.spec.d.ts +0 -1
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/tests/Accessors/Documentation.spec.d.ts +0 -1
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/tests/Accessors/Supernova.spec.d.ts +0 -1
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/tests/Accessors/Theme.spec.d.ts +0 -1
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/tests/Accessors/Workspace.spec.d.ts +0 -1
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/tests/Enterprise/PluginFigmaTokens_Enterprise.spec.d.ts +0 -1
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/tests/Tooling/PluginJSONBuilder.spec.d.ts +0 -1
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/tests/Tooling/ToolDocSearch.spec.d.ts +0 -1
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/tests/Tooling/ToolMarkdownTransform.spec.d.ts +0 -1
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/tests/helpers.d.ts +0 -2
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/tools/design-tokens/SDKToolsDesignTokensPlugin.d.ts +0 -48
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/tools/design-tokens/utilities/SDKDTJSONConverter.d.ts +0 -35
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/tools/design-tokens/utilities/SDKDTJSONGroupBuilder.d.ts +0 -21
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/tools/design-tokens/utilities/SDKDTJSONLoader.d.ts +0 -27
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/tools/design-tokens/utilities/SDKDTJSONParser.d.ts +0 -41
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/tools/design-tokens/utilities/SDKDTMapLoader.d.ts +0 -39
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/tools/design-tokens/utilities/SDKDTMapResolver.d.ts +0 -10
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/tools/design-tokens/utilities/SDKDTThemeMerger.d.ts +0 -23
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/tools/design-tokens/utilities/SDKDTTokenGroupTreeMerger.d.ts +0 -23
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/tools/design-tokens/utilities/SDKDTTokenMerger.d.ts +0 -17
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/tools/design-tokens/utilities/SDKDTTokenReferenceResolver.d.ts +0 -48
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/tools/design-tokens/utilities/SDKDTTokenSetResolver.d.ts +0 -12
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/tools/design-tokens/utilities/collection/SDKDTTokenCollection.d.ts +0 -13
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/tools/design-tokens/utilities/expression/SDKDTExpressionParser.d.ts +0 -5
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/tools/design-tokens/utilities/tree/SDKDTGroupTree.d.ts +0 -10
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/tools/design-tokens/utilities/tree/SDKDTGroupTreeNode.d.ts +0 -20
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/tools/design-tokens/utilities/tree/SDKDTParentChildMapping.d.ts +0 -5
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/tools/json-builder/SDKToolsJSONBuilder.d.ts +0 -57
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/tools/json-builder/elements-transformers/SDKToolsJSONElementFigmaTokensTransformer.d.ts +0 -40
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/tools/json-builder/elements-transformers/SDKToolsJSONElementStyleDictionaryTransformer.d.ts +0 -29
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/tools/json-builder/elements-transformers/SDKToolsJSONElementTransformer.d.ts +0 -77
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/tools/markdown-transform/SDKToolsMarkdownTransform.d.ts +0 -23
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/tools/markdown-transform/SDKToolsMarkdownTransformBlock.d.ts +0 -75
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/tools/markdown-transform/SDKToolsMarkdownTransformUtil.d.ts +0 -26
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/tools/search-index/SDKToolsDocSearch.d.ts +0 -47
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/tools/token-transform/SDKToolsTokenTransform.d.ts +0 -44
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/utils/FlowUtils.d.ts +0 -5
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/utils/StringUtils.d.ts +0 -72
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/supernova-sdk-typescript.js +0 -2
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/build/supernova-sdk-typescript.js.map +0 -1
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/node_modules/async-mutex/LICENSE +0 -21
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/node_modules/async-mutex/README.md +0 -482
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/node_modules/async-mutex/es6/Mutex.js +0 -38
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/node_modules/async-mutex/es6/MutexInterface.js +0 -1
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/node_modules/async-mutex/es6/Semaphore.js +0 -100
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/node_modules/async-mutex/es6/SemaphoreInterface.js +0 -1
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/node_modules/async-mutex/es6/errors.js +0 -3
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/node_modules/async-mutex/es6/index.js +0 -5
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/node_modules/async-mutex/es6/tryAcquire.js +0 -8
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/node_modules/async-mutex/es6/withTimeout.js +0 -86
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/node_modules/async-mutex/index.mjs +0 -201
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/node_modules/async-mutex/lib/Mutex.d.ts +0 -13
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/node_modules/async-mutex/lib/Mutex.js +0 -40
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/node_modules/async-mutex/lib/MutexInterface.d.ts +0 -18
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/node_modules/async-mutex/lib/MutexInterface.js +0 -2
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/node_modules/async-mutex/lib/Semaphore.d.ts +0 -20
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/node_modules/async-mutex/lib/Semaphore.js +0 -102
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/node_modules/async-mutex/lib/SemaphoreInterface.d.ts +0 -18
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/node_modules/async-mutex/lib/SemaphoreInterface.js +0 -2
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/node_modules/async-mutex/lib/errors.d.ts +0 -3
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/node_modules/async-mutex/lib/errors.js +0 -6
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/node_modules/async-mutex/lib/index.d.ts +0 -7
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/node_modules/async-mutex/lib/index.js +0 -13
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/node_modules/async-mutex/lib/tryAcquire.d.ts +0 -4
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/node_modules/async-mutex/lib/tryAcquire.js +0 -12
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/node_modules/async-mutex/lib/withTimeout.d.ts +0 -4
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/node_modules/async-mutex/lib/withTimeout.js +0 -90
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/node_modules/async-mutex/package.json +0 -88
- package/node_modules/@supernova-studio/pulsar-language/node_modules/@supernovaio/supernova-sdk/package.json +0 -129
- package/node_modules/@supernova-studio/pulsar-language/node_modules/node-fetch/LICENSE.md +0 -22
- package/node_modules/@supernova-studio/pulsar-language/node_modules/node-fetch/README.md +0 -634
- package/node_modules/@supernova-studio/pulsar-language/node_modules/node-fetch/browser.js +0 -25
- package/node_modules/@supernova-studio/pulsar-language/node_modules/node-fetch/lib/index.es.js +0 -1777
- package/node_modules/@supernova-studio/pulsar-language/node_modules/node-fetch/lib/index.js +0 -1787
- package/node_modules/@supernova-studio/pulsar-language/node_modules/node-fetch/lib/index.mjs +0 -1775
- package/node_modules/@supernova-studio/pulsar-language/node_modules/node-fetch/package.json +0 -89
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/docs/blocks/definition/SDKDocsBlockItem.d.ts +0 -27
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockEmbedFrameProperty.d.ts +0 -9
- package/node_modules/@supernovaio/sdk/build/sdk-typescript/src/utils/DocumentationUtils.d.ts +0 -2
- package/node_modules/argparse/CHANGELOG.md +0 -185
- package/node_modules/commander/CHANGELOG.md +0 -515
- package/node_modules/deprecation/dist-src/index.js +0 -14
- package/node_modules/deprecation/dist-types/index.d.ts +0 -3
- package/node_modules/deprecation/dist-web/index.js +0 -16
- package/node_modules/esprima/ChangeLog +0 -235
- package/node_modules/expr-eval/CHANGELOG.md +0 -22
- package/node_modules/fuse.js/CHANGELOG.md +0 -326
- package/node_modules/js-yaml/CHANGELOG.md +0 -557
- package/node_modules/octokit/dist-node/index.js.map +0 -1
- package/node_modules/octokit/dist-src/app.js +0 -6
- package/node_modules/octokit/dist-src/index.js +0 -2
- package/node_modules/octokit/dist-src/octokit.js +0 -31
- package/node_modules/octokit/dist-src/version.js +0 -1
- package/node_modules/octokit/dist-types/app.d.ts +0 -89
- package/node_modules/octokit/dist-types/index.d.ts +0 -2
- package/node_modules/octokit/dist-types/octokit.d.ts +0 -9
- package/node_modules/octokit/dist-types/version.d.ts +0 -1
- package/node_modules/octokit/dist-web/index.js +0 -42
- package/node_modules/octokit/dist-web/index.js.map +0 -1
- package/node_modules/pako/CHANGELOG.md +0 -164
- package/node_modules/rimraf/CHANGELOG.md +0 -65
- package/node_modules/tmp/CHANGELOG.md +0 -288
- package/node_modules/ts-dedent/HISTORY.md +0 -27
- package/node_modules/universal-github-app-jwt/dist-node/index.js.map +0 -1
- package/node_modules/universal-github-app-jwt/dist-src/get-token-browser.js +0 -19
- package/node_modules/universal-github-app-jwt/dist-src/get-token.js +0 -6
- package/node_modules/universal-github-app-jwt/dist-src/index.js +0 -23
- package/node_modules/universal-github-app-jwt/dist-src/types.js +0 -1
- package/node_modules/universal-github-app-jwt/dist-src/utils.js +0 -35
- package/node_modules/universal-github-app-jwt/dist-types/get-token-browser.d.ts +0 -2
- package/node_modules/universal-github-app-jwt/dist-types/get-token.d.ts +0 -2
- package/node_modules/universal-github-app-jwt/dist-types/index.d.ts +0 -2
- package/node_modules/universal-github-app-jwt/dist-types/types.d.ts +0 -23
- package/node_modules/universal-github-app-jwt/dist-types/utils.d.ts +0 -4
- package/node_modules/universal-github-app-jwt/dist-web/index.bundled.js.map +0 -1
- package/node_modules/universal-github-app-jwt/dist-web/index.js +0 -80
- package/node_modules/universal-github-app-jwt/dist-web/index.js.map +0 -1
- package/node_modules/universal-user-agent/dist-node/index.js.map +0 -1
- package/node_modules/universal-user-agent/dist-src/index.js +0 -9
- package/node_modules/universal-user-agent/dist-types/index.d.ts +0 -1
- package/node_modules/universal-user-agent/dist-web/index.js +0 -12
- package/node_modules/universal-user-agent/dist-web/index.js.map +0 -1
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/LICENSE +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/README.md +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/browser-bundle.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/core/SDKBrand.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/core/SDKBrandWriter.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/core/SDKDesignSystem.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/core/SDKDesignSystemVersion.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/core/SDKDocumentation.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/core/SDKWorkspace.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/core/data/SDKConfiguration.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/core/errors/SDKSupernovaError.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/core/resolvers/SDKAssetGroupResolver.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/core/resolvers/SDKComponentResolver.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/core/resolvers/SDKDesignComponentGroupResolver.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/core/resolvers/SDKDocumentationItemResolver.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/core/resolvers/SDKTokenGroupResolver.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/core/resolvers/SDKTokenResolver.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/exports.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/index.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/assets/SDKAsset.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/assets/SDKRenderedAsset.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/components/SDKComponent.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/components/SDKDesignComponent.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/documentation/SDKDocumentationConfiguration.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/documentation/SDKDocumentationGroup.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/documentation/SDKDocumentationItem.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/documentation/SDKDocumentationPage.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/documentation/SDKDocumentationPageAsset.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/documentation/SDKDocumentationPageBlock.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/documentation/SDKDocumentationRichText.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/documentation/SDKDocumentationRichTextSpan.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/documentation/SDKDocumentationRichTextSpanAttribute.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/documentation/blocks/SDKDocumentationPageBlockAsset.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/documentation/blocks/SDKDocumentationPageBlockAssets.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/documentation/blocks/SDKDocumentationPageBlockCallout.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/documentation/blocks/SDKDocumentationPageBlockCode.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/documentation/blocks/SDKDocumentationPageBlockColumn.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/documentation/blocks/SDKDocumentationPageBlockColumnItem.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/documentation/blocks/SDKDocumentationPageBlockCustom.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/documentation/blocks/SDKDocumentationPageBlockDivider.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/documentation/blocks/SDKDocumentationPageBlockEmbedFigma.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/documentation/blocks/SDKDocumentationPageBlockEmbedGeneric.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/documentation/blocks/SDKDocumentationPageBlockEmbedLink.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/documentation/blocks/SDKDocumentationPageBlockEmbedStorybook.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/documentation/blocks/SDKDocumentationPageBlockEmbedYoutube.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/documentation/blocks/SDKDocumentationPageBlockFrame.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/documentation/blocks/SDKDocumentationPageBlockFrames.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/documentation/blocks/SDKDocumentationPageBlockHeading.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/documentation/blocks/SDKDocumentationPageBlockImage.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/documentation/blocks/SDKDocumentationPageBlockOrderedList.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/documentation/blocks/SDKDocumentationPageBlockQuote.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/documentation/blocks/SDKDocumentationPageBlockRenderCode.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/documentation/blocks/SDKDocumentationPageBlockShortcut.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/documentation/blocks/SDKDocumentationPageBlockShortcuts.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/documentation/blocks/SDKDocumentationPageBlockTab.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/documentation/blocks/SDKDocumentationPageBlockTabItem.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/documentation/blocks/SDKDocumentationPageBlockTable.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/documentation/blocks/SDKDocumentationPageBlockTableCell.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/documentation/blocks/SDKDocumentationPageBlockTableColumn.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/documentation/blocks/SDKDocumentationPageBlockTableRow.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/documentation/blocks/SDKDocumentationPageBlockText.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/documentation/blocks/SDKDocumentationPageBlockToken.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/documentation/blocks/SDKDocumentationPageBlockTokenGroup.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/documentation/blocks/SDKDocumentationPageBlockTokenList.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/documentation/blocks/SDKDocumentationPageBlockUnorderedList.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/documentation/builder/SDKDocumentationBlockBuilder.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/documentation/configuration/SDKDocumentationItemConfiguration.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/documentation/configuration/SDKDocumentationItemHeader.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/elements/SDKElementDataView.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/elements/SDKElementDataViewColumn.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/elements/SDKElementPropertyOption.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/elements/values/SDKElementPropertyValue.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/enums/SDKAlignment.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/enums/SDKAssetFormat.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/enums/SDKAssetScale.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/enums/SDKAssetScaleType.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/enums/SDKBlurType.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/enums/SDKBorderPosition.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/enums/SDKDocumentationCalloutType.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/enums/SDKDocumentationEnvironment.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/enums/SDKDocumentationGroupBehavior.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/enums/SDKDocumentationHeadingType.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/enums/SDKDocumentationItemType.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/enums/SDKDocumentationPageAssetType.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/enums/SDKDocumentationPageBlockThemeType.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/enums/SDKDocumentationPageBlockType.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/enums/SDKFrameAlignment.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/enums/SDKFrameLayout.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/enums/SDKGradientType.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/enums/SDKRichTextSpanAttributeType.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/enums/SDKShadowType.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/enums/SDKSourceType.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/enums/SDKTextCase.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/enums/SDKTextDecoration.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/enums/SDKTokenType.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/enums/SDKUnit.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/exporters/SDKExporter.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/exporters/custom_blocks/SDKExporterCustomBlock.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/exporters/custom_blocks/SDKExporterCustomBlockProperty.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/exporters/custom_blocks/SDKExporterCustomBlockVariant.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/exporters/custom_properties/SDKExporterConfigurationProperty.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/groups/SDKAssetGroup.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/groups/SDKDesignComponentGroup.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/groups/SDKTokenGroup.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/support/SDKDesignComponentOrigin.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/support/SDKFrameOrigin.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/support/SDKSize.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/support/SDKSource.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/support/SDKTokenOrigin.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/support/SDKWorkspaceNPMRegistry.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/themes/SDKThemeUtilities.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/tokens/SDKBlurToken.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/tokens/SDKBorderToken.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/tokens/SDKColorToken.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/tokens/SDKFontToken.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/tokens/SDKGenericToken.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/tokens/SDKGradientToken.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/tokens/SDKMeasureToken.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/tokens/SDKRadiusToken.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/tokens/SDKShadowToken.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/tokens/SDKTextToken.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/tokens/SDKToken.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/tokens/SDKTokenCompator.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/tokens/SDKTokenValue.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/tokens/SDKTypographyToken.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/tokens/remote/SDKRemoteTokenData.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/tokens/remote/SDKRemoteTokenModel.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/tokens/remote/SDKRemoteTokenValue.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/model/users/SDKUser.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/tests/Accessors/Brand.spec.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/tests/Accessors/Components.spec.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/tests/Accessors/DesignSystem.spec.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/tests/Accessors/DesignSystemVersion.spec.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/tests/Accessors/Documentation.spec.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/tests/Accessors/Supernova.spec.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/tests/Accessors/Theme.spec.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/tests/Accessors/Workspace.spec.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio/supernova-sdk/build/Typescript/src/tests/Tooling/PluginFigmaTokens.spec.d.ts → @supernovaio/supernova-sdk/build/Typescript/src/tests/Enterprise/Enterprise.spec.d.ts} +0 -0
- /package/node_modules/{@supernova-studio/pulsar-language/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/tests/Tooling/PluginFigmaTokens.spec.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/tests/Tooling/PluginJSONBuilder.spec.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/tests/Tooling/ToolDocSearch.spec.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/tests/Tooling/ToolMarkdownTransform.spec.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/tests/helpers.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/tools/design-tokens/SDKToolsDesignTokensPlugin.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/tools/design-tokens/utilities/SDKDTJSONConverter.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/tools/design-tokens/utilities/SDKDTJSONGroupBuilder.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/tools/design-tokens/utilities/SDKDTJSONLoader.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/tools/design-tokens/utilities/SDKDTJSONParser.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/tools/design-tokens/utilities/SDKDTMapLoader.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/tools/design-tokens/utilities/SDKDTMapResolver.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/tools/design-tokens/utilities/SDKDTThemeMerger.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/tools/design-tokens/utilities/SDKDTTokenGroupTreeMerger.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/tools/design-tokens/utilities/SDKDTTokenMerger.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/tools/design-tokens/utilities/SDKDTTokenReferenceResolver.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/tools/design-tokens/utilities/SDKDTTokenSetResolver.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/tools/design-tokens/utilities/collection/SDKDTTokenCollection.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/tools/design-tokens/utilities/expression/SDKDTExpressionParser.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/tools/design-tokens/utilities/tree/SDKDTGroupTree.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/tools/design-tokens/utilities/tree/SDKDTGroupTreeNode.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/tools/design-tokens/utilities/tree/SDKDTParentChildMapping.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/tools/json-builder/SDKToolsJSONBuilder.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/tools/json-builder/elements-transformers/SDKToolsJSONElementFigmaTokensTransformer.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/tools/json-builder/elements-transformers/SDKToolsJSONElementStyleDictionaryTransformer.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/tools/json-builder/elements-transformers/SDKToolsJSONElementTransformer.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/tools/markdown-transform/SDKToolsMarkdownTransform.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/tools/search-index/SDKToolsDocSearch.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/tools/token-transform/SDKToolsTokenTransform.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/utils/FlowUtils.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/build/Typescript/src/utils/StringUtils.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/node_modules/async-mutex/LICENSE +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/node_modules/async-mutex/README.md +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/node_modules/async-mutex/es6/Mutex.js +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/node_modules/async-mutex/es6/MutexInterface.js +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/node_modules/async-mutex/es6/Semaphore.js +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/node_modules/async-mutex/es6/SemaphoreInterface.js +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/node_modules/async-mutex/es6/errors.js +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/node_modules/async-mutex/es6/index.js +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/node_modules/async-mutex/es6/tryAcquire.js +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/node_modules/async-mutex/es6/withTimeout.js +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/node_modules/async-mutex/index.mjs +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/node_modules/async-mutex/lib/Mutex.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/node_modules/async-mutex/lib/Mutex.js +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/node_modules/async-mutex/lib/MutexInterface.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/node_modules/async-mutex/lib/MutexInterface.js +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/node_modules/async-mutex/lib/Semaphore.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/node_modules/async-mutex/lib/Semaphore.js +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/node_modules/async-mutex/lib/SemaphoreInterface.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/node_modules/async-mutex/lib/SemaphoreInterface.js +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/node_modules/async-mutex/lib/errors.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/node_modules/async-mutex/lib/errors.js +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/node_modules/async-mutex/lib/index.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/node_modules/async-mutex/lib/index.js +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/node_modules/async-mutex/lib/tryAcquire.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/node_modules/async-mutex/lib/tryAcquire.js +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/node_modules/async-mutex/lib/withTimeout.d.ts +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/node_modules/async-mutex/lib/withTimeout.js +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/node_modules/async-mutex/package.json +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/node_modules/node-fetch/LICENSE.md +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/node_modules/node-fetch/README.md +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/node_modules/node-fetch/browser.js +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/node_modules/node-fetch/lib/index.es.js +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/node_modules/node-fetch/lib/index.js +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/node_modules/node-fetch/lib/index.mjs +0 -0
- /package/node_modules/{@supernova-studio/pulsar-core/node_modules/@supernovaio → @supernovaio}/supernova-sdk/node_modules/node-fetch/package.json +0 -0
package/node_modules/@supernova-studio/pulsar-language/node_modules/node-fetch/lib/index.mjs
DELETED
|
@@ -1,1775 +0,0 @@
|
|
|
1
|
-
import Stream from 'stream';
|
|
2
|
-
import http from 'http';
|
|
3
|
-
import Url from 'url';
|
|
4
|
-
import whatwgUrl from 'whatwg-url';
|
|
5
|
-
import https from 'https';
|
|
6
|
-
import zlib from 'zlib';
|
|
7
|
-
|
|
8
|
-
// Based on https://github.com/tmpvar/jsdom/blob/aa85b2abf07766ff7bf5c1f6daafb3726f2f2db5/lib/jsdom/living/blob.js
|
|
9
|
-
|
|
10
|
-
// fix for "Readable" isn't a named export issue
|
|
11
|
-
const Readable = Stream.Readable;
|
|
12
|
-
|
|
13
|
-
const BUFFER = Symbol('buffer');
|
|
14
|
-
const TYPE = Symbol('type');
|
|
15
|
-
|
|
16
|
-
class Blob {
|
|
17
|
-
constructor() {
|
|
18
|
-
this[TYPE] = '';
|
|
19
|
-
|
|
20
|
-
const blobParts = arguments[0];
|
|
21
|
-
const options = arguments[1];
|
|
22
|
-
|
|
23
|
-
const buffers = [];
|
|
24
|
-
let size = 0;
|
|
25
|
-
|
|
26
|
-
if (blobParts) {
|
|
27
|
-
const a = blobParts;
|
|
28
|
-
const length = Number(a.length);
|
|
29
|
-
for (let i = 0; i < length; i++) {
|
|
30
|
-
const element = a[i];
|
|
31
|
-
let buffer;
|
|
32
|
-
if (element instanceof Buffer) {
|
|
33
|
-
buffer = element;
|
|
34
|
-
} else if (ArrayBuffer.isView(element)) {
|
|
35
|
-
buffer = Buffer.from(element.buffer, element.byteOffset, element.byteLength);
|
|
36
|
-
} else if (element instanceof ArrayBuffer) {
|
|
37
|
-
buffer = Buffer.from(element);
|
|
38
|
-
} else if (element instanceof Blob) {
|
|
39
|
-
buffer = element[BUFFER];
|
|
40
|
-
} else {
|
|
41
|
-
buffer = Buffer.from(typeof element === 'string' ? element : String(element));
|
|
42
|
-
}
|
|
43
|
-
size += buffer.length;
|
|
44
|
-
buffers.push(buffer);
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
this[BUFFER] = Buffer.concat(buffers);
|
|
49
|
-
|
|
50
|
-
let type = options && options.type !== undefined && String(options.type).toLowerCase();
|
|
51
|
-
if (type && !/[^\u0020-\u007E]/.test(type)) {
|
|
52
|
-
this[TYPE] = type;
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
get size() {
|
|
56
|
-
return this[BUFFER].length;
|
|
57
|
-
}
|
|
58
|
-
get type() {
|
|
59
|
-
return this[TYPE];
|
|
60
|
-
}
|
|
61
|
-
text() {
|
|
62
|
-
return Promise.resolve(this[BUFFER].toString());
|
|
63
|
-
}
|
|
64
|
-
arrayBuffer() {
|
|
65
|
-
const buf = this[BUFFER];
|
|
66
|
-
const ab = buf.buffer.slice(buf.byteOffset, buf.byteOffset + buf.byteLength);
|
|
67
|
-
return Promise.resolve(ab);
|
|
68
|
-
}
|
|
69
|
-
stream() {
|
|
70
|
-
const readable = new Readable();
|
|
71
|
-
readable._read = function () {};
|
|
72
|
-
readable.push(this[BUFFER]);
|
|
73
|
-
readable.push(null);
|
|
74
|
-
return readable;
|
|
75
|
-
}
|
|
76
|
-
toString() {
|
|
77
|
-
return '[object Blob]';
|
|
78
|
-
}
|
|
79
|
-
slice() {
|
|
80
|
-
const size = this.size;
|
|
81
|
-
|
|
82
|
-
const start = arguments[0];
|
|
83
|
-
const end = arguments[1];
|
|
84
|
-
let relativeStart, relativeEnd;
|
|
85
|
-
if (start === undefined) {
|
|
86
|
-
relativeStart = 0;
|
|
87
|
-
} else if (start < 0) {
|
|
88
|
-
relativeStart = Math.max(size + start, 0);
|
|
89
|
-
} else {
|
|
90
|
-
relativeStart = Math.min(start, size);
|
|
91
|
-
}
|
|
92
|
-
if (end === undefined) {
|
|
93
|
-
relativeEnd = size;
|
|
94
|
-
} else if (end < 0) {
|
|
95
|
-
relativeEnd = Math.max(size + end, 0);
|
|
96
|
-
} else {
|
|
97
|
-
relativeEnd = Math.min(end, size);
|
|
98
|
-
}
|
|
99
|
-
const span = Math.max(relativeEnd - relativeStart, 0);
|
|
100
|
-
|
|
101
|
-
const buffer = this[BUFFER];
|
|
102
|
-
const slicedBuffer = buffer.slice(relativeStart, relativeStart + span);
|
|
103
|
-
const blob = new Blob([], { type: arguments[2] });
|
|
104
|
-
blob[BUFFER] = slicedBuffer;
|
|
105
|
-
return blob;
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
Object.defineProperties(Blob.prototype, {
|
|
110
|
-
size: { enumerable: true },
|
|
111
|
-
type: { enumerable: true },
|
|
112
|
-
slice: { enumerable: true }
|
|
113
|
-
});
|
|
114
|
-
|
|
115
|
-
Object.defineProperty(Blob.prototype, Symbol.toStringTag, {
|
|
116
|
-
value: 'Blob',
|
|
117
|
-
writable: false,
|
|
118
|
-
enumerable: false,
|
|
119
|
-
configurable: true
|
|
120
|
-
});
|
|
121
|
-
|
|
122
|
-
/**
|
|
123
|
-
* fetch-error.js
|
|
124
|
-
*
|
|
125
|
-
* FetchError interface for operational errors
|
|
126
|
-
*/
|
|
127
|
-
|
|
128
|
-
/**
|
|
129
|
-
* Create FetchError instance
|
|
130
|
-
*
|
|
131
|
-
* @param String message Error message for human
|
|
132
|
-
* @param String type Error type for machine
|
|
133
|
-
* @param String systemError For Node.js system error
|
|
134
|
-
* @return FetchError
|
|
135
|
-
*/
|
|
136
|
-
function FetchError(message, type, systemError) {
|
|
137
|
-
Error.call(this, message);
|
|
138
|
-
|
|
139
|
-
this.message = message;
|
|
140
|
-
this.type = type;
|
|
141
|
-
|
|
142
|
-
// when err.type is `system`, err.code contains system error code
|
|
143
|
-
if (systemError) {
|
|
144
|
-
this.code = this.errno = systemError.code;
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
// hide custom error implementation details from end-users
|
|
148
|
-
Error.captureStackTrace(this, this.constructor);
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
FetchError.prototype = Object.create(Error.prototype);
|
|
152
|
-
FetchError.prototype.constructor = FetchError;
|
|
153
|
-
FetchError.prototype.name = 'FetchError';
|
|
154
|
-
|
|
155
|
-
let convert;
|
|
156
|
-
try {
|
|
157
|
-
convert = require('encoding').convert;
|
|
158
|
-
} catch (e) {}
|
|
159
|
-
|
|
160
|
-
const INTERNALS = Symbol('Body internals');
|
|
161
|
-
|
|
162
|
-
// fix an issue where "PassThrough" isn't a named export for node <10
|
|
163
|
-
const PassThrough = Stream.PassThrough;
|
|
164
|
-
|
|
165
|
-
/**
|
|
166
|
-
* Body mixin
|
|
167
|
-
*
|
|
168
|
-
* Ref: https://fetch.spec.whatwg.org/#body
|
|
169
|
-
*
|
|
170
|
-
* @param Stream body Readable stream
|
|
171
|
-
* @param Object opts Response options
|
|
172
|
-
* @return Void
|
|
173
|
-
*/
|
|
174
|
-
function Body(body) {
|
|
175
|
-
var _this = this;
|
|
176
|
-
|
|
177
|
-
var _ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},
|
|
178
|
-
_ref$size = _ref.size;
|
|
179
|
-
|
|
180
|
-
let size = _ref$size === undefined ? 0 : _ref$size;
|
|
181
|
-
var _ref$timeout = _ref.timeout;
|
|
182
|
-
let timeout = _ref$timeout === undefined ? 0 : _ref$timeout;
|
|
183
|
-
|
|
184
|
-
if (body == null) {
|
|
185
|
-
// body is undefined or null
|
|
186
|
-
body = null;
|
|
187
|
-
} else if (isURLSearchParams(body)) {
|
|
188
|
-
// body is a URLSearchParams
|
|
189
|
-
body = Buffer.from(body.toString());
|
|
190
|
-
} else if (isBlob(body)) ; else if (Buffer.isBuffer(body)) ; else if (Object.prototype.toString.call(body) === '[object ArrayBuffer]') {
|
|
191
|
-
// body is ArrayBuffer
|
|
192
|
-
body = Buffer.from(body);
|
|
193
|
-
} else if (ArrayBuffer.isView(body)) {
|
|
194
|
-
// body is ArrayBufferView
|
|
195
|
-
body = Buffer.from(body.buffer, body.byteOffset, body.byteLength);
|
|
196
|
-
} else if (body instanceof Stream) ; else {
|
|
197
|
-
// none of the above
|
|
198
|
-
// coerce to string then buffer
|
|
199
|
-
body = Buffer.from(String(body));
|
|
200
|
-
}
|
|
201
|
-
this[INTERNALS] = {
|
|
202
|
-
body,
|
|
203
|
-
disturbed: false,
|
|
204
|
-
error: null
|
|
205
|
-
};
|
|
206
|
-
this.size = size;
|
|
207
|
-
this.timeout = timeout;
|
|
208
|
-
|
|
209
|
-
if (body instanceof Stream) {
|
|
210
|
-
body.on('error', function (err) {
|
|
211
|
-
const error = err.name === 'AbortError' ? err : new FetchError(`Invalid response body while trying to fetch ${_this.url}: ${err.message}`, 'system', err);
|
|
212
|
-
_this[INTERNALS].error = error;
|
|
213
|
-
});
|
|
214
|
-
}
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
Body.prototype = {
|
|
218
|
-
get body() {
|
|
219
|
-
return this[INTERNALS].body;
|
|
220
|
-
},
|
|
221
|
-
|
|
222
|
-
get bodyUsed() {
|
|
223
|
-
return this[INTERNALS].disturbed;
|
|
224
|
-
},
|
|
225
|
-
|
|
226
|
-
/**
|
|
227
|
-
* Decode response as ArrayBuffer
|
|
228
|
-
*
|
|
229
|
-
* @return Promise
|
|
230
|
-
*/
|
|
231
|
-
arrayBuffer() {
|
|
232
|
-
return consumeBody.call(this).then(function (buf) {
|
|
233
|
-
return buf.buffer.slice(buf.byteOffset, buf.byteOffset + buf.byteLength);
|
|
234
|
-
});
|
|
235
|
-
},
|
|
236
|
-
|
|
237
|
-
/**
|
|
238
|
-
* Return raw response as Blob
|
|
239
|
-
*
|
|
240
|
-
* @return Promise
|
|
241
|
-
*/
|
|
242
|
-
blob() {
|
|
243
|
-
let ct = this.headers && this.headers.get('content-type') || '';
|
|
244
|
-
return consumeBody.call(this).then(function (buf) {
|
|
245
|
-
return Object.assign(
|
|
246
|
-
// Prevent copying
|
|
247
|
-
new Blob([], {
|
|
248
|
-
type: ct.toLowerCase()
|
|
249
|
-
}), {
|
|
250
|
-
[BUFFER]: buf
|
|
251
|
-
});
|
|
252
|
-
});
|
|
253
|
-
},
|
|
254
|
-
|
|
255
|
-
/**
|
|
256
|
-
* Decode response as json
|
|
257
|
-
*
|
|
258
|
-
* @return Promise
|
|
259
|
-
*/
|
|
260
|
-
json() {
|
|
261
|
-
var _this2 = this;
|
|
262
|
-
|
|
263
|
-
return consumeBody.call(this).then(function (buffer) {
|
|
264
|
-
try {
|
|
265
|
-
return JSON.parse(buffer.toString());
|
|
266
|
-
} catch (err) {
|
|
267
|
-
return Body.Promise.reject(new FetchError(`invalid json response body at ${_this2.url} reason: ${err.message}`, 'invalid-json'));
|
|
268
|
-
}
|
|
269
|
-
});
|
|
270
|
-
},
|
|
271
|
-
|
|
272
|
-
/**
|
|
273
|
-
* Decode response as text
|
|
274
|
-
*
|
|
275
|
-
* @return Promise
|
|
276
|
-
*/
|
|
277
|
-
text() {
|
|
278
|
-
return consumeBody.call(this).then(function (buffer) {
|
|
279
|
-
return buffer.toString();
|
|
280
|
-
});
|
|
281
|
-
},
|
|
282
|
-
|
|
283
|
-
/**
|
|
284
|
-
* Decode response as buffer (non-spec api)
|
|
285
|
-
*
|
|
286
|
-
* @return Promise
|
|
287
|
-
*/
|
|
288
|
-
buffer() {
|
|
289
|
-
return consumeBody.call(this);
|
|
290
|
-
},
|
|
291
|
-
|
|
292
|
-
/**
|
|
293
|
-
* Decode response as text, while automatically detecting the encoding and
|
|
294
|
-
* trying to decode to UTF-8 (non-spec api)
|
|
295
|
-
*
|
|
296
|
-
* @return Promise
|
|
297
|
-
*/
|
|
298
|
-
textConverted() {
|
|
299
|
-
var _this3 = this;
|
|
300
|
-
|
|
301
|
-
return consumeBody.call(this).then(function (buffer) {
|
|
302
|
-
return convertBody(buffer, _this3.headers);
|
|
303
|
-
});
|
|
304
|
-
}
|
|
305
|
-
};
|
|
306
|
-
|
|
307
|
-
// In browsers, all properties are enumerable.
|
|
308
|
-
Object.defineProperties(Body.prototype, {
|
|
309
|
-
body: { enumerable: true },
|
|
310
|
-
bodyUsed: { enumerable: true },
|
|
311
|
-
arrayBuffer: { enumerable: true },
|
|
312
|
-
blob: { enumerable: true },
|
|
313
|
-
json: { enumerable: true },
|
|
314
|
-
text: { enumerable: true }
|
|
315
|
-
});
|
|
316
|
-
|
|
317
|
-
Body.mixIn = function (proto) {
|
|
318
|
-
for (const name of Object.getOwnPropertyNames(Body.prototype)) {
|
|
319
|
-
// istanbul ignore else: future proof
|
|
320
|
-
if (!(name in proto)) {
|
|
321
|
-
const desc = Object.getOwnPropertyDescriptor(Body.prototype, name);
|
|
322
|
-
Object.defineProperty(proto, name, desc);
|
|
323
|
-
}
|
|
324
|
-
}
|
|
325
|
-
};
|
|
326
|
-
|
|
327
|
-
/**
|
|
328
|
-
* Consume and convert an entire Body to a Buffer.
|
|
329
|
-
*
|
|
330
|
-
* Ref: https://fetch.spec.whatwg.org/#concept-body-consume-body
|
|
331
|
-
*
|
|
332
|
-
* @return Promise
|
|
333
|
-
*/
|
|
334
|
-
function consumeBody() {
|
|
335
|
-
var _this4 = this;
|
|
336
|
-
|
|
337
|
-
if (this[INTERNALS].disturbed) {
|
|
338
|
-
return Body.Promise.reject(new TypeError(`body used already for: ${this.url}`));
|
|
339
|
-
}
|
|
340
|
-
|
|
341
|
-
this[INTERNALS].disturbed = true;
|
|
342
|
-
|
|
343
|
-
if (this[INTERNALS].error) {
|
|
344
|
-
return Body.Promise.reject(this[INTERNALS].error);
|
|
345
|
-
}
|
|
346
|
-
|
|
347
|
-
let body = this.body;
|
|
348
|
-
|
|
349
|
-
// body is null
|
|
350
|
-
if (body === null) {
|
|
351
|
-
return Body.Promise.resolve(Buffer.alloc(0));
|
|
352
|
-
}
|
|
353
|
-
|
|
354
|
-
// body is blob
|
|
355
|
-
if (isBlob(body)) {
|
|
356
|
-
body = body.stream();
|
|
357
|
-
}
|
|
358
|
-
|
|
359
|
-
// body is buffer
|
|
360
|
-
if (Buffer.isBuffer(body)) {
|
|
361
|
-
return Body.Promise.resolve(body);
|
|
362
|
-
}
|
|
363
|
-
|
|
364
|
-
// istanbul ignore if: should never happen
|
|
365
|
-
if (!(body instanceof Stream)) {
|
|
366
|
-
return Body.Promise.resolve(Buffer.alloc(0));
|
|
367
|
-
}
|
|
368
|
-
|
|
369
|
-
// body is stream
|
|
370
|
-
// get ready to actually consume the body
|
|
371
|
-
let accum = [];
|
|
372
|
-
let accumBytes = 0;
|
|
373
|
-
let abort = false;
|
|
374
|
-
|
|
375
|
-
return new Body.Promise(function (resolve, reject) {
|
|
376
|
-
let resTimeout;
|
|
377
|
-
|
|
378
|
-
// allow timeout on slow response body
|
|
379
|
-
if (_this4.timeout) {
|
|
380
|
-
resTimeout = setTimeout(function () {
|
|
381
|
-
abort = true;
|
|
382
|
-
reject(new FetchError(`Response timeout while trying to fetch ${_this4.url} (over ${_this4.timeout}ms)`, 'body-timeout'));
|
|
383
|
-
}, _this4.timeout);
|
|
384
|
-
}
|
|
385
|
-
|
|
386
|
-
// handle stream errors
|
|
387
|
-
body.on('error', function (err) {
|
|
388
|
-
if (err.name === 'AbortError') {
|
|
389
|
-
// if the request was aborted, reject with this Error
|
|
390
|
-
abort = true;
|
|
391
|
-
reject(err);
|
|
392
|
-
} else {
|
|
393
|
-
// other errors, such as incorrect content-encoding
|
|
394
|
-
reject(new FetchError(`Invalid response body while trying to fetch ${_this4.url}: ${err.message}`, 'system', err));
|
|
395
|
-
}
|
|
396
|
-
});
|
|
397
|
-
|
|
398
|
-
body.on('data', function (chunk) {
|
|
399
|
-
if (abort || chunk === null) {
|
|
400
|
-
return;
|
|
401
|
-
}
|
|
402
|
-
|
|
403
|
-
if (_this4.size && accumBytes + chunk.length > _this4.size) {
|
|
404
|
-
abort = true;
|
|
405
|
-
reject(new FetchError(`content size at ${_this4.url} over limit: ${_this4.size}`, 'max-size'));
|
|
406
|
-
return;
|
|
407
|
-
}
|
|
408
|
-
|
|
409
|
-
accumBytes += chunk.length;
|
|
410
|
-
accum.push(chunk);
|
|
411
|
-
});
|
|
412
|
-
|
|
413
|
-
body.on('end', function () {
|
|
414
|
-
if (abort) {
|
|
415
|
-
return;
|
|
416
|
-
}
|
|
417
|
-
|
|
418
|
-
clearTimeout(resTimeout);
|
|
419
|
-
|
|
420
|
-
try {
|
|
421
|
-
resolve(Buffer.concat(accum, accumBytes));
|
|
422
|
-
} catch (err) {
|
|
423
|
-
// handle streams that have accumulated too much data (issue #414)
|
|
424
|
-
reject(new FetchError(`Could not create Buffer from response body for ${_this4.url}: ${err.message}`, 'system', err));
|
|
425
|
-
}
|
|
426
|
-
});
|
|
427
|
-
});
|
|
428
|
-
}
|
|
429
|
-
|
|
430
|
-
/**
|
|
431
|
-
* Detect buffer encoding and convert to target encoding
|
|
432
|
-
* ref: http://www.w3.org/TR/2011/WD-html5-20110113/parsing.html#determining-the-character-encoding
|
|
433
|
-
*
|
|
434
|
-
* @param Buffer buffer Incoming buffer
|
|
435
|
-
* @param String encoding Target encoding
|
|
436
|
-
* @return String
|
|
437
|
-
*/
|
|
438
|
-
function convertBody(buffer, headers) {
|
|
439
|
-
if (typeof convert !== 'function') {
|
|
440
|
-
throw new Error('The package `encoding` must be installed to use the textConverted() function');
|
|
441
|
-
}
|
|
442
|
-
|
|
443
|
-
const ct = headers.get('content-type');
|
|
444
|
-
let charset = 'utf-8';
|
|
445
|
-
let res, str;
|
|
446
|
-
|
|
447
|
-
// header
|
|
448
|
-
if (ct) {
|
|
449
|
-
res = /charset=([^;]*)/i.exec(ct);
|
|
450
|
-
}
|
|
451
|
-
|
|
452
|
-
// no charset in content type, peek at response body for at most 1024 bytes
|
|
453
|
-
str = buffer.slice(0, 1024).toString();
|
|
454
|
-
|
|
455
|
-
// html5
|
|
456
|
-
if (!res && str) {
|
|
457
|
-
res = /<meta.+?charset=(['"])(.+?)\1/i.exec(str);
|
|
458
|
-
}
|
|
459
|
-
|
|
460
|
-
// html4
|
|
461
|
-
if (!res && str) {
|
|
462
|
-
res = /<meta[\s]+?http-equiv=(['"])content-type\1[\s]+?content=(['"])(.+?)\2/i.exec(str);
|
|
463
|
-
if (!res) {
|
|
464
|
-
res = /<meta[\s]+?content=(['"])(.+?)\1[\s]+?http-equiv=(['"])content-type\3/i.exec(str);
|
|
465
|
-
if (res) {
|
|
466
|
-
res.pop(); // drop last quote
|
|
467
|
-
}
|
|
468
|
-
}
|
|
469
|
-
|
|
470
|
-
if (res) {
|
|
471
|
-
res = /charset=(.*)/i.exec(res.pop());
|
|
472
|
-
}
|
|
473
|
-
}
|
|
474
|
-
|
|
475
|
-
// xml
|
|
476
|
-
if (!res && str) {
|
|
477
|
-
res = /<\?xml.+?encoding=(['"])(.+?)\1/i.exec(str);
|
|
478
|
-
}
|
|
479
|
-
|
|
480
|
-
// found charset
|
|
481
|
-
if (res) {
|
|
482
|
-
charset = res.pop();
|
|
483
|
-
|
|
484
|
-
// prevent decode issues when sites use incorrect encoding
|
|
485
|
-
// ref: https://hsivonen.fi/encoding-menu/
|
|
486
|
-
if (charset === 'gb2312' || charset === 'gbk') {
|
|
487
|
-
charset = 'gb18030';
|
|
488
|
-
}
|
|
489
|
-
}
|
|
490
|
-
|
|
491
|
-
// turn raw buffers into a single utf-8 buffer
|
|
492
|
-
return convert(buffer, 'UTF-8', charset).toString();
|
|
493
|
-
}
|
|
494
|
-
|
|
495
|
-
/**
|
|
496
|
-
* Detect a URLSearchParams object
|
|
497
|
-
* ref: https://github.com/bitinn/node-fetch/issues/296#issuecomment-307598143
|
|
498
|
-
*
|
|
499
|
-
* @param Object obj Object to detect by type or brand
|
|
500
|
-
* @return String
|
|
501
|
-
*/
|
|
502
|
-
function isURLSearchParams(obj) {
|
|
503
|
-
// Duck-typing as a necessary condition.
|
|
504
|
-
if (typeof obj !== 'object' || typeof obj.append !== 'function' || typeof obj.delete !== 'function' || typeof obj.get !== 'function' || typeof obj.getAll !== 'function' || typeof obj.has !== 'function' || typeof obj.set !== 'function') {
|
|
505
|
-
return false;
|
|
506
|
-
}
|
|
507
|
-
|
|
508
|
-
// Brand-checking and more duck-typing as optional condition.
|
|
509
|
-
return obj.constructor.name === 'URLSearchParams' || Object.prototype.toString.call(obj) === '[object URLSearchParams]' || typeof obj.sort === 'function';
|
|
510
|
-
}
|
|
511
|
-
|
|
512
|
-
/**
|
|
513
|
-
* Check if `obj` is a W3C `Blob` object (which `File` inherits from)
|
|
514
|
-
* @param {*} obj
|
|
515
|
-
* @return {boolean}
|
|
516
|
-
*/
|
|
517
|
-
function isBlob(obj) {
|
|
518
|
-
return typeof obj === 'object' && typeof obj.arrayBuffer === 'function' && typeof obj.type === 'string' && typeof obj.stream === 'function' && typeof obj.constructor === 'function' && typeof obj.constructor.name === 'string' && /^(Blob|File)$/.test(obj.constructor.name) && /^(Blob|File)$/.test(obj[Symbol.toStringTag]);
|
|
519
|
-
}
|
|
520
|
-
|
|
521
|
-
/**
|
|
522
|
-
* Clone body given Res/Req instance
|
|
523
|
-
*
|
|
524
|
-
* @param Mixed instance Response or Request instance
|
|
525
|
-
* @return Mixed
|
|
526
|
-
*/
|
|
527
|
-
function clone(instance) {
|
|
528
|
-
let p1, p2;
|
|
529
|
-
let body = instance.body;
|
|
530
|
-
|
|
531
|
-
// don't allow cloning a used body
|
|
532
|
-
if (instance.bodyUsed) {
|
|
533
|
-
throw new Error('cannot clone body after it is used');
|
|
534
|
-
}
|
|
535
|
-
|
|
536
|
-
// check that body is a stream and not form-data object
|
|
537
|
-
// note: we can't clone the form-data object without having it as a dependency
|
|
538
|
-
if (body instanceof Stream && typeof body.getBoundary !== 'function') {
|
|
539
|
-
// tee instance body
|
|
540
|
-
p1 = new PassThrough();
|
|
541
|
-
p2 = new PassThrough();
|
|
542
|
-
body.pipe(p1);
|
|
543
|
-
body.pipe(p2);
|
|
544
|
-
// set instance body to teed body and return the other teed body
|
|
545
|
-
instance[INTERNALS].body = p1;
|
|
546
|
-
body = p2;
|
|
547
|
-
}
|
|
548
|
-
|
|
549
|
-
return body;
|
|
550
|
-
}
|
|
551
|
-
|
|
552
|
-
/**
|
|
553
|
-
* Performs the operation "extract a `Content-Type` value from |object|" as
|
|
554
|
-
* specified in the specification:
|
|
555
|
-
* https://fetch.spec.whatwg.org/#concept-bodyinit-extract
|
|
556
|
-
*
|
|
557
|
-
* This function assumes that instance.body is present.
|
|
558
|
-
*
|
|
559
|
-
* @param Mixed instance Any options.body input
|
|
560
|
-
*/
|
|
561
|
-
function extractContentType(body) {
|
|
562
|
-
if (body === null) {
|
|
563
|
-
// body is null
|
|
564
|
-
return null;
|
|
565
|
-
} else if (typeof body === 'string') {
|
|
566
|
-
// body is string
|
|
567
|
-
return 'text/plain;charset=UTF-8';
|
|
568
|
-
} else if (isURLSearchParams(body)) {
|
|
569
|
-
// body is a URLSearchParams
|
|
570
|
-
return 'application/x-www-form-urlencoded;charset=UTF-8';
|
|
571
|
-
} else if (isBlob(body)) {
|
|
572
|
-
// body is blob
|
|
573
|
-
return body.type || null;
|
|
574
|
-
} else if (Buffer.isBuffer(body)) {
|
|
575
|
-
// body is buffer
|
|
576
|
-
return null;
|
|
577
|
-
} else if (Object.prototype.toString.call(body) === '[object ArrayBuffer]') {
|
|
578
|
-
// body is ArrayBuffer
|
|
579
|
-
return null;
|
|
580
|
-
} else if (ArrayBuffer.isView(body)) {
|
|
581
|
-
// body is ArrayBufferView
|
|
582
|
-
return null;
|
|
583
|
-
} else if (typeof body.getBoundary === 'function') {
|
|
584
|
-
// detect form data input from form-data module
|
|
585
|
-
return `multipart/form-data;boundary=${body.getBoundary()}`;
|
|
586
|
-
} else if (body instanceof Stream) {
|
|
587
|
-
// body is stream
|
|
588
|
-
// can't really do much about this
|
|
589
|
-
return null;
|
|
590
|
-
} else {
|
|
591
|
-
// Body constructor defaults other things to string
|
|
592
|
-
return 'text/plain;charset=UTF-8';
|
|
593
|
-
}
|
|
594
|
-
}
|
|
595
|
-
|
|
596
|
-
/**
|
|
597
|
-
* The Fetch Standard treats this as if "total bytes" is a property on the body.
|
|
598
|
-
* For us, we have to explicitly get it with a function.
|
|
599
|
-
*
|
|
600
|
-
* ref: https://fetch.spec.whatwg.org/#concept-body-total-bytes
|
|
601
|
-
*
|
|
602
|
-
* @param Body instance Instance of Body
|
|
603
|
-
* @return Number? Number of bytes, or null if not possible
|
|
604
|
-
*/
|
|
605
|
-
function getTotalBytes(instance) {
|
|
606
|
-
const body = instance.body;
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
if (body === null) {
|
|
610
|
-
// body is null
|
|
611
|
-
return 0;
|
|
612
|
-
} else if (isBlob(body)) {
|
|
613
|
-
return body.size;
|
|
614
|
-
} else if (Buffer.isBuffer(body)) {
|
|
615
|
-
// body is buffer
|
|
616
|
-
return body.length;
|
|
617
|
-
} else if (body && typeof body.getLengthSync === 'function') {
|
|
618
|
-
// detect form data input from form-data module
|
|
619
|
-
if (body._lengthRetrievers && body._lengthRetrievers.length == 0 || // 1.x
|
|
620
|
-
body.hasKnownLength && body.hasKnownLength()) {
|
|
621
|
-
// 2.x
|
|
622
|
-
return body.getLengthSync();
|
|
623
|
-
}
|
|
624
|
-
return null;
|
|
625
|
-
} else {
|
|
626
|
-
// body is stream
|
|
627
|
-
return null;
|
|
628
|
-
}
|
|
629
|
-
}
|
|
630
|
-
|
|
631
|
-
/**
|
|
632
|
-
* Write a Body to a Node.js WritableStream (e.g. http.Request) object.
|
|
633
|
-
*
|
|
634
|
-
* @param Body instance Instance of Body
|
|
635
|
-
* @return Void
|
|
636
|
-
*/
|
|
637
|
-
function writeToStream(dest, instance) {
|
|
638
|
-
const body = instance.body;
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
if (body === null) {
|
|
642
|
-
// body is null
|
|
643
|
-
dest.end();
|
|
644
|
-
} else if (isBlob(body)) {
|
|
645
|
-
body.stream().pipe(dest);
|
|
646
|
-
} else if (Buffer.isBuffer(body)) {
|
|
647
|
-
// body is buffer
|
|
648
|
-
dest.write(body);
|
|
649
|
-
dest.end();
|
|
650
|
-
} else {
|
|
651
|
-
// body is stream
|
|
652
|
-
body.pipe(dest);
|
|
653
|
-
}
|
|
654
|
-
}
|
|
655
|
-
|
|
656
|
-
// expose Promise
|
|
657
|
-
Body.Promise = global.Promise;
|
|
658
|
-
|
|
659
|
-
/**
|
|
660
|
-
* headers.js
|
|
661
|
-
*
|
|
662
|
-
* Headers class offers convenient helpers
|
|
663
|
-
*/
|
|
664
|
-
|
|
665
|
-
const invalidTokenRegex = /[^\^_`a-zA-Z\-0-9!#$%&'*+.|~]/;
|
|
666
|
-
const invalidHeaderCharRegex = /[^\t\x20-\x7e\x80-\xff]/;
|
|
667
|
-
|
|
668
|
-
function validateName(name) {
|
|
669
|
-
name = `${name}`;
|
|
670
|
-
if (invalidTokenRegex.test(name) || name === '') {
|
|
671
|
-
throw new TypeError(`${name} is not a legal HTTP header name`);
|
|
672
|
-
}
|
|
673
|
-
}
|
|
674
|
-
|
|
675
|
-
function validateValue(value) {
|
|
676
|
-
value = `${value}`;
|
|
677
|
-
if (invalidHeaderCharRegex.test(value)) {
|
|
678
|
-
throw new TypeError(`${value} is not a legal HTTP header value`);
|
|
679
|
-
}
|
|
680
|
-
}
|
|
681
|
-
|
|
682
|
-
/**
|
|
683
|
-
* Find the key in the map object given a header name.
|
|
684
|
-
*
|
|
685
|
-
* Returns undefined if not found.
|
|
686
|
-
*
|
|
687
|
-
* @param String name Header name
|
|
688
|
-
* @return String|Undefined
|
|
689
|
-
*/
|
|
690
|
-
function find(map, name) {
|
|
691
|
-
name = name.toLowerCase();
|
|
692
|
-
for (const key in map) {
|
|
693
|
-
if (key.toLowerCase() === name) {
|
|
694
|
-
return key;
|
|
695
|
-
}
|
|
696
|
-
}
|
|
697
|
-
return undefined;
|
|
698
|
-
}
|
|
699
|
-
|
|
700
|
-
const MAP = Symbol('map');
|
|
701
|
-
class Headers {
|
|
702
|
-
/**
|
|
703
|
-
* Headers class
|
|
704
|
-
*
|
|
705
|
-
* @param Object headers Response headers
|
|
706
|
-
* @return Void
|
|
707
|
-
*/
|
|
708
|
-
constructor() {
|
|
709
|
-
let init = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : undefined;
|
|
710
|
-
|
|
711
|
-
this[MAP] = Object.create(null);
|
|
712
|
-
|
|
713
|
-
if (init instanceof Headers) {
|
|
714
|
-
const rawHeaders = init.raw();
|
|
715
|
-
const headerNames = Object.keys(rawHeaders);
|
|
716
|
-
|
|
717
|
-
for (const headerName of headerNames) {
|
|
718
|
-
for (const value of rawHeaders[headerName]) {
|
|
719
|
-
this.append(headerName, value);
|
|
720
|
-
}
|
|
721
|
-
}
|
|
722
|
-
|
|
723
|
-
return;
|
|
724
|
-
}
|
|
725
|
-
|
|
726
|
-
// We don't worry about converting prop to ByteString here as append()
|
|
727
|
-
// will handle it.
|
|
728
|
-
if (init == null) ; else if (typeof init === 'object') {
|
|
729
|
-
const method = init[Symbol.iterator];
|
|
730
|
-
if (method != null) {
|
|
731
|
-
if (typeof method !== 'function') {
|
|
732
|
-
throw new TypeError('Header pairs must be iterable');
|
|
733
|
-
}
|
|
734
|
-
|
|
735
|
-
// sequence<sequence<ByteString>>
|
|
736
|
-
// Note: per spec we have to first exhaust the lists then process them
|
|
737
|
-
const pairs = [];
|
|
738
|
-
for (const pair of init) {
|
|
739
|
-
if (typeof pair !== 'object' || typeof pair[Symbol.iterator] !== 'function') {
|
|
740
|
-
throw new TypeError('Each header pair must be iterable');
|
|
741
|
-
}
|
|
742
|
-
pairs.push(Array.from(pair));
|
|
743
|
-
}
|
|
744
|
-
|
|
745
|
-
for (const pair of pairs) {
|
|
746
|
-
if (pair.length !== 2) {
|
|
747
|
-
throw new TypeError('Each header pair must be a name/value tuple');
|
|
748
|
-
}
|
|
749
|
-
this.append(pair[0], pair[1]);
|
|
750
|
-
}
|
|
751
|
-
} else {
|
|
752
|
-
// record<ByteString, ByteString>
|
|
753
|
-
for (const key of Object.keys(init)) {
|
|
754
|
-
const value = init[key];
|
|
755
|
-
this.append(key, value);
|
|
756
|
-
}
|
|
757
|
-
}
|
|
758
|
-
} else {
|
|
759
|
-
throw new TypeError('Provided initializer must be an object');
|
|
760
|
-
}
|
|
761
|
-
}
|
|
762
|
-
|
|
763
|
-
/**
|
|
764
|
-
* Return combined header value given name
|
|
765
|
-
*
|
|
766
|
-
* @param String name Header name
|
|
767
|
-
* @return Mixed
|
|
768
|
-
*/
|
|
769
|
-
get(name) {
|
|
770
|
-
name = `${name}`;
|
|
771
|
-
validateName(name);
|
|
772
|
-
const key = find(this[MAP], name);
|
|
773
|
-
if (key === undefined) {
|
|
774
|
-
return null;
|
|
775
|
-
}
|
|
776
|
-
|
|
777
|
-
return this[MAP][key].join(', ');
|
|
778
|
-
}
|
|
779
|
-
|
|
780
|
-
/**
|
|
781
|
-
* Iterate over all headers
|
|
782
|
-
*
|
|
783
|
-
* @param Function callback Executed for each item with parameters (value, name, thisArg)
|
|
784
|
-
* @param Boolean thisArg `this` context for callback function
|
|
785
|
-
* @return Void
|
|
786
|
-
*/
|
|
787
|
-
forEach(callback) {
|
|
788
|
-
let thisArg = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : undefined;
|
|
789
|
-
|
|
790
|
-
let pairs = getHeaders(this);
|
|
791
|
-
let i = 0;
|
|
792
|
-
while (i < pairs.length) {
|
|
793
|
-
var _pairs$i = pairs[i];
|
|
794
|
-
const name = _pairs$i[0],
|
|
795
|
-
value = _pairs$i[1];
|
|
796
|
-
|
|
797
|
-
callback.call(thisArg, value, name, this);
|
|
798
|
-
pairs = getHeaders(this);
|
|
799
|
-
i++;
|
|
800
|
-
}
|
|
801
|
-
}
|
|
802
|
-
|
|
803
|
-
/**
|
|
804
|
-
* Overwrite header values given name
|
|
805
|
-
*
|
|
806
|
-
* @param String name Header name
|
|
807
|
-
* @param String value Header value
|
|
808
|
-
* @return Void
|
|
809
|
-
*/
|
|
810
|
-
set(name, value) {
|
|
811
|
-
name = `${name}`;
|
|
812
|
-
value = `${value}`;
|
|
813
|
-
validateName(name);
|
|
814
|
-
validateValue(value);
|
|
815
|
-
const key = find(this[MAP], name);
|
|
816
|
-
this[MAP][key !== undefined ? key : name] = [value];
|
|
817
|
-
}
|
|
818
|
-
|
|
819
|
-
/**
|
|
820
|
-
* Append a value onto existing header
|
|
821
|
-
*
|
|
822
|
-
* @param String name Header name
|
|
823
|
-
* @param String value Header value
|
|
824
|
-
* @return Void
|
|
825
|
-
*/
|
|
826
|
-
append(name, value) {
|
|
827
|
-
name = `${name}`;
|
|
828
|
-
value = `${value}`;
|
|
829
|
-
validateName(name);
|
|
830
|
-
validateValue(value);
|
|
831
|
-
const key = find(this[MAP], name);
|
|
832
|
-
if (key !== undefined) {
|
|
833
|
-
this[MAP][key].push(value);
|
|
834
|
-
} else {
|
|
835
|
-
this[MAP][name] = [value];
|
|
836
|
-
}
|
|
837
|
-
}
|
|
838
|
-
|
|
839
|
-
/**
|
|
840
|
-
* Check for header name existence
|
|
841
|
-
*
|
|
842
|
-
* @param String name Header name
|
|
843
|
-
* @return Boolean
|
|
844
|
-
*/
|
|
845
|
-
has(name) {
|
|
846
|
-
name = `${name}`;
|
|
847
|
-
validateName(name);
|
|
848
|
-
return find(this[MAP], name) !== undefined;
|
|
849
|
-
}
|
|
850
|
-
|
|
851
|
-
/**
|
|
852
|
-
* Delete all header values given name
|
|
853
|
-
*
|
|
854
|
-
* @param String name Header name
|
|
855
|
-
* @return Void
|
|
856
|
-
*/
|
|
857
|
-
delete(name) {
|
|
858
|
-
name = `${name}`;
|
|
859
|
-
validateName(name);
|
|
860
|
-
const key = find(this[MAP], name);
|
|
861
|
-
if (key !== undefined) {
|
|
862
|
-
delete this[MAP][key];
|
|
863
|
-
}
|
|
864
|
-
}
|
|
865
|
-
|
|
866
|
-
/**
|
|
867
|
-
* Return raw headers (non-spec api)
|
|
868
|
-
*
|
|
869
|
-
* @return Object
|
|
870
|
-
*/
|
|
871
|
-
raw() {
|
|
872
|
-
return this[MAP];
|
|
873
|
-
}
|
|
874
|
-
|
|
875
|
-
/**
|
|
876
|
-
* Get an iterator on keys.
|
|
877
|
-
*
|
|
878
|
-
* @return Iterator
|
|
879
|
-
*/
|
|
880
|
-
keys() {
|
|
881
|
-
return createHeadersIterator(this, 'key');
|
|
882
|
-
}
|
|
883
|
-
|
|
884
|
-
/**
|
|
885
|
-
* Get an iterator on values.
|
|
886
|
-
*
|
|
887
|
-
* @return Iterator
|
|
888
|
-
*/
|
|
889
|
-
values() {
|
|
890
|
-
return createHeadersIterator(this, 'value');
|
|
891
|
-
}
|
|
892
|
-
|
|
893
|
-
/**
|
|
894
|
-
* Get an iterator on entries.
|
|
895
|
-
*
|
|
896
|
-
* This is the default iterator of the Headers object.
|
|
897
|
-
*
|
|
898
|
-
* @return Iterator
|
|
899
|
-
*/
|
|
900
|
-
[Symbol.iterator]() {
|
|
901
|
-
return createHeadersIterator(this, 'key+value');
|
|
902
|
-
}
|
|
903
|
-
}
|
|
904
|
-
Headers.prototype.entries = Headers.prototype[Symbol.iterator];
|
|
905
|
-
|
|
906
|
-
Object.defineProperty(Headers.prototype, Symbol.toStringTag, {
|
|
907
|
-
value: 'Headers',
|
|
908
|
-
writable: false,
|
|
909
|
-
enumerable: false,
|
|
910
|
-
configurable: true
|
|
911
|
-
});
|
|
912
|
-
|
|
913
|
-
Object.defineProperties(Headers.prototype, {
|
|
914
|
-
get: { enumerable: true },
|
|
915
|
-
forEach: { enumerable: true },
|
|
916
|
-
set: { enumerable: true },
|
|
917
|
-
append: { enumerable: true },
|
|
918
|
-
has: { enumerable: true },
|
|
919
|
-
delete: { enumerable: true },
|
|
920
|
-
keys: { enumerable: true },
|
|
921
|
-
values: { enumerable: true },
|
|
922
|
-
entries: { enumerable: true }
|
|
923
|
-
});
|
|
924
|
-
|
|
925
|
-
function getHeaders(headers) {
|
|
926
|
-
let kind = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'key+value';
|
|
927
|
-
|
|
928
|
-
const keys = Object.keys(headers[MAP]).sort();
|
|
929
|
-
return keys.map(kind === 'key' ? function (k) {
|
|
930
|
-
return k.toLowerCase();
|
|
931
|
-
} : kind === 'value' ? function (k) {
|
|
932
|
-
return headers[MAP][k].join(', ');
|
|
933
|
-
} : function (k) {
|
|
934
|
-
return [k.toLowerCase(), headers[MAP][k].join(', ')];
|
|
935
|
-
});
|
|
936
|
-
}
|
|
937
|
-
|
|
938
|
-
const INTERNAL = Symbol('internal');
|
|
939
|
-
|
|
940
|
-
function createHeadersIterator(target, kind) {
|
|
941
|
-
const iterator = Object.create(HeadersIteratorPrototype);
|
|
942
|
-
iterator[INTERNAL] = {
|
|
943
|
-
target,
|
|
944
|
-
kind,
|
|
945
|
-
index: 0
|
|
946
|
-
};
|
|
947
|
-
return iterator;
|
|
948
|
-
}
|
|
949
|
-
|
|
950
|
-
const HeadersIteratorPrototype = Object.setPrototypeOf({
|
|
951
|
-
next() {
|
|
952
|
-
// istanbul ignore if
|
|
953
|
-
if (!this || Object.getPrototypeOf(this) !== HeadersIteratorPrototype) {
|
|
954
|
-
throw new TypeError('Value of `this` is not a HeadersIterator');
|
|
955
|
-
}
|
|
956
|
-
|
|
957
|
-
var _INTERNAL = this[INTERNAL];
|
|
958
|
-
const target = _INTERNAL.target,
|
|
959
|
-
kind = _INTERNAL.kind,
|
|
960
|
-
index = _INTERNAL.index;
|
|
961
|
-
|
|
962
|
-
const values = getHeaders(target, kind);
|
|
963
|
-
const len = values.length;
|
|
964
|
-
if (index >= len) {
|
|
965
|
-
return {
|
|
966
|
-
value: undefined,
|
|
967
|
-
done: true
|
|
968
|
-
};
|
|
969
|
-
}
|
|
970
|
-
|
|
971
|
-
this[INTERNAL].index = index + 1;
|
|
972
|
-
|
|
973
|
-
return {
|
|
974
|
-
value: values[index],
|
|
975
|
-
done: false
|
|
976
|
-
};
|
|
977
|
-
}
|
|
978
|
-
}, Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]())));
|
|
979
|
-
|
|
980
|
-
Object.defineProperty(HeadersIteratorPrototype, Symbol.toStringTag, {
|
|
981
|
-
value: 'HeadersIterator',
|
|
982
|
-
writable: false,
|
|
983
|
-
enumerable: false,
|
|
984
|
-
configurable: true
|
|
985
|
-
});
|
|
986
|
-
|
|
987
|
-
/**
|
|
988
|
-
* Export the Headers object in a form that Node.js can consume.
|
|
989
|
-
*
|
|
990
|
-
* @param Headers headers
|
|
991
|
-
* @return Object
|
|
992
|
-
*/
|
|
993
|
-
function exportNodeCompatibleHeaders(headers) {
|
|
994
|
-
const obj = Object.assign({ __proto__: null }, headers[MAP]);
|
|
995
|
-
|
|
996
|
-
// http.request() only supports string as Host header. This hack makes
|
|
997
|
-
// specifying custom Host header possible.
|
|
998
|
-
const hostHeaderKey = find(headers[MAP], 'Host');
|
|
999
|
-
if (hostHeaderKey !== undefined) {
|
|
1000
|
-
obj[hostHeaderKey] = obj[hostHeaderKey][0];
|
|
1001
|
-
}
|
|
1002
|
-
|
|
1003
|
-
return obj;
|
|
1004
|
-
}
|
|
1005
|
-
|
|
1006
|
-
/**
|
|
1007
|
-
* Create a Headers object from an object of headers, ignoring those that do
|
|
1008
|
-
* not conform to HTTP grammar productions.
|
|
1009
|
-
*
|
|
1010
|
-
* @param Object obj Object of headers
|
|
1011
|
-
* @return Headers
|
|
1012
|
-
*/
|
|
1013
|
-
function createHeadersLenient(obj) {
|
|
1014
|
-
const headers = new Headers();
|
|
1015
|
-
for (const name of Object.keys(obj)) {
|
|
1016
|
-
if (invalidTokenRegex.test(name)) {
|
|
1017
|
-
continue;
|
|
1018
|
-
}
|
|
1019
|
-
if (Array.isArray(obj[name])) {
|
|
1020
|
-
for (const val of obj[name]) {
|
|
1021
|
-
if (invalidHeaderCharRegex.test(val)) {
|
|
1022
|
-
continue;
|
|
1023
|
-
}
|
|
1024
|
-
if (headers[MAP][name] === undefined) {
|
|
1025
|
-
headers[MAP][name] = [val];
|
|
1026
|
-
} else {
|
|
1027
|
-
headers[MAP][name].push(val);
|
|
1028
|
-
}
|
|
1029
|
-
}
|
|
1030
|
-
} else if (!invalidHeaderCharRegex.test(obj[name])) {
|
|
1031
|
-
headers[MAP][name] = [obj[name]];
|
|
1032
|
-
}
|
|
1033
|
-
}
|
|
1034
|
-
return headers;
|
|
1035
|
-
}
|
|
1036
|
-
|
|
1037
|
-
const INTERNALS$1 = Symbol('Response internals');
|
|
1038
|
-
|
|
1039
|
-
// fix an issue where "STATUS_CODES" aren't a named export for node <10
|
|
1040
|
-
const STATUS_CODES = http.STATUS_CODES;
|
|
1041
|
-
|
|
1042
|
-
/**
|
|
1043
|
-
* Response class
|
|
1044
|
-
*
|
|
1045
|
-
* @param Stream body Readable stream
|
|
1046
|
-
* @param Object opts Response options
|
|
1047
|
-
* @return Void
|
|
1048
|
-
*/
|
|
1049
|
-
class Response {
|
|
1050
|
-
constructor() {
|
|
1051
|
-
let body = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
|
|
1052
|
-
let opts = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
1053
|
-
|
|
1054
|
-
Body.call(this, body, opts);
|
|
1055
|
-
|
|
1056
|
-
const status = opts.status || 200;
|
|
1057
|
-
const headers = new Headers(opts.headers);
|
|
1058
|
-
|
|
1059
|
-
if (body != null && !headers.has('Content-Type')) {
|
|
1060
|
-
const contentType = extractContentType(body);
|
|
1061
|
-
if (contentType) {
|
|
1062
|
-
headers.append('Content-Type', contentType);
|
|
1063
|
-
}
|
|
1064
|
-
}
|
|
1065
|
-
|
|
1066
|
-
this[INTERNALS$1] = {
|
|
1067
|
-
url: opts.url,
|
|
1068
|
-
status,
|
|
1069
|
-
statusText: opts.statusText || STATUS_CODES[status],
|
|
1070
|
-
headers,
|
|
1071
|
-
counter: opts.counter
|
|
1072
|
-
};
|
|
1073
|
-
}
|
|
1074
|
-
|
|
1075
|
-
get url() {
|
|
1076
|
-
return this[INTERNALS$1].url || '';
|
|
1077
|
-
}
|
|
1078
|
-
|
|
1079
|
-
get status() {
|
|
1080
|
-
return this[INTERNALS$1].status;
|
|
1081
|
-
}
|
|
1082
|
-
|
|
1083
|
-
/**
|
|
1084
|
-
* Convenience property representing if the request ended normally
|
|
1085
|
-
*/
|
|
1086
|
-
get ok() {
|
|
1087
|
-
return this[INTERNALS$1].status >= 200 && this[INTERNALS$1].status < 300;
|
|
1088
|
-
}
|
|
1089
|
-
|
|
1090
|
-
get redirected() {
|
|
1091
|
-
return this[INTERNALS$1].counter > 0;
|
|
1092
|
-
}
|
|
1093
|
-
|
|
1094
|
-
get statusText() {
|
|
1095
|
-
return this[INTERNALS$1].statusText;
|
|
1096
|
-
}
|
|
1097
|
-
|
|
1098
|
-
get headers() {
|
|
1099
|
-
return this[INTERNALS$1].headers;
|
|
1100
|
-
}
|
|
1101
|
-
|
|
1102
|
-
/**
|
|
1103
|
-
* Clone this response
|
|
1104
|
-
*
|
|
1105
|
-
* @return Response
|
|
1106
|
-
*/
|
|
1107
|
-
clone() {
|
|
1108
|
-
return new Response(clone(this), {
|
|
1109
|
-
url: this.url,
|
|
1110
|
-
status: this.status,
|
|
1111
|
-
statusText: this.statusText,
|
|
1112
|
-
headers: this.headers,
|
|
1113
|
-
ok: this.ok,
|
|
1114
|
-
redirected: this.redirected
|
|
1115
|
-
});
|
|
1116
|
-
}
|
|
1117
|
-
}
|
|
1118
|
-
|
|
1119
|
-
Body.mixIn(Response.prototype);
|
|
1120
|
-
|
|
1121
|
-
Object.defineProperties(Response.prototype, {
|
|
1122
|
-
url: { enumerable: true },
|
|
1123
|
-
status: { enumerable: true },
|
|
1124
|
-
ok: { enumerable: true },
|
|
1125
|
-
redirected: { enumerable: true },
|
|
1126
|
-
statusText: { enumerable: true },
|
|
1127
|
-
headers: { enumerable: true },
|
|
1128
|
-
clone: { enumerable: true }
|
|
1129
|
-
});
|
|
1130
|
-
|
|
1131
|
-
Object.defineProperty(Response.prototype, Symbol.toStringTag, {
|
|
1132
|
-
value: 'Response',
|
|
1133
|
-
writable: false,
|
|
1134
|
-
enumerable: false,
|
|
1135
|
-
configurable: true
|
|
1136
|
-
});
|
|
1137
|
-
|
|
1138
|
-
const INTERNALS$2 = Symbol('Request internals');
|
|
1139
|
-
const URL = Url.URL || whatwgUrl.URL;
|
|
1140
|
-
|
|
1141
|
-
// fix an issue where "format", "parse" aren't a named export for node <10
|
|
1142
|
-
const parse_url = Url.parse;
|
|
1143
|
-
const format_url = Url.format;
|
|
1144
|
-
|
|
1145
|
-
/**
|
|
1146
|
-
* Wrapper around `new URL` to handle arbitrary URLs
|
|
1147
|
-
*
|
|
1148
|
-
* @param {string} urlStr
|
|
1149
|
-
* @return {void}
|
|
1150
|
-
*/
|
|
1151
|
-
function parseURL(urlStr) {
|
|
1152
|
-
/*
|
|
1153
|
-
Check whether the URL is absolute or not
|
|
1154
|
-
Scheme: https://tools.ietf.org/html/rfc3986#section-3.1
|
|
1155
|
-
Absolute URL: https://tools.ietf.org/html/rfc3986#section-4.3
|
|
1156
|
-
*/
|
|
1157
|
-
if (/^[a-zA-Z][a-zA-Z\d+\-.]*:/.exec(urlStr)) {
|
|
1158
|
-
urlStr = new URL(urlStr).toString();
|
|
1159
|
-
}
|
|
1160
|
-
|
|
1161
|
-
// Fallback to old implementation for arbitrary URLs
|
|
1162
|
-
return parse_url(urlStr);
|
|
1163
|
-
}
|
|
1164
|
-
|
|
1165
|
-
const streamDestructionSupported = 'destroy' in Stream.Readable.prototype;
|
|
1166
|
-
|
|
1167
|
-
/**
|
|
1168
|
-
* Check if a value is an instance of Request.
|
|
1169
|
-
*
|
|
1170
|
-
* @param Mixed input
|
|
1171
|
-
* @return Boolean
|
|
1172
|
-
*/
|
|
1173
|
-
function isRequest(input) {
|
|
1174
|
-
return typeof input === 'object' && typeof input[INTERNALS$2] === 'object';
|
|
1175
|
-
}
|
|
1176
|
-
|
|
1177
|
-
function isAbortSignal(signal) {
|
|
1178
|
-
const proto = signal && typeof signal === 'object' && Object.getPrototypeOf(signal);
|
|
1179
|
-
return !!(proto && proto.constructor.name === 'AbortSignal');
|
|
1180
|
-
}
|
|
1181
|
-
|
|
1182
|
-
/**
|
|
1183
|
-
* Request class
|
|
1184
|
-
*
|
|
1185
|
-
* @param Mixed input Url or Request instance
|
|
1186
|
-
* @param Object init Custom options
|
|
1187
|
-
* @return Void
|
|
1188
|
-
*/
|
|
1189
|
-
class Request {
|
|
1190
|
-
constructor(input) {
|
|
1191
|
-
let init = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
1192
|
-
|
|
1193
|
-
let parsedURL;
|
|
1194
|
-
|
|
1195
|
-
// normalize input
|
|
1196
|
-
if (!isRequest(input)) {
|
|
1197
|
-
if (input && input.href) {
|
|
1198
|
-
// in order to support Node.js' Url objects; though WHATWG's URL objects
|
|
1199
|
-
// will fall into this branch also (since their `toString()` will return
|
|
1200
|
-
// `href` property anyway)
|
|
1201
|
-
parsedURL = parseURL(input.href);
|
|
1202
|
-
} else {
|
|
1203
|
-
// coerce input to a string before attempting to parse
|
|
1204
|
-
parsedURL = parseURL(`${input}`);
|
|
1205
|
-
}
|
|
1206
|
-
input = {};
|
|
1207
|
-
} else {
|
|
1208
|
-
parsedURL = parseURL(input.url);
|
|
1209
|
-
}
|
|
1210
|
-
|
|
1211
|
-
let method = init.method || input.method || 'GET';
|
|
1212
|
-
method = method.toUpperCase();
|
|
1213
|
-
|
|
1214
|
-
if ((init.body != null || isRequest(input) && input.body !== null) && (method === 'GET' || method === 'HEAD')) {
|
|
1215
|
-
throw new TypeError('Request with GET/HEAD method cannot have body');
|
|
1216
|
-
}
|
|
1217
|
-
|
|
1218
|
-
let inputBody = init.body != null ? init.body : isRequest(input) && input.body !== null ? clone(input) : null;
|
|
1219
|
-
|
|
1220
|
-
Body.call(this, inputBody, {
|
|
1221
|
-
timeout: init.timeout || input.timeout || 0,
|
|
1222
|
-
size: init.size || input.size || 0
|
|
1223
|
-
});
|
|
1224
|
-
|
|
1225
|
-
const headers = new Headers(init.headers || input.headers || {});
|
|
1226
|
-
|
|
1227
|
-
if (inputBody != null && !headers.has('Content-Type')) {
|
|
1228
|
-
const contentType = extractContentType(inputBody);
|
|
1229
|
-
if (contentType) {
|
|
1230
|
-
headers.append('Content-Type', contentType);
|
|
1231
|
-
}
|
|
1232
|
-
}
|
|
1233
|
-
|
|
1234
|
-
let signal = isRequest(input) ? input.signal : null;
|
|
1235
|
-
if ('signal' in init) signal = init.signal;
|
|
1236
|
-
|
|
1237
|
-
if (signal != null && !isAbortSignal(signal)) {
|
|
1238
|
-
throw new TypeError('Expected signal to be an instanceof AbortSignal');
|
|
1239
|
-
}
|
|
1240
|
-
|
|
1241
|
-
this[INTERNALS$2] = {
|
|
1242
|
-
method,
|
|
1243
|
-
redirect: init.redirect || input.redirect || 'follow',
|
|
1244
|
-
headers,
|
|
1245
|
-
parsedURL,
|
|
1246
|
-
signal
|
|
1247
|
-
};
|
|
1248
|
-
|
|
1249
|
-
// node-fetch-only options
|
|
1250
|
-
this.follow = init.follow !== undefined ? init.follow : input.follow !== undefined ? input.follow : 20;
|
|
1251
|
-
this.compress = init.compress !== undefined ? init.compress : input.compress !== undefined ? input.compress : true;
|
|
1252
|
-
this.counter = init.counter || input.counter || 0;
|
|
1253
|
-
this.agent = init.agent || input.agent;
|
|
1254
|
-
}
|
|
1255
|
-
|
|
1256
|
-
get method() {
|
|
1257
|
-
return this[INTERNALS$2].method;
|
|
1258
|
-
}
|
|
1259
|
-
|
|
1260
|
-
get url() {
|
|
1261
|
-
return format_url(this[INTERNALS$2].parsedURL);
|
|
1262
|
-
}
|
|
1263
|
-
|
|
1264
|
-
get headers() {
|
|
1265
|
-
return this[INTERNALS$2].headers;
|
|
1266
|
-
}
|
|
1267
|
-
|
|
1268
|
-
get redirect() {
|
|
1269
|
-
return this[INTERNALS$2].redirect;
|
|
1270
|
-
}
|
|
1271
|
-
|
|
1272
|
-
get signal() {
|
|
1273
|
-
return this[INTERNALS$2].signal;
|
|
1274
|
-
}
|
|
1275
|
-
|
|
1276
|
-
/**
|
|
1277
|
-
* Clone this request
|
|
1278
|
-
*
|
|
1279
|
-
* @return Request
|
|
1280
|
-
*/
|
|
1281
|
-
clone() {
|
|
1282
|
-
return new Request(this);
|
|
1283
|
-
}
|
|
1284
|
-
}
|
|
1285
|
-
|
|
1286
|
-
Body.mixIn(Request.prototype);
|
|
1287
|
-
|
|
1288
|
-
Object.defineProperty(Request.prototype, Symbol.toStringTag, {
|
|
1289
|
-
value: 'Request',
|
|
1290
|
-
writable: false,
|
|
1291
|
-
enumerable: false,
|
|
1292
|
-
configurable: true
|
|
1293
|
-
});
|
|
1294
|
-
|
|
1295
|
-
Object.defineProperties(Request.prototype, {
|
|
1296
|
-
method: { enumerable: true },
|
|
1297
|
-
url: { enumerable: true },
|
|
1298
|
-
headers: { enumerable: true },
|
|
1299
|
-
redirect: { enumerable: true },
|
|
1300
|
-
clone: { enumerable: true },
|
|
1301
|
-
signal: { enumerable: true }
|
|
1302
|
-
});
|
|
1303
|
-
|
|
1304
|
-
/**
|
|
1305
|
-
* Convert a Request to Node.js http request options.
|
|
1306
|
-
*
|
|
1307
|
-
* @param Request A Request instance
|
|
1308
|
-
* @return Object The options object to be passed to http.request
|
|
1309
|
-
*/
|
|
1310
|
-
function getNodeRequestOptions(request) {
|
|
1311
|
-
const parsedURL = request[INTERNALS$2].parsedURL;
|
|
1312
|
-
const headers = new Headers(request[INTERNALS$2].headers);
|
|
1313
|
-
|
|
1314
|
-
// fetch step 1.3
|
|
1315
|
-
if (!headers.has('Accept')) {
|
|
1316
|
-
headers.set('Accept', '*/*');
|
|
1317
|
-
}
|
|
1318
|
-
|
|
1319
|
-
// Basic fetch
|
|
1320
|
-
if (!parsedURL.protocol || !parsedURL.hostname) {
|
|
1321
|
-
throw new TypeError('Only absolute URLs are supported');
|
|
1322
|
-
}
|
|
1323
|
-
|
|
1324
|
-
if (!/^https?:$/.test(parsedURL.protocol)) {
|
|
1325
|
-
throw new TypeError('Only HTTP(S) protocols are supported');
|
|
1326
|
-
}
|
|
1327
|
-
|
|
1328
|
-
if (request.signal && request.body instanceof Stream.Readable && !streamDestructionSupported) {
|
|
1329
|
-
throw new Error('Cancellation of streamed requests with AbortSignal is not supported in node < 8');
|
|
1330
|
-
}
|
|
1331
|
-
|
|
1332
|
-
// HTTP-network-or-cache fetch steps 2.4-2.7
|
|
1333
|
-
let contentLengthValue = null;
|
|
1334
|
-
if (request.body == null && /^(POST|PUT)$/i.test(request.method)) {
|
|
1335
|
-
contentLengthValue = '0';
|
|
1336
|
-
}
|
|
1337
|
-
if (request.body != null) {
|
|
1338
|
-
const totalBytes = getTotalBytes(request);
|
|
1339
|
-
if (typeof totalBytes === 'number') {
|
|
1340
|
-
contentLengthValue = String(totalBytes);
|
|
1341
|
-
}
|
|
1342
|
-
}
|
|
1343
|
-
if (contentLengthValue) {
|
|
1344
|
-
headers.set('Content-Length', contentLengthValue);
|
|
1345
|
-
}
|
|
1346
|
-
|
|
1347
|
-
// HTTP-network-or-cache fetch step 2.11
|
|
1348
|
-
if (!headers.has('User-Agent')) {
|
|
1349
|
-
headers.set('User-Agent', 'node-fetch/1.0 (+https://github.com/bitinn/node-fetch)');
|
|
1350
|
-
}
|
|
1351
|
-
|
|
1352
|
-
// HTTP-network-or-cache fetch step 2.15
|
|
1353
|
-
if (request.compress && !headers.has('Accept-Encoding')) {
|
|
1354
|
-
headers.set('Accept-Encoding', 'gzip,deflate');
|
|
1355
|
-
}
|
|
1356
|
-
|
|
1357
|
-
let agent = request.agent;
|
|
1358
|
-
if (typeof agent === 'function') {
|
|
1359
|
-
agent = agent(parsedURL);
|
|
1360
|
-
}
|
|
1361
|
-
|
|
1362
|
-
// HTTP-network fetch step 4.2
|
|
1363
|
-
// chunked encoding is handled by Node.js
|
|
1364
|
-
|
|
1365
|
-
return Object.assign({}, parsedURL, {
|
|
1366
|
-
method: request.method,
|
|
1367
|
-
headers: exportNodeCompatibleHeaders(headers),
|
|
1368
|
-
agent
|
|
1369
|
-
});
|
|
1370
|
-
}
|
|
1371
|
-
|
|
1372
|
-
/**
|
|
1373
|
-
* abort-error.js
|
|
1374
|
-
*
|
|
1375
|
-
* AbortError interface for cancelled requests
|
|
1376
|
-
*/
|
|
1377
|
-
|
|
1378
|
-
/**
|
|
1379
|
-
* Create AbortError instance
|
|
1380
|
-
*
|
|
1381
|
-
* @param String message Error message for human
|
|
1382
|
-
* @return AbortError
|
|
1383
|
-
*/
|
|
1384
|
-
function AbortError(message) {
|
|
1385
|
-
Error.call(this, message);
|
|
1386
|
-
|
|
1387
|
-
this.type = 'aborted';
|
|
1388
|
-
this.message = message;
|
|
1389
|
-
|
|
1390
|
-
// hide custom error implementation details from end-users
|
|
1391
|
-
Error.captureStackTrace(this, this.constructor);
|
|
1392
|
-
}
|
|
1393
|
-
|
|
1394
|
-
AbortError.prototype = Object.create(Error.prototype);
|
|
1395
|
-
AbortError.prototype.constructor = AbortError;
|
|
1396
|
-
AbortError.prototype.name = 'AbortError';
|
|
1397
|
-
|
|
1398
|
-
const URL$1 = Url.URL || whatwgUrl.URL;
|
|
1399
|
-
|
|
1400
|
-
// fix an issue where "PassThrough", "resolve" aren't a named export for node <10
|
|
1401
|
-
const PassThrough$1 = Stream.PassThrough;
|
|
1402
|
-
|
|
1403
|
-
const isDomainOrSubdomain = function isDomainOrSubdomain(destination, original) {
|
|
1404
|
-
const orig = new URL$1(original).hostname;
|
|
1405
|
-
const dest = new URL$1(destination).hostname;
|
|
1406
|
-
|
|
1407
|
-
return orig === dest || orig[orig.length - dest.length - 1] === '.' && orig.endsWith(dest);
|
|
1408
|
-
};
|
|
1409
|
-
|
|
1410
|
-
/**
|
|
1411
|
-
* isSameProtocol reports whether the two provided URLs use the same protocol.
|
|
1412
|
-
*
|
|
1413
|
-
* Both domains must already be in canonical form.
|
|
1414
|
-
* @param {string|URL} original
|
|
1415
|
-
* @param {string|URL} destination
|
|
1416
|
-
*/
|
|
1417
|
-
const isSameProtocol = function isSameProtocol(destination, original) {
|
|
1418
|
-
const orig = new URL$1(original).protocol;
|
|
1419
|
-
const dest = new URL$1(destination).protocol;
|
|
1420
|
-
|
|
1421
|
-
return orig === dest;
|
|
1422
|
-
};
|
|
1423
|
-
|
|
1424
|
-
/**
|
|
1425
|
-
* Fetch function
|
|
1426
|
-
*
|
|
1427
|
-
* @param Mixed url Absolute url or Request instance
|
|
1428
|
-
* @param Object opts Fetch options
|
|
1429
|
-
* @return Promise
|
|
1430
|
-
*/
|
|
1431
|
-
function fetch(url, opts) {
|
|
1432
|
-
|
|
1433
|
-
// allow custom promise
|
|
1434
|
-
if (!fetch.Promise) {
|
|
1435
|
-
throw new Error('native promise missing, set fetch.Promise to your favorite alternative');
|
|
1436
|
-
}
|
|
1437
|
-
|
|
1438
|
-
Body.Promise = fetch.Promise;
|
|
1439
|
-
|
|
1440
|
-
// wrap http.request into fetch
|
|
1441
|
-
return new fetch.Promise(function (resolve, reject) {
|
|
1442
|
-
// build request object
|
|
1443
|
-
const request = new Request(url, opts);
|
|
1444
|
-
const options = getNodeRequestOptions(request);
|
|
1445
|
-
|
|
1446
|
-
const send = (options.protocol === 'https:' ? https : http).request;
|
|
1447
|
-
const signal = request.signal;
|
|
1448
|
-
|
|
1449
|
-
let response = null;
|
|
1450
|
-
|
|
1451
|
-
const abort = function abort() {
|
|
1452
|
-
let error = new AbortError('The user aborted a request.');
|
|
1453
|
-
reject(error);
|
|
1454
|
-
if (request.body && request.body instanceof Stream.Readable) {
|
|
1455
|
-
destroyStream(request.body, error);
|
|
1456
|
-
}
|
|
1457
|
-
if (!response || !response.body) return;
|
|
1458
|
-
response.body.emit('error', error);
|
|
1459
|
-
};
|
|
1460
|
-
|
|
1461
|
-
if (signal && signal.aborted) {
|
|
1462
|
-
abort();
|
|
1463
|
-
return;
|
|
1464
|
-
}
|
|
1465
|
-
|
|
1466
|
-
const abortAndFinalize = function abortAndFinalize() {
|
|
1467
|
-
abort();
|
|
1468
|
-
finalize();
|
|
1469
|
-
};
|
|
1470
|
-
|
|
1471
|
-
// send request
|
|
1472
|
-
const req = send(options);
|
|
1473
|
-
let reqTimeout;
|
|
1474
|
-
|
|
1475
|
-
if (signal) {
|
|
1476
|
-
signal.addEventListener('abort', abortAndFinalize);
|
|
1477
|
-
}
|
|
1478
|
-
|
|
1479
|
-
function finalize() {
|
|
1480
|
-
req.abort();
|
|
1481
|
-
if (signal) signal.removeEventListener('abort', abortAndFinalize);
|
|
1482
|
-
clearTimeout(reqTimeout);
|
|
1483
|
-
}
|
|
1484
|
-
|
|
1485
|
-
if (request.timeout) {
|
|
1486
|
-
req.once('socket', function (socket) {
|
|
1487
|
-
reqTimeout = setTimeout(function () {
|
|
1488
|
-
reject(new FetchError(`network timeout at: ${request.url}`, 'request-timeout'));
|
|
1489
|
-
finalize();
|
|
1490
|
-
}, request.timeout);
|
|
1491
|
-
});
|
|
1492
|
-
}
|
|
1493
|
-
|
|
1494
|
-
req.on('error', function (err) {
|
|
1495
|
-
reject(new FetchError(`request to ${request.url} failed, reason: ${err.message}`, 'system', err));
|
|
1496
|
-
|
|
1497
|
-
if (response && response.body) {
|
|
1498
|
-
destroyStream(response.body, err);
|
|
1499
|
-
}
|
|
1500
|
-
|
|
1501
|
-
finalize();
|
|
1502
|
-
});
|
|
1503
|
-
|
|
1504
|
-
fixResponseChunkedTransferBadEnding(req, function (err) {
|
|
1505
|
-
if (signal && signal.aborted) {
|
|
1506
|
-
return;
|
|
1507
|
-
}
|
|
1508
|
-
|
|
1509
|
-
if (response && response.body) {
|
|
1510
|
-
destroyStream(response.body, err);
|
|
1511
|
-
}
|
|
1512
|
-
});
|
|
1513
|
-
|
|
1514
|
-
/* c8 ignore next 18 */
|
|
1515
|
-
if (parseInt(process.version.substring(1)) < 14) {
|
|
1516
|
-
// Before Node.js 14, pipeline() does not fully support async iterators and does not always
|
|
1517
|
-
// properly handle when the socket close/end events are out of order.
|
|
1518
|
-
req.on('socket', function (s) {
|
|
1519
|
-
s.addListener('close', function (hadError) {
|
|
1520
|
-
// if a data listener is still present we didn't end cleanly
|
|
1521
|
-
const hasDataListener = s.listenerCount('data') > 0;
|
|
1522
|
-
|
|
1523
|
-
// if end happened before close but the socket didn't emit an error, do it now
|
|
1524
|
-
if (response && hasDataListener && !hadError && !(signal && signal.aborted)) {
|
|
1525
|
-
const err = new Error('Premature close');
|
|
1526
|
-
err.code = 'ERR_STREAM_PREMATURE_CLOSE';
|
|
1527
|
-
response.body.emit('error', err);
|
|
1528
|
-
}
|
|
1529
|
-
});
|
|
1530
|
-
});
|
|
1531
|
-
}
|
|
1532
|
-
|
|
1533
|
-
req.on('response', function (res) {
|
|
1534
|
-
clearTimeout(reqTimeout);
|
|
1535
|
-
|
|
1536
|
-
const headers = createHeadersLenient(res.headers);
|
|
1537
|
-
|
|
1538
|
-
// HTTP fetch step 5
|
|
1539
|
-
if (fetch.isRedirect(res.statusCode)) {
|
|
1540
|
-
// HTTP fetch step 5.2
|
|
1541
|
-
const location = headers.get('Location');
|
|
1542
|
-
|
|
1543
|
-
// HTTP fetch step 5.3
|
|
1544
|
-
let locationURL = null;
|
|
1545
|
-
try {
|
|
1546
|
-
locationURL = location === null ? null : new URL$1(location, request.url).toString();
|
|
1547
|
-
} catch (err) {
|
|
1548
|
-
// error here can only be invalid URL in Location: header
|
|
1549
|
-
// do not throw when options.redirect == manual
|
|
1550
|
-
// let the user extract the errorneous redirect URL
|
|
1551
|
-
if (request.redirect !== 'manual') {
|
|
1552
|
-
reject(new FetchError(`uri requested responds with an invalid redirect URL: ${location}`, 'invalid-redirect'));
|
|
1553
|
-
finalize();
|
|
1554
|
-
return;
|
|
1555
|
-
}
|
|
1556
|
-
}
|
|
1557
|
-
|
|
1558
|
-
// HTTP fetch step 5.5
|
|
1559
|
-
switch (request.redirect) {
|
|
1560
|
-
case 'error':
|
|
1561
|
-
reject(new FetchError(`uri requested responds with a redirect, redirect mode is set to error: ${request.url}`, 'no-redirect'));
|
|
1562
|
-
finalize();
|
|
1563
|
-
return;
|
|
1564
|
-
case 'manual':
|
|
1565
|
-
// node-fetch-specific step: make manual redirect a bit easier to use by setting the Location header value to the resolved URL.
|
|
1566
|
-
if (locationURL !== null) {
|
|
1567
|
-
// handle corrupted header
|
|
1568
|
-
try {
|
|
1569
|
-
headers.set('Location', locationURL);
|
|
1570
|
-
} catch (err) {
|
|
1571
|
-
// istanbul ignore next: nodejs server prevent invalid response headers, we can't test this through normal request
|
|
1572
|
-
reject(err);
|
|
1573
|
-
}
|
|
1574
|
-
}
|
|
1575
|
-
break;
|
|
1576
|
-
case 'follow':
|
|
1577
|
-
// HTTP-redirect fetch step 2
|
|
1578
|
-
if (locationURL === null) {
|
|
1579
|
-
break;
|
|
1580
|
-
}
|
|
1581
|
-
|
|
1582
|
-
// HTTP-redirect fetch step 5
|
|
1583
|
-
if (request.counter >= request.follow) {
|
|
1584
|
-
reject(new FetchError(`maximum redirect reached at: ${request.url}`, 'max-redirect'));
|
|
1585
|
-
finalize();
|
|
1586
|
-
return;
|
|
1587
|
-
}
|
|
1588
|
-
|
|
1589
|
-
// HTTP-redirect fetch step 6 (counter increment)
|
|
1590
|
-
// Create a new Request object.
|
|
1591
|
-
const requestOpts = {
|
|
1592
|
-
headers: new Headers(request.headers),
|
|
1593
|
-
follow: request.follow,
|
|
1594
|
-
counter: request.counter + 1,
|
|
1595
|
-
agent: request.agent,
|
|
1596
|
-
compress: request.compress,
|
|
1597
|
-
method: request.method,
|
|
1598
|
-
body: request.body,
|
|
1599
|
-
signal: request.signal,
|
|
1600
|
-
timeout: request.timeout,
|
|
1601
|
-
size: request.size
|
|
1602
|
-
};
|
|
1603
|
-
|
|
1604
|
-
if (!isDomainOrSubdomain(request.url, locationURL) || !isSameProtocol(request.url, locationURL)) {
|
|
1605
|
-
for (const name of ['authorization', 'www-authenticate', 'cookie', 'cookie2']) {
|
|
1606
|
-
requestOpts.headers.delete(name);
|
|
1607
|
-
}
|
|
1608
|
-
}
|
|
1609
|
-
|
|
1610
|
-
// HTTP-redirect fetch step 9
|
|
1611
|
-
if (res.statusCode !== 303 && request.body && getTotalBytes(request) === null) {
|
|
1612
|
-
reject(new FetchError('Cannot follow redirect with body being a readable stream', 'unsupported-redirect'));
|
|
1613
|
-
finalize();
|
|
1614
|
-
return;
|
|
1615
|
-
}
|
|
1616
|
-
|
|
1617
|
-
// HTTP-redirect fetch step 11
|
|
1618
|
-
if (res.statusCode === 303 || (res.statusCode === 301 || res.statusCode === 302) && request.method === 'POST') {
|
|
1619
|
-
requestOpts.method = 'GET';
|
|
1620
|
-
requestOpts.body = undefined;
|
|
1621
|
-
requestOpts.headers.delete('content-length');
|
|
1622
|
-
}
|
|
1623
|
-
|
|
1624
|
-
// HTTP-redirect fetch step 15
|
|
1625
|
-
resolve(fetch(new Request(locationURL, requestOpts)));
|
|
1626
|
-
finalize();
|
|
1627
|
-
return;
|
|
1628
|
-
}
|
|
1629
|
-
}
|
|
1630
|
-
|
|
1631
|
-
// prepare response
|
|
1632
|
-
res.once('end', function () {
|
|
1633
|
-
if (signal) signal.removeEventListener('abort', abortAndFinalize);
|
|
1634
|
-
});
|
|
1635
|
-
let body = res.pipe(new PassThrough$1());
|
|
1636
|
-
|
|
1637
|
-
const response_options = {
|
|
1638
|
-
url: request.url,
|
|
1639
|
-
status: res.statusCode,
|
|
1640
|
-
statusText: res.statusMessage,
|
|
1641
|
-
headers: headers,
|
|
1642
|
-
size: request.size,
|
|
1643
|
-
timeout: request.timeout,
|
|
1644
|
-
counter: request.counter
|
|
1645
|
-
};
|
|
1646
|
-
|
|
1647
|
-
// HTTP-network fetch step 12.1.1.3
|
|
1648
|
-
const codings = headers.get('Content-Encoding');
|
|
1649
|
-
|
|
1650
|
-
// HTTP-network fetch step 12.1.1.4: handle content codings
|
|
1651
|
-
|
|
1652
|
-
// in following scenarios we ignore compression support
|
|
1653
|
-
// 1. compression support is disabled
|
|
1654
|
-
// 2. HEAD request
|
|
1655
|
-
// 3. no Content-Encoding header
|
|
1656
|
-
// 4. no content response (204)
|
|
1657
|
-
// 5. content not modified response (304)
|
|
1658
|
-
if (!request.compress || request.method === 'HEAD' || codings === null || res.statusCode === 204 || res.statusCode === 304) {
|
|
1659
|
-
response = new Response(body, response_options);
|
|
1660
|
-
resolve(response);
|
|
1661
|
-
return;
|
|
1662
|
-
}
|
|
1663
|
-
|
|
1664
|
-
// For Node v6+
|
|
1665
|
-
// Be less strict when decoding compressed responses, since sometimes
|
|
1666
|
-
// servers send slightly invalid responses that are still accepted
|
|
1667
|
-
// by common browsers.
|
|
1668
|
-
// Always using Z_SYNC_FLUSH is what cURL does.
|
|
1669
|
-
const zlibOptions = {
|
|
1670
|
-
flush: zlib.Z_SYNC_FLUSH,
|
|
1671
|
-
finishFlush: zlib.Z_SYNC_FLUSH
|
|
1672
|
-
};
|
|
1673
|
-
|
|
1674
|
-
// for gzip
|
|
1675
|
-
if (codings == 'gzip' || codings == 'x-gzip') {
|
|
1676
|
-
body = body.pipe(zlib.createGunzip(zlibOptions));
|
|
1677
|
-
response = new Response(body, response_options);
|
|
1678
|
-
resolve(response);
|
|
1679
|
-
return;
|
|
1680
|
-
}
|
|
1681
|
-
|
|
1682
|
-
// for deflate
|
|
1683
|
-
if (codings == 'deflate' || codings == 'x-deflate') {
|
|
1684
|
-
// handle the infamous raw deflate response from old servers
|
|
1685
|
-
// a hack for old IIS and Apache servers
|
|
1686
|
-
const raw = res.pipe(new PassThrough$1());
|
|
1687
|
-
raw.once('data', function (chunk) {
|
|
1688
|
-
// see http://stackoverflow.com/questions/37519828
|
|
1689
|
-
if ((chunk[0] & 0x0F) === 0x08) {
|
|
1690
|
-
body = body.pipe(zlib.createInflate());
|
|
1691
|
-
} else {
|
|
1692
|
-
body = body.pipe(zlib.createInflateRaw());
|
|
1693
|
-
}
|
|
1694
|
-
response = new Response(body, response_options);
|
|
1695
|
-
resolve(response);
|
|
1696
|
-
});
|
|
1697
|
-
raw.on('end', function () {
|
|
1698
|
-
// some old IIS servers return zero-length OK deflate responses, so 'data' is never emitted.
|
|
1699
|
-
if (!response) {
|
|
1700
|
-
response = new Response(body, response_options);
|
|
1701
|
-
resolve(response);
|
|
1702
|
-
}
|
|
1703
|
-
});
|
|
1704
|
-
return;
|
|
1705
|
-
}
|
|
1706
|
-
|
|
1707
|
-
// for br
|
|
1708
|
-
if (codings == 'br' && typeof zlib.createBrotliDecompress === 'function') {
|
|
1709
|
-
body = body.pipe(zlib.createBrotliDecompress());
|
|
1710
|
-
response = new Response(body, response_options);
|
|
1711
|
-
resolve(response);
|
|
1712
|
-
return;
|
|
1713
|
-
}
|
|
1714
|
-
|
|
1715
|
-
// otherwise, use response as-is
|
|
1716
|
-
response = new Response(body, response_options);
|
|
1717
|
-
resolve(response);
|
|
1718
|
-
});
|
|
1719
|
-
|
|
1720
|
-
writeToStream(req, request);
|
|
1721
|
-
});
|
|
1722
|
-
}
|
|
1723
|
-
function fixResponseChunkedTransferBadEnding(request, errorCallback) {
|
|
1724
|
-
let socket;
|
|
1725
|
-
|
|
1726
|
-
request.on('socket', function (s) {
|
|
1727
|
-
socket = s;
|
|
1728
|
-
});
|
|
1729
|
-
|
|
1730
|
-
request.on('response', function (response) {
|
|
1731
|
-
const headers = response.headers;
|
|
1732
|
-
|
|
1733
|
-
if (headers['transfer-encoding'] === 'chunked' && !headers['content-length']) {
|
|
1734
|
-
response.once('close', function (hadError) {
|
|
1735
|
-
// tests for socket presence, as in some situations the
|
|
1736
|
-
// the 'socket' event is not triggered for the request
|
|
1737
|
-
// (happens in deno), avoids `TypeError`
|
|
1738
|
-
// if a data listener is still present we didn't end cleanly
|
|
1739
|
-
const hasDataListener = socket && socket.listenerCount('data') > 0;
|
|
1740
|
-
|
|
1741
|
-
if (hasDataListener && !hadError) {
|
|
1742
|
-
const err = new Error('Premature close');
|
|
1743
|
-
err.code = 'ERR_STREAM_PREMATURE_CLOSE';
|
|
1744
|
-
errorCallback(err);
|
|
1745
|
-
}
|
|
1746
|
-
});
|
|
1747
|
-
}
|
|
1748
|
-
});
|
|
1749
|
-
}
|
|
1750
|
-
|
|
1751
|
-
function destroyStream(stream, err) {
|
|
1752
|
-
if (stream.destroy) {
|
|
1753
|
-
stream.destroy(err);
|
|
1754
|
-
} else {
|
|
1755
|
-
// node < 8
|
|
1756
|
-
stream.emit('error', err);
|
|
1757
|
-
stream.end();
|
|
1758
|
-
}
|
|
1759
|
-
}
|
|
1760
|
-
|
|
1761
|
-
/**
|
|
1762
|
-
* Redirect code matching
|
|
1763
|
-
*
|
|
1764
|
-
* @param Number code Status code
|
|
1765
|
-
* @return Boolean
|
|
1766
|
-
*/
|
|
1767
|
-
fetch.isRedirect = function (code) {
|
|
1768
|
-
return code === 301 || code === 302 || code === 303 || code === 307 || code === 308;
|
|
1769
|
-
};
|
|
1770
|
-
|
|
1771
|
-
// expose Promise
|
|
1772
|
-
fetch.Promise = global.Promise;
|
|
1773
|
-
|
|
1774
|
-
export default fetch;
|
|
1775
|
-
export { Headers, Request, Response, FetchError, AbortError };
|