@redocly/cli 2.33.1 → 2.34.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +7 -0
- package/THIRD_PARTY_NOTICES +767 -0
- package/lib/chunks/2ULY6UWW.js +13374 -0
- package/lib/chunks/4DNBVE5S.js +23 -0
- package/lib/chunks/5ILQMFXK.js +59 -0
- package/lib/chunks/7GOGGHM5.js +92239 -0
- package/lib/chunks/A6JSOHCP.js +41 -0
- package/lib/chunks/AIT3U3JT.js +22 -0
- package/lib/chunks/EIHBO33S.js +1133 -0
- package/lib/chunks/FDUPOI4C.js +19036 -0
- package/lib/chunks/FO6BDVGE.js +25 -0
- package/lib/chunks/FP2VGYMF.js +90 -0
- package/lib/chunks/GRMVFQAA.js +17782 -0
- package/lib/chunks/ICAVAH7N.js +387 -0
- package/lib/chunks/OEYVENNB.js +37533 -0
- package/lib/chunks/TS33ZDKX.js +35 -0
- package/lib/chunks/VUDTNFRL.js +42 -0
- package/lib/chunks/VXIQEZPR.js +2564 -0
- package/lib/chunks/W7G5WVPB.js +44 -0
- package/lib/chunks/XHPY6UJF.js +1638 -0
- package/lib/chunks/Y6DTFCLS.js +15 -0
- package/lib/chunks/YA5P3RI2.js +13 -0
- package/lib/chunks/ZIYSHX6D.js +3617 -0
- package/lib/index.js +13606 -620
- package/package.json +13 -53
- package/lib/auth/device-flow.d.ts +0 -24
- package/lib/auth/device-flow.d.ts.map +0 -1
- package/lib/auth/device-flow.js +0 -140
- package/lib/auth/device-flow.js.map +0 -1
- package/lib/auth/oauth-client.d.ts +0 -18
- package/lib/auth/oauth-client.d.ts.map +0 -1
- package/lib/auth/oauth-client.js +0 -117
- package/lib/auth/oauth-client.js.map +0 -1
- package/lib/commands/auth.d.ts +0 -12
- package/lib/commands/auth.d.ts.map +0 -1
- package/lib/commands/auth.js +0 -34
- package/lib/commands/auth.js.map +0 -1
- package/lib/commands/build-docs/index.d.ts +0 -4
- package/lib/commands/build-docs/index.d.ts.map +0 -1
- package/lib/commands/build-docs/index.js +0 -38
- package/lib/commands/build-docs/index.js.map +0 -1
- package/lib/commands/build-docs/template.hbs +0 -23
- package/lib/commands/build-docs/types.d.ts +0 -24
- package/lib/commands/build-docs/types.d.ts.map +0 -1
- package/lib/commands/build-docs/types.js +0 -2
- package/lib/commands/build-docs/types.js.map +0 -1
- package/lib/commands/build-docs/utils.d.ts +0 -8
- package/lib/commands/build-docs/utils.d.ts.map +0 -1
- package/lib/commands/build-docs/utils.js +0 -84
- package/lib/commands/build-docs/utils.js.map +0 -1
- package/lib/commands/bundle.d.ts +0 -20
- package/lib/commands/bundle.d.ts.map +0 -1
- package/lib/commands/bundle.js +0 -93
- package/lib/commands/bundle.js.map +0 -1
- package/lib/commands/eject.d.ts +0 -10
- package/lib/commands/eject.d.ts.map +0 -1
- package/lib/commands/eject.js +0 -26
- package/lib/commands/eject.js.map +0 -1
- package/lib/commands/generate-arazzo.d.ts +0 -8
- package/lib/commands/generate-arazzo.d.ts.map +0 -1
- package/lib/commands/generate-arazzo.js +0 -25
- package/lib/commands/generate-arazzo.js.map +0 -1
- package/lib/commands/join/index.d.ts +0 -4
- package/lib/commands/join/index.d.ts.map +0 -1
- package/lib/commands/join/index.js +0 -141
- package/lib/commands/join/index.js.map +0 -1
- package/lib/commands/join/types.d.ts +0 -22
- package/lib/commands/join/types.d.ts.map +0 -1
- package/lib/commands/join/types.js +0 -2
- package/lib/commands/join/types.js.map +0 -1
- package/lib/commands/join/utils/add-components-prefix.d.ts +0 -2
- package/lib/commands/join/utils/add-components-prefix.d.ts.map +0 -1
- package/lib/commands/join/utils/add-components-prefix.js +0 -9
- package/lib/commands/join/utils/add-components-prefix.js.map +0 -1
- package/lib/commands/join/utils/add-info-section.d.ts +0 -2
- package/lib/commands/join/utils/add-info-section.d.ts.map +0 -1
- package/lib/commands/join/utils/add-info-section.js +0 -19
- package/lib/commands/join/utils/add-info-section.js.map +0 -1
- package/lib/commands/join/utils/add-prefix.d.ts +0 -2
- package/lib/commands/join/utils/add-prefix.d.ts.map +0 -1
- package/lib/commands/join/utils/add-prefix.js +0 -4
- package/lib/commands/join/utils/add-prefix.js.map +0 -1
- package/lib/commands/join/utils/add-security-prefix.d.ts +0 -2
- package/lib/commands/join/utils/add-security-prefix.d.ts.map +0 -1
- package/lib/commands/join/utils/add-security-prefix.js +0 -12
- package/lib/commands/join/utils/add-security-prefix.js.map +0 -1
- package/lib/commands/join/utils/collect-components.d.ts +0 -7
- package/lib/commands/join/utils/collect-components.d.ts.map +0 -1
- package/lib/commands/join/utils/collect-components.js +0 -26
- package/lib/commands/join/utils/collect-components.js.map +0 -1
- package/lib/commands/join/utils/collect-external-docs.d.ts +0 -7
- package/lib/commands/join/utils/collect-external-docs.d.ts.map +0 -1
- package/lib/commands/join/utils/collect-external-docs.js +0 -15
- package/lib/commands/join/utils/collect-external-docs.js.map +0 -1
- package/lib/commands/join/utils/collect-paths.d.ts +0 -9
- package/lib/commands/join/utils/collect-paths.d.ts.map +0 -1
- package/lib/commands/join/utils/collect-paths.js +0 -172
- package/lib/commands/join/utils/collect-paths.js.map +0 -1
- package/lib/commands/join/utils/collect-webhooks.d.ts +0 -8
- package/lib/commands/join/utils/collect-webhooks.d.ts.map +0 -1
- package/lib/commands/join/utils/collect-webhooks.js +0 -46
- package/lib/commands/join/utils/collect-webhooks.js.map +0 -1
- package/lib/commands/join/utils/duplicate-tag-description-warning.d.ts +0 -2
- package/lib/commands/join/utils/duplicate-tag-description-warning.d.ts.map +0 -1
- package/lib/commands/join/utils/duplicate-tag-description-warning.js +0 -8
- package/lib/commands/join/utils/duplicate-tag-description-warning.js.map +0 -1
- package/lib/commands/join/utils/filter-conflicts.d.ts +0 -2
- package/lib/commands/join/utils/filter-conflicts.d.ts.map +0 -1
- package/lib/commands/join/utils/filter-conflicts.js +0 -4
- package/lib/commands/join/utils/filter-conflicts.js.map +0 -1
- package/lib/commands/join/utils/format-tags.d.ts +0 -4
- package/lib/commands/join/utils/format-tags.d.ts.map +0 -1
- package/lib/commands/join/utils/format-tags.js +0 -4
- package/lib/commands/join/utils/format-tags.js.map +0 -1
- package/lib/commands/join/utils/get-api-filename.d.ts +0 -2
- package/lib/commands/join/utils/get-api-filename.d.ts.map +0 -1
- package/lib/commands/join/utils/get-api-filename.js +0 -5
- package/lib/commands/join/utils/get-api-filename.js.map +0 -1
- package/lib/commands/join/utils/get-info-prefix.d.ts +0 -2
- package/lib/commands/join/utils/get-info-prefix.d.ts.map +0 -1
- package/lib/commands/join/utils/get-info-prefix.js +0 -17
- package/lib/commands/join/utils/get-info-prefix.js.map +0 -1
- package/lib/commands/join/utils/index.d.ts +0 -19
- package/lib/commands/join/utils/index.d.ts.map +0 -1
- package/lib/commands/join/utils/index.js +0 -19
- package/lib/commands/join/utils/index.js.map +0 -1
- package/lib/commands/join/utils/iterate-potential-conflicts.d.ts +0 -5
- package/lib/commands/join/utils/iterate-potential-conflicts.d.ts.map +0 -1
- package/lib/commands/join/utils/iterate-potential-conflicts.js +0 -53
- package/lib/commands/join/utils/iterate-potential-conflicts.js.map +0 -1
- package/lib/commands/join/utils/populate-tags.d.ts +0 -7
- package/lib/commands/join/utils/populate-tags.d.ts.map +0 -1
- package/lib/commands/join/utils/populate-tags.js +0 -77
- package/lib/commands/join/utils/populate-tags.js.map +0 -1
- package/lib/commands/join/utils/prefix-tag-suggestion.d.ts +0 -2
- package/lib/commands/join/utils/prefix-tag-suggestion.d.ts.map +0 -1
- package/lib/commands/join/utils/prefix-tag-suggestion.js +0 -6
- package/lib/commands/join/utils/prefix-tag-suggestion.js.map +0 -1
- package/lib/commands/join/utils/replace-$-refs.d.ts +0 -2
- package/lib/commands/join/utils/replace-$-refs.d.ts.map +0 -1
- package/lib/commands/join/utils/replace-$-refs.js +0 -29
- package/lib/commands/join/utils/replace-$-refs.js.map +0 -1
- package/lib/commands/join/utils/show-conflicts.d.ts +0 -2
- package/lib/commands/join/utils/show-conflicts.d.ts.map +0 -1
- package/lib/commands/join/utils/show-conflicts.js +0 -8
- package/lib/commands/join/utils/show-conflicts.js.map +0 -1
- package/lib/commands/lint.d.ts +0 -15
- package/lib/commands/lint.d.ts.map +0 -1
- package/lib/commands/lint.js +0 -112
- package/lib/commands/lint.js.map +0 -1
- package/lib/commands/preview-project/constants.d.ts +0 -15
- package/lib/commands/preview-project/constants.d.ts.map +0 -1
- package/lib/commands/preview-project/constants.js +0 -20
- package/lib/commands/preview-project/constants.js.map +0 -1
- package/lib/commands/preview-project/index.d.ts +0 -4
- package/lib/commands/preview-project/index.d.ts.map +0 -1
- package/lib/commands/preview-project/index.js +0 -54
- package/lib/commands/preview-project/index.js.map +0 -1
- package/lib/commands/preview-project/types.d.ts +0 -11
- package/lib/commands/preview-project/types.d.ts.map +0 -1
- package/lib/commands/preview-project/types.js +0 -2
- package/lib/commands/preview-project/types.js.map +0 -1
- package/lib/commands/respect/connection-client.d.ts +0 -12
- package/lib/commands/respect/connection-client.d.ts.map +0 -1
- package/lib/commands/respect/connection-client.js +0 -73
- package/lib/commands/respect/connection-client.js.map +0 -1
- package/lib/commands/respect/display-files-summary-table.d.ts +0 -12
- package/lib/commands/respect/display-files-summary-table.d.ts.map +0 -1
- package/lib/commands/respect/display-files-summary-table.js +0 -65
- package/lib/commands/respect/display-files-summary-table.js.map +0 -1
- package/lib/commands/respect/har-logs/har-logs.d.ts +0 -6
- package/lib/commands/respect/har-logs/har-logs.d.ts.map +0 -1
- package/lib/commands/respect/har-logs/har-logs.js +0 -28
- package/lib/commands/respect/har-logs/har-logs.js.map +0 -1
- package/lib/commands/respect/har-logs/helpers/add-headers.d.ts +0 -2
- package/lib/commands/respect/har-logs/helpers/add-headers.d.ts.map +0 -1
- package/lib/commands/respect/har-logs/helpers/add-headers.js +0 -17
- package/lib/commands/respect/har-logs/helpers/add-headers.js.map +0 -1
- package/lib/commands/respect/har-logs/helpers/build-headers.d.ts +0 -10
- package/lib/commands/respect/har-logs/helpers/build-headers.d.ts.map +0 -1
- package/lib/commands/respect/har-logs/helpers/build-headers.js +0 -33
- package/lib/commands/respect/har-logs/helpers/build-headers.js.map +0 -1
- package/lib/commands/respect/har-logs/helpers/build-request-cookies.d.ts +0 -2
- package/lib/commands/respect/har-logs/helpers/build-request-cookies.d.ts.map +0 -1
- package/lib/commands/respect/har-logs/helpers/build-request-cookies.js +0 -18
- package/lib/commands/respect/har-logs/helpers/build-request-cookies.js.map +0 -1
- package/lib/commands/respect/har-logs/helpers/build-response-cookies.d.ts +0 -2
- package/lib/commands/respect/har-logs/helpers/build-response-cookies.d.ts.map +0 -1
- package/lib/commands/respect/har-logs/helpers/build-response-cookies.js +0 -40
- package/lib/commands/respect/har-logs/helpers/build-response-cookies.js.map +0 -1
- package/lib/commands/respect/har-logs/helpers/get-duration.d.ts +0 -2
- package/lib/commands/respect/har-logs/helpers/get-duration.d.ts.map +0 -1
- package/lib/commands/respect/har-logs/helpers/get-duration.js +0 -6
- package/lib/commands/respect/har-logs/helpers/get-duration.js.map +0 -1
- package/lib/commands/respect/har-logs/index.d.ts +0 -2
- package/lib/commands/respect/har-logs/index.d.ts.map +0 -1
- package/lib/commands/respect/har-logs/index.js +0 -2
- package/lib/commands/respect/har-logs/index.js.map +0 -1
- package/lib/commands/respect/har-logs/with-har.d.ts +0 -7
- package/lib/commands/respect/har-logs/with-har.d.ts.map +0 -1
- package/lib/commands/respect/har-logs/with-har.js +0 -182
- package/lib/commands/respect/har-logs/with-har.js.map +0 -1
- package/lib/commands/respect/index.d.ts +0 -27
- package/lib/commands/respect/index.d.ts.map +0 -1
- package/lib/commands/respect/index.js +0 -115
- package/lib/commands/respect/index.js.map +0 -1
- package/lib/commands/respect/json-logs.d.ts +0 -11
- package/lib/commands/respect/json-logs.d.ts.map +0 -1
- package/lib/commands/respect/json-logs.js +0 -85
- package/lib/commands/respect/json-logs.js.map +0 -1
- package/lib/commands/respect/mtls/resolve-mtls-certificates.d.ts +0 -9
- package/lib/commands/respect/mtls/resolve-mtls-certificates.d.ts.map +0 -1
- package/lib/commands/respect/mtls/resolve-mtls-certificates.js +0 -48
- package/lib/commands/respect/mtls/resolve-mtls-certificates.js.map +0 -1
- package/lib/commands/respect/mtls/validate-mtls-command-option.d.ts +0 -3
- package/lib/commands/respect/mtls/validate-mtls-command-option.d.ts.map +0 -1
- package/lib/commands/respect/mtls/validate-mtls-command-option.js +0 -55
- package/lib/commands/respect/mtls/validate-mtls-command-option.js.map +0 -1
- package/lib/commands/score/collect-metrics.d.ts +0 -17
- package/lib/commands/score/collect-metrics.d.ts.map +0 -1
- package/lib/commands/score/collect-metrics.js +0 -195
- package/lib/commands/score/collect-metrics.js.map +0 -1
- package/lib/commands/score/collectors/dependency-graph.d.ts +0 -9
- package/lib/commands/score/collectors/dependency-graph.d.ts.map +0 -1
- package/lib/commands/score/collectors/dependency-graph.js +0 -61
- package/lib/commands/score/collectors/dependency-graph.js.map +0 -1
- package/lib/commands/score/collectors/document-metrics.d.ts +0 -69
- package/lib/commands/score/collectors/document-metrics.d.ts.map +0 -1
- package/lib/commands/score/collectors/document-metrics.js +0 -343
- package/lib/commands/score/collectors/document-metrics.js.map +0 -1
- package/lib/commands/score/constants.d.ts +0 -4
- package/lib/commands/score/constants.d.ts.map +0 -1
- package/lib/commands/score/constants.js +0 -47
- package/lib/commands/score/constants.js.map +0 -1
- package/lib/commands/score/formatters/json.d.ts +0 -3
- package/lib/commands/score/formatters/json.d.ts.map +0 -1
- package/lib/commands/score/formatters/json.js +0 -20
- package/lib/commands/score/formatters/json.js.map +0 -1
- package/lib/commands/score/formatters/stylish.d.ts +0 -4
- package/lib/commands/score/formatters/stylish.d.ts.map +0 -1
- package/lib/commands/score/formatters/stylish.js +0 -235
- package/lib/commands/score/formatters/stylish.js.map +0 -1
- package/lib/commands/score/hotspots.d.ts +0 -3
- package/lib/commands/score/hotspots.d.ts.map +0 -1
- package/lib/commands/score/hotspots.js +0 -70
- package/lib/commands/score/hotspots.js.map +0 -1
- package/lib/commands/score/index.d.ts +0 -11
- package/lib/commands/score/index.d.ts.map +0 -1
- package/lib/commands/score/index.js +0 -69
- package/lib/commands/score/index.js.map +0 -1
- package/lib/commands/score/scoring.d.ts +0 -14
- package/lib/commands/score/scoring.d.ts.map +0 -1
- package/lib/commands/score/scoring.js +0 -136
- package/lib/commands/score/scoring.js.map +0 -1
- package/lib/commands/score/types.d.ts +0 -119
- package/lib/commands/score/types.d.ts.map +0 -1
- package/lib/commands/score/types.js +0 -2
- package/lib/commands/score/types.js.map +0 -1
- package/lib/commands/score/utils.d.ts +0 -2
- package/lib/commands/score/utils.d.ts.map +0 -1
- package/lib/commands/score/utils.js +0 -8
- package/lib/commands/score/utils.js.map +0 -1
- package/lib/commands/scorecard-classic/auth/login-handler.d.ts +0 -3
- package/lib/commands/scorecard-classic/auth/login-handler.d.ts.map +0 -1
- package/lib/commands/scorecard-classic/auth/login-handler.js +0 -31
- package/lib/commands/scorecard-classic/auth/login-handler.js.map +0 -1
- package/lib/commands/scorecard-classic/formatters/checkstyle-formatter.d.ts +0 -3
- package/lib/commands/scorecard-classic/formatters/checkstyle-formatter.d.ts.map +0 -1
- package/lib/commands/scorecard-classic/formatters/checkstyle-formatter.js +0 -28
- package/lib/commands/scorecard-classic/formatters/checkstyle-formatter.js.map +0 -1
- package/lib/commands/scorecard-classic/formatters/json-formatter.d.ts +0 -27
- package/lib/commands/scorecard-classic/formatters/json-formatter.d.ts.map +0 -1
- package/lib/commands/scorecard-classic/formatters/json-formatter.js +0 -67
- package/lib/commands/scorecard-classic/formatters/json-formatter.js.map +0 -1
- package/lib/commands/scorecard-classic/formatters/junit-formatter.d.ts +0 -3
- package/lib/commands/scorecard-classic/formatters/junit-formatter.d.ts.map +0 -1
- package/lib/commands/scorecard-classic/formatters/junit-formatter.js +0 -67
- package/lib/commands/scorecard-classic/formatters/junit-formatter.js.map +0 -1
- package/lib/commands/scorecard-classic/formatters/stylish-formatter.d.ts +0 -3
- package/lib/commands/scorecard-classic/formatters/stylish-formatter.d.ts.map +0 -1
- package/lib/commands/scorecard-classic/formatters/stylish-formatter.js +0 -57
- package/lib/commands/scorecard-classic/formatters/stylish-formatter.js.map +0 -1
- package/lib/commands/scorecard-classic/index.d.ts +0 -4
- package/lib/commands/scorecard-classic/index.d.ts.map +0 -1
- package/lib/commands/scorecard-classic/index.js +0 -120
- package/lib/commands/scorecard-classic/index.js.map +0 -1
- package/lib/commands/scorecard-classic/remote/fetch-scorecard.d.ts +0 -9
- package/lib/commands/scorecard-classic/remote/fetch-scorecard.d.ts.map +0 -1
- package/lib/commands/scorecard-classic/remote/fetch-scorecard.js +0 -126
- package/lib/commands/scorecard-classic/remote/fetch-scorecard.js.map +0 -1
- package/lib/commands/scorecard-classic/targets-handler/targets-handler.d.ts +0 -13
- package/lib/commands/scorecard-classic/targets-handler/targets-handler.d.ts.map +0 -1
- package/lib/commands/scorecard-classic/targets-handler/targets-handler.js +0 -55
- package/lib/commands/scorecard-classic/targets-handler/targets-handler.js.map +0 -1
- package/lib/commands/scorecard-classic/types.d.ts +0 -27
- package/lib/commands/scorecard-classic/types.d.ts.map +0 -1
- package/lib/commands/scorecard-classic/types.js +0 -2
- package/lib/commands/scorecard-classic/types.js.map +0 -1
- package/lib/commands/scorecard-classic/validation/plugin-evaluator.d.ts +0 -3
- package/lib/commands/scorecard-classic/validation/plugin-evaluator.d.ts.map +0 -1
- package/lib/commands/scorecard-classic/validation/plugin-evaluator.js +0 -45
- package/lib/commands/scorecard-classic/validation/plugin-evaluator.js.map +0 -1
- package/lib/commands/scorecard-classic/validation/project-url.d.ts +0 -2
- package/lib/commands/scorecard-classic/validation/project-url.d.ts.map +0 -1
- package/lib/commands/scorecard-classic/validation/project-url.js +0 -11
- package/lib/commands/scorecard-classic/validation/project-url.js.map +0 -1
- package/lib/commands/scorecard-classic/validation/validate-scorecard.d.ts +0 -21
- package/lib/commands/scorecard-classic/validation/validate-scorecard.d.ts.map +0 -1
- package/lib/commands/scorecard-classic/validation/validate-scorecard.js +0 -87
- package/lib/commands/scorecard-classic/validation/validate-scorecard.js.map +0 -1
- package/lib/commands/split/asyncapi/constants.d.ts +0 -6
- package/lib/commands/split/asyncapi/constants.d.ts.map +0 -1
- package/lib/commands/split/asyncapi/constants.js +0 -71
- package/lib/commands/split/asyncapi/constants.js.map +0 -1
- package/lib/commands/split/asyncapi/find-asyncapi-component-types.d.ts +0 -2
- package/lib/commands/split/asyncapi/find-asyncapi-component-types.d.ts.map +0 -1
- package/lib/commands/split/asyncapi/find-asyncapi-component-types.js +0 -8
- package/lib/commands/split/asyncapi/find-asyncapi-component-types.js.map +0 -1
- package/lib/commands/split/asyncapi/gather-asyncapi-component-files.d.ts +0 -9
- package/lib/commands/split/asyncapi/gather-asyncapi-component-files.d.ts.map +0 -1
- package/lib/commands/split/asyncapi/gather-asyncapi-component-files.js +0 -28
- package/lib/commands/split/asyncapi/gather-asyncapi-component-files.js.map +0 -1
- package/lib/commands/split/asyncapi/iterate-asyncapi-channels.d.ts +0 -10
- package/lib/commands/split/asyncapi/iterate-asyncapi-channels.d.ts.map +0 -1
- package/lib/commands/split/asyncapi/iterate-asyncapi-channels.js +0 -27
- package/lib/commands/split/asyncapi/iterate-asyncapi-channels.js.map +0 -1
- package/lib/commands/split/asyncapi/iterate-asyncapi-components.d.ts +0 -10
- package/lib/commands/split/asyncapi/iterate-asyncapi-components.d.ts.map +0 -1
- package/lib/commands/split/asyncapi/iterate-asyncapi-components.js +0 -41
- package/lib/commands/split/asyncapi/iterate-asyncapi-components.js.map +0 -1
- package/lib/commands/split/asyncapi/iterate-asyncapi-operations.d.ts +0 -11
- package/lib/commands/split/asyncapi/iterate-asyncapi-operations.d.ts.map +0 -1
- package/lib/commands/split/asyncapi/iterate-asyncapi-operations.js +0 -26
- package/lib/commands/split/asyncapi/iterate-asyncapi-operations.js.map +0 -1
- package/lib/commands/split/asyncapi/remove-asyncapi-empty-components.d.ts +0 -3
- package/lib/commands/split/asyncapi/remove-asyncapi-empty-components.d.ts.map +0 -1
- package/lib/commands/split/asyncapi/remove-asyncapi-empty-components.js +0 -13
- package/lib/commands/split/asyncapi/remove-asyncapi-empty-components.js.map +0 -1
- package/lib/commands/split/asyncapi/split-asyncapi-definition.d.ts +0 -9
- package/lib/commands/split/asyncapi/split-asyncapi-definition.d.ts.map +0 -1
- package/lib/commands/split/asyncapi/split-asyncapi-definition.js +0 -51
- package/lib/commands/split/asyncapi/split-asyncapi-definition.js.map +0 -1
- package/lib/commands/split/constants.d.ts +0 -7
- package/lib/commands/split/constants.d.ts.map +0 -1
- package/lib/commands/split/constants.js +0 -7
- package/lib/commands/split/constants.js.map +0 -1
- package/lib/commands/split/index.d.ts +0 -6
- package/lib/commands/split/index.d.ts.map +0 -1
- package/lib/commands/split/index.js +0 -46
- package/lib/commands/split/index.js.map +0 -1
- package/lib/commands/split/oas/constants.d.ts +0 -3
- package/lib/commands/split/oas/constants.d.ts.map +0 -1
- package/lib/commands/split/oas/constants.js +0 -23
- package/lib/commands/split/oas/constants.js.map +0 -1
- package/lib/commands/split/oas/split-oas-definition.d.ts +0 -3
- package/lib/commands/split/oas/split-oas-definition.d.ts.map +0 -1
- package/lib/commands/split/oas/split-oas-definition.js +0 -19
- package/lib/commands/split/oas/split-oas-definition.js.map +0 -1
- package/lib/commands/split/types.d.ts +0 -28
- package/lib/commands/split/types.d.ts.map +0 -1
- package/lib/commands/split/types.js +0 -2
- package/lib/commands/split/types.js.map +0 -1
- package/lib/commands/split/utils/crawl.d.ts +0 -2
- package/lib/commands/split/utils/crawl.d.ts.map +0 -1
- package/lib/commands/split/utils/crawl.js +0 -15
- package/lib/commands/split/utils/crawl.js.map +0 -1
- package/lib/commands/split/utils/create-component-dir.d.ts +0 -2
- package/lib/commands/split/utils/create-component-dir.d.ts.map +0 -1
- package/lib/commands/split/utils/create-component-dir.js +0 -8
- package/lib/commands/split/utils/create-component-dir.js.map +0 -1
- package/lib/commands/split/utils/does-file-differ.d.ts +0 -2
- package/lib/commands/split/utils/does-file-differ.d.ts.map +0 -1
- package/lib/commands/split/utils/does-file-differ.js +0 -7
- package/lib/commands/split/utils/does-file-differ.js.map +0 -1
- package/lib/commands/split/utils/extract-filename-from-path.d.ts +0 -2
- package/lib/commands/split/utils/extract-filename-from-path.d.ts.map +0 -1
- package/lib/commands/split/utils/extract-filename-from-path.js +0 -5
- package/lib/commands/split/utils/extract-filename-from-path.js.map +0 -1
- package/lib/commands/split/utils/find-component-type.d.ts +0 -3
- package/lib/commands/split/utils/find-component-type.d.ts.map +0 -1
- package/lib/commands/split/utils/find-component-type.js +0 -8
- package/lib/commands/split/utils/find-component-type.js.map +0 -1
- package/lib/commands/split/utils/gather-components-files.d.ts +0 -4
- package/lib/commands/split/utils/gather-components-files.d.ts.map +0 -1
- package/lib/commands/split/utils/gather-components-files.js +0 -12
- package/lib/commands/split/utils/gather-components-files.js.map +0 -1
- package/lib/commands/split/utils/get-file-name-path.d.ts +0 -2
- package/lib/commands/split/utils/get-file-name-path.d.ts.map +0 -1
- package/lib/commands/split/utils/get-file-name-path.js +0 -5
- package/lib/commands/split/utils/get-file-name-path.js.map +0 -1
- package/lib/commands/split/utils/implicitly-reference-discriminator.d.ts +0 -2
- package/lib/commands/split/utils/implicitly-reference-discriminator.d.ts.map +0 -1
- package/lib/commands/split/utils/implicitly-reference-discriminator.js +0 -31
- package/lib/commands/split/utils/implicitly-reference-discriminator.js.map +0 -1
- package/lib/commands/split/utils/is-not-security-component-type.d.ts +0 -2
- package/lib/commands/split/utils/is-not-security-component-type.d.ts.map +0 -1
- package/lib/commands/split/utils/is-not-security-component-type.js +0 -4
- package/lib/commands/split/utils/is-not-security-component-type.js.map +0 -1
- package/lib/commands/split/utils/is-supported-extension.d.ts +0 -2
- package/lib/commands/split/utils/is-supported-extension.d.ts.map +0 -1
- package/lib/commands/split/utils/is-supported-extension.js +0 -4
- package/lib/commands/split/utils/is-supported-extension.js.map +0 -1
- package/lib/commands/split/utils/iterate-components.d.ts +0 -3
- package/lib/commands/split/utils/iterate-components.d.ts.map +0 -1
- package/lib/commands/split/utils/iterate-components.js +0 -55
- package/lib/commands/split/utils/iterate-components.js.map +0 -1
- package/lib/commands/split/utils/iterate-path-items.d.ts +0 -3
- package/lib/commands/split/utils/iterate-path-items.d.ts.map +0 -1
- package/lib/commands/split/utils/iterate-path-items.js +0 -42
- package/lib/commands/split/utils/iterate-path-items.js.map +0 -1
- package/lib/commands/split/utils/remove-empty-components.d.ts +0 -4
- package/lib/commands/split/utils/remove-empty-components.d.ts.map +0 -1
- package/lib/commands/split/utils/remove-empty-components.js +0 -10
- package/lib/commands/split/utils/remove-empty-components.js.map +0 -1
- package/lib/commands/split/utils/replace-$-refs.d.ts +0 -3
- package/lib/commands/split/utils/replace-$-refs.d.ts.map +0 -1
- package/lib/commands/split/utils/replace-$-refs.js +0 -34
- package/lib/commands/split/utils/replace-$-refs.js.map +0 -1
- package/lib/commands/split/utils/replace-channel-refs.d.ts +0 -3
- package/lib/commands/split/utils/replace-channel-refs.d.ts.map +0 -1
- package/lib/commands/split/utils/replace-channel-refs.js +0 -30
- package/lib/commands/split/utils/replace-channel-refs.js.map +0 -1
- package/lib/commands/split/utils/starts-with-components.d.ts +0 -2
- package/lib/commands/split/utils/starts-with-components.d.ts.map +0 -1
- package/lib/commands/split/utils/starts-with-components.js +0 -5
- package/lib/commands/split/utils/starts-with-components.js.map +0 -1
- package/lib/commands/split/utils/traverse-directory-deep.d.ts +0 -3
- package/lib/commands/split/utils/traverse-directory-deep.d.ts.map +0 -1
- package/lib/commands/split/utils/traverse-directory-deep.js +0 -27
- package/lib/commands/split/utils/traverse-directory-deep.js.map +0 -1
- package/lib/commands/stats/index.d.ts +0 -9
- package/lib/commands/stats/index.d.ts.map +0 -1
- package/lib/commands/stats/index.js +0 -42
- package/lib/commands/stats/index.js.map +0 -1
- package/lib/commands/stats/print-stats/index.d.ts +0 -3
- package/lib/commands/stats/print-stats/index.d.ts.map +0 -1
- package/lib/commands/stats/print-stats/index.js +0 -22
- package/lib/commands/stats/print-stats/index.js.map +0 -1
- package/lib/commands/stats/print-stats/json.d.ts +0 -3
- package/lib/commands/stats/print-stats/json.d.ts.map +0 -1
- package/lib/commands/stats/print-stats/json.js +0 -13
- package/lib/commands/stats/print-stats/json.js.map +0 -1
- package/lib/commands/stats/print-stats/markdown.d.ts +0 -3
- package/lib/commands/stats/print-stats/markdown.d.ts.map +0 -1
- package/lib/commands/stats/print-stats/markdown.js +0 -10
- package/lib/commands/stats/print-stats/markdown.js.map +0 -1
- package/lib/commands/stats/print-stats/stylish.d.ts +0 -3
- package/lib/commands/stats/print-stats/stylish.d.ts.map +0 -1
- package/lib/commands/stats/print-stats/stylish.js +0 -11
- package/lib/commands/stats/print-stats/stylish.js.map +0 -1
- package/lib/commands/stats/visitor-and-accumulator-resolver.d.ts +0 -103
- package/lib/commands/stats/visitor-and-accumulator-resolver.d.ts.map +0 -1
- package/lib/commands/stats/visitor-and-accumulator-resolver.js +0 -46
- package/lib/commands/stats/visitor-and-accumulator-resolver.js.map +0 -1
- package/lib/commands/translations.d.ts +0 -8
- package/lib/commands/translations.d.ts.map +0 -1
- package/lib/commands/translations.js +0 -18
- package/lib/commands/translations.js.map +0 -1
- package/lib/index.d.ts +0 -3
- package/lib/index.d.ts.map +0 -1
- package/lib/index.js.map +0 -1
- package/lib/reunite/api/api-client.d.ts +0 -83
- package/lib/reunite/api/api-client.d.ts.map +0 -1
- package/lib/reunite/api/api-client.js +0 -262
- package/lib/reunite/api/api-client.js.map +0 -1
- package/lib/reunite/api/api-keys.d.ts +0 -2
- package/lib/reunite/api/api-keys.d.ts.map +0 -1
- package/lib/reunite/api/api-keys.js +0 -7
- package/lib/reunite/api/api-keys.js.map +0 -1
- package/lib/reunite/api/domains.d.ts +0 -12
- package/lib/reunite/api/domains.d.ts.map +0 -1
- package/lib/reunite/api/domains.js +0 -52
- package/lib/reunite/api/domains.js.map +0 -1
- package/lib/reunite/api/index.d.ts +0 -4
- package/lib/reunite/api/index.d.ts.map +0 -1
- package/lib/reunite/api/index.js +0 -4
- package/lib/reunite/api/index.js.map +0 -1
- package/lib/reunite/api/types.d.ts +0 -103
- package/lib/reunite/api/types.d.ts.map +0 -1
- package/lib/reunite/api/types.js +0 -2
- package/lib/reunite/api/types.js.map +0 -1
- package/lib/reunite/commands/push-status.d.ts +0 -24
- package/lib/reunite/commands/push-status.d.ts.map +0 -1
- package/lib/reunite/commands/push-status.js +0 -199
- package/lib/reunite/commands/push-status.js.map +0 -1
- package/lib/reunite/commands/push.d.ts +0 -28
- package/lib/reunite/commands/push.d.ts.map +0 -1
- package/lib/reunite/commands/push.js +0 -135
- package/lib/reunite/commands/push.js.map +0 -1
- package/lib/reunite/commands/utils.d.ts +0 -26
- package/lib/reunite/commands/utils.d.ts.map +0 -1
- package/lib/reunite/commands/utils.js +0 -49
- package/lib/reunite/commands/utils.js.map +0 -1
- package/lib/reunite/utils.d.ts +0 -3
- package/lib/reunite/utils.d.ts.map +0 -1
- package/lib/reunite/utils.js +0 -3
- package/lib/reunite/utils.js.map +0 -1
- package/lib/types.d.ts +0 -33
- package/lib/types.d.ts.map +0 -1
- package/lib/types.js +0 -2
- package/lib/types.js.map +0 -1
- package/lib/utils/assert-node-version.d.ts +0 -2
- package/lib/utils/assert-node-version.d.ts.map +0 -1
- package/lib/utils/assert-node-version.js +0 -14
- package/lib/utils/assert-node-version.js.map +0 -1
- package/lib/utils/constants.d.ts +0 -5
- package/lib/utils/constants.d.ts.map +0 -1
- package/lib/utils/constants.js +0 -5
- package/lib/utils/constants.js.map +0 -1
- package/lib/utils/error.d.ts +0 -4
- package/lib/utils/error.d.ts.map +0 -1
- package/lib/utils/error.js +0 -8
- package/lib/utils/error.js.map +0 -1
- package/lib/utils/fetch-with-timeout.d.ts +0 -6
- package/lib/utils/fetch-with-timeout.d.ts.map +0 -1
- package/lib/utils/fetch-with-timeout.js +0 -24
- package/lib/utils/fetch-with-timeout.js.map +0 -1
- package/lib/utils/get-command-name-from-args.d.ts +0 -3
- package/lib/utils/get-command-name-from-args.d.ts.map +0 -1
- package/lib/utils/get-command-name-from-args.js +0 -4
- package/lib/utils/get-command-name-from-args.js.map +0 -1
- package/lib/utils/json-stringify-with-array-buffer.d.ts +0 -2
- package/lib/utils/json-stringify-with-array-buffer.d.ts.map +0 -1
- package/lib/utils/json-stringify-with-array-buffer.js +0 -32
- package/lib/utils/json-stringify-with-array-buffer.js.map +0 -1
- package/lib/utils/miscellaneous.d.ts +0 -46
- package/lib/utils/miscellaneous.d.ts.map +0 -1
- package/lib/utils/miscellaneous.js +0 -443
- package/lib/utils/miscellaneous.js.map +0 -1
- package/lib/utils/network-check.d.ts +0 -2
- package/lib/utils/network-check.d.ts.map +0 -1
- package/lib/utils/network-check.js +0 -12
- package/lib/utils/network-check.js.map +0 -1
- package/lib/utils/otel.d.ts +0 -8
- package/lib/utils/otel.d.ts.map +0 -1
- package/lib/utils/otel.js +0 -40
- package/lib/utils/otel.js.map +0 -1
- package/lib/utils/package.d.ts +0 -2
- package/lib/utils/package.d.ts.map +0 -1
- package/lib/utils/package.js +0 -4
- package/lib/utils/package.js.map +0 -1
- package/lib/utils/platform.d.ts +0 -17
- package/lib/utils/platform.d.ts.map +0 -1
- package/lib/utils/platform.js +0 -30
- package/lib/utils/platform.js.map +0 -1
- package/lib/utils/proxy-agent.d.ts +0 -5
- package/lib/utils/proxy-agent.d.ts.map +0 -1
- package/lib/utils/proxy-agent.js +0 -41
- package/lib/utils/proxy-agent.js.map +0 -1
- package/lib/utils/read-env-variables.d.ts +0 -2
- package/lib/utils/read-env-variables.d.ts.map +0 -1
- package/lib/utils/read-env-variables.js +0 -18
- package/lib/utils/read-env-variables.js.map +0 -1
- package/lib/utils/spinner.d.ts +0 -11
- package/lib/utils/spinner.d.ts.map +0 -1
- package/lib/utils/spinner.js +0 -44
- package/lib/utils/spinner.js.map +0 -1
- package/lib/utils/strip-ansi-codes.d.ts +0 -2
- package/lib/utils/strip-ansi-codes.d.ts.map +0 -1
- package/lib/utils/strip-ansi-codes.js +0 -6
- package/lib/utils/strip-ansi-codes.js.map +0 -1
- package/lib/utils/telemetry.d.ts +0 -26
- package/lib/utils/telemetry.d.ts.map +0 -1
- package/lib/utils/telemetry.js +0 -291
- package/lib/utils/telemetry.js.map +0 -1
- package/lib/utils/update-version-notifier.d.ts +0 -3
- package/lib/utils/update-version-notifier.d.ts.map +0 -1
- package/lib/utils/update-version-notifier.js +0 -100
- package/lib/utils/update-version-notifier.js.map +0 -1
- package/lib/utils/validate-mount-path.d.ts +0 -2
- package/lib/utils/validate-mount-path.d.ts.map +0 -1
- package/lib/utils/validate-mount-path.js +0 -7
- package/lib/utils/validate-mount-path.js.map +0 -1
- package/lib/utils/validate-positive-number.d.ts +0 -2
- package/lib/utils/validate-positive-number.d.ts.map +0 -1
- package/lib/utils/validate-positive-number.js +0 -13
- package/lib/utils/validate-positive-number.js.map +0 -1
- package/lib/wrapper.d.ts +0 -11
- package/lib/wrapper.d.ts.map +0 -1
- package/lib/wrapper.js +0 -99
- package/lib/wrapper.js.map +0 -1
|
@@ -0,0 +1,1133 @@
|
|
|
1
|
+
import { createRequire as __createRequire } from 'node:module';
|
|
2
|
+
const require = __createRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
require_supports_color
|
|
5
|
+
} from "./OEYVENNB.js";
|
|
6
|
+
import {
|
|
7
|
+
__commonJS,
|
|
8
|
+
__require
|
|
9
|
+
} from "./5ILQMFXK.js";
|
|
10
|
+
|
|
11
|
+
// ../../node_modules/ms/index.js
|
|
12
|
+
var require_ms = __commonJS({
|
|
13
|
+
"../../node_modules/ms/index.js"(exports, module) {
|
|
14
|
+
var s = 1e3;
|
|
15
|
+
var m = s * 60;
|
|
16
|
+
var h = m * 60;
|
|
17
|
+
var d = h * 24;
|
|
18
|
+
var w = d * 7;
|
|
19
|
+
var y = d * 365.25;
|
|
20
|
+
module.exports = function(val, options) {
|
|
21
|
+
options = options || {};
|
|
22
|
+
var type = typeof val;
|
|
23
|
+
if (type === "string" && val.length > 0) {
|
|
24
|
+
return parse(val);
|
|
25
|
+
} else if (type === "number" && isFinite(val)) {
|
|
26
|
+
return options.long ? fmtLong(val) : fmtShort(val);
|
|
27
|
+
}
|
|
28
|
+
throw new Error(
|
|
29
|
+
"val is not a non-empty string or a valid number. val=" + JSON.stringify(val)
|
|
30
|
+
);
|
|
31
|
+
};
|
|
32
|
+
function parse(str) {
|
|
33
|
+
str = String(str);
|
|
34
|
+
if (str.length > 100) {
|
|
35
|
+
return;
|
|
36
|
+
}
|
|
37
|
+
var match = /^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(
|
|
38
|
+
str
|
|
39
|
+
);
|
|
40
|
+
if (!match) {
|
|
41
|
+
return;
|
|
42
|
+
}
|
|
43
|
+
var n = parseFloat(match[1]);
|
|
44
|
+
var type = (match[2] || "ms").toLowerCase();
|
|
45
|
+
switch (type) {
|
|
46
|
+
case "years":
|
|
47
|
+
case "year":
|
|
48
|
+
case "yrs":
|
|
49
|
+
case "yr":
|
|
50
|
+
case "y":
|
|
51
|
+
return n * y;
|
|
52
|
+
case "weeks":
|
|
53
|
+
case "week":
|
|
54
|
+
case "w":
|
|
55
|
+
return n * w;
|
|
56
|
+
case "days":
|
|
57
|
+
case "day":
|
|
58
|
+
case "d":
|
|
59
|
+
return n * d;
|
|
60
|
+
case "hours":
|
|
61
|
+
case "hour":
|
|
62
|
+
case "hrs":
|
|
63
|
+
case "hr":
|
|
64
|
+
case "h":
|
|
65
|
+
return n * h;
|
|
66
|
+
case "minutes":
|
|
67
|
+
case "minute":
|
|
68
|
+
case "mins":
|
|
69
|
+
case "min":
|
|
70
|
+
case "m":
|
|
71
|
+
return n * m;
|
|
72
|
+
case "seconds":
|
|
73
|
+
case "second":
|
|
74
|
+
case "secs":
|
|
75
|
+
case "sec":
|
|
76
|
+
case "s":
|
|
77
|
+
return n * s;
|
|
78
|
+
case "milliseconds":
|
|
79
|
+
case "millisecond":
|
|
80
|
+
case "msecs":
|
|
81
|
+
case "msec":
|
|
82
|
+
case "ms":
|
|
83
|
+
return n;
|
|
84
|
+
default:
|
|
85
|
+
return void 0;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
function fmtShort(ms) {
|
|
89
|
+
var msAbs = Math.abs(ms);
|
|
90
|
+
if (msAbs >= d) {
|
|
91
|
+
return Math.round(ms / d) + "d";
|
|
92
|
+
}
|
|
93
|
+
if (msAbs >= h) {
|
|
94
|
+
return Math.round(ms / h) + "h";
|
|
95
|
+
}
|
|
96
|
+
if (msAbs >= m) {
|
|
97
|
+
return Math.round(ms / m) + "m";
|
|
98
|
+
}
|
|
99
|
+
if (msAbs >= s) {
|
|
100
|
+
return Math.round(ms / s) + "s";
|
|
101
|
+
}
|
|
102
|
+
return ms + "ms";
|
|
103
|
+
}
|
|
104
|
+
function fmtLong(ms) {
|
|
105
|
+
var msAbs = Math.abs(ms);
|
|
106
|
+
if (msAbs >= d) {
|
|
107
|
+
return plural(ms, msAbs, d, "day");
|
|
108
|
+
}
|
|
109
|
+
if (msAbs >= h) {
|
|
110
|
+
return plural(ms, msAbs, h, "hour");
|
|
111
|
+
}
|
|
112
|
+
if (msAbs >= m) {
|
|
113
|
+
return plural(ms, msAbs, m, "minute");
|
|
114
|
+
}
|
|
115
|
+
if (msAbs >= s) {
|
|
116
|
+
return plural(ms, msAbs, s, "second");
|
|
117
|
+
}
|
|
118
|
+
return ms + " ms";
|
|
119
|
+
}
|
|
120
|
+
function plural(ms, msAbs, n, name) {
|
|
121
|
+
var isPlural = msAbs >= n * 1.5;
|
|
122
|
+
return Math.round(ms / n) + " " + name + (isPlural ? "s" : "");
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
});
|
|
126
|
+
|
|
127
|
+
// ../../node_modules/debug/src/common.js
|
|
128
|
+
var require_common = __commonJS({
|
|
129
|
+
"../../node_modules/debug/src/common.js"(exports, module) {
|
|
130
|
+
function setup(env) {
|
|
131
|
+
createDebug.debug = createDebug;
|
|
132
|
+
createDebug.default = createDebug;
|
|
133
|
+
createDebug.coerce = coerce;
|
|
134
|
+
createDebug.disable = disable;
|
|
135
|
+
createDebug.enable = enable;
|
|
136
|
+
createDebug.enabled = enabled;
|
|
137
|
+
createDebug.humanize = require_ms();
|
|
138
|
+
createDebug.destroy = destroy;
|
|
139
|
+
Object.keys(env).forEach((key) => {
|
|
140
|
+
createDebug[key] = env[key];
|
|
141
|
+
});
|
|
142
|
+
createDebug.names = [];
|
|
143
|
+
createDebug.skips = [];
|
|
144
|
+
createDebug.formatters = {};
|
|
145
|
+
function selectColor(namespace) {
|
|
146
|
+
let hash = 0;
|
|
147
|
+
for (let i = 0; i < namespace.length; i++) {
|
|
148
|
+
hash = (hash << 5) - hash + namespace.charCodeAt(i);
|
|
149
|
+
hash |= 0;
|
|
150
|
+
}
|
|
151
|
+
return createDebug.colors[Math.abs(hash) % createDebug.colors.length];
|
|
152
|
+
}
|
|
153
|
+
createDebug.selectColor = selectColor;
|
|
154
|
+
function createDebug(namespace) {
|
|
155
|
+
let prevTime;
|
|
156
|
+
let enableOverride = null;
|
|
157
|
+
let namespacesCache;
|
|
158
|
+
let enabledCache;
|
|
159
|
+
function debug(...args) {
|
|
160
|
+
if (!debug.enabled) {
|
|
161
|
+
return;
|
|
162
|
+
}
|
|
163
|
+
const self = debug;
|
|
164
|
+
const curr = Number(/* @__PURE__ */ new Date());
|
|
165
|
+
const ms = curr - (prevTime || curr);
|
|
166
|
+
self.diff = ms;
|
|
167
|
+
self.prev = prevTime;
|
|
168
|
+
self.curr = curr;
|
|
169
|
+
prevTime = curr;
|
|
170
|
+
args[0] = createDebug.coerce(args[0]);
|
|
171
|
+
if (typeof args[0] !== "string") {
|
|
172
|
+
args.unshift("%O");
|
|
173
|
+
}
|
|
174
|
+
let index = 0;
|
|
175
|
+
args[0] = args[0].replace(/%([a-zA-Z%])/g, (match, format) => {
|
|
176
|
+
if (match === "%%") {
|
|
177
|
+
return "%";
|
|
178
|
+
}
|
|
179
|
+
index++;
|
|
180
|
+
const formatter = createDebug.formatters[format];
|
|
181
|
+
if (typeof formatter === "function") {
|
|
182
|
+
const val = args[index];
|
|
183
|
+
match = formatter.call(self, val);
|
|
184
|
+
args.splice(index, 1);
|
|
185
|
+
index--;
|
|
186
|
+
}
|
|
187
|
+
return match;
|
|
188
|
+
});
|
|
189
|
+
createDebug.formatArgs.call(self, args);
|
|
190
|
+
const logFn = self.log || createDebug.log;
|
|
191
|
+
logFn.apply(self, args);
|
|
192
|
+
}
|
|
193
|
+
debug.namespace = namespace;
|
|
194
|
+
debug.useColors = createDebug.useColors();
|
|
195
|
+
debug.color = createDebug.selectColor(namespace);
|
|
196
|
+
debug.extend = extend;
|
|
197
|
+
debug.destroy = createDebug.destroy;
|
|
198
|
+
Object.defineProperty(debug, "enabled", {
|
|
199
|
+
enumerable: true,
|
|
200
|
+
configurable: false,
|
|
201
|
+
get: () => {
|
|
202
|
+
if (enableOverride !== null) {
|
|
203
|
+
return enableOverride;
|
|
204
|
+
}
|
|
205
|
+
if (namespacesCache !== createDebug.namespaces) {
|
|
206
|
+
namespacesCache = createDebug.namespaces;
|
|
207
|
+
enabledCache = createDebug.enabled(namespace);
|
|
208
|
+
}
|
|
209
|
+
return enabledCache;
|
|
210
|
+
},
|
|
211
|
+
set: (v) => {
|
|
212
|
+
enableOverride = v;
|
|
213
|
+
}
|
|
214
|
+
});
|
|
215
|
+
if (typeof createDebug.init === "function") {
|
|
216
|
+
createDebug.init(debug);
|
|
217
|
+
}
|
|
218
|
+
return debug;
|
|
219
|
+
}
|
|
220
|
+
function extend(namespace, delimiter) {
|
|
221
|
+
const newDebug = createDebug(this.namespace + (typeof delimiter === "undefined" ? ":" : delimiter) + namespace);
|
|
222
|
+
newDebug.log = this.log;
|
|
223
|
+
return newDebug;
|
|
224
|
+
}
|
|
225
|
+
function enable(namespaces) {
|
|
226
|
+
createDebug.save(namespaces);
|
|
227
|
+
createDebug.namespaces = namespaces;
|
|
228
|
+
createDebug.names = [];
|
|
229
|
+
createDebug.skips = [];
|
|
230
|
+
const split = (typeof namespaces === "string" ? namespaces : "").trim().replace(/\s+/g, ",").split(",").filter(Boolean);
|
|
231
|
+
for (const ns of split) {
|
|
232
|
+
if (ns[0] === "-") {
|
|
233
|
+
createDebug.skips.push(ns.slice(1));
|
|
234
|
+
} else {
|
|
235
|
+
createDebug.names.push(ns);
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
function matchesTemplate(search, template) {
|
|
240
|
+
let searchIndex = 0;
|
|
241
|
+
let templateIndex = 0;
|
|
242
|
+
let starIndex = -1;
|
|
243
|
+
let matchIndex = 0;
|
|
244
|
+
while (searchIndex < search.length) {
|
|
245
|
+
if (templateIndex < template.length && (template[templateIndex] === search[searchIndex] || template[templateIndex] === "*")) {
|
|
246
|
+
if (template[templateIndex] === "*") {
|
|
247
|
+
starIndex = templateIndex;
|
|
248
|
+
matchIndex = searchIndex;
|
|
249
|
+
templateIndex++;
|
|
250
|
+
} else {
|
|
251
|
+
searchIndex++;
|
|
252
|
+
templateIndex++;
|
|
253
|
+
}
|
|
254
|
+
} else if (starIndex !== -1) {
|
|
255
|
+
templateIndex = starIndex + 1;
|
|
256
|
+
matchIndex++;
|
|
257
|
+
searchIndex = matchIndex;
|
|
258
|
+
} else {
|
|
259
|
+
return false;
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
while (templateIndex < template.length && template[templateIndex] === "*") {
|
|
263
|
+
templateIndex++;
|
|
264
|
+
}
|
|
265
|
+
return templateIndex === template.length;
|
|
266
|
+
}
|
|
267
|
+
function disable() {
|
|
268
|
+
const namespaces = [
|
|
269
|
+
...createDebug.names,
|
|
270
|
+
...createDebug.skips.map((namespace) => "-" + namespace)
|
|
271
|
+
].join(",");
|
|
272
|
+
createDebug.enable("");
|
|
273
|
+
return namespaces;
|
|
274
|
+
}
|
|
275
|
+
function enabled(name) {
|
|
276
|
+
for (const skip of createDebug.skips) {
|
|
277
|
+
if (matchesTemplate(name, skip)) {
|
|
278
|
+
return false;
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
for (const ns of createDebug.names) {
|
|
282
|
+
if (matchesTemplate(name, ns)) {
|
|
283
|
+
return true;
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
return false;
|
|
287
|
+
}
|
|
288
|
+
function coerce(val) {
|
|
289
|
+
if (val instanceof Error) {
|
|
290
|
+
return val.stack || val.message;
|
|
291
|
+
}
|
|
292
|
+
return val;
|
|
293
|
+
}
|
|
294
|
+
function destroy() {
|
|
295
|
+
console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");
|
|
296
|
+
}
|
|
297
|
+
createDebug.enable(createDebug.load());
|
|
298
|
+
return createDebug;
|
|
299
|
+
}
|
|
300
|
+
module.exports = setup;
|
|
301
|
+
}
|
|
302
|
+
});
|
|
303
|
+
|
|
304
|
+
// ../../node_modules/debug/src/browser.js
|
|
305
|
+
var require_browser = __commonJS({
|
|
306
|
+
"../../node_modules/debug/src/browser.js"(exports, module) {
|
|
307
|
+
exports.formatArgs = formatArgs;
|
|
308
|
+
exports.save = save;
|
|
309
|
+
exports.load = load;
|
|
310
|
+
exports.useColors = useColors;
|
|
311
|
+
exports.storage = localstorage();
|
|
312
|
+
exports.destroy = /* @__PURE__ */ (() => {
|
|
313
|
+
let warned = false;
|
|
314
|
+
return () => {
|
|
315
|
+
if (!warned) {
|
|
316
|
+
warned = true;
|
|
317
|
+
console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");
|
|
318
|
+
}
|
|
319
|
+
};
|
|
320
|
+
})();
|
|
321
|
+
exports.colors = [
|
|
322
|
+
"#0000CC",
|
|
323
|
+
"#0000FF",
|
|
324
|
+
"#0033CC",
|
|
325
|
+
"#0033FF",
|
|
326
|
+
"#0066CC",
|
|
327
|
+
"#0066FF",
|
|
328
|
+
"#0099CC",
|
|
329
|
+
"#0099FF",
|
|
330
|
+
"#00CC00",
|
|
331
|
+
"#00CC33",
|
|
332
|
+
"#00CC66",
|
|
333
|
+
"#00CC99",
|
|
334
|
+
"#00CCCC",
|
|
335
|
+
"#00CCFF",
|
|
336
|
+
"#3300CC",
|
|
337
|
+
"#3300FF",
|
|
338
|
+
"#3333CC",
|
|
339
|
+
"#3333FF",
|
|
340
|
+
"#3366CC",
|
|
341
|
+
"#3366FF",
|
|
342
|
+
"#3399CC",
|
|
343
|
+
"#3399FF",
|
|
344
|
+
"#33CC00",
|
|
345
|
+
"#33CC33",
|
|
346
|
+
"#33CC66",
|
|
347
|
+
"#33CC99",
|
|
348
|
+
"#33CCCC",
|
|
349
|
+
"#33CCFF",
|
|
350
|
+
"#6600CC",
|
|
351
|
+
"#6600FF",
|
|
352
|
+
"#6633CC",
|
|
353
|
+
"#6633FF",
|
|
354
|
+
"#66CC00",
|
|
355
|
+
"#66CC33",
|
|
356
|
+
"#9900CC",
|
|
357
|
+
"#9900FF",
|
|
358
|
+
"#9933CC",
|
|
359
|
+
"#9933FF",
|
|
360
|
+
"#99CC00",
|
|
361
|
+
"#99CC33",
|
|
362
|
+
"#CC0000",
|
|
363
|
+
"#CC0033",
|
|
364
|
+
"#CC0066",
|
|
365
|
+
"#CC0099",
|
|
366
|
+
"#CC00CC",
|
|
367
|
+
"#CC00FF",
|
|
368
|
+
"#CC3300",
|
|
369
|
+
"#CC3333",
|
|
370
|
+
"#CC3366",
|
|
371
|
+
"#CC3399",
|
|
372
|
+
"#CC33CC",
|
|
373
|
+
"#CC33FF",
|
|
374
|
+
"#CC6600",
|
|
375
|
+
"#CC6633",
|
|
376
|
+
"#CC9900",
|
|
377
|
+
"#CC9933",
|
|
378
|
+
"#CCCC00",
|
|
379
|
+
"#CCCC33",
|
|
380
|
+
"#FF0000",
|
|
381
|
+
"#FF0033",
|
|
382
|
+
"#FF0066",
|
|
383
|
+
"#FF0099",
|
|
384
|
+
"#FF00CC",
|
|
385
|
+
"#FF00FF",
|
|
386
|
+
"#FF3300",
|
|
387
|
+
"#FF3333",
|
|
388
|
+
"#FF3366",
|
|
389
|
+
"#FF3399",
|
|
390
|
+
"#FF33CC",
|
|
391
|
+
"#FF33FF",
|
|
392
|
+
"#FF6600",
|
|
393
|
+
"#FF6633",
|
|
394
|
+
"#FF9900",
|
|
395
|
+
"#FF9933",
|
|
396
|
+
"#FFCC00",
|
|
397
|
+
"#FFCC33"
|
|
398
|
+
];
|
|
399
|
+
function useColors() {
|
|
400
|
+
if (typeof window !== "undefined" && window.process && (window.process.type === "renderer" || window.process.__nwjs)) {
|
|
401
|
+
return true;
|
|
402
|
+
}
|
|
403
|
+
if (typeof navigator !== "undefined" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)) {
|
|
404
|
+
return false;
|
|
405
|
+
}
|
|
406
|
+
let m;
|
|
407
|
+
return typeof document !== "undefined" && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance || // Is firebug? http://stackoverflow.com/a/398120/376773
|
|
408
|
+
typeof window !== "undefined" && window.console && (window.console.firebug || window.console.exception && window.console.table) || // Is firefox >= v31?
|
|
409
|
+
// https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages
|
|
410
|
+
typeof navigator !== "undefined" && navigator.userAgent && (m = navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)) && parseInt(m[1], 10) >= 31 || // Double check webkit in userAgent just in case we are in a worker
|
|
411
|
+
typeof navigator !== "undefined" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/);
|
|
412
|
+
}
|
|
413
|
+
function formatArgs(args) {
|
|
414
|
+
args[0] = (this.useColors ? "%c" : "") + this.namespace + (this.useColors ? " %c" : " ") + args[0] + (this.useColors ? "%c " : " ") + "+" + module.exports.humanize(this.diff);
|
|
415
|
+
if (!this.useColors) {
|
|
416
|
+
return;
|
|
417
|
+
}
|
|
418
|
+
const c = "color: " + this.color;
|
|
419
|
+
args.splice(1, 0, c, "color: inherit");
|
|
420
|
+
let index = 0;
|
|
421
|
+
let lastC = 0;
|
|
422
|
+
args[0].replace(/%[a-zA-Z%]/g, (match) => {
|
|
423
|
+
if (match === "%%") {
|
|
424
|
+
return;
|
|
425
|
+
}
|
|
426
|
+
index++;
|
|
427
|
+
if (match === "%c") {
|
|
428
|
+
lastC = index;
|
|
429
|
+
}
|
|
430
|
+
});
|
|
431
|
+
args.splice(lastC, 0, c);
|
|
432
|
+
}
|
|
433
|
+
exports.log = console.debug || console.log || (() => {
|
|
434
|
+
});
|
|
435
|
+
function save(namespaces) {
|
|
436
|
+
try {
|
|
437
|
+
if (namespaces) {
|
|
438
|
+
exports.storage.setItem("debug", namespaces);
|
|
439
|
+
} else {
|
|
440
|
+
exports.storage.removeItem("debug");
|
|
441
|
+
}
|
|
442
|
+
} catch (error) {
|
|
443
|
+
}
|
|
444
|
+
}
|
|
445
|
+
function load() {
|
|
446
|
+
let r;
|
|
447
|
+
try {
|
|
448
|
+
r = exports.storage.getItem("debug") || exports.storage.getItem("DEBUG");
|
|
449
|
+
} catch (error) {
|
|
450
|
+
}
|
|
451
|
+
if (!r && typeof process !== "undefined" && "env" in process) {
|
|
452
|
+
r = process.env.DEBUG;
|
|
453
|
+
}
|
|
454
|
+
return r;
|
|
455
|
+
}
|
|
456
|
+
function localstorage() {
|
|
457
|
+
try {
|
|
458
|
+
return localStorage;
|
|
459
|
+
} catch (error) {
|
|
460
|
+
}
|
|
461
|
+
}
|
|
462
|
+
module.exports = require_common()(exports);
|
|
463
|
+
var { formatters } = module.exports;
|
|
464
|
+
formatters.j = function(v) {
|
|
465
|
+
try {
|
|
466
|
+
return JSON.stringify(v);
|
|
467
|
+
} catch (error) {
|
|
468
|
+
return "[UnexpectedJSONParseError]: " + error.message;
|
|
469
|
+
}
|
|
470
|
+
};
|
|
471
|
+
}
|
|
472
|
+
});
|
|
473
|
+
|
|
474
|
+
// ../../node_modules/debug/src/node.js
|
|
475
|
+
var require_node = __commonJS({
|
|
476
|
+
"../../node_modules/debug/src/node.js"(exports, module) {
|
|
477
|
+
var tty = __require("tty");
|
|
478
|
+
var util = __require("util");
|
|
479
|
+
exports.init = init;
|
|
480
|
+
exports.log = log;
|
|
481
|
+
exports.formatArgs = formatArgs;
|
|
482
|
+
exports.save = save;
|
|
483
|
+
exports.load = load;
|
|
484
|
+
exports.useColors = useColors;
|
|
485
|
+
exports.destroy = util.deprecate(
|
|
486
|
+
() => {
|
|
487
|
+
},
|
|
488
|
+
"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."
|
|
489
|
+
);
|
|
490
|
+
exports.colors = [6, 2, 3, 4, 5, 1];
|
|
491
|
+
try {
|
|
492
|
+
const supportsColor = require_supports_color();
|
|
493
|
+
if (supportsColor && (supportsColor.stderr || supportsColor).level >= 2) {
|
|
494
|
+
exports.colors = [
|
|
495
|
+
20,
|
|
496
|
+
21,
|
|
497
|
+
26,
|
|
498
|
+
27,
|
|
499
|
+
32,
|
|
500
|
+
33,
|
|
501
|
+
38,
|
|
502
|
+
39,
|
|
503
|
+
40,
|
|
504
|
+
41,
|
|
505
|
+
42,
|
|
506
|
+
43,
|
|
507
|
+
44,
|
|
508
|
+
45,
|
|
509
|
+
56,
|
|
510
|
+
57,
|
|
511
|
+
62,
|
|
512
|
+
63,
|
|
513
|
+
68,
|
|
514
|
+
69,
|
|
515
|
+
74,
|
|
516
|
+
75,
|
|
517
|
+
76,
|
|
518
|
+
77,
|
|
519
|
+
78,
|
|
520
|
+
79,
|
|
521
|
+
80,
|
|
522
|
+
81,
|
|
523
|
+
92,
|
|
524
|
+
93,
|
|
525
|
+
98,
|
|
526
|
+
99,
|
|
527
|
+
112,
|
|
528
|
+
113,
|
|
529
|
+
128,
|
|
530
|
+
129,
|
|
531
|
+
134,
|
|
532
|
+
135,
|
|
533
|
+
148,
|
|
534
|
+
149,
|
|
535
|
+
160,
|
|
536
|
+
161,
|
|
537
|
+
162,
|
|
538
|
+
163,
|
|
539
|
+
164,
|
|
540
|
+
165,
|
|
541
|
+
166,
|
|
542
|
+
167,
|
|
543
|
+
168,
|
|
544
|
+
169,
|
|
545
|
+
170,
|
|
546
|
+
171,
|
|
547
|
+
172,
|
|
548
|
+
173,
|
|
549
|
+
178,
|
|
550
|
+
179,
|
|
551
|
+
184,
|
|
552
|
+
185,
|
|
553
|
+
196,
|
|
554
|
+
197,
|
|
555
|
+
198,
|
|
556
|
+
199,
|
|
557
|
+
200,
|
|
558
|
+
201,
|
|
559
|
+
202,
|
|
560
|
+
203,
|
|
561
|
+
204,
|
|
562
|
+
205,
|
|
563
|
+
206,
|
|
564
|
+
207,
|
|
565
|
+
208,
|
|
566
|
+
209,
|
|
567
|
+
214,
|
|
568
|
+
215,
|
|
569
|
+
220,
|
|
570
|
+
221
|
|
571
|
+
];
|
|
572
|
+
}
|
|
573
|
+
} catch (error) {
|
|
574
|
+
}
|
|
575
|
+
exports.inspectOpts = Object.keys(process.env).filter((key) => {
|
|
576
|
+
return /^debug_/i.test(key);
|
|
577
|
+
}).reduce((obj, key) => {
|
|
578
|
+
const prop = key.substring(6).toLowerCase().replace(/_([a-z])/g, (_, k) => {
|
|
579
|
+
return k.toUpperCase();
|
|
580
|
+
});
|
|
581
|
+
let val = process.env[key];
|
|
582
|
+
if (/^(yes|on|true|enabled)$/i.test(val)) {
|
|
583
|
+
val = true;
|
|
584
|
+
} else if (/^(no|off|false|disabled)$/i.test(val)) {
|
|
585
|
+
val = false;
|
|
586
|
+
} else if (val === "null") {
|
|
587
|
+
val = null;
|
|
588
|
+
} else {
|
|
589
|
+
val = Number(val);
|
|
590
|
+
}
|
|
591
|
+
obj[prop] = val;
|
|
592
|
+
return obj;
|
|
593
|
+
}, {});
|
|
594
|
+
function useColors() {
|
|
595
|
+
return "colors" in exports.inspectOpts ? Boolean(exports.inspectOpts.colors) : tty.isatty(process.stderr.fd);
|
|
596
|
+
}
|
|
597
|
+
function formatArgs(args) {
|
|
598
|
+
const { namespace: name, useColors: useColors2 } = this;
|
|
599
|
+
if (useColors2) {
|
|
600
|
+
const c = this.color;
|
|
601
|
+
const colorCode = "\x1B[3" + (c < 8 ? c : "8;5;" + c);
|
|
602
|
+
const prefix = ` ${colorCode};1m${name} \x1B[0m`;
|
|
603
|
+
args[0] = prefix + args[0].split("\n").join("\n" + prefix);
|
|
604
|
+
args.push(colorCode + "m+" + module.exports.humanize(this.diff) + "\x1B[0m");
|
|
605
|
+
} else {
|
|
606
|
+
args[0] = getDate() + name + " " + args[0];
|
|
607
|
+
}
|
|
608
|
+
}
|
|
609
|
+
function getDate() {
|
|
610
|
+
if (exports.inspectOpts.hideDate) {
|
|
611
|
+
return "";
|
|
612
|
+
}
|
|
613
|
+
return (/* @__PURE__ */ new Date()).toISOString() + " ";
|
|
614
|
+
}
|
|
615
|
+
function log(...args) {
|
|
616
|
+
return process.stderr.write(util.formatWithOptions(exports.inspectOpts, ...args) + "\n");
|
|
617
|
+
}
|
|
618
|
+
function save(namespaces) {
|
|
619
|
+
if (namespaces) {
|
|
620
|
+
process.env.DEBUG = namespaces;
|
|
621
|
+
} else {
|
|
622
|
+
delete process.env.DEBUG;
|
|
623
|
+
}
|
|
624
|
+
}
|
|
625
|
+
function load() {
|
|
626
|
+
return process.env.DEBUG;
|
|
627
|
+
}
|
|
628
|
+
function init(debug) {
|
|
629
|
+
debug.inspectOpts = {};
|
|
630
|
+
const keys = Object.keys(exports.inspectOpts);
|
|
631
|
+
for (let i = 0; i < keys.length; i++) {
|
|
632
|
+
debug.inspectOpts[keys[i]] = exports.inspectOpts[keys[i]];
|
|
633
|
+
}
|
|
634
|
+
}
|
|
635
|
+
module.exports = require_common()(exports);
|
|
636
|
+
var { formatters } = module.exports;
|
|
637
|
+
formatters.o = function(v) {
|
|
638
|
+
this.inspectOpts.colors = this.useColors;
|
|
639
|
+
return util.inspect(v, this.inspectOpts).split("\n").map((str) => str.trim()).join(" ");
|
|
640
|
+
};
|
|
641
|
+
formatters.O = function(v) {
|
|
642
|
+
this.inspectOpts.colors = this.useColors;
|
|
643
|
+
return util.inspect(v, this.inspectOpts);
|
|
644
|
+
};
|
|
645
|
+
}
|
|
646
|
+
});
|
|
647
|
+
|
|
648
|
+
// ../../node_modules/debug/src/index.js
|
|
649
|
+
var require_src = __commonJS({
|
|
650
|
+
"../../node_modules/debug/src/index.js"(exports, module) {
|
|
651
|
+
if (typeof process === "undefined" || process.type === "renderer" || process.browser === true || process.__nwjs) {
|
|
652
|
+
module.exports = require_browser();
|
|
653
|
+
} else {
|
|
654
|
+
module.exports = require_node();
|
|
655
|
+
}
|
|
656
|
+
}
|
|
657
|
+
});
|
|
658
|
+
|
|
659
|
+
// ../../node_modules/agent-base/dist/helpers.js
|
|
660
|
+
var require_helpers = __commonJS({
|
|
661
|
+
"../../node_modules/agent-base/dist/helpers.js"(exports) {
|
|
662
|
+
"use strict";
|
|
663
|
+
var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
|
664
|
+
if (k2 === void 0) k2 = k;
|
|
665
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
666
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
667
|
+
desc = { enumerable: true, get: function() {
|
|
668
|
+
return m[k];
|
|
669
|
+
} };
|
|
670
|
+
}
|
|
671
|
+
Object.defineProperty(o, k2, desc);
|
|
672
|
+
}) : (function(o, m, k, k2) {
|
|
673
|
+
if (k2 === void 0) k2 = k;
|
|
674
|
+
o[k2] = m[k];
|
|
675
|
+
}));
|
|
676
|
+
var __setModuleDefault = exports && exports.__setModuleDefault || (Object.create ? (function(o, v) {
|
|
677
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
678
|
+
}) : function(o, v) {
|
|
679
|
+
o["default"] = v;
|
|
680
|
+
});
|
|
681
|
+
var __importStar = exports && exports.__importStar || function(mod) {
|
|
682
|
+
if (mod && mod.__esModule) return mod;
|
|
683
|
+
var result = {};
|
|
684
|
+
if (mod != null) {
|
|
685
|
+
for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
686
|
+
}
|
|
687
|
+
__setModuleDefault(result, mod);
|
|
688
|
+
return result;
|
|
689
|
+
};
|
|
690
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
691
|
+
exports.req = exports.json = exports.toBuffer = void 0;
|
|
692
|
+
var http = __importStar(__require("http"));
|
|
693
|
+
var https = __importStar(__require("https"));
|
|
694
|
+
async function toBuffer(stream) {
|
|
695
|
+
let length = 0;
|
|
696
|
+
const chunks = [];
|
|
697
|
+
for await (const chunk of stream) {
|
|
698
|
+
length += chunk.length;
|
|
699
|
+
chunks.push(chunk);
|
|
700
|
+
}
|
|
701
|
+
return Buffer.concat(chunks, length);
|
|
702
|
+
}
|
|
703
|
+
exports.toBuffer = toBuffer;
|
|
704
|
+
async function json(stream) {
|
|
705
|
+
const buf = await toBuffer(stream);
|
|
706
|
+
const str = buf.toString("utf8");
|
|
707
|
+
try {
|
|
708
|
+
return JSON.parse(str);
|
|
709
|
+
} catch (_err) {
|
|
710
|
+
const err = _err;
|
|
711
|
+
err.message += ` (input: ${str})`;
|
|
712
|
+
throw err;
|
|
713
|
+
}
|
|
714
|
+
}
|
|
715
|
+
exports.json = json;
|
|
716
|
+
function req(url, opts = {}) {
|
|
717
|
+
const href = typeof url === "string" ? url : url.href;
|
|
718
|
+
const req2 = (href.startsWith("https:") ? https : http).request(url, opts);
|
|
719
|
+
const promise = new Promise((resolve, reject) => {
|
|
720
|
+
req2.once("response", resolve).once("error", reject).end();
|
|
721
|
+
});
|
|
722
|
+
req2.then = promise.then.bind(promise);
|
|
723
|
+
return req2;
|
|
724
|
+
}
|
|
725
|
+
exports.req = req;
|
|
726
|
+
}
|
|
727
|
+
});
|
|
728
|
+
|
|
729
|
+
// ../../node_modules/agent-base/dist/index.js
|
|
730
|
+
var require_dist = __commonJS({
|
|
731
|
+
"../../node_modules/agent-base/dist/index.js"(exports) {
|
|
732
|
+
"use strict";
|
|
733
|
+
var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
|
734
|
+
if (k2 === void 0) k2 = k;
|
|
735
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
736
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
737
|
+
desc = { enumerable: true, get: function() {
|
|
738
|
+
return m[k];
|
|
739
|
+
} };
|
|
740
|
+
}
|
|
741
|
+
Object.defineProperty(o, k2, desc);
|
|
742
|
+
}) : (function(o, m, k, k2) {
|
|
743
|
+
if (k2 === void 0) k2 = k;
|
|
744
|
+
o[k2] = m[k];
|
|
745
|
+
}));
|
|
746
|
+
var __setModuleDefault = exports && exports.__setModuleDefault || (Object.create ? (function(o, v) {
|
|
747
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
748
|
+
}) : function(o, v) {
|
|
749
|
+
o["default"] = v;
|
|
750
|
+
});
|
|
751
|
+
var __importStar = exports && exports.__importStar || function(mod) {
|
|
752
|
+
if (mod && mod.__esModule) return mod;
|
|
753
|
+
var result = {};
|
|
754
|
+
if (mod != null) {
|
|
755
|
+
for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
756
|
+
}
|
|
757
|
+
__setModuleDefault(result, mod);
|
|
758
|
+
return result;
|
|
759
|
+
};
|
|
760
|
+
var __exportStar = exports && exports.__exportStar || function(m, exports2) {
|
|
761
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports2, p)) __createBinding(exports2, m, p);
|
|
762
|
+
};
|
|
763
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
764
|
+
exports.Agent = void 0;
|
|
765
|
+
var net = __importStar(__require("net"));
|
|
766
|
+
var http = __importStar(__require("http"));
|
|
767
|
+
var https_1 = __require("https");
|
|
768
|
+
__exportStar(require_helpers(), exports);
|
|
769
|
+
var INTERNAL = /* @__PURE__ */ Symbol("AgentBaseInternalState");
|
|
770
|
+
var Agent = class extends http.Agent {
|
|
771
|
+
constructor(opts) {
|
|
772
|
+
super(opts);
|
|
773
|
+
this[INTERNAL] = {};
|
|
774
|
+
}
|
|
775
|
+
/**
|
|
776
|
+
* Determine whether this is an `http` or `https` request.
|
|
777
|
+
*/
|
|
778
|
+
isSecureEndpoint(options) {
|
|
779
|
+
if (options) {
|
|
780
|
+
if (typeof options.secureEndpoint === "boolean") {
|
|
781
|
+
return options.secureEndpoint;
|
|
782
|
+
}
|
|
783
|
+
if (typeof options.protocol === "string") {
|
|
784
|
+
return options.protocol === "https:";
|
|
785
|
+
}
|
|
786
|
+
}
|
|
787
|
+
const { stack } = new Error();
|
|
788
|
+
if (typeof stack !== "string")
|
|
789
|
+
return false;
|
|
790
|
+
return stack.split("\n").some((l) => l.indexOf("(https.js:") !== -1 || l.indexOf("node:https:") !== -1);
|
|
791
|
+
}
|
|
792
|
+
// In order to support async signatures in `connect()` and Node's native
|
|
793
|
+
// connection pooling in `http.Agent`, the array of sockets for each origin
|
|
794
|
+
// has to be updated synchronously. This is so the length of the array is
|
|
795
|
+
// accurate when `addRequest()` is next called. We achieve this by creating a
|
|
796
|
+
// fake socket and adding it to `sockets[origin]` and incrementing
|
|
797
|
+
// `totalSocketCount`.
|
|
798
|
+
incrementSockets(name) {
|
|
799
|
+
if (this.maxSockets === Infinity && this.maxTotalSockets === Infinity) {
|
|
800
|
+
return null;
|
|
801
|
+
}
|
|
802
|
+
if (!this.sockets[name]) {
|
|
803
|
+
this.sockets[name] = [];
|
|
804
|
+
}
|
|
805
|
+
const fakeSocket = new net.Socket({ writable: false });
|
|
806
|
+
this.sockets[name].push(fakeSocket);
|
|
807
|
+
this.totalSocketCount++;
|
|
808
|
+
return fakeSocket;
|
|
809
|
+
}
|
|
810
|
+
decrementSockets(name, socket) {
|
|
811
|
+
if (!this.sockets[name] || socket === null) {
|
|
812
|
+
return;
|
|
813
|
+
}
|
|
814
|
+
const sockets = this.sockets[name];
|
|
815
|
+
const index = sockets.indexOf(socket);
|
|
816
|
+
if (index !== -1) {
|
|
817
|
+
sockets.splice(index, 1);
|
|
818
|
+
this.totalSocketCount--;
|
|
819
|
+
if (sockets.length === 0) {
|
|
820
|
+
delete this.sockets[name];
|
|
821
|
+
}
|
|
822
|
+
}
|
|
823
|
+
}
|
|
824
|
+
// In order to properly update the socket pool, we need to call `getName()` on
|
|
825
|
+
// the core `https.Agent` if it is a secureEndpoint.
|
|
826
|
+
getName(options) {
|
|
827
|
+
const secureEndpoint = this.isSecureEndpoint(options);
|
|
828
|
+
if (secureEndpoint) {
|
|
829
|
+
return https_1.Agent.prototype.getName.call(this, options);
|
|
830
|
+
}
|
|
831
|
+
return super.getName(options);
|
|
832
|
+
}
|
|
833
|
+
createSocket(req, options, cb) {
|
|
834
|
+
const connectOpts = {
|
|
835
|
+
...options,
|
|
836
|
+
secureEndpoint: this.isSecureEndpoint(options)
|
|
837
|
+
};
|
|
838
|
+
const name = this.getName(connectOpts);
|
|
839
|
+
const fakeSocket = this.incrementSockets(name);
|
|
840
|
+
Promise.resolve().then(() => this.connect(req, connectOpts)).then((socket) => {
|
|
841
|
+
this.decrementSockets(name, fakeSocket);
|
|
842
|
+
if (socket instanceof http.Agent) {
|
|
843
|
+
try {
|
|
844
|
+
return socket.addRequest(req, connectOpts);
|
|
845
|
+
} catch (err) {
|
|
846
|
+
return cb(err);
|
|
847
|
+
}
|
|
848
|
+
}
|
|
849
|
+
this[INTERNAL].currentSocket = socket;
|
|
850
|
+
super.createSocket(req, options, cb);
|
|
851
|
+
}, (err) => {
|
|
852
|
+
this.decrementSockets(name, fakeSocket);
|
|
853
|
+
cb(err);
|
|
854
|
+
});
|
|
855
|
+
}
|
|
856
|
+
createConnection() {
|
|
857
|
+
const socket = this[INTERNAL].currentSocket;
|
|
858
|
+
this[INTERNAL].currentSocket = void 0;
|
|
859
|
+
if (!socket) {
|
|
860
|
+
throw new Error("No socket was returned in the `connect()` function");
|
|
861
|
+
}
|
|
862
|
+
return socket;
|
|
863
|
+
}
|
|
864
|
+
get defaultPort() {
|
|
865
|
+
return this[INTERNAL].defaultPort ?? (this.protocol === "https:" ? 443 : 80);
|
|
866
|
+
}
|
|
867
|
+
set defaultPort(v) {
|
|
868
|
+
if (this[INTERNAL]) {
|
|
869
|
+
this[INTERNAL].defaultPort = v;
|
|
870
|
+
}
|
|
871
|
+
}
|
|
872
|
+
get protocol() {
|
|
873
|
+
return this[INTERNAL].protocol ?? (this.isSecureEndpoint() ? "https:" : "http:");
|
|
874
|
+
}
|
|
875
|
+
set protocol(v) {
|
|
876
|
+
if (this[INTERNAL]) {
|
|
877
|
+
this[INTERNAL].protocol = v;
|
|
878
|
+
}
|
|
879
|
+
}
|
|
880
|
+
};
|
|
881
|
+
exports.Agent = Agent;
|
|
882
|
+
}
|
|
883
|
+
});
|
|
884
|
+
|
|
885
|
+
// ../../node_modules/https-proxy-agent/dist/parse-proxy-response.js
|
|
886
|
+
var require_parse_proxy_response = __commonJS({
|
|
887
|
+
"../../node_modules/https-proxy-agent/dist/parse-proxy-response.js"(exports) {
|
|
888
|
+
"use strict";
|
|
889
|
+
var __importDefault = exports && exports.__importDefault || function(mod) {
|
|
890
|
+
return mod && mod.__esModule ? mod : { "default": mod };
|
|
891
|
+
};
|
|
892
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
893
|
+
exports.parseProxyResponse = void 0;
|
|
894
|
+
var debug_1 = __importDefault(require_src());
|
|
895
|
+
var debug = (0, debug_1.default)("https-proxy-agent:parse-proxy-response");
|
|
896
|
+
function parseProxyResponse(socket) {
|
|
897
|
+
return new Promise((resolve, reject) => {
|
|
898
|
+
let buffersLength = 0;
|
|
899
|
+
const buffers = [];
|
|
900
|
+
function read() {
|
|
901
|
+
const b = socket.read();
|
|
902
|
+
if (b)
|
|
903
|
+
ondata(b);
|
|
904
|
+
else
|
|
905
|
+
socket.once("readable", read);
|
|
906
|
+
}
|
|
907
|
+
function cleanup() {
|
|
908
|
+
socket.removeListener("end", onend);
|
|
909
|
+
socket.removeListener("error", onerror);
|
|
910
|
+
socket.removeListener("readable", read);
|
|
911
|
+
}
|
|
912
|
+
function onend() {
|
|
913
|
+
cleanup();
|
|
914
|
+
debug("onend");
|
|
915
|
+
reject(new Error("Proxy connection ended before receiving CONNECT response"));
|
|
916
|
+
}
|
|
917
|
+
function onerror(err) {
|
|
918
|
+
cleanup();
|
|
919
|
+
debug("onerror %o", err);
|
|
920
|
+
reject(err);
|
|
921
|
+
}
|
|
922
|
+
function ondata(b) {
|
|
923
|
+
buffers.push(b);
|
|
924
|
+
buffersLength += b.length;
|
|
925
|
+
const buffered = Buffer.concat(buffers, buffersLength);
|
|
926
|
+
const endOfHeaders = buffered.indexOf("\r\n\r\n");
|
|
927
|
+
if (endOfHeaders === -1) {
|
|
928
|
+
debug("have not received end of HTTP headers yet...");
|
|
929
|
+
read();
|
|
930
|
+
return;
|
|
931
|
+
}
|
|
932
|
+
const headerParts = buffered.slice(0, endOfHeaders).toString("ascii").split("\r\n");
|
|
933
|
+
const firstLine = headerParts.shift();
|
|
934
|
+
if (!firstLine) {
|
|
935
|
+
socket.destroy();
|
|
936
|
+
return reject(new Error("No header received from proxy CONNECT response"));
|
|
937
|
+
}
|
|
938
|
+
const firstLineParts = firstLine.split(" ");
|
|
939
|
+
const statusCode = +firstLineParts[1];
|
|
940
|
+
const statusText = firstLineParts.slice(2).join(" ");
|
|
941
|
+
const headers = {};
|
|
942
|
+
for (const header of headerParts) {
|
|
943
|
+
if (!header)
|
|
944
|
+
continue;
|
|
945
|
+
const firstColon = header.indexOf(":");
|
|
946
|
+
if (firstColon === -1) {
|
|
947
|
+
socket.destroy();
|
|
948
|
+
return reject(new Error(`Invalid header from proxy CONNECT response: "${header}"`));
|
|
949
|
+
}
|
|
950
|
+
const key = header.slice(0, firstColon).toLowerCase();
|
|
951
|
+
const value = header.slice(firstColon + 1).trimStart();
|
|
952
|
+
const current = headers[key];
|
|
953
|
+
if (typeof current === "string") {
|
|
954
|
+
headers[key] = [current, value];
|
|
955
|
+
} else if (Array.isArray(current)) {
|
|
956
|
+
current.push(value);
|
|
957
|
+
} else {
|
|
958
|
+
headers[key] = value;
|
|
959
|
+
}
|
|
960
|
+
}
|
|
961
|
+
debug("got proxy server response: %o %o", firstLine, headers);
|
|
962
|
+
cleanup();
|
|
963
|
+
resolve({
|
|
964
|
+
connect: {
|
|
965
|
+
statusCode,
|
|
966
|
+
statusText,
|
|
967
|
+
headers
|
|
968
|
+
},
|
|
969
|
+
buffered
|
|
970
|
+
});
|
|
971
|
+
}
|
|
972
|
+
socket.on("error", onerror);
|
|
973
|
+
socket.on("end", onend);
|
|
974
|
+
read();
|
|
975
|
+
});
|
|
976
|
+
}
|
|
977
|
+
exports.parseProxyResponse = parseProxyResponse;
|
|
978
|
+
}
|
|
979
|
+
});
|
|
980
|
+
|
|
981
|
+
// ../../node_modules/https-proxy-agent/dist/index.js
|
|
982
|
+
var require_dist2 = __commonJS({
|
|
983
|
+
"../../node_modules/https-proxy-agent/dist/index.js"(exports) {
|
|
984
|
+
"use strict";
|
|
985
|
+
var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
|
986
|
+
if (k2 === void 0) k2 = k;
|
|
987
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
988
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
989
|
+
desc = { enumerable: true, get: function() {
|
|
990
|
+
return m[k];
|
|
991
|
+
} };
|
|
992
|
+
}
|
|
993
|
+
Object.defineProperty(o, k2, desc);
|
|
994
|
+
}) : (function(o, m, k, k2) {
|
|
995
|
+
if (k2 === void 0) k2 = k;
|
|
996
|
+
o[k2] = m[k];
|
|
997
|
+
}));
|
|
998
|
+
var __setModuleDefault = exports && exports.__setModuleDefault || (Object.create ? (function(o, v) {
|
|
999
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
1000
|
+
}) : function(o, v) {
|
|
1001
|
+
o["default"] = v;
|
|
1002
|
+
});
|
|
1003
|
+
var __importStar = exports && exports.__importStar || function(mod) {
|
|
1004
|
+
if (mod && mod.__esModule) return mod;
|
|
1005
|
+
var result = {};
|
|
1006
|
+
if (mod != null) {
|
|
1007
|
+
for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
1008
|
+
}
|
|
1009
|
+
__setModuleDefault(result, mod);
|
|
1010
|
+
return result;
|
|
1011
|
+
};
|
|
1012
|
+
var __importDefault = exports && exports.__importDefault || function(mod) {
|
|
1013
|
+
return mod && mod.__esModule ? mod : { "default": mod };
|
|
1014
|
+
};
|
|
1015
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1016
|
+
exports.HttpsProxyAgent = void 0;
|
|
1017
|
+
var net = __importStar(__require("net"));
|
|
1018
|
+
var tls = __importStar(__require("tls"));
|
|
1019
|
+
var assert_1 = __importDefault(__require("assert"));
|
|
1020
|
+
var debug_1 = __importDefault(require_src());
|
|
1021
|
+
var agent_base_1 = require_dist();
|
|
1022
|
+
var url_1 = __require("url");
|
|
1023
|
+
var parse_proxy_response_1 = require_parse_proxy_response();
|
|
1024
|
+
var debug = (0, debug_1.default)("https-proxy-agent");
|
|
1025
|
+
var setServernameFromNonIpHost = (options) => {
|
|
1026
|
+
if (options.servername === void 0 && options.host && !net.isIP(options.host)) {
|
|
1027
|
+
return {
|
|
1028
|
+
...options,
|
|
1029
|
+
servername: options.host
|
|
1030
|
+
};
|
|
1031
|
+
}
|
|
1032
|
+
return options;
|
|
1033
|
+
};
|
|
1034
|
+
var HttpsProxyAgent = class extends agent_base_1.Agent {
|
|
1035
|
+
constructor(proxy, opts) {
|
|
1036
|
+
super(opts);
|
|
1037
|
+
this.options = { path: void 0 };
|
|
1038
|
+
this.proxy = typeof proxy === "string" ? new url_1.URL(proxy) : proxy;
|
|
1039
|
+
this.proxyHeaders = opts?.headers ?? {};
|
|
1040
|
+
debug("Creating new HttpsProxyAgent instance: %o", this.proxy.href);
|
|
1041
|
+
const host = (this.proxy.hostname || this.proxy.host).replace(/^\[|\]$/g, "");
|
|
1042
|
+
const port = this.proxy.port ? parseInt(this.proxy.port, 10) : this.proxy.protocol === "https:" ? 443 : 80;
|
|
1043
|
+
this.connectOpts = {
|
|
1044
|
+
// Attempt to negotiate http/1.1 for proxy servers that support http/2
|
|
1045
|
+
ALPNProtocols: ["http/1.1"],
|
|
1046
|
+
...opts ? omit(opts, "headers") : null,
|
|
1047
|
+
host,
|
|
1048
|
+
port
|
|
1049
|
+
};
|
|
1050
|
+
}
|
|
1051
|
+
/**
|
|
1052
|
+
* Called when the node-core HTTP client library is creating a
|
|
1053
|
+
* new HTTP request.
|
|
1054
|
+
*/
|
|
1055
|
+
async connect(req, opts) {
|
|
1056
|
+
const { proxy } = this;
|
|
1057
|
+
if (!opts.host) {
|
|
1058
|
+
throw new TypeError('No "host" provided');
|
|
1059
|
+
}
|
|
1060
|
+
let socket;
|
|
1061
|
+
if (proxy.protocol === "https:") {
|
|
1062
|
+
debug("Creating `tls.Socket`: %o", this.connectOpts);
|
|
1063
|
+
socket = tls.connect(setServernameFromNonIpHost(this.connectOpts));
|
|
1064
|
+
} else {
|
|
1065
|
+
debug("Creating `net.Socket`: %o", this.connectOpts);
|
|
1066
|
+
socket = net.connect(this.connectOpts);
|
|
1067
|
+
}
|
|
1068
|
+
const headers = typeof this.proxyHeaders === "function" ? this.proxyHeaders() : { ...this.proxyHeaders };
|
|
1069
|
+
const host = net.isIPv6(opts.host) ? `[${opts.host}]` : opts.host;
|
|
1070
|
+
let payload = `CONNECT ${host}:${opts.port} HTTP/1.1\r
|
|
1071
|
+
`;
|
|
1072
|
+
if (proxy.username || proxy.password) {
|
|
1073
|
+
const auth = `${decodeURIComponent(proxy.username)}:${decodeURIComponent(proxy.password)}`;
|
|
1074
|
+
headers["Proxy-Authorization"] = `Basic ${Buffer.from(auth).toString("base64")}`;
|
|
1075
|
+
}
|
|
1076
|
+
headers.Host = `${host}:${opts.port}`;
|
|
1077
|
+
if (!headers["Proxy-Connection"]) {
|
|
1078
|
+
headers["Proxy-Connection"] = this.keepAlive ? "Keep-Alive" : "close";
|
|
1079
|
+
}
|
|
1080
|
+
for (const name of Object.keys(headers)) {
|
|
1081
|
+
payload += `${name}: ${headers[name]}\r
|
|
1082
|
+
`;
|
|
1083
|
+
}
|
|
1084
|
+
const proxyResponsePromise = (0, parse_proxy_response_1.parseProxyResponse)(socket);
|
|
1085
|
+
socket.write(`${payload}\r
|
|
1086
|
+
`);
|
|
1087
|
+
const { connect, buffered } = await proxyResponsePromise;
|
|
1088
|
+
req.emit("proxyConnect", connect);
|
|
1089
|
+
this.emit("proxyConnect", connect, req);
|
|
1090
|
+
if (connect.statusCode === 200) {
|
|
1091
|
+
req.once("socket", resume);
|
|
1092
|
+
if (opts.secureEndpoint) {
|
|
1093
|
+
debug("Upgrading socket connection to TLS");
|
|
1094
|
+
return tls.connect({
|
|
1095
|
+
...omit(setServernameFromNonIpHost(opts), "host", "path", "port"),
|
|
1096
|
+
socket
|
|
1097
|
+
});
|
|
1098
|
+
}
|
|
1099
|
+
return socket;
|
|
1100
|
+
}
|
|
1101
|
+
socket.destroy();
|
|
1102
|
+
const fakeSocket = new net.Socket({ writable: false });
|
|
1103
|
+
fakeSocket.readable = true;
|
|
1104
|
+
req.once("socket", (s) => {
|
|
1105
|
+
debug("Replaying proxy buffer for failed request");
|
|
1106
|
+
(0, assert_1.default)(s.listenerCount("data") > 0);
|
|
1107
|
+
s.push(buffered);
|
|
1108
|
+
s.push(null);
|
|
1109
|
+
});
|
|
1110
|
+
return fakeSocket;
|
|
1111
|
+
}
|
|
1112
|
+
};
|
|
1113
|
+
HttpsProxyAgent.protocols = ["http", "https"];
|
|
1114
|
+
exports.HttpsProxyAgent = HttpsProxyAgent;
|
|
1115
|
+
function resume(socket) {
|
|
1116
|
+
socket.resume();
|
|
1117
|
+
}
|
|
1118
|
+
function omit(obj, ...keys) {
|
|
1119
|
+
const ret = {};
|
|
1120
|
+
let key;
|
|
1121
|
+
for (key in obj) {
|
|
1122
|
+
if (!keys.includes(key)) {
|
|
1123
|
+
ret[key] = obj[key];
|
|
1124
|
+
}
|
|
1125
|
+
}
|
|
1126
|
+
return ret;
|
|
1127
|
+
}
|
|
1128
|
+
}
|
|
1129
|
+
});
|
|
1130
|
+
|
|
1131
|
+
export {
|
|
1132
|
+
require_dist2 as require_dist
|
|
1133
|
+
};
|