mirror of
https://github.com/docker/login-action.git
synced 2026-10-02 16:26:07 +03:00
chore: update generated content
This commit is contained in:
1 parent
dac079354a
commit
28737a5e46
12 files changed
+344
-422
No files matched your search
+62
-62
@@ -2,28 +2,28 @@ export const id = 136;
|
||||
export const ids = [136];
|
||||
export const modules = {
|
||||
|
||||
/***/ 63723:
|
||||
/***/ 3723:
|
||||
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
||||
|
||||
|
||||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||
exports.STSClient = exports.__Client = void 0;
|
||||
const middleware_host_header_1 = __webpack_require__(30209);
|
||||
const middleware_logger_1 = __webpack_require__(85242);
|
||||
const middleware_recursion_detection_1 = __webpack_require__(81568);
|
||||
const middleware_user_agent_1 = __webpack_require__(32959);
|
||||
const config_resolver_1 = __webpack_require__(39316);
|
||||
const core_1 = __webpack_require__(90402);
|
||||
const schema_1 = __webpack_require__(26890);
|
||||
const middleware_content_length_1 = __webpack_require__(47212);
|
||||
const middleware_endpoint_1 = __webpack_require__(40099);
|
||||
const middleware_retry_1 = __webpack_require__(19618);
|
||||
const smithy_client_1 = __webpack_require__(61411);
|
||||
const middleware_host_header_1 = __webpack_require__(2590);
|
||||
const middleware_logger_1 = __webpack_require__(5242);
|
||||
const middleware_recursion_detection_1 = __webpack_require__(1568);
|
||||
const middleware_user_agent_1 = __webpack_require__(2959);
|
||||
const config_resolver_1 = __webpack_require__(9316);
|
||||
const core_1 = __webpack_require__(402);
|
||||
const schema_1 = __webpack_require__(6890);
|
||||
const middleware_content_length_1 = __webpack_require__(7212);
|
||||
const middleware_endpoint_1 = __webpack_require__(99);
|
||||
const middleware_retry_1 = __webpack_require__(9618);
|
||||
const smithy_client_1 = __webpack_require__(1411);
|
||||
Object.defineProperty(exports, "__Client", ({ enumerable: true, get: function () { return smithy_client_1.Client; } }));
|
||||
const httpAuthSchemeProvider_1 = __webpack_require__(27851);
|
||||
const EndpointParameters_1 = __webpack_require__(76811);
|
||||
const runtimeConfig_1 = __webpack_require__(36578);
|
||||
const runtimeExtensions_1 = __webpack_require__(37742);
|
||||
const httpAuthSchemeProvider_1 = __webpack_require__(7851);
|
||||
const EndpointParameters_1 = __webpack_require__(6811);
|
||||
const runtimeConfig_1 = __webpack_require__(6578);
|
||||
const runtimeExtensions_1 = __webpack_require__(7742);
|
||||
class STSClient extends smithy_client_1.Client {
|
||||
config;
|
||||
constructor(...[configuration]) {
|
||||
@@ -63,7 +63,7 @@ exports.STSClient = STSClient;
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 34532:
|
||||
/***/ 4532:
|
||||
/***/ ((__unused_webpack_module, exports) => {
|
||||
|
||||
|
||||
@@ -113,15 +113,15 @@ exports.resolveHttpAuthRuntimeConfig = resolveHttpAuthRuntimeConfig;
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 27851:
|
||||
/***/ 7851:
|
||||
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
||||
|
||||
|
||||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||
exports.resolveHttpAuthSchemeConfig = exports.resolveStsAuthConfig = exports.defaultSTSHttpAuthSchemeProvider = exports.defaultSTSHttpAuthSchemeParametersProvider = void 0;
|
||||
const core_1 = __webpack_require__(8704);
|
||||
const util_middleware_1 = __webpack_require__(76324);
|
||||
const STSClient_1 = __webpack_require__(63723);
|
||||
const util_middleware_1 = __webpack_require__(6324);
|
||||
const STSClient_1 = __webpack_require__(3723);
|
||||
const defaultSTSHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
||||
return {
|
||||
operation: (0, util_middleware_1.getSmithyContext)(context).operation,
|
||||
@@ -182,7 +182,7 @@ exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 76811:
|
||||
/***/ 6811:
|
||||
/***/ ((__unused_webpack_module, exports) => {
|
||||
|
||||
|
||||
@@ -208,15 +208,15 @@ exports.commonParams = {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 59765:
|
||||
/***/ 9765:
|
||||
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
||||
|
||||
|
||||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||
exports.defaultEndpointResolver = void 0;
|
||||
const util_endpoints_1 = __webpack_require__(83068);
|
||||
const util_endpoints_2 = __webpack_require__(79674);
|
||||
const ruleset_1 = __webpack_require__(31670);
|
||||
const util_endpoints_1 = __webpack_require__(3068);
|
||||
const util_endpoints_2 = __webpack_require__(9674);
|
||||
const ruleset_1 = __webpack_require__(1670);
|
||||
const cache = new util_endpoints_2.EndpointCache({
|
||||
size: 50,
|
||||
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS", "UseGlobalEndpoint"],
|
||||
@@ -233,7 +233,7 @@ util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunct
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 31670:
|
||||
/***/ 1670:
|
||||
/***/ ((__unused_webpack_module, exports) => {
|
||||
|
||||
|
||||
@@ -252,13 +252,13 @@ exports.ruleSet = _data;
|
||||
|
||||
|
||||
|
||||
var STSClient = __webpack_require__(63723);
|
||||
var smithyClient = __webpack_require__(61411);
|
||||
var middlewareEndpoint = __webpack_require__(40099);
|
||||
var EndpointParameters = __webpack_require__(76811);
|
||||
var schema = __webpack_require__(26890);
|
||||
var STSClient = __webpack_require__(3723);
|
||||
var smithyClient = __webpack_require__(1411);
|
||||
var middlewareEndpoint = __webpack_require__(99);
|
||||
var EndpointParameters = __webpack_require__(6811);
|
||||
var schema = __webpack_require__(6890);
|
||||
var client = __webpack_require__(5152);
|
||||
var regionConfigResolver = __webpack_require__(36463);
|
||||
var regionConfigResolver = __webpack_require__(6463);
|
||||
|
||||
class STSServiceException extends smithyClient.ServiceException {
|
||||
constructor(options) {
|
||||
@@ -737,27 +737,27 @@ Object.keys(STSClient).forEach(function (k) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 36578:
|
||||
/***/ 6578:
|
||||
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
||||
|
||||
|
||||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||
exports.getRuntimeConfig = void 0;
|
||||
const tslib_1 = __webpack_require__(61860);
|
||||
const package_json_1 = tslib_1.__importDefault(__webpack_require__(39955));
|
||||
const tslib_1 = __webpack_require__(1860);
|
||||
const package_json_1 = tslib_1.__importDefault(__webpack_require__(9955));
|
||||
const core_1 = __webpack_require__(8704);
|
||||
const util_user_agent_node_1 = __webpack_require__(51656);
|
||||
const config_resolver_1 = __webpack_require__(39316);
|
||||
const core_2 = __webpack_require__(90402);
|
||||
const hash_node_1 = __webpack_require__(5092);
|
||||
const middleware_retry_1 = __webpack_require__(19618);
|
||||
const node_config_provider_1 = __webpack_require__(55704);
|
||||
const node_http_handler_1 = __webpack_require__(61279);
|
||||
const smithy_client_1 = __webpack_require__(61411);
|
||||
const util_body_length_node_1 = __webpack_require__(13638);
|
||||
const util_defaults_mode_node_1 = __webpack_require__(15435);
|
||||
const util_retry_1 = __webpack_require__(15518);
|
||||
const runtimeConfig_shared_1 = __webpack_require__(24443);
|
||||
const util_user_agent_node_1 = __webpack_require__(1656);
|
||||
const config_resolver_1 = __webpack_require__(9316);
|
||||
const core_2 = __webpack_require__(402);
|
||||
const hash_node_1 = __webpack_require__(2711);
|
||||
const middleware_retry_1 = __webpack_require__(9618);
|
||||
const node_config_provider_1 = __webpack_require__(5704);
|
||||
const node_http_handler_1 = __webpack_require__(1279);
|
||||
const smithy_client_1 = __webpack_require__(1411);
|
||||
const util_body_length_node_1 = __webpack_require__(3638);
|
||||
const util_defaults_mode_node_1 = __webpack_require__(673);
|
||||
const util_retry_1 = __webpack_require__(5518);
|
||||
const runtimeConfig_shared_1 = __webpack_require__(4443);
|
||||
const getRuntimeConfig = (config) => {
|
||||
(0, smithy_client_1.emitWarningIfUnsupportedVersion)(process.version);
|
||||
const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
|
||||
@@ -811,21 +811,21 @@ exports.getRuntimeConfig = getRuntimeConfig;
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 24443:
|
||||
/***/ 4443:
|
||||
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
||||
|
||||
|
||||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||
exports.getRuntimeConfig = void 0;
|
||||
const core_1 = __webpack_require__(8704);
|
||||
const protocols_1 = __webpack_require__(37288);
|
||||
const core_2 = __webpack_require__(90402);
|
||||
const smithy_client_1 = __webpack_require__(61411);
|
||||
const url_parser_1 = __webpack_require__(14494);
|
||||
const util_base64_1 = __webpack_require__(68385);
|
||||
const util_utf8_1 = __webpack_require__(71577);
|
||||
const httpAuthSchemeProvider_1 = __webpack_require__(27851);
|
||||
const endpointResolver_1 = __webpack_require__(59765);
|
||||
const protocols_1 = __webpack_require__(7288);
|
||||
const core_2 = __webpack_require__(402);
|
||||
const smithy_client_1 = __webpack_require__(1411);
|
||||
const url_parser_1 = __webpack_require__(4494);
|
||||
const util_base64_1 = __webpack_require__(8385);
|
||||
const util_utf8_1 = __webpack_require__(1577);
|
||||
const httpAuthSchemeProvider_1 = __webpack_require__(7851);
|
||||
const endpointResolver_1 = __webpack_require__(9765);
|
||||
const getRuntimeConfig = (config) => {
|
||||
return {
|
||||
apiVersion: "2011-06-15",
|
||||
@@ -866,16 +866,16 @@ exports.getRuntimeConfig = getRuntimeConfig;
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 37742:
|
||||
/***/ 7742:
|
||||
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
||||
|
||||
|
||||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||
exports.resolveRuntimeExtensions = void 0;
|
||||
const region_config_resolver_1 = __webpack_require__(36463);
|
||||
const protocol_http_1 = __webpack_require__(72356);
|
||||
const smithy_client_1 = __webpack_require__(61411);
|
||||
const httpAuthExtensionConfiguration_1 = __webpack_require__(34532);
|
||||
const region_config_resolver_1 = __webpack_require__(6463);
|
||||
const protocol_http_1 = __webpack_require__(2356);
|
||||
const smithy_client_1 = __webpack_require__(1411);
|
||||
const httpAuthExtensionConfiguration_1 = __webpack_require__(4532);
|
||||
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
||||
const extensionConfiguration = Object.assign((0, region_config_resolver_1.getAwsRegionExtensionConfiguration)(runtimeConfig), (0, smithy_client_1.getDefaultExtensionConfiguration)(runtimeConfig), (0, protocol_http_1.getHttpHandlerExtensionConfiguration)(runtimeConfig), (0, httpAuthExtensionConfiguration_1.getHttpAuthExtensionConfiguration)(runtimeConfig));
|
||||
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
||||
@@ -886,7 +886,7 @@ exports.resolveRuntimeExtensions = resolveRuntimeExtensions;
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 39955:
|
||||
/***/ 9955:
|
||||
/***/ ((module) => {
|
||||
|
||||
module.exports = /*#__PURE__*/JSON.parse('{"name":"@aws-sdk/nested-clients","version":"3.975.0","description":"Nested clients for AWS SDK packages.","main":"./dist-cjs/index.js","module":"./dist-es/index.js","types":"./dist-types/index.d.ts","scripts":{"build":"yarn lint && concurrently \'yarn:build:types\' \'yarn:build:es\' && yarn build:cjs","build:cjs":"node ../../scripts/compilation/inline nested-clients","build:es":"tsc -p tsconfig.es.json","build:include:deps":"yarn g:turbo run build -F=\\"$npm_package_name\\"","build:types":"tsc -p tsconfig.types.json","build:types:downlevel":"downlevel-dts dist-types dist-types/ts3.4","clean":"premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo","lint":"node ../../scripts/validation/submodules-linter.js --pkg nested-clients","test":"yarn g:vitest run","test:watch":"yarn g:vitest watch"},"engines":{"node":">=20.0.0"},"sideEffects":false,"author":{"name":"AWS SDK for JavaScript Team","url":"https://aws.amazon.com/javascript/"},"license":"Apache-2.0","dependencies":{"@aws-crypto/sha256-browser":"5.2.0","@aws-crypto/sha256-js":"5.2.0","@aws-sdk/core":"^3.973.1","@aws-sdk/middleware-host-header":"^3.972.1","@aws-sdk/middleware-logger":"^3.972.1","@aws-sdk/middleware-recursion-detection":"^3.972.1","@aws-sdk/middleware-user-agent":"^3.972.2","@aws-sdk/region-config-resolver":"^3.972.1","@aws-sdk/types":"^3.973.0","@aws-sdk/util-endpoints":"3.972.0","@aws-sdk/util-user-agent-browser":"^3.972.1","@aws-sdk/util-user-agent-node":"^3.972.1","@smithy/config-resolver":"^4.4.6","@smithy/core":"^3.21.1","@smithy/fetch-http-handler":"^5.3.9","@smithy/hash-node":"^4.2.8","@smithy/invalid-dependency":"^4.2.8","@smithy/middleware-content-length":"^4.2.8","@smithy/middleware-endpoint":"^4.4.11","@smithy/middleware-retry":"^4.4.27","@smithy/middleware-serde":"^4.2.9","@smithy/middleware-stack":"^4.2.8","@smithy/node-config-provider":"^4.3.8","@smithy/node-http-handler":"^4.4.8","@smithy/protocol-http":"^5.3.8","@smithy/smithy-client":"^4.10.12","@smithy/types":"^4.12.0","@smithy/url-parser":"^4.2.8","@smithy/util-base64":"^4.3.0","@smithy/util-body-length-browser":"^4.2.0","@smithy/util-body-length-node":"^4.2.1","@smithy/util-defaults-mode-browser":"^4.3.26","@smithy/util-defaults-mode-node":"^4.2.29","@smithy/util-endpoints":"^3.2.8","@smithy/util-middleware":"^4.2.8","@smithy/util-retry":"^4.2.8","@smithy/util-utf8":"^4.2.0","tslib":"^2.6.2"},"devDependencies":{"concurrently":"7.0.0","downlevel-dts":"0.10.1","premove":"4.0.0","typescript":"~5.8.3"},"typesVersions":{"<4.0":{"dist-types/*":["dist-types/ts3.4/*"]}},"files":["./signin.d.ts","./signin.js","./sso-oidc.d.ts","./sso-oidc.js","./sts.d.ts","./sts.js","dist-*/**"],"browser":{"./dist-es/submodules/signin/runtimeConfig":"./dist-es/submodules/signin/runtimeConfig.browser","./dist-es/submodules/sso-oidc/runtimeConfig":"./dist-es/submodules/sso-oidc/runtimeConfig.browser","./dist-es/submodules/sts/runtimeConfig":"./dist-es/submodules/sts/runtimeConfig.browser"},"react-native":{},"homepage":"https://github.com/aws/aws-sdk-js-v3/tree/main/packages/nested-clients","repository":{"type":"git","url":"https://github.com/aws/aws-sdk-js-v3.git","directory":"packages/nested-clients"},"exports":{"./package.json":"./package.json","./sso-oidc":{"types":"./dist-types/submodules/sso-oidc/index.d.ts","module":"./dist-es/submodules/sso-oidc/index.js","node":"./dist-cjs/submodules/sso-oidc/index.js","import":"./dist-es/submodules/sso-oidc/index.js","require":"./dist-cjs/submodules/sso-oidc/index.js"},"./sts":{"types":"./dist-types/submodules/sts/index.d.ts","module":"./dist-es/submodules/sts/index.js","node":"./dist-cjs/submodules/sts/index.js","import":"./dist-es/submodules/sts/index.js","require":"./dist-cjs/submodules/sts/index.js"},"./signin":{"types":"./dist-types/submodules/signin/index.d.ts","module":"./dist-es/submodules/signin/index.js","node":"./dist-cjs/submodules/signin/index.js","import":"./dist-es/submodules/signin/index.js","require":"./dist-cjs/submodules/signin/index.js"}}}');
|
||||
|
||||
+5
-5
@@ -2,15 +2,15 @@ export const id = 360;
|
||||
export const ids = [360];
|
||||
export const modules = {
|
||||
|
||||
/***/ 75360:
|
||||
/***/ 5360:
|
||||
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
||||
|
||||
|
||||
|
||||
var sharedIniFileLoader = __webpack_require__(94964);
|
||||
var propertyProvider = __webpack_require__(71238);
|
||||
var child_process = __webpack_require__(35317);
|
||||
var util = __webpack_require__(39023);
|
||||
var sharedIniFileLoader = __webpack_require__(4964);
|
||||
var propertyProvider = __webpack_require__(8857);
|
||||
var child_process = __webpack_require__(5317);
|
||||
var util = __webpack_require__(9023);
|
||||
var client = __webpack_require__(5152);
|
||||
|
||||
const getValidatedProcessCredentials = (profileName, data, profiles) => {
|
||||
|
||||
+42
-42
@@ -9,7 +9,7 @@ export const modules = {
|
||||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||
exports.resolveHttpAuthSchemeConfig = exports.defaultSSOOIDCHttpAuthSchemeProvider = exports.defaultSSOOIDCHttpAuthSchemeParametersProvider = void 0;
|
||||
const core_1 = __webpack_require__(8704);
|
||||
const util_middleware_1 = __webpack_require__(76324);
|
||||
const util_middleware_1 = __webpack_require__(6324);
|
||||
const defaultSSOOIDCHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
||||
return {
|
||||
operation: (0, util_middleware_1.getSmithyContext)(context).operation,
|
||||
@@ -65,15 +65,15 @@ exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 90546:
|
||||
/***/ 546:
|
||||
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
||||
|
||||
|
||||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||
exports.defaultEndpointResolver = void 0;
|
||||
const util_endpoints_1 = __webpack_require__(83068);
|
||||
const util_endpoints_2 = __webpack_require__(79674);
|
||||
const ruleset_1 = __webpack_require__(69947);
|
||||
const util_endpoints_1 = __webpack_require__(3068);
|
||||
const util_endpoints_2 = __webpack_require__(9674);
|
||||
const ruleset_1 = __webpack_require__(9947);
|
||||
const cache = new util_endpoints_2.EndpointCache({
|
||||
size: 50,
|
||||
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
|
||||
@@ -90,7 +90,7 @@ util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunct
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 69947:
|
||||
/***/ 9947:
|
||||
/***/ ((__unused_webpack_module, exports) => {
|
||||
|
||||
|
||||
@@ -104,27 +104,27 @@ exports.ruleSet = _data;
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 89443:
|
||||
/***/ 9443:
|
||||
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
||||
|
||||
var __webpack_unused_export__;
|
||||
|
||||
|
||||
var middlewareHostHeader = __webpack_require__(30209);
|
||||
var middlewareLogger = __webpack_require__(85242);
|
||||
var middlewareRecursionDetection = __webpack_require__(81568);
|
||||
var middlewareUserAgent = __webpack_require__(32959);
|
||||
var configResolver = __webpack_require__(39316);
|
||||
var core = __webpack_require__(90402);
|
||||
var schema = __webpack_require__(26890);
|
||||
var middlewareContentLength = __webpack_require__(47212);
|
||||
var middlewareEndpoint = __webpack_require__(40099);
|
||||
var middlewareRetry = __webpack_require__(19618);
|
||||
var smithyClient = __webpack_require__(61411);
|
||||
var middlewareHostHeader = __webpack_require__(2590);
|
||||
var middlewareLogger = __webpack_require__(5242);
|
||||
var middlewareRecursionDetection = __webpack_require__(1568);
|
||||
var middlewareUserAgent = __webpack_require__(2959);
|
||||
var configResolver = __webpack_require__(9316);
|
||||
var core = __webpack_require__(402);
|
||||
var schema = __webpack_require__(6890);
|
||||
var middlewareContentLength = __webpack_require__(7212);
|
||||
var middlewareEndpoint = __webpack_require__(99);
|
||||
var middlewareRetry = __webpack_require__(9618);
|
||||
var smithyClient = __webpack_require__(1411);
|
||||
var httpAuthSchemeProvider = __webpack_require__(8396);
|
||||
var runtimeConfig = __webpack_require__(16901);
|
||||
var regionConfigResolver = __webpack_require__(36463);
|
||||
var protocolHttp = __webpack_require__(72356);
|
||||
var runtimeConfig = __webpack_require__(6901);
|
||||
var regionConfigResolver = __webpack_require__(6463);
|
||||
var protocolHttp = __webpack_require__(2356);
|
||||
|
||||
const resolveClientEndpointParameters = (options) => {
|
||||
return Object.assign(options, {
|
||||
@@ -612,25 +612,25 @@ __webpack_unused_export__ = UnsupportedGrantTypeException$;
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 16901:
|
||||
/***/ 6901:
|
||||
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
||||
|
||||
|
||||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||
exports.getRuntimeConfig = void 0;
|
||||
const tslib_1 = __webpack_require__(61860);
|
||||
const package_json_1 = tslib_1.__importDefault(__webpack_require__(39955));
|
||||
const tslib_1 = __webpack_require__(1860);
|
||||
const package_json_1 = tslib_1.__importDefault(__webpack_require__(9955));
|
||||
const core_1 = __webpack_require__(8704);
|
||||
const util_user_agent_node_1 = __webpack_require__(51656);
|
||||
const config_resolver_1 = __webpack_require__(39316);
|
||||
const hash_node_1 = __webpack_require__(5092);
|
||||
const middleware_retry_1 = __webpack_require__(19618);
|
||||
const node_config_provider_1 = __webpack_require__(55704);
|
||||
const node_http_handler_1 = __webpack_require__(61279);
|
||||
const smithy_client_1 = __webpack_require__(61411);
|
||||
const util_body_length_node_1 = __webpack_require__(13638);
|
||||
const util_defaults_mode_node_1 = __webpack_require__(15435);
|
||||
const util_retry_1 = __webpack_require__(15518);
|
||||
const util_user_agent_node_1 = __webpack_require__(1656);
|
||||
const config_resolver_1 = __webpack_require__(9316);
|
||||
const hash_node_1 = __webpack_require__(2711);
|
||||
const middleware_retry_1 = __webpack_require__(9618);
|
||||
const node_config_provider_1 = __webpack_require__(5704);
|
||||
const node_http_handler_1 = __webpack_require__(1279);
|
||||
const smithy_client_1 = __webpack_require__(1411);
|
||||
const util_body_length_node_1 = __webpack_require__(3638);
|
||||
const util_defaults_mode_node_1 = __webpack_require__(673);
|
||||
const util_retry_1 = __webpack_require__(5518);
|
||||
const runtimeConfig_shared_1 = __webpack_require__(1546);
|
||||
const getRuntimeConfig = (config) => {
|
||||
(0, smithy_client_1.emitWarningIfUnsupportedVersion)(process.version);
|
||||
@@ -679,14 +679,14 @@ exports.getRuntimeConfig = getRuntimeConfig;
|
||||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||
exports.getRuntimeConfig = void 0;
|
||||
const core_1 = __webpack_require__(8704);
|
||||
const protocols_1 = __webpack_require__(37288);
|
||||
const core_2 = __webpack_require__(90402);
|
||||
const smithy_client_1 = __webpack_require__(61411);
|
||||
const url_parser_1 = __webpack_require__(14494);
|
||||
const util_base64_1 = __webpack_require__(68385);
|
||||
const util_utf8_1 = __webpack_require__(71577);
|
||||
const protocols_1 = __webpack_require__(7288);
|
||||
const core_2 = __webpack_require__(402);
|
||||
const smithy_client_1 = __webpack_require__(1411);
|
||||
const url_parser_1 = __webpack_require__(4494);
|
||||
const util_base64_1 = __webpack_require__(8385);
|
||||
const util_utf8_1 = __webpack_require__(1577);
|
||||
const httpAuthSchemeProvider_1 = __webpack_require__(8396);
|
||||
const endpointResolver_1 = __webpack_require__(90546);
|
||||
const endpointResolver_1 = __webpack_require__(546);
|
||||
const getRuntimeConfig = (config) => {
|
||||
return {
|
||||
apiVersion: "2019-06-10",
|
||||
@@ -726,7 +726,7 @@ exports.getRuntimeConfig = getRuntimeConfig;
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 39955:
|
||||
/***/ 9955:
|
||||
/***/ ((module) => {
|
||||
|
||||
module.exports = /*#__PURE__*/JSON.parse('{"name":"@aws-sdk/nested-clients","version":"3.975.0","description":"Nested clients for AWS SDK packages.","main":"./dist-cjs/index.js","module":"./dist-es/index.js","types":"./dist-types/index.d.ts","scripts":{"build":"yarn lint && concurrently \'yarn:build:types\' \'yarn:build:es\' && yarn build:cjs","build:cjs":"node ../../scripts/compilation/inline nested-clients","build:es":"tsc -p tsconfig.es.json","build:include:deps":"yarn g:turbo run build -F=\\"$npm_package_name\\"","build:types":"tsc -p tsconfig.types.json","build:types:downlevel":"downlevel-dts dist-types dist-types/ts3.4","clean":"premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo","lint":"node ../../scripts/validation/submodules-linter.js --pkg nested-clients","test":"yarn g:vitest run","test:watch":"yarn g:vitest watch"},"engines":{"node":">=20.0.0"},"sideEffects":false,"author":{"name":"AWS SDK for JavaScript Team","url":"https://aws.amazon.com/javascript/"},"license":"Apache-2.0","dependencies":{"@aws-crypto/sha256-browser":"5.2.0","@aws-crypto/sha256-js":"5.2.0","@aws-sdk/core":"^3.973.1","@aws-sdk/middleware-host-header":"^3.972.1","@aws-sdk/middleware-logger":"^3.972.1","@aws-sdk/middleware-recursion-detection":"^3.972.1","@aws-sdk/middleware-user-agent":"^3.972.2","@aws-sdk/region-config-resolver":"^3.972.1","@aws-sdk/types":"^3.973.0","@aws-sdk/util-endpoints":"3.972.0","@aws-sdk/util-user-agent-browser":"^3.972.1","@aws-sdk/util-user-agent-node":"^3.972.1","@smithy/config-resolver":"^4.4.6","@smithy/core":"^3.21.1","@smithy/fetch-http-handler":"^5.3.9","@smithy/hash-node":"^4.2.8","@smithy/invalid-dependency":"^4.2.8","@smithy/middleware-content-length":"^4.2.8","@smithy/middleware-endpoint":"^4.4.11","@smithy/middleware-retry":"^4.4.27","@smithy/middleware-serde":"^4.2.9","@smithy/middleware-stack":"^4.2.8","@smithy/node-config-provider":"^4.3.8","@smithy/node-http-handler":"^4.4.8","@smithy/protocol-http":"^5.3.8","@smithy/smithy-client":"^4.10.12","@smithy/types":"^4.12.0","@smithy/url-parser":"^4.2.8","@smithy/util-base64":"^4.3.0","@smithy/util-body-length-browser":"^4.2.0","@smithy/util-body-length-node":"^4.2.1","@smithy/util-defaults-mode-browser":"^4.3.26","@smithy/util-defaults-mode-node":"^4.2.29","@smithy/util-endpoints":"^3.2.8","@smithy/util-middleware":"^4.2.8","@smithy/util-retry":"^4.2.8","@smithy/util-utf8":"^4.2.0","tslib":"^2.6.2"},"devDependencies":{"concurrently":"7.0.0","downlevel-dts":"0.10.1","premove":"4.0.0","typescript":"~5.8.3"},"typesVersions":{"<4.0":{"dist-types/*":["dist-types/ts3.4/*"]}},"files":["./signin.d.ts","./signin.js","./sso-oidc.d.ts","./sso-oidc.js","./sts.d.ts","./sts.js","dist-*/**"],"browser":{"./dist-es/submodules/signin/runtimeConfig":"./dist-es/submodules/signin/runtimeConfig.browser","./dist-es/submodules/sso-oidc/runtimeConfig":"./dist-es/submodules/sso-oidc/runtimeConfig.browser","./dist-es/submodules/sts/runtimeConfig":"./dist-es/submodules/sts/runtimeConfig.browser"},"react-native":{},"homepage":"https://github.com/aws/aws-sdk-js-v3/tree/main/packages/nested-clients","repository":{"type":"git","url":"https://github.com/aws/aws-sdk-js-v3.git","directory":"packages/nested-clients"},"exports":{"./package.json":"./package.json","./sso-oidc":{"types":"./dist-types/submodules/sso-oidc/index.d.ts","module":"./dist-es/submodules/sso-oidc/index.js","node":"./dist-cjs/submodules/sso-oidc/index.js","import":"./dist-es/submodules/sso-oidc/index.js","require":"./dist-cjs/submodules/sso-oidc/index.js"},"./sts":{"types":"./dist-types/submodules/sts/index.d.ts","module":"./dist-es/submodules/sts/index.js","node":"./dist-cjs/submodules/sts/index.js","import":"./dist-es/submodules/sts/index.js","require":"./dist-cjs/submodules/sts/index.js"},"./signin":{"types":"./dist-types/submodules/signin/index.d.ts","module":"./dist-es/submodules/signin/index.js","node":"./dist-cjs/submodules/signin/index.js","import":"./dist-es/submodules/signin/index.js","require":"./dist-cjs/submodules/signin/index.js"}}}');
|
||||
|
||||
+7
-7
@@ -2,18 +2,18 @@ export const id = 566;
|
||||
export const ids = [566];
|
||||
export const modules = {
|
||||
|
||||
/***/ 40566:
|
||||
/***/ 566:
|
||||
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
||||
|
||||
var __webpack_unused_export__;
|
||||
|
||||
|
||||
var propertyProvider = __webpack_require__(71238);
|
||||
var url = __webpack_require__(87016);
|
||||
var buffer = __webpack_require__(20181);
|
||||
var http = __webpack_require__(58611);
|
||||
var nodeConfigProvider = __webpack_require__(55704);
|
||||
var urlParser = __webpack_require__(14494);
|
||||
var propertyProvider = __webpack_require__(8857);
|
||||
var url = __webpack_require__(7016);
|
||||
var buffer = __webpack_require__(181);
|
||||
var http = __webpack_require__(8611);
|
||||
var nodeConfigProvider = __webpack_require__(5704);
|
||||
var urlParser = __webpack_require__(4494);
|
||||
|
||||
function httpRequest(options) {
|
||||
return new Promise((resolve, reject) => {
|
||||
|
||||
+2
-2
@@ -2,12 +2,12 @@ export const id = 579;
|
||||
export const ids = [579];
|
||||
export const modules = {
|
||||
|
||||
/***/ 56579:
|
||||
/***/ 6579:
|
||||
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
||||
|
||||
|
||||
|
||||
var utilUtf8 = __webpack_require__(71577);
|
||||
var utilUtf8 = __webpack_require__(1577);
|
||||
|
||||
class EventStreamSerde {
|
||||
marshaller;
|
||||
|
||||
+15
-15
@@ -8,7 +8,7 @@ export const modules = {
|
||||
|
||||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||
exports.checkUrl = void 0;
|
||||
const property_provider_1 = __webpack_require__(71238);
|
||||
const property_provider_1 = __webpack_require__(8857);
|
||||
const LOOPBACK_CIDR_IPv4 = "127.0.0.0/8";
|
||||
const LOOPBACK_CIDR_IPv6 = "::1/128";
|
||||
const ECS_CONTAINER_HOST = "169.254.170.2";
|
||||
@@ -55,20 +55,20 @@ exports.checkUrl = checkUrl;
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 68712:
|
||||
/***/ 8712:
|
||||
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
||||
|
||||
|
||||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||
exports.fromHttp = void 0;
|
||||
const tslib_1 = __webpack_require__(61860);
|
||||
const tslib_1 = __webpack_require__(1860);
|
||||
const client_1 = __webpack_require__(5152);
|
||||
const node_http_handler_1 = __webpack_require__(61279);
|
||||
const property_provider_1 = __webpack_require__(71238);
|
||||
const promises_1 = tslib_1.__importDefault(__webpack_require__(91943));
|
||||
const node_http_handler_1 = __webpack_require__(1279);
|
||||
const property_provider_1 = __webpack_require__(8857);
|
||||
const promises_1 = tslib_1.__importDefault(__webpack_require__(1943));
|
||||
const checkUrl_1 = __webpack_require__(1509);
|
||||
const requestHelpers_1 = __webpack_require__(78914);
|
||||
const retry_wrapper_1 = __webpack_require__(51122);
|
||||
const requestHelpers_1 = __webpack_require__(6533);
|
||||
const retry_wrapper_1 = __webpack_require__(1122);
|
||||
const AWS_CONTAINER_CREDENTIALS_RELATIVE_URI = "AWS_CONTAINER_CREDENTIALS_RELATIVE_URI";
|
||||
const DEFAULT_LINK_LOCAL_HOST = "http://169.254.170.2";
|
||||
const AWS_CONTAINER_CREDENTIALS_FULL_URI = "AWS_CONTAINER_CREDENTIALS_FULL_URI";
|
||||
@@ -132,16 +132,16 @@ exports.fromHttp = fromHttp;
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 78914:
|
||||
/***/ 6533:
|
||||
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
||||
|
||||
|
||||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||
exports.createGetRequest = createGetRequest;
|
||||
exports.getCredentials = getCredentials;
|
||||
const property_provider_1 = __webpack_require__(71238);
|
||||
const protocol_http_1 = __webpack_require__(72356);
|
||||
const smithy_client_1 = __webpack_require__(61411);
|
||||
const property_provider_1 = __webpack_require__(8857);
|
||||
const protocol_http_1 = __webpack_require__(2356);
|
||||
const smithy_client_1 = __webpack_require__(1411);
|
||||
const util_stream_1 = __webpack_require__(4252);
|
||||
function createGetRequest(url) {
|
||||
return new protocol_http_1.HttpRequest({
|
||||
@@ -192,7 +192,7 @@ async function getCredentials(response, logger) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 51122:
|
||||
/***/ 1122:
|
||||
/***/ ((__unused_webpack_module, exports) => {
|
||||
|
||||
|
||||
@@ -216,14 +216,14 @@ exports.retryWrapper = retryWrapper;
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 98605:
|
||||
/***/ 8605:
|
||||
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
||||
|
||||
var __webpack_unused_export__;
|
||||
|
||||
__webpack_unused_export__ = ({ value: true });
|
||||
exports.fromHttp = void 0;
|
||||
var fromHttp_1 = __webpack_require__(68712);
|
||||
var fromHttp_1 = __webpack_require__(8712);
|
||||
Object.defineProperty(exports, "fromHttp", ({ enumerable: true, get: function () { return fromHttp_1.fromHttp; } }));
|
||||
|
||||
|
||||
|
||||
+45
-45
@@ -2,14 +2,14 @@ export const id = 762;
|
||||
export const ids = [762];
|
||||
export const modules = {
|
||||
|
||||
/***/ 77709:
|
||||
/***/ 7709:
|
||||
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
||||
|
||||
|
||||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||
exports.resolveHttpAuthSchemeConfig = exports.defaultSigninHttpAuthSchemeProvider = exports.defaultSigninHttpAuthSchemeParametersProvider = void 0;
|
||||
const core_1 = __webpack_require__(8704);
|
||||
const util_middleware_1 = __webpack_require__(76324);
|
||||
const util_middleware_1 = __webpack_require__(6324);
|
||||
const defaultSigninHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
||||
return {
|
||||
operation: (0, util_middleware_1.getSmithyContext)(context).operation,
|
||||
@@ -65,15 +65,15 @@ exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 12547:
|
||||
/***/ 2547:
|
||||
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
||||
|
||||
|
||||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||
exports.defaultEndpointResolver = void 0;
|
||||
const util_endpoints_1 = __webpack_require__(83068);
|
||||
const util_endpoints_2 = __webpack_require__(79674);
|
||||
const ruleset_1 = __webpack_require__(36904);
|
||||
const util_endpoints_1 = __webpack_require__(3068);
|
||||
const util_endpoints_2 = __webpack_require__(9674);
|
||||
const ruleset_1 = __webpack_require__(6904);
|
||||
const cache = new util_endpoints_2.EndpointCache({
|
||||
size: 50,
|
||||
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
|
||||
@@ -90,7 +90,7 @@ util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunct
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 36904:
|
||||
/***/ 6904:
|
||||
/***/ ((__unused_webpack_module, exports) => {
|
||||
|
||||
|
||||
@@ -104,27 +104,27 @@ exports.ruleSet = _data;
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 99762:
|
||||
/***/ 9762:
|
||||
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
||||
|
||||
var __webpack_unused_export__;
|
||||
|
||||
|
||||
var middlewareHostHeader = __webpack_require__(30209);
|
||||
var middlewareLogger = __webpack_require__(85242);
|
||||
var middlewareRecursionDetection = __webpack_require__(81568);
|
||||
var middlewareUserAgent = __webpack_require__(32959);
|
||||
var configResolver = __webpack_require__(39316);
|
||||
var core = __webpack_require__(90402);
|
||||
var schema = __webpack_require__(26890);
|
||||
var middlewareContentLength = __webpack_require__(47212);
|
||||
var middlewareEndpoint = __webpack_require__(40099);
|
||||
var middlewareRetry = __webpack_require__(19618);
|
||||
var smithyClient = __webpack_require__(61411);
|
||||
var httpAuthSchemeProvider = __webpack_require__(77709);
|
||||
var runtimeConfig = __webpack_require__(455);
|
||||
var regionConfigResolver = __webpack_require__(36463);
|
||||
var protocolHttp = __webpack_require__(72356);
|
||||
var middlewareHostHeader = __webpack_require__(2590);
|
||||
var middlewareLogger = __webpack_require__(5242);
|
||||
var middlewareRecursionDetection = __webpack_require__(1568);
|
||||
var middlewareUserAgent = __webpack_require__(2959);
|
||||
var configResolver = __webpack_require__(9316);
|
||||
var core = __webpack_require__(402);
|
||||
var schema = __webpack_require__(6890);
|
||||
var middlewareContentLength = __webpack_require__(7212);
|
||||
var middlewareEndpoint = __webpack_require__(99);
|
||||
var middlewareRetry = __webpack_require__(9618);
|
||||
var smithyClient = __webpack_require__(1411);
|
||||
var httpAuthSchemeProvider = __webpack_require__(7709);
|
||||
var runtimeConfig = __webpack_require__(2836);
|
||||
var regionConfigResolver = __webpack_require__(6463);
|
||||
var protocolHttp = __webpack_require__(2356);
|
||||
|
||||
const resolveClientEndpointParameters = (options) => {
|
||||
return Object.assign(options, {
|
||||
@@ -461,25 +461,25 @@ __webpack_unused_export__ = ValidationException$;
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 455:
|
||||
/***/ 2836:
|
||||
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
||||
|
||||
|
||||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||
exports.getRuntimeConfig = void 0;
|
||||
const tslib_1 = __webpack_require__(61860);
|
||||
const package_json_1 = tslib_1.__importDefault(__webpack_require__(39955));
|
||||
const tslib_1 = __webpack_require__(1860);
|
||||
const package_json_1 = tslib_1.__importDefault(__webpack_require__(9955));
|
||||
const core_1 = __webpack_require__(8704);
|
||||
const util_user_agent_node_1 = __webpack_require__(51656);
|
||||
const config_resolver_1 = __webpack_require__(39316);
|
||||
const hash_node_1 = __webpack_require__(5092);
|
||||
const middleware_retry_1 = __webpack_require__(19618);
|
||||
const node_config_provider_1 = __webpack_require__(55704);
|
||||
const node_http_handler_1 = __webpack_require__(61279);
|
||||
const smithy_client_1 = __webpack_require__(61411);
|
||||
const util_body_length_node_1 = __webpack_require__(13638);
|
||||
const util_defaults_mode_node_1 = __webpack_require__(15435);
|
||||
const util_retry_1 = __webpack_require__(15518);
|
||||
const util_user_agent_node_1 = __webpack_require__(1656);
|
||||
const config_resolver_1 = __webpack_require__(9316);
|
||||
const hash_node_1 = __webpack_require__(2711);
|
||||
const middleware_retry_1 = __webpack_require__(9618);
|
||||
const node_config_provider_1 = __webpack_require__(5704);
|
||||
const node_http_handler_1 = __webpack_require__(1279);
|
||||
const smithy_client_1 = __webpack_require__(1411);
|
||||
const util_body_length_node_1 = __webpack_require__(3638);
|
||||
const util_defaults_mode_node_1 = __webpack_require__(673);
|
||||
const util_retry_1 = __webpack_require__(5518);
|
||||
const runtimeConfig_shared_1 = __webpack_require__(357);
|
||||
const getRuntimeConfig = (config) => {
|
||||
(0, smithy_client_1.emitWarningIfUnsupportedVersion)(process.version);
|
||||
@@ -528,14 +528,14 @@ exports.getRuntimeConfig = getRuntimeConfig;
|
||||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||
exports.getRuntimeConfig = void 0;
|
||||
const core_1 = __webpack_require__(8704);
|
||||
const protocols_1 = __webpack_require__(37288);
|
||||
const core_2 = __webpack_require__(90402);
|
||||
const smithy_client_1 = __webpack_require__(61411);
|
||||
const url_parser_1 = __webpack_require__(14494);
|
||||
const util_base64_1 = __webpack_require__(68385);
|
||||
const util_utf8_1 = __webpack_require__(71577);
|
||||
const httpAuthSchemeProvider_1 = __webpack_require__(77709);
|
||||
const endpointResolver_1 = __webpack_require__(12547);
|
||||
const protocols_1 = __webpack_require__(7288);
|
||||
const core_2 = __webpack_require__(402);
|
||||
const smithy_client_1 = __webpack_require__(1411);
|
||||
const url_parser_1 = __webpack_require__(4494);
|
||||
const util_base64_1 = __webpack_require__(8385);
|
||||
const util_utf8_1 = __webpack_require__(1577);
|
||||
const httpAuthSchemeProvider_1 = __webpack_require__(7709);
|
||||
const endpointResolver_1 = __webpack_require__(2547);
|
||||
const getRuntimeConfig = (config) => {
|
||||
return {
|
||||
apiVersion: "2023-01-01",
|
||||
@@ -575,7 +575,7 @@ exports.getRuntimeConfig = getRuntimeConfig;
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 39955:
|
||||
/***/ 9955:
|
||||
/***/ ((module) => {
|
||||
|
||||
module.exports = /*#__PURE__*/JSON.parse('{"name":"@aws-sdk/nested-clients","version":"3.975.0","description":"Nested clients for AWS SDK packages.","main":"./dist-cjs/index.js","module":"./dist-es/index.js","types":"./dist-types/index.d.ts","scripts":{"build":"yarn lint && concurrently \'yarn:build:types\' \'yarn:build:es\' && yarn build:cjs","build:cjs":"node ../../scripts/compilation/inline nested-clients","build:es":"tsc -p tsconfig.es.json","build:include:deps":"yarn g:turbo run build -F=\\"$npm_package_name\\"","build:types":"tsc -p tsconfig.types.json","build:types:downlevel":"downlevel-dts dist-types dist-types/ts3.4","clean":"premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo","lint":"node ../../scripts/validation/submodules-linter.js --pkg nested-clients","test":"yarn g:vitest run","test:watch":"yarn g:vitest watch"},"engines":{"node":">=20.0.0"},"sideEffects":false,"author":{"name":"AWS SDK for JavaScript Team","url":"https://aws.amazon.com/javascript/"},"license":"Apache-2.0","dependencies":{"@aws-crypto/sha256-browser":"5.2.0","@aws-crypto/sha256-js":"5.2.0","@aws-sdk/core":"^3.973.1","@aws-sdk/middleware-host-header":"^3.972.1","@aws-sdk/middleware-logger":"^3.972.1","@aws-sdk/middleware-recursion-detection":"^3.972.1","@aws-sdk/middleware-user-agent":"^3.972.2","@aws-sdk/region-config-resolver":"^3.972.1","@aws-sdk/types":"^3.973.0","@aws-sdk/util-endpoints":"3.972.0","@aws-sdk/util-user-agent-browser":"^3.972.1","@aws-sdk/util-user-agent-node":"^3.972.1","@smithy/config-resolver":"^4.4.6","@smithy/core":"^3.21.1","@smithy/fetch-http-handler":"^5.3.9","@smithy/hash-node":"^4.2.8","@smithy/invalid-dependency":"^4.2.8","@smithy/middleware-content-length":"^4.2.8","@smithy/middleware-endpoint":"^4.4.11","@smithy/middleware-retry":"^4.4.27","@smithy/middleware-serde":"^4.2.9","@smithy/middleware-stack":"^4.2.8","@smithy/node-config-provider":"^4.3.8","@smithy/node-http-handler":"^4.4.8","@smithy/protocol-http":"^5.3.8","@smithy/smithy-client":"^4.10.12","@smithy/types":"^4.12.0","@smithy/url-parser":"^4.2.8","@smithy/util-base64":"^4.3.0","@smithy/util-body-length-browser":"^4.2.0","@smithy/util-body-length-node":"^4.2.1","@smithy/util-defaults-mode-browser":"^4.3.26","@smithy/util-defaults-mode-node":"^4.2.29","@smithy/util-endpoints":"^3.2.8","@smithy/util-middleware":"^4.2.8","@smithy/util-retry":"^4.2.8","@smithy/util-utf8":"^4.2.0","tslib":"^2.6.2"},"devDependencies":{"concurrently":"7.0.0","downlevel-dts":"0.10.1","premove":"4.0.0","typescript":"~5.8.3"},"typesVersions":{"<4.0":{"dist-types/*":["dist-types/ts3.4/*"]}},"files":["./signin.d.ts","./signin.js","./sso-oidc.d.ts","./sso-oidc.js","./sts.d.ts","./sts.js","dist-*/**"],"browser":{"./dist-es/submodules/signin/runtimeConfig":"./dist-es/submodules/signin/runtimeConfig.browser","./dist-es/submodules/sso-oidc/runtimeConfig":"./dist-es/submodules/sso-oidc/runtimeConfig.browser","./dist-es/submodules/sts/runtimeConfig":"./dist-es/submodules/sts/runtimeConfig.browser"},"react-native":{},"homepage":"https://github.com/aws/aws-sdk-js-v3/tree/main/packages/nested-clients","repository":{"type":"git","url":"https://github.com/aws/aws-sdk-js-v3.git","directory":"packages/nested-clients"},"exports":{"./package.json":"./package.json","./sso-oidc":{"types":"./dist-types/submodules/sso-oidc/index.d.ts","module":"./dist-es/submodules/sso-oidc/index.js","node":"./dist-cjs/submodules/sso-oidc/index.js","import":"./dist-es/submodules/sso-oidc/index.js","require":"./dist-cjs/submodules/sso-oidc/index.js"},"./sts":{"types":"./dist-types/submodules/sts/index.d.ts","module":"./dist-es/submodules/sts/index.js","node":"./dist-cjs/submodules/sts/index.js","import":"./dist-es/submodules/sts/index.js","require":"./dist-cjs/submodules/sts/index.js"},"./signin":{"types":"./dist-types/submodules/signin/index.d.ts","module":"./dist-es/submodules/signin/index.js","node":"./dist-cjs/submodules/signin/index.js","import":"./dist-es/submodules/signin/index.js","require":"./dist-cjs/submodules/signin/index.js"}}}');
|
||||
|
||||
+20
-20
@@ -2,32 +2,32 @@ export const id = 869;
|
||||
export const ids = [869];
|
||||
export const modules = {
|
||||
|
||||
/***/ 75869:
|
||||
/***/ 5869:
|
||||
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
||||
|
||||
|
||||
|
||||
var sharedIniFileLoader = __webpack_require__(94964);
|
||||
var propertyProvider = __webpack_require__(71238);
|
||||
var sharedIniFileLoader = __webpack_require__(4964);
|
||||
var propertyProvider = __webpack_require__(8857);
|
||||
var client = __webpack_require__(5152);
|
||||
var credentialProviderLogin = __webpack_require__(84072);
|
||||
var credentialProviderLogin = __webpack_require__(4072);
|
||||
|
||||
const resolveCredentialSource = (credentialSource, profileName, logger) => {
|
||||
const sourceProvidersMap = {
|
||||
EcsContainer: async (options) => {
|
||||
const { fromHttp } = await __webpack_require__.e(/* import() */ 605).then(__webpack_require__.bind(__webpack_require__, 98605));
|
||||
const { fromContainerMetadata } = await __webpack_require__.e(/* import() */ 566).then(__webpack_require__.t.bind(__webpack_require__, 40566, 19));
|
||||
const { fromHttp } = await __webpack_require__.e(/* import() */ 605).then(__webpack_require__.bind(__webpack_require__, 8605));
|
||||
const { fromContainerMetadata } = await __webpack_require__.e(/* import() */ 566).then(__webpack_require__.t.bind(__webpack_require__, 566, 19));
|
||||
logger?.debug("@aws-sdk/credential-provider-ini - credential_source is EcsContainer");
|
||||
return async () => propertyProvider.chain(fromHttp(options ?? {}), fromContainerMetadata(options))().then(setNamedProvider);
|
||||
},
|
||||
Ec2InstanceMetadata: async (options) => {
|
||||
logger?.debug("@aws-sdk/credential-provider-ini - credential_source is Ec2InstanceMetadata");
|
||||
const { fromInstanceMetadata } = await __webpack_require__.e(/* import() */ 566).then(__webpack_require__.t.bind(__webpack_require__, 40566, 19));
|
||||
const { fromInstanceMetadata } = await __webpack_require__.e(/* import() */ 566).then(__webpack_require__.t.bind(__webpack_require__, 566, 19));
|
||||
return async () => fromInstanceMetadata(options)().then(setNamedProvider);
|
||||
},
|
||||
Environment: async (options) => {
|
||||
logger?.debug("@aws-sdk/credential-provider-ini - credential_source is Environment");
|
||||
const { fromEnv } = await Promise.resolve(/* import() */).then(__webpack_require__.t.bind(__webpack_require__, 55606, 19));
|
||||
const { fromEnv } = await Promise.resolve(/* import() */).then(__webpack_require__.t.bind(__webpack_require__, 5606, 19));
|
||||
return async () => fromEnv(options)().then(setNamedProvider);
|
||||
},
|
||||
};
|
||||
@@ -130,13 +130,13 @@ const resolveLoginCredentials = async (profileName, options, callerClientConfig)
|
||||
};
|
||||
|
||||
const isProcessProfile = (arg) => Boolean(arg) && typeof arg === "object" && typeof arg.credential_process === "string";
|
||||
const resolveProcessCredentials = async (options, profile) => __webpack_require__.e(/* import() */ 360).then(__webpack_require__.t.bind(__webpack_require__, 75360, 19)).then(({ fromProcess }) => fromProcess({
|
||||
const resolveProcessCredentials = async (options, profile) => __webpack_require__.e(/* import() */ 360).then(__webpack_require__.t.bind(__webpack_require__, 5360, 19)).then(({ fromProcess }) => fromProcess({
|
||||
...options,
|
||||
profile,
|
||||
})().then((creds) => client.setCredentialFeature(creds, "CREDENTIALS_PROFILE_PROCESS", "v")));
|
||||
|
||||
const resolveSsoCredentials = async (profile, profileData, options = {}, callerClientConfig) => {
|
||||
const { fromSSO } = await __webpack_require__.e(/* import() */ 998).then(__webpack_require__.t.bind(__webpack_require__, 60998, 19));
|
||||
const { fromSSO } = await __webpack_require__.e(/* import() */ 998).then(__webpack_require__.t.bind(__webpack_require__, 998, 19));
|
||||
return fromSSO({
|
||||
profile,
|
||||
logger: options.logger,
|
||||
@@ -183,7 +183,7 @@ const isWebIdentityProfile = (arg) => Boolean(arg) &&
|
||||
typeof arg.web_identity_token_file === "string" &&
|
||||
typeof arg.role_arn === "string" &&
|
||||
["undefined", "string"].indexOf(typeof arg.role_session_name) > -1;
|
||||
const resolveWebIdentityCredentials = async (profile, options, callerClientConfig) => __webpack_require__.e(/* import() */ 956).then(__webpack_require__.t.bind(__webpack_require__, 29956, 23)).then(({ fromTokenFile }) => fromTokenFile({
|
||||
const resolveWebIdentityCredentials = async (profile, options, callerClientConfig) => __webpack_require__.e(/* import() */ 956).then(__webpack_require__.t.bind(__webpack_require__, 9956, 23)).then(({ fromTokenFile }) => fromTokenFile({
|
||||
webIdentityTokenFile: profile.web_identity_token_file,
|
||||
roleArn: profile.role_arn,
|
||||
roleSessionName: profile.role_session_name,
|
||||
@@ -233,19 +233,19 @@ exports.fromIni = fromIni;
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 84072:
|
||||
/***/ 4072:
|
||||
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
||||
|
||||
|
||||
|
||||
var client = __webpack_require__(5152);
|
||||
var propertyProvider = __webpack_require__(71238);
|
||||
var sharedIniFileLoader = __webpack_require__(94964);
|
||||
var protocolHttp = __webpack_require__(72356);
|
||||
var node_crypto = __webpack_require__(77598);
|
||||
var node_fs = __webpack_require__(73024);
|
||||
var node_os = __webpack_require__(48161);
|
||||
var node_path = __webpack_require__(76760);
|
||||
var propertyProvider = __webpack_require__(8857);
|
||||
var sharedIniFileLoader = __webpack_require__(4964);
|
||||
var protocolHttp = __webpack_require__(2356);
|
||||
var node_crypto = __webpack_require__(7598);
|
||||
var node_fs = __webpack_require__(3024);
|
||||
var node_os = __webpack_require__(8161);
|
||||
var node_path = __webpack_require__(6760);
|
||||
|
||||
class LoginCredentialsFetcher {
|
||||
profileData;
|
||||
@@ -284,7 +284,7 @@ class LoginCredentialsFetcher {
|
||||
return this.profileData.login_session;
|
||||
}
|
||||
async refresh(token) {
|
||||
const { SigninClient, CreateOAuth2TokenCommand } = await __webpack_require__.e(/* import() */ 762).then(__webpack_require__.t.bind(__webpack_require__, 99762, 19));
|
||||
const { SigninClient, CreateOAuth2TokenCommand } = await __webpack_require__.e(/* import() */ 762).then(__webpack_require__.t.bind(__webpack_require__, 9762, 19));
|
||||
const { logger, userAgentAppId } = this.callerClientConfig ?? {};
|
||||
const isH2 = (requestHandler) => {
|
||||
return requestHandler?.metadata?.handlerProtocol === "h2";
|
||||
|
||||
+71
-71
@@ -2,17 +2,17 @@ export const id = 956;
|
||||
export const ids = [956,136];
|
||||
export const modules = {
|
||||
|
||||
/***/ 88079:
|
||||
/***/ 8079:
|
||||
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
||||
|
||||
|
||||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||
exports.fromTokenFile = void 0;
|
||||
const client_1 = __webpack_require__(5152);
|
||||
const property_provider_1 = __webpack_require__(71238);
|
||||
const shared_ini_file_loader_1 = __webpack_require__(94964);
|
||||
const fs_1 = __webpack_require__(79896);
|
||||
const fromWebToken_1 = __webpack_require__(34453);
|
||||
const property_provider_1 = __webpack_require__(8857);
|
||||
const shared_ini_file_loader_1 = __webpack_require__(4964);
|
||||
const fs_1 = __webpack_require__(9896);
|
||||
const fromWebToken_1 = __webpack_require__(4453);
|
||||
const ENV_TOKEN_FILE = "AWS_WEB_IDENTITY_TOKEN_FILE";
|
||||
const ENV_ROLE_ARN = "AWS_ROLE_ARN";
|
||||
const ENV_ROLE_SESSION_NAME = "AWS_ROLE_SESSION_NAME";
|
||||
@@ -43,7 +43,7 @@ exports.fromTokenFile = fromTokenFile;
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 34453:
|
||||
/***/ 4453:
|
||||
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
||||
|
||||
|
||||
@@ -112,13 +112,13 @@ exports.fromWebToken = fromWebToken;
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 29956:
|
||||
/***/ 9956:
|
||||
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
||||
|
||||
|
||||
|
||||
var fromTokenFile = __webpack_require__(88079);
|
||||
var fromWebToken = __webpack_require__(34453);
|
||||
var fromTokenFile = __webpack_require__(8079);
|
||||
var fromWebToken = __webpack_require__(4453);
|
||||
|
||||
|
||||
|
||||
@@ -138,28 +138,28 @@ Object.keys(fromWebToken).forEach(function (k) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 63723:
|
||||
/***/ 3723:
|
||||
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
||||
|
||||
|
||||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||
exports.STSClient = exports.__Client = void 0;
|
||||
const middleware_host_header_1 = __webpack_require__(30209);
|
||||
const middleware_logger_1 = __webpack_require__(85242);
|
||||
const middleware_recursion_detection_1 = __webpack_require__(81568);
|
||||
const middleware_user_agent_1 = __webpack_require__(32959);
|
||||
const config_resolver_1 = __webpack_require__(39316);
|
||||
const core_1 = __webpack_require__(90402);
|
||||
const schema_1 = __webpack_require__(26890);
|
||||
const middleware_content_length_1 = __webpack_require__(47212);
|
||||
const middleware_endpoint_1 = __webpack_require__(40099);
|
||||
const middleware_retry_1 = __webpack_require__(19618);
|
||||
const smithy_client_1 = __webpack_require__(61411);
|
||||
const middleware_host_header_1 = __webpack_require__(2590);
|
||||
const middleware_logger_1 = __webpack_require__(5242);
|
||||
const middleware_recursion_detection_1 = __webpack_require__(1568);
|
||||
const middleware_user_agent_1 = __webpack_require__(2959);
|
||||
const config_resolver_1 = __webpack_require__(9316);
|
||||
const core_1 = __webpack_require__(402);
|
||||
const schema_1 = __webpack_require__(6890);
|
||||
const middleware_content_length_1 = __webpack_require__(7212);
|
||||
const middleware_endpoint_1 = __webpack_require__(99);
|
||||
const middleware_retry_1 = __webpack_require__(9618);
|
||||
const smithy_client_1 = __webpack_require__(1411);
|
||||
Object.defineProperty(exports, "__Client", ({ enumerable: true, get: function () { return smithy_client_1.Client; } }));
|
||||
const httpAuthSchemeProvider_1 = __webpack_require__(27851);
|
||||
const EndpointParameters_1 = __webpack_require__(76811);
|
||||
const runtimeConfig_1 = __webpack_require__(36578);
|
||||
const runtimeExtensions_1 = __webpack_require__(37742);
|
||||
const httpAuthSchemeProvider_1 = __webpack_require__(7851);
|
||||
const EndpointParameters_1 = __webpack_require__(6811);
|
||||
const runtimeConfig_1 = __webpack_require__(6578);
|
||||
const runtimeExtensions_1 = __webpack_require__(7742);
|
||||
class STSClient extends smithy_client_1.Client {
|
||||
config;
|
||||
constructor(...[configuration]) {
|
||||
@@ -199,7 +199,7 @@ exports.STSClient = STSClient;
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 34532:
|
||||
/***/ 4532:
|
||||
/***/ ((__unused_webpack_module, exports) => {
|
||||
|
||||
|
||||
@@ -249,15 +249,15 @@ exports.resolveHttpAuthRuntimeConfig = resolveHttpAuthRuntimeConfig;
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 27851:
|
||||
/***/ 7851:
|
||||
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
||||
|
||||
|
||||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||
exports.resolveHttpAuthSchemeConfig = exports.resolveStsAuthConfig = exports.defaultSTSHttpAuthSchemeProvider = exports.defaultSTSHttpAuthSchemeParametersProvider = void 0;
|
||||
const core_1 = __webpack_require__(8704);
|
||||
const util_middleware_1 = __webpack_require__(76324);
|
||||
const STSClient_1 = __webpack_require__(63723);
|
||||
const util_middleware_1 = __webpack_require__(6324);
|
||||
const STSClient_1 = __webpack_require__(3723);
|
||||
const defaultSTSHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
||||
return {
|
||||
operation: (0, util_middleware_1.getSmithyContext)(context).operation,
|
||||
@@ -318,7 +318,7 @@ exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 76811:
|
||||
/***/ 6811:
|
||||
/***/ ((__unused_webpack_module, exports) => {
|
||||
|
||||
|
||||
@@ -344,15 +344,15 @@ exports.commonParams = {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 59765:
|
||||
/***/ 9765:
|
||||
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
||||
|
||||
|
||||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||
exports.defaultEndpointResolver = void 0;
|
||||
const util_endpoints_1 = __webpack_require__(83068);
|
||||
const util_endpoints_2 = __webpack_require__(79674);
|
||||
const ruleset_1 = __webpack_require__(31670);
|
||||
const util_endpoints_1 = __webpack_require__(3068);
|
||||
const util_endpoints_2 = __webpack_require__(9674);
|
||||
const ruleset_1 = __webpack_require__(1670);
|
||||
const cache = new util_endpoints_2.EndpointCache({
|
||||
size: 50,
|
||||
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS", "UseGlobalEndpoint"],
|
||||
@@ -369,7 +369,7 @@ util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunct
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 31670:
|
||||
/***/ 1670:
|
||||
/***/ ((__unused_webpack_module, exports) => {
|
||||
|
||||
|
||||
@@ -388,13 +388,13 @@ exports.ruleSet = _data;
|
||||
|
||||
|
||||
|
||||
var STSClient = __webpack_require__(63723);
|
||||
var smithyClient = __webpack_require__(61411);
|
||||
var middlewareEndpoint = __webpack_require__(40099);
|
||||
var EndpointParameters = __webpack_require__(76811);
|
||||
var schema = __webpack_require__(26890);
|
||||
var STSClient = __webpack_require__(3723);
|
||||
var smithyClient = __webpack_require__(1411);
|
||||
var middlewareEndpoint = __webpack_require__(99);
|
||||
var EndpointParameters = __webpack_require__(6811);
|
||||
var schema = __webpack_require__(6890);
|
||||
var client = __webpack_require__(5152);
|
||||
var regionConfigResolver = __webpack_require__(36463);
|
||||
var regionConfigResolver = __webpack_require__(6463);
|
||||
|
||||
class STSServiceException extends smithyClient.ServiceException {
|
||||
constructor(options) {
|
||||
@@ -873,27 +873,27 @@ Object.keys(STSClient).forEach(function (k) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 36578:
|
||||
/***/ 6578:
|
||||
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
||||
|
||||
|
||||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||
exports.getRuntimeConfig = void 0;
|
||||
const tslib_1 = __webpack_require__(61860);
|
||||
const package_json_1 = tslib_1.__importDefault(__webpack_require__(39955));
|
||||
const tslib_1 = __webpack_require__(1860);
|
||||
const package_json_1 = tslib_1.__importDefault(__webpack_require__(9955));
|
||||
const core_1 = __webpack_require__(8704);
|
||||
const util_user_agent_node_1 = __webpack_require__(51656);
|
||||
const config_resolver_1 = __webpack_require__(39316);
|
||||
const core_2 = __webpack_require__(90402);
|
||||
const hash_node_1 = __webpack_require__(5092);
|
||||
const middleware_retry_1 = __webpack_require__(19618);
|
||||
const node_config_provider_1 = __webpack_require__(55704);
|
||||
const node_http_handler_1 = __webpack_require__(61279);
|
||||
const smithy_client_1 = __webpack_require__(61411);
|
||||
const util_body_length_node_1 = __webpack_require__(13638);
|
||||
const util_defaults_mode_node_1 = __webpack_require__(15435);
|
||||
const util_retry_1 = __webpack_require__(15518);
|
||||
const runtimeConfig_shared_1 = __webpack_require__(24443);
|
||||
const util_user_agent_node_1 = __webpack_require__(1656);
|
||||
const config_resolver_1 = __webpack_require__(9316);
|
||||
const core_2 = __webpack_require__(402);
|
||||
const hash_node_1 = __webpack_require__(2711);
|
||||
const middleware_retry_1 = __webpack_require__(9618);
|
||||
const node_config_provider_1 = __webpack_require__(5704);
|
||||
const node_http_handler_1 = __webpack_require__(1279);
|
||||
const smithy_client_1 = __webpack_require__(1411);
|
||||
const util_body_length_node_1 = __webpack_require__(3638);
|
||||
const util_defaults_mode_node_1 = __webpack_require__(673);
|
||||
const util_retry_1 = __webpack_require__(5518);
|
||||
const runtimeConfig_shared_1 = __webpack_require__(4443);
|
||||
const getRuntimeConfig = (config) => {
|
||||
(0, smithy_client_1.emitWarningIfUnsupportedVersion)(process.version);
|
||||
const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
|
||||
@@ -947,21 +947,21 @@ exports.getRuntimeConfig = getRuntimeConfig;
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 24443:
|
||||
/***/ 4443:
|
||||
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
||||
|
||||
|
||||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||
exports.getRuntimeConfig = void 0;
|
||||
const core_1 = __webpack_require__(8704);
|
||||
const protocols_1 = __webpack_require__(37288);
|
||||
const core_2 = __webpack_require__(90402);
|
||||
const smithy_client_1 = __webpack_require__(61411);
|
||||
const url_parser_1 = __webpack_require__(14494);
|
||||
const util_base64_1 = __webpack_require__(68385);
|
||||
const util_utf8_1 = __webpack_require__(71577);
|
||||
const httpAuthSchemeProvider_1 = __webpack_require__(27851);
|
||||
const endpointResolver_1 = __webpack_require__(59765);
|
||||
const protocols_1 = __webpack_require__(7288);
|
||||
const core_2 = __webpack_require__(402);
|
||||
const smithy_client_1 = __webpack_require__(1411);
|
||||
const url_parser_1 = __webpack_require__(4494);
|
||||
const util_base64_1 = __webpack_require__(8385);
|
||||
const util_utf8_1 = __webpack_require__(1577);
|
||||
const httpAuthSchemeProvider_1 = __webpack_require__(7851);
|
||||
const endpointResolver_1 = __webpack_require__(9765);
|
||||
const getRuntimeConfig = (config) => {
|
||||
return {
|
||||
apiVersion: "2011-06-15",
|
||||
@@ -1002,16 +1002,16 @@ exports.getRuntimeConfig = getRuntimeConfig;
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 37742:
|
||||
/***/ 7742:
|
||||
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
||||
|
||||
|
||||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||
exports.resolveRuntimeExtensions = void 0;
|
||||
const region_config_resolver_1 = __webpack_require__(36463);
|
||||
const protocol_http_1 = __webpack_require__(72356);
|
||||
const smithy_client_1 = __webpack_require__(61411);
|
||||
const httpAuthExtensionConfiguration_1 = __webpack_require__(34532);
|
||||
const region_config_resolver_1 = __webpack_require__(6463);
|
||||
const protocol_http_1 = __webpack_require__(2356);
|
||||
const smithy_client_1 = __webpack_require__(1411);
|
||||
const httpAuthExtensionConfiguration_1 = __webpack_require__(4532);
|
||||
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
||||
const extensionConfiguration = Object.assign((0, region_config_resolver_1.getAwsRegionExtensionConfiguration)(runtimeConfig), (0, smithy_client_1.getDefaultExtensionConfiguration)(runtimeConfig), (0, protocol_http_1.getHttpHandlerExtensionConfiguration)(runtimeConfig), (0, httpAuthExtensionConfiguration_1.getHttpAuthExtensionConfiguration)(runtimeConfig));
|
||||
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
||||
@@ -1022,7 +1022,7 @@ exports.resolveRuntimeExtensions = resolveRuntimeExtensions;
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 39955:
|
||||
/***/ 9955:
|
||||
/***/ ((module) => {
|
||||
|
||||
module.exports = /*#__PURE__*/JSON.parse('{"name":"@aws-sdk/nested-clients","version":"3.975.0","description":"Nested clients for AWS SDK packages.","main":"./dist-cjs/index.js","module":"./dist-es/index.js","types":"./dist-types/index.d.ts","scripts":{"build":"yarn lint && concurrently \'yarn:build:types\' \'yarn:build:es\' && yarn build:cjs","build:cjs":"node ../../scripts/compilation/inline nested-clients","build:es":"tsc -p tsconfig.es.json","build:include:deps":"yarn g:turbo run build -F=\\"$npm_package_name\\"","build:types":"tsc -p tsconfig.types.json","build:types:downlevel":"downlevel-dts dist-types dist-types/ts3.4","clean":"premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo","lint":"node ../../scripts/validation/submodules-linter.js --pkg nested-clients","test":"yarn g:vitest run","test:watch":"yarn g:vitest watch"},"engines":{"node":">=20.0.0"},"sideEffects":false,"author":{"name":"AWS SDK for JavaScript Team","url":"https://aws.amazon.com/javascript/"},"license":"Apache-2.0","dependencies":{"@aws-crypto/sha256-browser":"5.2.0","@aws-crypto/sha256-js":"5.2.0","@aws-sdk/core":"^3.973.1","@aws-sdk/middleware-host-header":"^3.972.1","@aws-sdk/middleware-logger":"^3.972.1","@aws-sdk/middleware-recursion-detection":"^3.972.1","@aws-sdk/middleware-user-agent":"^3.972.2","@aws-sdk/region-config-resolver":"^3.972.1","@aws-sdk/types":"^3.973.0","@aws-sdk/util-endpoints":"3.972.0","@aws-sdk/util-user-agent-browser":"^3.972.1","@aws-sdk/util-user-agent-node":"^3.972.1","@smithy/config-resolver":"^4.4.6","@smithy/core":"^3.21.1","@smithy/fetch-http-handler":"^5.3.9","@smithy/hash-node":"^4.2.8","@smithy/invalid-dependency":"^4.2.8","@smithy/middleware-content-length":"^4.2.8","@smithy/middleware-endpoint":"^4.4.11","@smithy/middleware-retry":"^4.4.27","@smithy/middleware-serde":"^4.2.9","@smithy/middleware-stack":"^4.2.8","@smithy/node-config-provider":"^4.3.8","@smithy/node-http-handler":"^4.4.8","@smithy/protocol-http":"^5.3.8","@smithy/smithy-client":"^4.10.12","@smithy/types":"^4.12.0","@smithy/url-parser":"^4.2.8","@smithy/util-base64":"^4.3.0","@smithy/util-body-length-browser":"^4.2.0","@smithy/util-body-length-node":"^4.2.1","@smithy/util-defaults-mode-browser":"^4.3.26","@smithy/util-defaults-mode-node":"^4.2.29","@smithy/util-endpoints":"^3.2.8","@smithy/util-middleware":"^4.2.8","@smithy/util-retry":"^4.2.8","@smithy/util-utf8":"^4.2.0","tslib":"^2.6.2"},"devDependencies":{"concurrently":"7.0.0","downlevel-dts":"0.10.1","premove":"4.0.0","typescript":"~5.8.3"},"typesVersions":{"<4.0":{"dist-types/*":["dist-types/ts3.4/*"]}},"files":["./signin.d.ts","./signin.js","./sso-oidc.d.ts","./sso-oidc.js","./sts.d.ts","./sts.js","dist-*/**"],"browser":{"./dist-es/submodules/signin/runtimeConfig":"./dist-es/submodules/signin/runtimeConfig.browser","./dist-es/submodules/sso-oidc/runtimeConfig":"./dist-es/submodules/sso-oidc/runtimeConfig.browser","./dist-es/submodules/sts/runtimeConfig":"./dist-es/submodules/sts/runtimeConfig.browser"},"react-native":{},"homepage":"https://github.com/aws/aws-sdk-js-v3/tree/main/packages/nested-clients","repository":{"type":"git","url":"https://github.com/aws/aws-sdk-js-v3.git","directory":"packages/nested-clients"},"exports":{"./package.json":"./package.json","./sso-oidc":{"types":"./dist-types/submodules/sso-oidc/index.d.ts","module":"./dist-es/submodules/sso-oidc/index.js","node":"./dist-cjs/submodules/sso-oidc/index.js","import":"./dist-es/submodules/sso-oidc/index.js","require":"./dist-cjs/submodules/sso-oidc/index.js"},"./sts":{"types":"./dist-types/submodules/sts/index.d.ts","module":"./dist-es/submodules/sts/index.js","node":"./dist-cjs/submodules/sts/index.js","import":"./dist-es/submodules/sts/index.js","require":"./dist-cjs/submodules/sts/index.js"},"./signin":{"types":"./dist-types/submodules/signin/index.d.ts","module":"./dist-es/submodules/signin/index.js","node":"./dist-cjs/submodules/signin/index.js","import":"./dist-es/submodules/signin/index.js","require":"./dist-cjs/submodules/signin/index.js"}}}');
|
||||
|
||||
+64
-64
@@ -2,14 +2,14 @@ export const id = 998;
|
||||
export const ids = [998];
|
||||
export const modules = {
|
||||
|
||||
/***/ 62041:
|
||||
/***/ 2041:
|
||||
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
||||
|
||||
|
||||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||
exports.resolveHttpAuthSchemeConfig = exports.defaultSSOHttpAuthSchemeProvider = exports.defaultSSOHttpAuthSchemeParametersProvider = void 0;
|
||||
const core_1 = __webpack_require__(8704);
|
||||
const util_middleware_1 = __webpack_require__(76324);
|
||||
const util_middleware_1 = __webpack_require__(6324);
|
||||
const defaultSSOHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
||||
return {
|
||||
operation: (0, util_middleware_1.getSmithyContext)(context).operation,
|
||||
@@ -84,15 +84,15 @@ exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 13903:
|
||||
/***/ 3903:
|
||||
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
||||
|
||||
|
||||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||
exports.defaultEndpointResolver = void 0;
|
||||
const util_endpoints_1 = __webpack_require__(83068);
|
||||
const util_endpoints_2 = __webpack_require__(79674);
|
||||
const ruleset_1 = __webpack_require__(41308);
|
||||
const util_endpoints_1 = __webpack_require__(3068);
|
||||
const util_endpoints_2 = __webpack_require__(9674);
|
||||
const ruleset_1 = __webpack_require__(1308);
|
||||
const cache = new util_endpoints_2.EndpointCache({
|
||||
size: 50,
|
||||
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
|
||||
@@ -109,7 +109,7 @@ util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunct
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 41308:
|
||||
/***/ 1308:
|
||||
/***/ ((__unused_webpack_module, exports) => {
|
||||
|
||||
|
||||
@@ -123,26 +123,26 @@ exports.ruleSet = _data;
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 62054:
|
||||
/***/ 2054:
|
||||
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
||||
|
||||
|
||||
|
||||
var middlewareHostHeader = __webpack_require__(30209);
|
||||
var middlewareLogger = __webpack_require__(85242);
|
||||
var middlewareRecursionDetection = __webpack_require__(81568);
|
||||
var middlewareUserAgent = __webpack_require__(32959);
|
||||
var configResolver = __webpack_require__(39316);
|
||||
var core = __webpack_require__(90402);
|
||||
var schema = __webpack_require__(26890);
|
||||
var middlewareContentLength = __webpack_require__(47212);
|
||||
var middlewareEndpoint = __webpack_require__(40099);
|
||||
var middlewareRetry = __webpack_require__(19618);
|
||||
var smithyClient = __webpack_require__(61411);
|
||||
var httpAuthSchemeProvider = __webpack_require__(62041);
|
||||
var runtimeConfig = __webpack_require__(82696);
|
||||
var regionConfigResolver = __webpack_require__(36463);
|
||||
var protocolHttp = __webpack_require__(72356);
|
||||
var middlewareHostHeader = __webpack_require__(2590);
|
||||
var middlewareLogger = __webpack_require__(5242);
|
||||
var middlewareRecursionDetection = __webpack_require__(1568);
|
||||
var middlewareUserAgent = __webpack_require__(2959);
|
||||
var configResolver = __webpack_require__(9316);
|
||||
var core = __webpack_require__(402);
|
||||
var schema = __webpack_require__(6890);
|
||||
var middlewareContentLength = __webpack_require__(7212);
|
||||
var middlewareEndpoint = __webpack_require__(99);
|
||||
var middlewareRetry = __webpack_require__(9618);
|
||||
var smithyClient = __webpack_require__(1411);
|
||||
var httpAuthSchemeProvider = __webpack_require__(2041);
|
||||
var runtimeConfig = __webpack_require__(2696);
|
||||
var regionConfigResolver = __webpack_require__(6463);
|
||||
var protocolHttp = __webpack_require__(2356);
|
||||
|
||||
const resolveClientEndpointParameters = (options) => {
|
||||
return Object.assign(options, {
|
||||
@@ -550,25 +550,25 @@ exports.paginateListAccounts = paginateListAccounts;
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 82696:
|
||||
/***/ 2696:
|
||||
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
||||
|
||||
|
||||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||
exports.getRuntimeConfig = void 0;
|
||||
const tslib_1 = __webpack_require__(61860);
|
||||
const package_json_1 = tslib_1.__importDefault(__webpack_require__(45188));
|
||||
const tslib_1 = __webpack_require__(1860);
|
||||
const package_json_1 = tslib_1.__importDefault(__webpack_require__(2807));
|
||||
const core_1 = __webpack_require__(8704);
|
||||
const util_user_agent_node_1 = __webpack_require__(51656);
|
||||
const config_resolver_1 = __webpack_require__(39316);
|
||||
const hash_node_1 = __webpack_require__(5092);
|
||||
const middleware_retry_1 = __webpack_require__(19618);
|
||||
const node_config_provider_1 = __webpack_require__(55704);
|
||||
const node_http_handler_1 = __webpack_require__(61279);
|
||||
const smithy_client_1 = __webpack_require__(61411);
|
||||
const util_body_length_node_1 = __webpack_require__(13638);
|
||||
const util_defaults_mode_node_1 = __webpack_require__(15435);
|
||||
const util_retry_1 = __webpack_require__(15518);
|
||||
const util_user_agent_node_1 = __webpack_require__(1656);
|
||||
const config_resolver_1 = __webpack_require__(9316);
|
||||
const hash_node_1 = __webpack_require__(2711);
|
||||
const middleware_retry_1 = __webpack_require__(9618);
|
||||
const node_config_provider_1 = __webpack_require__(5704);
|
||||
const node_http_handler_1 = __webpack_require__(1279);
|
||||
const smithy_client_1 = __webpack_require__(1411);
|
||||
const util_body_length_node_1 = __webpack_require__(3638);
|
||||
const util_defaults_mode_node_1 = __webpack_require__(673);
|
||||
const util_retry_1 = __webpack_require__(5518);
|
||||
const runtimeConfig_shared_1 = __webpack_require__(8073);
|
||||
const getRuntimeConfig = (config) => {
|
||||
(0, smithy_client_1.emitWarningIfUnsupportedVersion)(process.version);
|
||||
@@ -615,14 +615,14 @@ exports.getRuntimeConfig = getRuntimeConfig;
|
||||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||
exports.getRuntimeConfig = void 0;
|
||||
const core_1 = __webpack_require__(8704);
|
||||
const protocols_1 = __webpack_require__(37288);
|
||||
const core_2 = __webpack_require__(90402);
|
||||
const smithy_client_1 = __webpack_require__(61411);
|
||||
const url_parser_1 = __webpack_require__(14494);
|
||||
const util_base64_1 = __webpack_require__(68385);
|
||||
const util_utf8_1 = __webpack_require__(71577);
|
||||
const httpAuthSchemeProvider_1 = __webpack_require__(62041);
|
||||
const endpointResolver_1 = __webpack_require__(13903);
|
||||
const protocols_1 = __webpack_require__(7288);
|
||||
const core_2 = __webpack_require__(402);
|
||||
const smithy_client_1 = __webpack_require__(1411);
|
||||
const url_parser_1 = __webpack_require__(4494);
|
||||
const util_base64_1 = __webpack_require__(8385);
|
||||
const util_utf8_1 = __webpack_require__(1577);
|
||||
const httpAuthSchemeProvider_1 = __webpack_require__(2041);
|
||||
const endpointResolver_1 = __webpack_require__(3903);
|
||||
const getRuntimeConfig = (config) => {
|
||||
return {
|
||||
apiVersion: "2019-06-10",
|
||||
@@ -662,16 +662,16 @@ exports.getRuntimeConfig = getRuntimeConfig;
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 97523:
|
||||
/***/ 7523:
|
||||
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
||||
|
||||
|
||||
|
||||
var protocolHttp = __webpack_require__(72356);
|
||||
var core = __webpack_require__(90402);
|
||||
var propertyProvider = __webpack_require__(71238);
|
||||
var protocolHttp = __webpack_require__(2356);
|
||||
var core = __webpack_require__(402);
|
||||
var propertyProvider = __webpack_require__(8857);
|
||||
var client = __webpack_require__(5152);
|
||||
var signatureV4 = __webpack_require__(75118);
|
||||
var signatureV4 = __webpack_require__(5118);
|
||||
|
||||
const getDateHeader = (response) => protocolHttp.HttpResponse.isInstance(response) ? response.headers?.date ?? response.headers?.Date : undefined;
|
||||
|
||||
@@ -976,16 +976,16 @@ exports.validateSigningProperties = validateSigningProperties;
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 60998:
|
||||
/***/ 998:
|
||||
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
||||
|
||||
var __webpack_unused_export__;
|
||||
|
||||
|
||||
var propertyProvider = __webpack_require__(71238);
|
||||
var sharedIniFileLoader = __webpack_require__(94964);
|
||||
var propertyProvider = __webpack_require__(8857);
|
||||
var sharedIniFileLoader = __webpack_require__(4964);
|
||||
var client = __webpack_require__(5152);
|
||||
var tokenProviders = __webpack_require__(75433);
|
||||
var tokenProviders = __webpack_require__(5433);
|
||||
|
||||
const isSsoProfile = (arg) => arg &&
|
||||
(typeof arg.sso_start_url === "string" ||
|
||||
@@ -1036,7 +1036,7 @@ const resolveSSOCredentials = async ({ ssoStartUrl, ssoSession, ssoAccountId, ss
|
||||
});
|
||||
}
|
||||
const { accessToken } = token;
|
||||
const { SSOClient, GetRoleCredentialsCommand } = await Promise.resolve().then(function () { return __webpack_require__(16553); });
|
||||
const { SSOClient, GetRoleCredentialsCommand } = await Promise.resolve().then(function () { return __webpack_require__(6553); });
|
||||
const sso = ssoClient ||
|
||||
new SSOClient(Object.assign({}, clientConfig ?? {}, {
|
||||
logger: clientConfig?.logger ?? callerClientConfig?.logger ?? parentClientConfig?.logger,
|
||||
@@ -1176,12 +1176,12 @@ __webpack_unused_export__ = validateSsoProfile;
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 16553:
|
||||
/***/ 6553:
|
||||
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
||||
|
||||
|
||||
|
||||
var clientSso = __webpack_require__(62054);
|
||||
var clientSso = __webpack_require__(2054);
|
||||
|
||||
|
||||
|
||||
@@ -1197,16 +1197,16 @@ Object.defineProperty(exports, "SSOClient", ({
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 75433:
|
||||
/***/ 5433:
|
||||
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
||||
|
||||
|
||||
|
||||
var client = __webpack_require__(5152);
|
||||
var httpAuthSchemes = __webpack_require__(97523);
|
||||
var propertyProvider = __webpack_require__(71238);
|
||||
var sharedIniFileLoader = __webpack_require__(94964);
|
||||
var fs = __webpack_require__(79896);
|
||||
var httpAuthSchemes = __webpack_require__(7523);
|
||||
var propertyProvider = __webpack_require__(8857);
|
||||
var sharedIniFileLoader = __webpack_require__(4964);
|
||||
var fs = __webpack_require__(9896);
|
||||
|
||||
const fromEnvSigningName = ({ logger, signingName } = {}) => async () => {
|
||||
logger?.debug?.("@aws-sdk/token-providers - fromEnvSigningName");
|
||||
@@ -1226,7 +1226,7 @@ const EXPIRE_WINDOW_MS = 5 * 60 * 1000;
|
||||
const REFRESH_MESSAGE = `To refresh this SSO session run 'aws sso login' with the corresponding profile.`;
|
||||
|
||||
const getSsoOidcClient = async (ssoRegion, init = {}, callerClientConfig) => {
|
||||
const { SSOOIDCClient } = await __webpack_require__.e(/* import() */ 443).then(__webpack_require__.t.bind(__webpack_require__, 89443, 19));
|
||||
const { SSOOIDCClient } = await __webpack_require__.e(/* import() */ 443).then(__webpack_require__.t.bind(__webpack_require__, 9443, 19));
|
||||
const coalesce = (prop) => init.clientConfig?.[prop] ?? init.parentClientConfig?.[prop] ?? callerClientConfig?.[prop];
|
||||
const ssoOidcClient = new SSOOIDCClient(Object.assign({}, init.clientConfig ?? {}, {
|
||||
region: ssoRegion ?? init.clientConfig?.region,
|
||||
@@ -1237,7 +1237,7 @@ const getSsoOidcClient = async (ssoRegion, init = {}, callerClientConfig) => {
|
||||
};
|
||||
|
||||
const getNewSsoOidcToken = async (ssoToken, ssoRegion, init = {}, callerClientConfig) => {
|
||||
const { CreateTokenCommand } = await __webpack_require__.e(/* import() */ 443).then(__webpack_require__.t.bind(__webpack_require__, 89443, 19));
|
||||
const { CreateTokenCommand } = await __webpack_require__.e(/* import() */ 443).then(__webpack_require__.t.bind(__webpack_require__, 9443, 19));
|
||||
const ssoOidcClient = await getSsoOidcClient(ssoRegion, init, callerClientConfig);
|
||||
return ssoOidcClient.send(new CreateTokenCommand({
|
||||
clientId: ssoToken.clientId,
|
||||
@@ -1361,7 +1361,7 @@ exports.nodeProvider = nodeProvider;
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 45188:
|
||||
/***/ 2807:
|
||||
/***/ ((module) => {
|
||||
|
||||
module.exports = /*#__PURE__*/JSON.parse('{"name":"@aws-sdk/client-sso","description":"AWS SDK for JavaScript Sso Client for Node.js, Browser and React Native","version":"3.975.0","scripts":{"build":"concurrently \'yarn:build:types\' \'yarn:build:es\' && yarn build:cjs","build:cjs":"node ../../scripts/compilation/inline client-sso","build:es":"tsc -p tsconfig.es.json","build:include:deps":"yarn g:turbo run build -F=\\"$npm_package_name\\"","build:types":"tsc -p tsconfig.types.json","build:types:downlevel":"downlevel-dts dist-types dist-types/ts3.4","clean":"premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo","extract:docs":"api-extractor run --local","generate:client":"node ../../scripts/generate-clients/single-service --solo sso","test:index":"tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"},"main":"./dist-cjs/index.js","types":"./dist-types/index.d.ts","module":"./dist-es/index.js","sideEffects":false,"dependencies":{"@aws-crypto/sha256-browser":"5.2.0","@aws-crypto/sha256-js":"5.2.0","@aws-sdk/core":"^3.973.1","@aws-sdk/middleware-host-header":"^3.972.1","@aws-sdk/middleware-logger":"^3.972.1","@aws-sdk/middleware-recursion-detection":"^3.972.1","@aws-sdk/middleware-user-agent":"^3.972.2","@aws-sdk/region-config-resolver":"^3.972.1","@aws-sdk/types":"^3.973.0","@aws-sdk/util-endpoints":"3.972.0","@aws-sdk/util-user-agent-browser":"^3.972.1","@aws-sdk/util-user-agent-node":"^3.972.1","@smithy/config-resolver":"^4.4.6","@smithy/core":"^3.21.1","@smithy/fetch-http-handler":"^5.3.9","@smithy/hash-node":"^4.2.8","@smithy/invalid-dependency":"^4.2.8","@smithy/middleware-content-length":"^4.2.8","@smithy/middleware-endpoint":"^4.4.11","@smithy/middleware-retry":"^4.4.27","@smithy/middleware-serde":"^4.2.9","@smithy/middleware-stack":"^4.2.8","@smithy/node-config-provider":"^4.3.8","@smithy/node-http-handler":"^4.4.8","@smithy/protocol-http":"^5.3.8","@smithy/smithy-client":"^4.10.12","@smithy/types":"^4.12.0","@smithy/url-parser":"^4.2.8","@smithy/util-base64":"^4.3.0","@smithy/util-body-length-browser":"^4.2.0","@smithy/util-body-length-node":"^4.2.1","@smithy/util-defaults-mode-browser":"^4.3.26","@smithy/util-defaults-mode-node":"^4.2.29","@smithy/util-endpoints":"^3.2.8","@smithy/util-middleware":"^4.2.8","@smithy/util-retry":"^4.2.8","@smithy/util-utf8":"^4.2.0","tslib":"^2.6.2"},"devDependencies":{"@tsconfig/node20":"20.1.8","@types/node":"^20.14.8","concurrently":"7.0.0","downlevel-dts":"0.10.1","premove":"4.0.0","typescript":"~5.8.3"},"engines":{"node":">=20.0.0"},"typesVersions":{"<4.0":{"dist-types/*":["dist-types/ts3.4/*"]}},"files":["dist-*/**"],"author":{"name":"AWS SDK for JavaScript Team","url":"https://aws.amazon.com/javascript/"},"license":"Apache-2.0","browser":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.browser"},"react-native":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.native"},"homepage":"https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-sso","repository":{"type":"git","url":"https://github.com/aws/aws-sdk-js-v3.git","directory":"clients/client-sso"}}');
|
||||
|
||||
+10
-88
@@ -1,96 +1,18 @@
|
||||
import './sourcemap-register.cjs';import{createRequire as i}from"module";var d={76846:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__exportStar||function(i,d){for(var p in i)if(p!=="default"&&!Object.prototype.hasOwnProperty.call(d,p))v(d,i,p)};Object.defineProperty(d,"__esModule",{value:true});const K=p(64487);V(p(13776),d);V(p(45655),d);V(p(64487),d);const ee=new K.DefaultArtifactClient;d["default"]=ee},35592:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.Timestamp=void 0;const v=p(68886);const V=p(68886);const K=p(68886);const ee=p(68886);const te=p(68886);const re=p(68886);const ne=p(68886);class Timestamp$Type extends ne.MessageType{constructor(){super("google.protobuf.Timestamp",[{no:1,name:"seconds",kind:"scalar",T:3},{no:2,name:"nanos",kind:"scalar",T:5}])}now(){const i=this.create();const d=Date.now();i.seconds=re.PbLong.from(Math.floor(d/1e3)).toString();i.nanos=d%1e3*1e6;return i}toDate(i){return new Date(re.PbLong.from(i.seconds).toNumber()*1e3+Math.ceil(i.nanos/1e6))}fromDate(i){const d=this.create();const p=i.getTime();d.seconds=re.PbLong.from(Math.floor(p/1e3)).toString();d.nanos=p%1e3*1e6;return d}internalJsonWrite(i,d){let p=re.PbLong.from(i.seconds).toNumber()*1e3;if(p<Date.parse("0001-01-01T00:00:00Z")||p>Date.parse("9999-12-31T23:59:59Z"))throw new Error("Unable to encode Timestamp to JSON. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive.");if(i.nanos<0)throw new Error("Unable to encode invalid Timestamp to JSON. Nanos must not be negative.");let v="Z";if(i.nanos>0){let d=(i.nanos+1e9).toString().substring(1);if(d.substring(3)==="000000")v="."+d.substring(0,3)+"Z";else if(d.substring(6)==="000")v="."+d.substring(0,6)+"Z";else v="."+d+"Z"}return new Date(p).toISOString().replace(".000Z",v)}internalJsonRead(i,d,p){if(typeof i!=="string")throw new Error("Unable to parse Timestamp from JSON "+(0,te.typeofJsonValue)(i)+".");let v=i.match(/^([0-9]{4})-([0-9]{2})-([0-9]{2})T([0-9]{2}):([0-9]{2}):([0-9]{2})(?:Z|\.([0-9]{3,9})Z|([+-][0-9][0-9]:[0-9][0-9]))$/);if(!v)throw new Error("Unable to parse Timestamp from JSON. Invalid format.");let V=Date.parse(v[1]+"-"+v[2]+"-"+v[3]+"T"+v[4]+":"+v[5]+":"+v[6]+(v[8]?v[8]:"Z"));if(Number.isNaN(V))throw new Error("Unable to parse Timestamp from JSON. Invalid value.");if(V<Date.parse("0001-01-01T00:00:00Z")||V>Date.parse("9999-12-31T23:59:59Z"))throw new globalThis.Error("Unable to parse Timestamp from JSON. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive.");if(!p)p=this.create();p.seconds=re.PbLong.from(V/1e3).toString();p.nanos=0;if(v[7])p.nanos=parseInt("1"+v[7]+"0".repeat(9-v[7].length))-1e9;return p}create(i){const d={seconds:"0",nanos:0};globalThis.Object.defineProperty(d,ee.MESSAGE_TYPE,{enumerable:false,value:this});if(i!==undefined)(0,K.reflectionMergePartial)(this,d,i);return d}internalBinaryRead(i,d,p,v){let K=v!==null&&v!==void 0?v:this.create(),ee=i.pos+d;while(i.pos<ee){let[d,v]=i.tag();switch(d){case 1:K.seconds=i.int64().toString();break;case 2:K.nanos=i.int32();break;default:let ee=p.readUnknownField;if(ee==="throw")throw new globalThis.Error(`Unknown field ${d} (wire type ${v}) for ${this.typeName}`);let te=i.skip(v);if(ee!==false)(ee===true?V.UnknownFieldHandler.onRead:ee)(this.typeName,K,d,v,te)}}return K}internalBinaryWrite(i,d,p){if(i.seconds!=="0")d.tag(1,v.WireType.Varint).int64(i.seconds);if(i.nanos!==0)d.tag(2,v.WireType.Varint).int32(i.nanos);let K=p.writeUnknownFields;if(K!==false)(K==true?V.UnknownFieldHandler.onWrite:K)(this.typeName,i,d);return d}}d.Timestamp=new Timestamp$Type},78806:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.BytesValue=d.StringValue=d.BoolValue=d.UInt32Value=d.Int32Value=d.UInt64Value=d.Int64Value=d.FloatValue=d.DoubleValue=void 0;const v=p(68886);const V=p(68886);const K=p(68886);const ee=p(68886);const te=p(68886);const re=p(68886);const ne=p(68886);class DoubleValue$Type extends ne.MessageType{constructor(){super("google.protobuf.DoubleValue",[{no:1,name:"value",kind:"scalar",T:1}])}internalJsonWrite(i,d){return this.refJsonWriter.scalar(2,i.value,"value",false,true)}internalJsonRead(i,d,p){if(!p)p=this.create();p.value=this.refJsonReader.scalar(i,1,undefined,"value");return p}create(i){const d={value:0};globalThis.Object.defineProperty(d,re.MESSAGE_TYPE,{enumerable:false,value:this});if(i!==undefined)(0,te.reflectionMergePartial)(this,d,i);return d}internalBinaryRead(i,d,p,v){let V=v!==null&&v!==void 0?v:this.create(),K=i.pos+d;while(i.pos<K){let[d,v]=i.tag();switch(d){case 1:V.value=i.double();break;default:let K=p.readUnknownField;if(K==="throw")throw new globalThis.Error(`Unknown field ${d} (wire type ${v}) for ${this.typeNLine truncated
|
||||
/*! formdata-polyfill. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> */;const escape=i=>i.replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22");const normalizeLinefeeds=i=>i.replace(/\r?\n|\r/g,"\r\n");const v=[];const V=new Uint8Array([13,10]);se=0;let K=false;for(const[d,ee]of i){if(typeof ee==="string"){const i=me.encode(p+`; name="${escape(normalizeLinefeeds(d))}"`+`\r\n\r\n${normalizeLinefeeds(ee)}\r\n`);v.push(i);se+=i.byteLength}else{const i=me.encode(`${p}; name="${escape(normalizeLinefeeds(d))}"`+(ee.name?`; filename="${escape(ee.name)}"`:"")+"\r\n"+`Content-Type: ${ee.type||"application/octet-stream"}\r\n\r\n`);v.push(i,ee,V);if(typeof ee.size==="number"){se+=i.byteLength+ee.size+V.byteLength}else{K=true}}}const ee=me.encode(`--${d}--\r\n`);v.push(ee);se+=ee.byteLength;if(K){se=null}ne=i;re=async function*(){for(const i of v){if(i.stream){yield*i.stream()}else{yield i}}};ie=`multipart/form-data; boundary=${d}`}else if(K(i)){ne=i;se=i.size;if(i.type){ie=i.type}}else if(typeof i[Symbol.asyncIterator]==="function"){if(d){throw new TypeError("keepalive")}if(v.isDisturbed(i)||i.locked){throw new TypeError("Response body object should not be disturbed or locked")}p=i instanceof ReadableStream?i:V(i)}if(typeof ne==="string"||v.isBuffer(ne)){se=Buffer.byteLength(ne)}if(re!=null){let d;p=new ReadableStream({async start(){d=re(i)[Symbol.asyncIterator]()},async pull(i){const{value:v,done:V}=await d.next();if(V){queueMicrotask((()=>{i.close();i.byobRequest?.respond(0)}))}else{if(!ue(p)){const d=new Uint8Array(v);if(d.byteLength){i.enqueue(d)}}}return i.desiredSize>0},async cancel(i){await d.return()},type:"bytes"})}const oe={stream:p,source:ne,length:se};return[oe,ie]}function safelyExtractBody(i,d=false){if(i instanceof ReadableStream){le(!v.isDisturbed(i),"The body has already been consumed.");le(!i.locked,"The stream is locked.")}return extractBody(i,d)}function cloneBody(i,d){const[p,v]=d.stream.tee();d.stream=p;return{stream:v,length:d.length,source:d.source}}function throwIfAborted(i){if(i.aborted){throw new DOMException("The operation was aborted.","AbortError")}}function bodyMixinMethods(i){const d={blob(){return consumeBody(this,(i=>{let d=bodyMimeType(this);if(d===null){d=""}else if(d){d=fe(d)}return new ce([i],{type:d})}),i)},arrayBuffer(){return consumeBody(this,(i=>new Uint8Array(i).buffer),i)},text(){return consumeBody(this,ie,i)},json(){return consumeBody(this,parseJSONFromBytes,i)},formData(){return consumeBody(this,(i=>{const d=bodyMimeType(this);if(d!==null){switch(d.essence){case"multipart/form-data":{const p=ge(i,d);if(p==="failure"){throw new TypeError("Failed to parse body as FormData.")}const v=new oe;v[ae]=p;return v}case"application/x-www-form-urlencoded":{const d=new URLSearchParams(i.toString());const p=new oe;for(const[i,v]of d){p.append(i,v)}return p}}}throw new TypeError('Content-Type was not one of "multipart/form-data" or "application/x-www-form-urlencoded".')}),i)},bytes(){return consumeBody(this,(i=>new Uint8Array(i)),i)}};return d}function mixinBody(i){Object.assign(i.prototype,bodyMixinMethods(i))}async function consumeBody(i,d,p){Ae.brandCheck(i,p);if(bodyUnusable(i)){throw new TypeError("Body is unusable: Body has already been read")}throwIfAborted(i[ae]);const v=re();const errorSteps=i=>v.reject(i);const successSteps=i=>{try{v.resolve(d(i))}catch(i){errorSteps(i)}};if(i[ae].body==null){successSteps(Buffer.allocUnsafe(0));return v.promise}await ne(i[ae].body,successSteps,errorSteps);return v.promise}function bodyUnusable(i){const d=i[ae].body;return d!=null&&(d.stream.locked||v.isDisturbed(d.stream))}function parseJSONFromBytes(i){return JSON.parse(ie(i))}function bodyMimeType(i){const d=i[ae].headersList;const p=se(d);if(p==="failure"){return null}return p}i.exports={extractBody:extractBody,safelyExtractBody:safelyExtractBody,cloneBody:cloneBody,mixinBody:mixinBody,streamRegistry:Ce,hasFinalizationRegistry:Ee,bodyUnusable:bodyUnusable}},74832:i=>{const d=["GET","HEAD","POST"];const p=new Set(d);const v=[101,204,205,304];const V=[301,302,303,307,308];const K=new Set(V);const ee=["1","7","9","11","13","15","17","19","20","21","22","23","25","37","42","43","53","69","77","79","87","95","101","102","103","104","109","110","111","113","115","117","119","123","135","137","139","143","161","179","389","427","465","512","513","514","515","526","530","531","532","540","548","554","556","563","587","601","636","989","990","993","995","1719","1720","1723","2049","3659","4045","4190","5060","5061","6000","6566","6665","6666","6667","6668","6669","6679","6697","10080"];const te=new Set(ee);const re=["","no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"];const ne=new Set(re);const se=["follow","manual","error"];const ie=["GET","HEAD","OPTIONS","TRACE"];const oe=new Set(ie);const ae=["navigate","same-origin","no-cors","cors"];const Ae=["omit","same-origiLine truncated
|
||||
/*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> */te[ee-4]=p[0];te[ee-3]=p[1];te[ee-2]=p[2];te[ee-1]=p[3];te[1]=K;if(K===126){te.writeUInt16BE(V,2)}else if(K===127){te[2]=te[3]=0;te.writeUIntBE(V,4,6)}te[1]|=128;for(let i=0;i<V;++i){te[ee+i]=d[i]^p[i&3]}return te}}i.exports={WebsocketFrameSend:WebsocketFrameSend}},10908:(i,d,p)=>{const{createInflateRaw:v,Z_DEFAULT_WINDOWBITS:V}=p(38522);const{isValidClientWindowBits:K}=p(51484);const ee=Buffer.from([0,0,255,255]);const te=Symbol("kBuffer");const re=Symbol("kLength");class PerMessageDeflate{#$;#h={};constructor(i){this.#h.serverNoContextTakeover=i.has("server_no_context_takeover");this.#h.serverMaxWindowBits=i.get("server_max_window_bits")}decompress(i,d,p){if(!this.#$){let i=V;if(this.#h.serverMaxWindowBits){if(!K(this.#h.serverMaxWindowBits)){p(new Error("Invalid server_max_window_bits"));return}i=Number.parseInt(this.#h.serverMaxWindowBits)}this.#$=v({windowBits:i});this.#$[te]=[];this.#$[re]=0;this.#$.on("data",(i=>{this.#$[te].push(i);this.#$[re]+=i.length}));this.#$.on("error",(i=>{this.#$=null;p(i)}))}this.#$.write(i);if(d){this.#$.write(ee)}this.#$.flush((()=>{const i=Buffer.concat(this.#$[te],this.#$[re]);this.#$[te].length=0;this.#$[re]=0;p(null,i)}))}}i.exports={PerMessageDeflate:PerMessageDeflate}},21601:(i,d,p)=>{const{Writable:v}=p(57075);const V=p(34589);const{parserStates:K,opcodes:ee,states:te,emptyBuffer:re,sentCloseFrameState:ne}=p(23715);const{kReadyState:se,kSentClose:ie,kResponse:oe,kReceivedClose:ae}=p(21503);const{channels:Ae}=p(92527);const{isValidStatusCode:ce,isValidOpcode:le,failWebsocketConnection:ue,websocketMessageReceived:de,utf8Decode:he,isControlFrame:fe,isTextBinaryFrame:ge,isContinuationFrame:pe}=p(51484);const{WebsocketFrameSend:me}=p(29879);const{closeWebSocketConnection:Ee}=p(60896);const{PerMessageDeflate:Ce}=p(10908);class ByteParser extends v{#K=[];#X=0;#Z=false;#y=K.INFO;#ee={};#te=[];#re;constructor(i,d){super();this.ws=i;this.#re=d==null?new Map:d;if(this.#re.has("permessage-deflate")){this.#re.set("permessage-deflate",new Ce(d))}}_write(i,d,p){this.#K.push(i);this.#X+=i.length;this.#Z=true;this.run(p)}run(i){while(this.#Z){if(this.#y===K.INFO){if(this.#X<2){return i()}const d=this.consume(2);const p=(d[0]&128)!==0;const v=d[0]&15;const V=(d[1]&128)===128;const te=!p&&v!==ee.CONTINUATION;const re=d[1]&127;const ne=d[0]&64;const se=d[0]&32;const ie=d[0]&16;if(!le(v)){ue(this.ws,"Invalid opcode received");return i()}if(V){ue(this.ws,"Frame cannot be masked");return i()}if(ne!==0&&!this.#re.has("permessage-deflate")){ue(this.ws,"Expected RSV1 to be clear.");return}if(se!==0||ie!==0){ue(this.ws,"RSV1, RSV2, RSV3 must be clear");return}if(te&&!ge(v)){ue(this.ws,"Invalid frame type was fragmented.");return}if(ge(v)&&this.#te.length>0){ue(this.ws,"Expected continuation frame");return}if(this.#ee.fragmented&&te){ue(this.ws,"Fragmented frame exceeded 125 bytes.");return}if((re>125||te)&&fe(v)){ue(this.ws,"Control frame either too large or fragmented");return}if(pe(v)&&this.#te.length===0&&!this.#ee.compressed){ue(this.ws,"Unexpected continuation frame");return}if(re<=125){this.#ee.payloadLength=re;this.#y=K.READ_DATA}else if(re===126){this.#y=K.PAYLOADLENGTH_16}else if(re===127){this.#y=K.PAYLOADLENGTH_64}if(ge(v)){this.#ee.binaryType=v;this.#ee.compressed=ne!==0}this.#ee.opcode=v;this.#ee.masked=V;this.#ee.fin=p;this.#ee.fragmented=te}else if(this.#y===K.PAYLOADLENGTH_16){if(this.#X<2){return i()}const d=this.consume(2);this.#ee.payloadLength=d.readUInt16BE(0);this.#y=K.READ_DATA}else if(this.#y===K.PAYLOADLENGTH_64){if(this.#X<8){return i()}const d=this.consume(8);const p=d.readUInt32BE(0);if(p>2**31-1){ue(this.ws,"Received payload length > 2^31 bytes.");return}const v=d.readUInt32BE(4);this.#ee.payloadLength=(p<<8)+v;this.#y=K.READ_DATA}else if(this.#y===K.READ_DATA){if(this.#X<this.#ee.payloadLength){return i()}const d=this.consume(this.#ee.payloadLength);if(fe(this.#ee.opcode)){this.#Z=this.parseControlFrame(d);this.#y=K.INFO}else{if(!this.#ee.compressed){this.#te.push(d);if(!this.#ee.fragmented&&this.#ee.fin){const i=Buffer.concat(this.#te);de(this.ws,this.#ee.binaryType,i);this.#te.length=0}this.#y=K.INFO}else{this.#re.get("permessage-deflate").decompress(d,this.#ee.fin,((d,p)=>{if(d){Ee(this.ws,1007,d.message,d.message.length);return}this.#te.push(p);if(!this.#ee.fin){this.#y=K.INFO;this.#Z=true;this.run(i);return}de(this.ws,this.#ee.binaryType,Buffer.concat(this.#te));this.#Z=true;this.#y=K.INFO;this.#te.length=0;this.run(i)}));this.#Z=false;break}}}}}consume(i){if(i>this.#X){throw new Error("Called consume() before buffers satiated.")}else if(i===0){return re}if(this.#K[0].length===i){this.#X-=this.#K[0].length;return this.#K.shift()}const d=Buffer.allocUnsafe(i);let p=0;while(p!==i){const v=this.#K[0];const{length:V}=v;if(V+p===i){d.set(this.#K.shift(),p);break}else if(V+p>i){d.set(v.subarray(0,i-p),p);this.#K[0]=v.subarray(i-p);break}else{d.set(this.#K.shift(),p);p+=v.length}}this.#X-=i;return d}pLine truncated
|
||||
/*! formdata-polyfill. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> */;const escape=i=>i.replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22");const normalizeLinefeeds=i=>i.replace(/\r?\n|\r/g,"\r\n");const v=[];const V=new Uint8Array([13,10]);se=0;let K=false;for(const[d,ee]of i){if(typeof ee==="string"){const i=me.encode(p+`; name="${escape(normalizeLinefeeds(d))}"`+`\r\n\r\n${normalizeLinefeeds(ee)}\r\n`);v.push(i);se+=i.byteLength}else{const i=me.encode(`${p}; name="${escape(normalizeLinefeeds(d))}"`+(ee.name?`; filename="${escape(ee.name)}"`:"")+"\r\n"+`Content-Type: ${ee.type||"application/octet-stream"}\r\n\r\n`);v.push(i,ee,V);if(typeof ee.size==="number"){se+=i.byteLength+ee.size+V.byteLength}else{K=true}}}const ee=me.encode(`--${d}--\r\n`);v.push(ee);se+=ee.byteLength;if(K){se=null}ne=i;re=async function*(){for(const i of v){if(i.stream){yield*i.stream()}else{yield i}}};ie=`multipart/form-data; boundary=${d}`}else if(K(i)){ne=i;se=i.size;if(i.type){ie=i.type}}else if(typeof i[Symbol.asyncIterator]==="function"){if(d){throw new TypeError("keepalive")}if(v.isDisturbed(i)||i.locked){throw new TypeError("Response body object should not be disturbed or locked")}p=i instanceof ReadableStream?i:V(i)}if(typeof ne==="string"||v.isBuffer(ne)){se=Buffer.byteLength(ne)}if(re!=null){let d;p=new ReadableStream({async start(){d=re(i)[Symbol.asyncIterator]()},async pull(i){const{value:v,done:V}=await d.next();if(V){queueMicrotask((()=>{i.close();i.byobRequest?.respond(0)}))}else{if(!ue(p)){const d=new Uint8Array(v);if(d.byteLength){i.enqueue(d)}}}return i.desiredSize>0},async cancel(i){await d.return()},type:"bytes"})}const oe={stream:p,source:ne,length:se};return[oe,ie]}function safelyExtractBody(i,d=false){if(i instanceof ReadableStream){le(!v.isDisturbed(i),"The body has already been consumed.");le(!i.locked,"The stream is locked.")}return extractBody(i,d)}function cloneBody(i,d){const[p,v]=d.stream.tee();d.stream=p;return{stream:v,length:d.length,source:d.source}}function throwIfAborted(i){if(i.aborted){throw new DOMException("The operation was aborted.","AbortError")}}function bodyMixinMethods(i){const d={blob(){return consumeBody(this,(i=>{let d=bodyMimeType(this);if(d===null){d=""}else if(d){d=fe(d)}return new ce([i],{type:d})}),i)},arrayBuffer(){return consumeBody(this,(i=>new Uint8Array(i).buffer),i)},text(){return consumeBody(this,ie,i)},json(){return consumeBody(this,parseJSONFromBytes,i)},formData(){return consumeBody(this,(i=>{const d=bodyMimeType(this);if(d!==null){switch(d.essence){case"multipart/form-data":{const p=ge(i,d);if(p==="failure"){throw new TypeError("Failed to parse body as FormData.")}const v=new oe;v[ae]=p;return v}case"application/x-www-form-urlencoded":{const d=new URLSearchParams(i.toString());const p=new oe;for(const[i,v]of d){p.append(i,v)}return p}}}throw new TypeError('Content-Type was not one of "multipart/form-data" or "application/x-www-form-urlencoded".')}),i)},bytes(){return consumeBody(this,(i=>new Uint8Array(i)),i)}};return d}function mixinBody(i){Object.assign(i.prototype,bodyMixinMethods(i))}async function consumeBody(i,d,p){Ae.brandCheck(i,p);if(bodyUnusable(i)){throw new TypeError("Body is unusable: Body has already been read")}throwIfAborted(i[ae]);const v=re();const errorSteps=i=>v.reject(i);const successSteps=i=>{try{v.resolve(d(i))}catch(i){errorSteps(i)}};if(i[ae].body==null){successSteps(Buffer.allocUnsafe(0));return v.promise}await ne(i[ae].body,successSteps,errorSteps);return v.promise}function bodyUnusable(i){const d=i[ae].body;return d!=null&&(d.stream.locked||v.isDisturbed(d.stream))}function parseJSONFromBytes(i){return JSON.parse(ie(i))}function bodyMimeType(i){const d=i[ae].headersList;const p=se(d);if(p==="failure"){return null}return p}i.exports={extractBody:extractBody,safelyExtractBody:safelyExtractBody,cloneBody:cloneBody,mixinBody:mixinBody,streamRegistry:Ce,hasFinalizationRegistry:Ee,bodyUnusable:bodyUnusable}},61207:i=>{const d=["GET","HEAD","POST"];const p=new Set(d);const v=[101,204,205,304];const V=[301,302,303,307,308];const K=new Set(V);const ee=["1","7","9","11","13","15","17","19","20","21","22","23","25","37","42","43","53","69","77","79","87","95","101","102","103","104","109","110","111","113","115","117","119","123","135","137","139","143","161","179","389","427","465","512","513","514","515","526","530","531","532","540","548","554","556","563","587","601","636","989","990","993","995","1719","1720","1723","2049","3659","4045","4190","5060","5061","6000","6566","6665","6666","6667","6668","6669","6679","6697","10080"];const te=new Set(ee);const re=["","no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"];const ne=new Set(re);const se=["follow","manual","error"];const ie=["GET","HEAD","OPTIONS","TRACE"];const oe=new Set(ie);const ae=["navigate","same-origin","no-cors","cors"];const Ae=["omit","same-origiLine truncated
|
||||
/*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> */te[ee-4]=p[0];te[ee-3]=p[1];te[ee-2]=p[2];te[ee-1]=p[3];te[1]=K;if(K===126){te.writeUInt16BE(V,2)}else if(K===127){te[2]=te[3]=0;te.writeUIntBE(V,4,6)}te[1]|=128;for(let i=0;i<V;++i){te[ee+i]=d[i]^p[i&3]}return te}}i.exports={WebsocketFrameSend:WebsocketFrameSend}},62869:(i,d,p)=>{const{createInflateRaw:v,Z_DEFAULT_WINDOWBITS:V}=p(38522);const{isValidClientWindowBits:K}=p(95673);const ee=Buffer.from([0,0,255,255]);const te=Symbol("kBuffer");const re=Symbol("kLength");class PerMessageDeflate{#$;#h={};constructor(i){this.#h.serverNoContextTakeover=i.has("server_no_context_takeover");this.#h.serverMaxWindowBits=i.get("server_max_window_bits")}decompress(i,d,p){if(!this.#$){let i=V;if(this.#h.serverMaxWindowBits){if(!K(this.#h.serverMaxWindowBits)){p(new Error("Invalid server_max_window_bits"));return}i=Number.parseInt(this.#h.serverMaxWindowBits)}this.#$=v({windowBits:i});this.#$[te]=[];this.#$[re]=0;this.#$.on("data",(i=>{this.#$[te].push(i);this.#$[re]+=i.length}));this.#$.on("error",(i=>{this.#$=null;p(i)}))}this.#$.write(i);if(d){this.#$.write(ee)}this.#$.flush((()=>{const i=Buffer.concat(this.#$[te],this.#$[re]);this.#$[te].length=0;this.#$[re]=0;p(null,i)}))}}i.exports={PerMessageDeflate:PerMessageDeflate}},74588:(i,d,p)=>{const{Writable:v}=p(57075);const V=p(34589);const{parserStates:K,opcodes:ee,states:te,emptyBuffer:re,sentCloseFrameState:ne}=p(21816);const{kReadyState:se,kSentClose:ie,kResponse:oe,kReceivedClose:ae}=p(32456);const{channels:Ae}=p(78150);const{isValidStatusCode:ce,isValidOpcode:le,failWebsocketConnection:ue,websocketMessageReceived:de,utf8Decode:he,isControlFrame:fe,isTextBinaryFrame:ge,isContinuationFrame:pe}=p(95673);const{WebsocketFrameSend:me}=p(69272);const{closeWebSocketConnection:Ee}=p(2569);const{PerMessageDeflate:Ce}=p(62869);class ByteParser extends v{#K=[];#X=0;#Z=false;#y=K.INFO;#ee={};#te=[];#re;constructor(i,d){super();this.ws=i;this.#re=d==null?new Map:d;if(this.#re.has("permessage-deflate")){this.#re.set("permessage-deflate",new Ce(d))}}_write(i,d,p){this.#K.push(i);this.#X+=i.length;this.#Z=true;this.run(p)}run(i){while(this.#Z){if(this.#y===K.INFO){if(this.#X<2){return i()}const d=this.consume(2);const p=(d[0]&128)!==0;const v=d[0]&15;const V=(d[1]&128)===128;const te=!p&&v!==ee.CONTINUATION;const re=d[1]&127;const ne=d[0]&64;const se=d[0]&32;const ie=d[0]&16;if(!le(v)){ue(this.ws,"Invalid opcode received");return i()}if(V){ue(this.ws,"Frame cannot be masked");return i()}if(ne!==0&&!this.#re.has("permessage-deflate")){ue(this.ws,"Expected RSV1 to be clear.");return}if(se!==0||ie!==0){ue(this.ws,"RSV1, RSV2, RSV3 must be clear");return}if(te&&!ge(v)){ue(this.ws,"Invalid frame type was fragmented.");return}if(ge(v)&&this.#te.length>0){ue(this.ws,"Expected continuation frame");return}if(this.#ee.fragmented&&te){ue(this.ws,"Fragmented frame exceeded 125 bytes.");return}if((re>125||te)&&fe(v)){ue(this.ws,"Control frame either too large or fragmented");return}if(pe(v)&&this.#te.length===0&&!this.#ee.compressed){ue(this.ws,"Unexpected continuation frame");return}if(re<=125){this.#ee.payloadLength=re;this.#y=K.READ_DATA}else if(re===126){this.#y=K.PAYLOADLENGTH_16}else if(re===127){this.#y=K.PAYLOADLENGTH_64}if(ge(v)){this.#ee.binaryType=v;this.#ee.compressed=ne!==0}this.#ee.opcode=v;this.#ee.masked=V;this.#ee.fin=p;this.#ee.fragmented=te}else if(this.#y===K.PAYLOADLENGTH_16){if(this.#X<2){return i()}const d=this.consume(2);this.#ee.payloadLength=d.readUInt16BE(0);this.#y=K.READ_DATA}else if(this.#y===K.PAYLOADLENGTH_64){if(this.#X<8){return i()}const d=this.consume(8);const p=d.readUInt32BE(0);if(p>2**31-1){ue(this.ws,"Received payload length > 2^31 bytes.");return}const v=d.readUInt32BE(4);this.#ee.payloadLength=(p<<8)+v;this.#y=K.READ_DATA}else if(this.#y===K.READ_DATA){if(this.#X<this.#ee.payloadLength){return i()}const d=this.consume(this.#ee.payloadLength);if(fe(this.#ee.opcode)){this.#Z=this.parseControlFrame(d);this.#y=K.INFO}else{if(!this.#ee.compressed){this.#te.push(d);if(!this.#ee.fragmented&&this.#ee.fin){const i=Buffer.concat(this.#te);de(this.ws,this.#ee.binaryType,i);this.#te.length=0}this.#y=K.INFO}else{this.#re.get("permessage-deflate").decompress(d,this.#ee.fin,((d,p)=>{if(d){Ee(this.ws,1007,d.message,d.message.length);return}this.#te.push(p);if(!this.#ee.fin){this.#y=K.INFO;this.#Z=true;this.run(i);return}de(this.ws,this.#ee.binaryType,Buffer.concat(this.#te));this.#Z=true;this.#y=K.INFO;this.#te.length=0;this.run(i)}));this.#Z=false;break}}}}}consume(i){if(i>this.#X){throw new Error("Called consume() before buffers satiated.")}else if(i===0){return re}if(this.#K[0].length===i){this.#X-=this.#K[0].length;return this.#K.shift()}const d=Buffer.allocUnsafe(i);let p=0;while(p!==i){const v=this.#K[0];const{length:V}=v;if(V+p===i){d.set(this.#K.shift(),p);break}else if(V+p>i){d.set(v.subarray(0,i-p),p);this.#K[0]=v.subarray(i-p);break}else{d.set(this.#K.shift(),p);p+=v.length}}this.#X-=i;return d}paLine truncated
|
||||
/**
|
||||
* Archiver Vending
|
||||
*
|
||||
* @ignore
|
||||
* @license [MIT]{@link https://github.com/archiverjs/node-archiver/blob/master/LICENSE}
|
||||
* @copyright (c) 2012-2014 Chris Talkington, contributors.
|
||||
*/
|
||||
var v=p(50549);var V={};var vending=function(i,d){return vending.create(i,d)};vending.create=function(i,d){if(V[i]){var p=new v(i,d);p.setFormat(i);p.setModule(new V[i](d));return p}else{throw new Error("create("+i+"): format not registered")}};vending.registerFormat=function(i,d){if(V[i]){throw new Error("register("+i+"): format already registered")}if(typeof d!=="function"){throw new Error("register("+i+"): format module invalid")}if(typeof d.prototype.append!=="function"||typeof d.prototype.finalize!=="function"){throw new Error("register("+i+"): format module missing methods")}V[i]=d};vending.isRegisteredFormat=function(i){if(V[i]){return true}return false};vending.registerFormat("zip",p(22836));vending.registerFormat("tar",p(10396));vending.registerFormat("json",p(54693));i.exports=vending},50549:(i,d,p)=>{
|
||||
/**
|
||||
* Archiver Core
|
||||
*
|
||||
* @ignore
|
||||
* @license [MIT]{@link https://github.com/archiverjs/node-archiver/blob/master/LICENSE}
|
||||
* @copyright (c) 2012-2014 Chris Talkington, contributors.
|
||||
*/
|
||||
var v=p(79896);var V=p(51364);var K=p(97329);var ee=p(16928);var te=p(53296);var re=p(39023).inherits;var ne=p(13110);var se=p(29963).Transform;var ie=process.platform==="win32";var Archiver=function(i,d){if(!(this instanceof Archiver)){return new Archiver(i,d)}if(typeof i!=="string"){d=i;i="zip"}d=this.options=te.defaults(d,{highWaterMark:1024*1024,statConcurrency:4});se.call(this,d);this._format=false;this._module=false;this._pending=0;this._pointer=0;this._entriesCount=0;this._entriesProcessedCount=0;this._fsEntriesTotalBytes=0;this._fsEntriesProcessedBytes=0;this._queue=K.queue(this._onQueueTask.bind(this),1);this._queue.drain(this._onQueueDrain.bind(this));this._statQueue=K.queue(this._onStatQueueTask.bind(this),d.statConcurrency);this._statQueue.drain(this._onQueueDrain.bind(this));this._state={aborted:false,finalize:false,finalizing:false,finalized:false,modulePiped:false};this._streams=[]};re(Archiver,se);Archiver.prototype._abort=function(){this._state.aborted=true;this._queue.kill();this._statQueue.kill();if(this._queue.idle()){this._shutdown()}};Archiver.prototype._append=function(i,d){d=d||{};var p={source:null,filepath:i};if(!d.name){d.name=i}d.sourcePath=i;p.data=d;this._entriesCount++;if(d.stats&&d.stats instanceof v.Stats){p=this._updateQueueTaskWithStats(p,d.stats);if(p){if(d.stats.size){this._fsEntriesTotalBytes+=d.stats.size}this._queue.push(p)}}else{this._statQueue.push(p)}};Archiver.prototype._finalize=function(){if(this._state.finalizing||this._state.finalized||this._state.aborted){return}this._state.finalizing=true;this._moduleFinalize();this._state.finalizing=false;this._state.finalized=true};Archiver.prototype._maybeFinalize=function(){if(this._state.finalizing||this._state.finalized||this._state.aborted){return false}if(this._state.finalize&&this._pending===0&&this._queue.idle()&&this._statQueue.idle()){this._finalize();return true}return false};Archiver.prototype._moduleAppend=function(i,d,p){if(this._state.aborted){p();return}this._module.append(i,d,function(i){this._task=null;if(this._state.aborted){this._shutdown();return}if(i){this.emit("error",i);setImmediate(p);return}this.emit("entry",d);this._entriesProcessedCount++;if(d.stats&&d.stats.size){this._fsEntriesProcessedBytes+=d.stats.size}this.emit("progress",{entries:{total:this._entriesCount,processed:this._entriesProcessedCount},fs:{totalBytes:this._fsEntriesTotalBytes,processedBytes:this._fsEntriesProcessedBytes}});setImmediate(p)}.bind(this))};Archiver.prototype._moduleFinalize=function(){if(typeof this._module.finalize==="function"){this._module.finalize()}else if(typeof this._module.end==="function"){this._module.end()}else{this.emit("error",new ne("NOENDMETHOD"))}};Archiver.prototype._modulePipe=function(){this._module.on("error",this._onModuleError.bind(this));this._module.pipe(this);this._state.modulePiped=true};Archiver.prototype._moduleSupports=function(i){if(!this._module.supports||!this._module.supports[i]){return false}return this._module.supports[i]};Archiver.prototype._moduleUnpipe=function(){this._module.unpipe(this);this._state.modulePiped=false};Archiver.prototype._normalizeEntryData=function(i,d){i=te.defaults(i,{type:"file",name:null,date:null,mode:null,prefix:null,sourcePath:null,stats:false});if(d&&i.stats===false){i.stats=d}var p=i.type==="directory";if(i.name){if(typeof i.prefix==="string"&&""!==i.prefix){i.name=i.prefix+"/"+i.name;i.prefix=null}i.name=te.sanitizePath(i.name);if(i.type!=="symlink"&&i.name.slice(-1)==="/"){p=true;i.type="directory"}else if(p){i.name+="/"}}if(typeof i.mode==="number"){if(ie){i.mode&=511}else{i.mode&=4095}}else if(i.stats&&i.mode===null){if(ie){i.mode=i.stats.mode&511}else{i.mode=i.stats.mode&4095}if(ie&&p){i.mode=493}}else if(i.mode===null){i.mode=p?493:420}if(i.stats&&i.date===null){i.date=i.stats.mtime}else{i.date=te.dateify(i.date)}return i};Archiver.prototype._onModuleError=function(i){this.emit("error",i)};Archiver.prototype._onQueueDrain=function(){if(this._state.finalizing||this._state.finalized||this._state.aborted){return}if(this._state.finalize&&this._pending===0&&this._queue.idle()&&this._statQueue.idle()){this._finalize()}};Archiver.prototype._onQueueTask=function(i,d){var fullCallback=()=>{if(i.data.callback){i.data.callback()}d()};if(this._state.finalizing||this._state.finalized||this._state.aborted){fullCallback();return}this._task=i;this._moduleAppend(i.source,i.data,fullCallback)};Archiver.prototype._onStatQueueTask=function(i,d){if(this._state.finalizing||this._state.finalized||this._state.aborted){d();return}v.lstat(i.filepath,function(p,v){if(this._state.aborted){setImmediate(d);return}if(p){this._entriesCount--;this.emit("warning",p);setImmediate(d);return}i=this._updateQueueTaskWithStats(i,v);if(i){if(v.size){this._fsEntriesTotalBytes+=v.size}this._queue.push(i)}setImmediate(d)}.bind(this))};Archiver.prototype._shutdown=function(){this._moduleUnpipe();this.end()};Archiver.prototype._transform=function(i,d,p){if(i){this._pointer+=i.length}p(null,i)Line truncated
|
||||
/**
|
||||
* Archiver Core
|
||||
*
|
||||
* @ignore
|
||||
* @license [MIT]{@link https://github.com/archiverjs/node-archiver/blob/master/LICENSE}
|
||||
* @copyright (c) 2012-2014 Chris Talkington, contributors.
|
||||
*/
|
||||
var v=p(39023);const V={ABORTED:"archive was aborted",DIRECTORYDIRPATHREQUIRED:"diretory dirpath argument must be a non-empty string value",DIRECTORYFUNCTIONINVALIDDATA:"invalid data returned by directory custom data function",ENTRYNAMEREQUIRED:"entry name must be a non-empty string value",FILEFILEPATHREQUIRED:"file filepath argument must be a non-empty string value",FINALIZING:"archive already finalizing",QUEUECLOSED:"queue closed",NOENDMETHOD:"no suitable finalize/end method defined by module",DIRECTORYNOTSUPPORTED:"support for directory entries not defined by module",FORMATSET:"archive format already set",INPUTSTEAMBUFFERREQUIRED:"input source must be valid Stream or Buffer instance",MODULESET:"module already set",SYMLINKNOTSUPPORTED:"support for symlink entries not defined by module",SYMLINKFILEPATHREQUIRED:"symlink filepath argument must be a non-empty string value",SYMLINKTARGETREQUIRED:"symlink target argument must be a non-empty string value",ENTRYNOTSUPPORTED:"entry not supported"};function ArchiverError(i,d){Error.captureStackTrace(this,this.constructor);this.message=V[i]||i;this.code=i;this.data=d}v.inherits(ArchiverError,Error);d=i.exports=ArchiverError},54693:(i,d,p)=>{
|
||||
/**
|
||||
* JSON Format Plugin
|
||||
*
|
||||
* @module plugins/json
|
||||
* @license [MIT]{@link https://github.com/archiverjs/node-archiver/blob/master/LICENSE}
|
||||
* @copyright (c) 2012-2014 Chris Talkington, contributors.
|
||||
*/
|
||||
var v=p(39023).inherits;var V=p(29963).Transform;var K=p(84928);var ee=p(53296);var Json=function(i){if(!(this instanceof Json)){return new Json(i)}i=this.options=ee.defaults(i,{});V.call(this,i);this.supports={directory:true,symlink:true};this.files=[]};v(Json,V);Json.prototype._transform=function(i,d,p){p(null,i)};Json.prototype._writeStringified=function(){var i=JSON.stringify(this.files);this.write(i)};Json.prototype.append=function(i,d,p){var v=this;d.crc32=0;function onend(i,V){if(i){p(i);return}d.size=V.length||0;d.crc32=K.unsigned(V);v.files.push(d);p(null,d)}if(d.sourceType==="buffer"){onend(null,i)}else if(d.sourceType==="stream"){ee.collectStream(i,onend)}};Json.prototype.finalize=function(){this._writeStringified();this.end()};i.exports=Json},10396:(i,d,p)=>{
|
||||
/**
|
||||
* TAR Format Plugin
|
||||
*
|
||||
* @module plugins/tar
|
||||
* @license [MIT]{@link https://github.com/archiverjs/node-archiver/blob/master/LICENSE}
|
||||
* @copyright (c) 2012-2014 Chris Talkington, contributors.
|
||||
*/
|
||||
var v=p(43106);var V=p(56118);var K=p(53296);var Tar=function(i){if(!(this instanceof Tar)){return new Tar(i)}i=this.options=K.defaults(i,{gzip:false});if(typeof i.gzipOptions!=="object"){i.gzipOptions={}}this.supports={directory:true,symlink:true};this.engine=V.pack(i);this.compressor=false;if(i.gzip){this.compressor=v.createGzip(i.gzipOptions);this.compressor.on("error",this._onCompressorError.bind(this))}};Tar.prototype._onCompressorError=function(i){this.engine.emit("error",i)};Tar.prototype.append=function(i,d,p){var v=this;d.mtime=d.date;function append(i,V){if(i){p(i);return}v.engine.entry(d,V,(function(i){p(i,d)}))}if(d.sourceType==="buffer"){append(null,i)}else if(d.sourceType==="stream"&&d.stats){d.size=d.stats.size;var V=v.engine.entry(d,(function(i){p(i,d)}));i.pipe(V)}else if(d.sourceType==="stream"){K.collectStream(i,append)}};Tar.prototype.finalize=function(){this.engine.finalize()};Tar.prototype.on=function(){return this.engine.on.apply(this.engine,arguments)};Tar.prototype.pipe=function(i,d){if(this.compressor){return this.engine.pipe.apply(this.engine,[this.compressor]).pipe(i,d)}else{return this.engine.pipe.apply(this.engine,arguments)}};Tar.prototype.unpipe=function(){if(this.compressor){return this.compressor.unpipe.apply(this.compressor,arguments)}else{return this.engine.unpipe.apply(this.engine,arguments)}};i.exports=Tar},22836:(i,d,p)=>{
|
||||
/**
|
||||
* ZIP Format Plugin
|
||||
*
|
||||
* @module plugins/zip
|
||||
* @license [MIT]{@link https://github.com/archiverjs/node-archiver/blob/master/LICENSE}
|
||||
* @copyright (c) 2012-2014 Chris Talkington, contributors.
|
||||
*/
|
||||
var v=p(41622);var V=p(53296);var Zip=function(i){if(!(this instanceof Zip)){return new Zip(i)}i=this.options=V.defaults(i,{comment:"",forceUTC:false,namePrependSlash:false,store:false});this.supports={directory:true,symlink:true};this.engine=new v(i)};Zip.prototype.append=function(i,d,p){this.engine.entry(i,d,p)};Zip.prototype.finalize=function(){this.engine.finalize()};Zip.prototype.on=function(){return this.engine.on.apply(this.engine,arguments)};Zip.prototype.pipe=function(){return this.engine.pipe.apply(this.engine,arguments)};Zip.prototype.unpipe=function(){return this.engine.unpipe.apply(this.engine,arguments)};i.exports=Zip},97329:function(i,d){(function(i,p){true?p(d):0})(this,(function(i){"use strict";function apply(i,...d){return(...p)=>i(...d,...p)}function initialParams(i){return function(...d){var p=d.pop();return i.call(this,d,p)}}var d=typeof queueMicrotask==="function"&&queueMicrotask;var p=typeof setImmediate==="function"&&setImmediate;var v=typeof process==="object"&&typeof process.nextTick==="function";function fallback(i){setTimeout(i,0)}function wrap(i){return(d,...p)=>i((()=>d(...p)))}var V;if(d){V=queueMicrotask}else if(p){V=setImmediate}else if(v){V=process.nextTick}else{V=fallback}var K=wrap(V);function asyncify(i){if(isAsync(i)){return function(...d){const p=d.pop();const v=i.apply(this,d);return handlePromise(v,p)}}return initialParams((function(d,p){var v;try{v=i.apply(this,d)}catch(i){return p(i)}if(v&&typeof v.then==="function"){return handlePromise(v,p)}else{p(null,v)}}))}function handlePromise(i,d){return i.then((i=>{invokeCallback(d,null,i)}),(i=>{invokeCallback(d,i&&(i instanceof Error||i.message)?i:new Error(i))}))}function invokeCallback(i,d,p){try{i(d,p)}catch(i){K((i=>{throw i}),i)}}function isAsync(i){return i[Symbol.toStringTag]==="AsyncFunction"}function isAsyncGenerator(i){return i[Symbol.toStringTag]==="AsyncGenerator"}function isAsyncIterable(i){return typeof i[Symbol.asyncIterator]==="function"}function wrapAsync(i){if(typeof i!=="function")throw new Error("expected a function");return isAsync(i)?asyncify(i):i}function awaitify(i,d){if(!d)d=i.length;if(!d)throw new Error("arity is undefined");function awaitable(...p){if(typeof p[d-1]==="function"){return i.apply(this,p)}return new Promise(((v,V)=>{p[d-1]=(i,...d)=>{if(i)return V(i);v(d.length>1?d:d[0])};i.apply(this,p)}))}return awaitable}function applyEach$1(i){return function applyEach(d,...p){const v=awaitify((function(v){var V=this;return i(d,((i,d)=>{wrapAsync(i).apply(V,p.concat(d))}),v)}));return v}}function _asyncMap(i,d,p,v){d=d||[];var V=[];var K=0;var ee=wrapAsync(p);return i(d,((i,d,p)=>{var v=K++;ee(i,((i,d)=>{V[v]=d;p(i)}))}),(i=>{v(i,V)}))}function isArrayLike(i){return i&&typeof i.length==="number"&&i.length>=0&&i.length%1===0}const ee={};var te=ee;function once(i){function wrapper(...d){if(i===null)return;var p=i;i=null;p.apply(this,d)}Object.assign(wrapper,i);return wrapper}function getIterator(i){return i[Symbol.iterator]&&i[Symbol.iterator]()}function createArrayIterator(i){var d=-1;var p=i.length;return function next(){return++d<p?{value:i[d],key:d}:null}}function createES2015Iterator(i){var d=-1;return function next(){var p=i.next();if(p.done)return null;d++;return{value:p.value,key:d}}}function createObjectIterator(i){var d=i?Object.keys(i):[];var p=-1;var v=d.length;return function next(){var V=d[++p];if(V==="__proto__"){return next()}return p<v?{value:i[V],key:V}:null}}function createIterator(i){if(isArrayLike(i)){return createArrayIterator(i)}var d=getIterator(i);return d?createES2015Iterator(d):createObjectIterator(i)}function onlyOnce(i){return function(...d){if(i===null)throw new Error("Callback was already called.");var p=i;i=null;p.apply(this,d)}}function asyncEachOfLimit(i,d,p,v){let V=false;let K=false;let ee=false;let re=0;let ne=0;function replenish(){if(re>=d||ee||V)return;ee=true;i.next().then((({value:i,done:d})=>{if(K||V)return;ee=false;if(d){V=true;if(re<=0){v(null)}return}re++;p(i,ne,iterateeCallback);ne++;replenish()})).catch(handleError)}function iterateeCallback(i,d){re-=1;if(K)return;if(i)return handleError(i);if(i===false){V=true;K=true;return}if(d===te||V&&re<=0){V=true;return v(null)}replenish()}function handleError(i){if(K)return;ee=false;V=true;v(i)}replenish()}var eachOfLimit$2=i=>(d,p,v)=>{v=once(v);if(i<=0){throw new RangeError("concurrency limit cannot be less than 1")}if(!d){return v(null)}if(isAsyncGenerator(d)){return asyncEachOfLimit(d,i,p,v)}if(isAsyncIterable(d)){return asyncEachOfLimit(d[Symbol.asyncIterator](),i,p,v)}var V=createIterator(d);var K=false;var ee=false;var re=0;var ne=false;function iterateeCallback(i,d){if(ee)return;re-=1;if(i){K=true;v(i)}else if(i===false){K=true;ee=true}else if(d===te||K&&re<=0){K=true;return v(null)}else if(!ne){replenish()}}function replenish(){ne=true;while(re<i&&!K){var d=V();if(d===null){K=true;if(re<=0){v(null)}return}re+=1;p(d.value,d.key,onlyOnce(iterateeCallback))}ne=false}replenish()};function eachOfLimit(iLine truncated
|
||||
/*! crc32.js (C) 2014-present SheetJS -- http://sheetjs.com */
|
||||
var p;(function(i){if(typeof DO_NOT_EXPORT_CRC==="undefined"){if(true){i(d)}else{}}else{i(p={})}})((function(i){i.version="1.2.2";function signed_crc_table(){var i=0,d=new Array(256);for(var p=0;p!=256;++p){i=p;i=i&1?-306674912^i>>>1:i>>>1;i=i&1?-306674912^i>>>1:i>>>1;i=i&1?-306674912^i>>>1:i>>>1;i=i&1?-306674912^i>>>1:i>>>1;i=i&1?-306674912^i>>>1:i>>>1;i=i&1?-306674912^i>>>1:i>>>1;i=i&1?-306674912^i>>>1:i>>>1;i=i&1?-306674912^i>>>1:i>>>1;d[p]=i}return typeof Int32Array!=="undefined"?new Int32Array(d):d}var d=signed_crc_table();function slice_by_16_tables(i){var d=0,p=0,v=0,V=typeof Int32Array!=="undefined"?new Int32Array(4096):new Array(4096);for(v=0;v!=256;++v)V[v]=i[v];for(v=0;v!=256;++v){p=i[v];for(d=256+v;d<4096;d+=256)p=V[d]=p>>>8^i[p&255]}var K=[];for(v=1;v!=16;++v)K[v-1]=typeof Int32Array!=="undefined"?V.subarray(v*256,v*256+256):V.slice(v*256,v*256+256);return K}var p=slice_by_16_tables(d);var v=p[0],V=p[1],K=p[2],ee=p[3],te=p[4];var re=p[5],ne=p[6],se=p[7],ie=p[8],oe=p[9];var ae=p[10],Ae=p[11],ce=p[12],le=p[13],ue=p[14];function crc32_bstr(i,p){var v=p^-1;for(var V=0,K=i.length;V<K;)v=v>>>8^d[(v^i.charCodeAt(V++))&255];return~v}function crc32_buf(i,p){var de=p^-1,he=i.length-15,fe=0;for(;fe<he;)de=ue[i[fe++]^de&255]^le[i[fe++]^de>>8&255]^ce[i[fe++]^de>>16&255]^Ae[i[fe++]^de>>>24]^ae[i[fe++]]^oe[i[fe++]]^ie[i[fe++]]^se[i[fe++]]^ne[i[fe++]]^re[i[fe++]]^te[i[fe++]]^ee[i[fe++]]^K[i[fe++]]^V[i[fe++]]^v[i[fe++]]^d[i[fe++]];he+=15;while(fe<he)de=de>>>8^d[(de^i[fe++])&255];return~de}function crc32_str(i,p){var v=p^-1;for(var V=0,K=i.length,ee=0,te=0;V<K;){ee=i.charCodeAt(V++);if(ee<128){v=v>>>8^d[(v^ee)&255]}else if(ee<2048){v=v>>>8^d[(v^(192|ee>>6&31))&255];v=v>>>8^d[(v^(128|ee&63))&255]}else if(ee>=55296&&ee<57344){ee=(ee&1023)+64;te=i.charCodeAt(V++)&1023;v=v>>>8^d[(v^(240|ee>>8&7))&255];v=v>>>8^d[(v^(128|ee>>2&63))&255];v=v>>>8^d[(v^(128|te>>6&15|(ee&3)<<4))&255];v=v>>>8^d[(v^(128|te&63))&255]}else{v=v>>>8^d[(v^(224|ee>>12&15))&255];v=v>>>8^d[(v^(128|ee>>6&63))&255];v=v>>>8^d[(v^(128|ee&63))&255]}}return~v}i.table=d;i.bstr=crc32_bstr;i.buf=crc32_buf;i.str=crc32_str}))},3662:(i,d,p)=>{const{Transform:v}=p(29963);const V=p(84891);class CRC32Stream extends v{constructor(i){super(i);this.checksum=Buffer.allocUnsafe(4);this.checksum.writeInt32BE(0,0);this.rawSize=0}_transform(i,d,p){if(i){this.checksum=V.buf(i,this.checksum)>>>0;this.rawSize+=i.length}p(null,i)}digest(i){const d=Buffer.allocUnsafe(4);d.writeUInt32BE(this.checksum>>>0,0);return i?d.toString(i):d}hex(){return this.digest("hex").toUpperCase()}size(){return this.rawSize}}i.exports=CRC32Stream},76252:(i,d,p)=>{const{DeflateRaw:v}=p(43106);const V=p(84891);class DeflateCRC32Stream extends v{constructor(i){super(i);this.checksum=Buffer.allocUnsafe(4);this.checksum.writeInt32BE(0,0);this.rawSize=0;this.compressedSize=0}push(i,d){if(i){this.compressedSize+=i.length}return super.push(i,d)}_transform(i,d,p){if(i){this.checksum=V.buf(i,this.checksum)>>>0;this.rawSize+=i.length}super._transform(i,d,p)}digest(i){const d=Buffer.allocUnsafe(4);d.writeUInt32BE(this.checksum>>>0,0);return i?d.toString(i):d}hex(){return this.digest("hex").toUpperCase()}size(i=false){if(i){return this.compressedSize}else{return this.rawSize}}}i.exports=DeflateCRC32Stream},82770:(i,d,p)=>{i.exports={CRC32Stream:p(3662),DeflateCRC32Stream:p(76252)}},6110:(i,d,p)=>{d.formatArgs=formatArgs;d.save=save;d.load=load;d.useColors=useColors;d.storage=localstorage();d.destroy=(()=>{let i=false;return()=>{if(!i){i=true;console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}}})();d.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function useColors(){if(typeof window!=="undefined"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)){return true}if(typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)){return false}return typeof document!=="undefined"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window!=="undefined"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator!=="undefined"Line truncated
|
||||
/**
|
||||
* @author Toru Nagashima <https://github.com/mysticatea>
|
||||
* @copyright 2015 Toru Nagashima. All rights reserved.
|
||||
* See LICENSE file in root directory for full license.
|
||||
*/
|
||||
Object.defineProperty(d,"__esModule",{value:true});const p=new WeakMap;const v=new WeakMap;function pd(i){const d=p.get(i);console.assert(d!=null,"'this' is expected an Event object, but got",i);return d}function setCancelFlag(i){if(i.passiveListener!=null){if(typeof console!=="undefined"&&typeof console.error==="function"){console.error("Unable to preventDefault inside passive event listener invocation.",i.passiveListener)}return}if(!i.event.cancelable){return}i.canceled=true;if(typeof i.event.preventDefault==="function"){i.event.preventDefault()}}function Event(i,d){p.set(this,{eventTarget:i,event:d,eventPhase:2,currentTarget:i,canceled:false,stopped:false,immediateStopped:false,passiveListener:null,timeStamp:d.timeStamp||Date.now()});Object.defineProperty(this,"isTrusted",{value:false,enumerable:true});const v=Object.keys(d);for(let i=0;i<v.length;++i){const d=v[i];if(!(d in this)){Object.defineProperty(this,d,defineRedirectDescriptor(d))}}}Event.prototype={get type(){return pd(this).event.type},get target(){return pd(this).eventTarget},get currentTarget(){return pd(this).currentTarget},composedPath(){const i=pd(this).currentTarget;if(i==null){return[]}return[i]},get NONE(){return 0},get CAPTURING_PHASE(){return 1},get AT_TARGET(){return 2},get BUBBLING_PHASE(){return 3},get eventPhase(){return pd(this).eventPhase},stopPropagation(){const i=pd(this);i.stopped=true;if(typeof i.event.stopPropagation==="function"){i.event.stopPropagation()}},stopImmediatePropagation(){const i=pd(this);i.stopped=true;i.immediateStopped=true;if(typeof i.event.stopImmediatePropagation==="function"){i.event.stopImmediatePropagation()}},get bubbles(){return Boolean(pd(this).event.bubbles)},get cancelable(){return Boolean(pd(this).event.cancelable)},preventDefault(){setCancelFlag(pd(this))},get defaultPrevented(){return pd(this).canceled},get composed(){return Boolean(pd(this).event.composed)},get timeStamp(){return pd(this).timeStamp},get srcElement(){return pd(this).eventTarget},get cancelBubble(){return pd(this).stopped},set cancelBubble(i){if(!i){return}const d=pd(this);d.stopped=true;if(typeof d.event.cancelBubble==="boolean"){d.event.cancelBubble=true}},get returnValue(){return!pd(this).canceled},set returnValue(i){if(!i){setCancelFlag(pd(this))}},initEvent(){}};Object.defineProperty(Event.prototype,"constructor",{value:Event,configurable:true,writable:true});if(typeof window!=="undefined"&&typeof window.Event!=="undefined"){Object.setPrototypeOf(Event.prototype,window.Event.prototype);v.set(window.Event.prototype,Event)}function defineRedirectDescriptor(i){return{get(){return pd(this).event[i]},set(d){pd(this).event[i]=d},configurable:true,enumerable:true}}function defineCallDescriptor(i){return{value(){const d=pd(this).event;return d[i].apply(d,arguments)},configurable:true,enumerable:true}}function defineWrapper(i,d){const p=Object.keys(d);if(p.length===0){return i}function CustomEvent(d,p){i.call(this,d,p)}CustomEvent.prototype=Object.create(i.prototype,{constructor:{value:CustomEvent,configurable:true,writable:true}});for(let v=0;v<p.length;++v){const V=p[v];if(!(V in i.prototype)){const i=Object.getOwnPropertyDescriptor(d,V);const p=typeof i.value==="function";Object.defineProperty(CustomEvent.prototype,V,p?defineCallDescriptor(V):defineRedirectDescriptor(V))}}return CustomEvent}function getWrapper(i){if(i==null||i===Object.prototype){return Event}let d=v.get(i);if(d==null){d=defineWrapper(getWrapper(Object.getPrototypeOf(i)),i);v.set(i,d)}return d}function wrapEvent(i,d){const p=getWrapper(Object.getPrototypeOf(d));return new p(i,d)}function isStopped(i){return pd(i).immediateStopped}function setEventPhase(i,d){pd(i).eventPhase=d}function setCurrentTarget(i,d){pd(i).currentTarget=d}function setPassiveListener(i,d){pd(i).passiveListener=d}const V=new WeakMap;const K=1;const ee=2;const te=3;function isObject(i){return i!==null&&typeof i==="object"}function getListeners(i){const d=V.get(i);if(d==null){throw new TypeError("'this' is expected an EventTarget object, but got another value.")}return d}function defineEventAttributeDescriptor(i){return{get(){const d=getListeners(this);let p=d.get(i);while(p!=null){if(p.listenerType===te){return p.listener}p=p.next}return null},set(d){if(typeof d!=="function"&&!isObject(d)){d=null}const p=getListeners(this);let v=null;let V=p.get(i);while(V!=null){if(V.listenerType===te){if(v!==null){v.next=V.next}else if(V.next!==null){p.set(i,V.next)}else{p.delete(i)}}else{v=V}V=V.next}if(d!==null){const V={listener:d,listenerType:te,passive:false,once:false,next:null};if(v===null){p.set(i,V)}else{v.next=V}}},configurable:true,enumerable:true}}function defineEventAttribute(i,d){Object.defineProperty(i,`on${d}`,defineEventAttributeDescriptor(d))}function defineCustomEventTarget(i){function CustomEventTarget(){EventTarget.call(this)}CustomEventTarget.prototype=Object.create(EventTarget.prototype,{constructor:{value:CustomEventTarget,configurable:true,writable:true}});for(let d=0;d<i.length;++dLine truncated
|
||||
/*! https://mths.be/he v1.2.0 by @mathias | MIT license */(function(p){var v=true&&d;var V=true&&i&&i.exports==v&&i;var K=typeof global=="object"&&global;if(K.global===K||K.window===K){p=K}var ee=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g;var te=/[\x01-\x7F]/g;var re=/[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g;var ne=/<\u20D2|=\u20E5|>\u20D2|\u205F\u200A|\u219D\u0338|\u2202\u0338|\u2220\u20D2|\u2229\uFE00|\u222A\uFE00|\u223C\u20D2|\u223D\u0331|\u223E\u0333|\u2242\u0338|\u224B\u0338|\u224D\u20D2|\u224E\u0338|\u224F\u0338|\u2250\u0338|\u2261\u20E5|\u2264\u20D2|\u2265\u20D2|\u2266\u0338|\u2267\u0338|\u2268\uFE00|\u2269\uFE00|\u226A\u0338|\u226A\u20D2|\u226B\u0338|\u226B\u20D2|\u227F\u0338|\u2282\u20D2|\u2283\u20D2|\u228A\uFE00|\u228B\uFE00|\u228F\u0338|\u2290\u0338|\u2293\uFE00|\u2294\uFE00|\u22B4\u20D2|\u22B5\u20D2|\u22D8\u0338|\u22D9\u0338|\u22DA\uFE00|\u22DB\uFE00|\u22F5\u0338|\u22F9\u0338|\u2933\u0338|\u29CF\u0338|\u29D0\u0338|\u2A6D\u0338|\u2A70\u0338|\u2A7D\u0338|\u2A7E\u0338|\u2AA1\u0338|\u2AA2\u0338|\u2AAC\uFE00|\u2AAD\uFE00|\u2AAF\u0338|\u2AB0\u0338|\u2AC5\u0338|\u2AC6\u0338|\u2ACB\uFE00|\u2ACC\uFE00|\u2AFD\u20E5|[\xA0-\u0113\u0116-\u0122\u0124-\u012B\u012E-\u014D\u0150-\u017E\u0192\u01B5\u01F5\u0237\u02C6\u02C7\u02D8-\u02DD\u0311\u0391-\u03A1\u03A3-\u03A9\u03B1-\u03C9\u03D1\u03D2\u03D5\u03D6\u03DC\u03DD\u03F0\u03F1\u03F5\u03F6\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E\u045F\u2002-\u2005\u2007-\u2010\u2013-\u2016\u2018-\u201A\u201C-\u201E\u2020-\u2022\u2025\u2026\u2030-\u2035\u2039\u203A\u203E\u2041\u2043\u2044\u204F\u2057\u205F-\u2063\u20AC\u20DB\u20DC\u2102\u2105\u210A-\u2113\u2115-\u211E\u2122\u2124\u2127-\u2129\u212C\u212D\u212F-\u2131\u2133-\u2138\u2145-\u2148\u2153-\u215E\u2190-\u219B\u219D-\u21A7\u21A9-\u21AE\u21B0-\u21B3\u21B5-\u21B7\u21BA-\u21DB\u21DD\u21E4\u21E5\u21F5\u21FD-\u2205\u2207-\u2209\u220B\u220C\u220F-\u2214\u2216-\u2218\u221A\u221D-\u2238\u223A-\u2257\u2259\u225A\u225C\u225F-\u2262\u2264-\u228B\u228D-\u229B\u229D-\u22A5\u22A7-\u22B0\u22B2-\u22BB\u22BD-\u22DB\u22DE-\u22E3\u22E6-\u22F7\u22F9-\u22FE\u2305\u2306\u2308-\u2310\u2312\u2313\u2315\u2316\u231C-\u231F\u2322\u2323\u232D\u232E\u2336\u233D\u233F\u237C\u23B0\u23B1\u23B4-\u23B6\u23DC-\u23DF\u23E2\u23E7\u2423\u24C8\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2550-\u256C\u2580\u2584\u2588\u2591-\u2593\u25A1\u25AA\u25AB\u25AD\u25AE\u25B1\u25B3-\u25B5\u25B8\u25B9\u25BD-\u25BF\u25C2\u25C3\u25CA\u25CB\u25EC\u25EF\u25F8-\u25FC\u2605\u2606\u260E\u2640\u2642\u2660\u2663\u2665\u2666\u266A\u266D-\u266F\u2713\u2717\u2720\u2736\u2758\u2772\u2773\u27C8\u27C9\u27E6-\u27ED\u27F5-\u27FA\u27FC\u27FF\u2902-\u2905\u290C-\u2913\u2916\u2919-\u2920\u2923-\u292A\u2933\u2935-\u2939\u293C\u293D\u2945\u2948-\u294B\u294E-\u2976\u2978\u2979\u297B-\u297F\u2985\u2986\u298B-\u2996\u299A\u299C\u299D\u29A4-\u29B7\u29B9\u29BB\u29BC\u29BE-\u29C5\u29C9\u29CD-\u29D0\u29DC-\u29DE\u29E3-\u29E5\u29EB\u29F4\u29F6\u2A00-\u2A02\u2A04\u2A06\u2A0C\u2A0D\u2A10-\u2A17\u2A22-\u2A27\u2A29\u2A2A\u2A2D-\u2A31\u2A33-\u2A3C\u2A3F\u2A40\u2A42-\u2A4D\u2A50\u2A53-\u2A58\u2A5A-\u2A5D\u2A5F\u2A66\u2A6A\u2A6D-\u2A75\u2A77-\u2A9A\u2A9D-\u2AA2\u2AA4-\u2AB0\u2AB3-\u2AC8\u2ACB\u2ACC\u2ACF-\u2ADB\u2AE4\u2AE6-\u2AE9\u2AEB-\u2AF3\u2AFD\uFB00-\uFB04]|\uD835[\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDD6B]/g;var se={"":"shy","":"zwnj","":"zwj","":"lrm","":"ic","":"it","":"af","":"rlm","":"ZeroWidthSpace","":"NoBreak","̑":"DownBreve","⃛":"tdot","⃜":"DotDot","\t":"Tab","\n":"NewLine"," ":"puncsp"," ":"MediumSpace"," ":"thinsp"," ":"hairsp"," ":"emsp13"," ":"ensp"," ":"emsp14"," ":"emsp"," ":"numsp"," ":"nbsp"," ":"ThickSpace","‾":"oline",_:"lowbar","‐":"dash","–":"ndash","—":"mdash","―":"horbar",",":"comma",";":"semi","⁏":"bsemi",":":"colon","⩴":"Colone","!":"excl","¡":"iexcl","?":"quest","¿":"iquest",".":"period","‥":"nldr","…":"mldr","·":"middot","'":"apos","‘":"lsquo","’":"rsquo","‚":"sbquo","‹":"lsaquo","›":"rsaquo",'"':"quot","“":"ldquo","”":"rdquo","„":"bdquo","«":"laquo","»":"raquo","(":"lpar",")":"rpar","[":"lsqb","]":"rsqb","{":"lcub","}":"rcub","⌈":"lceil","⌉":"rceil","⌊":"lfloor","⌋":"rfloor","⦅":"lopar","⦆":"ropar","⦋":"lbrke","⦌":"rbrke","⦍":"lbrkslu","⦎":"rbrksld","⦏":"lbrksld","⦐":"rbrkslu","⦑":"langd","⦒":"rangd","⦓":"lparlt","⦔":"rpargt","⦕":"gtlPar","⦖":"ltrPar","⟦":"lobrk","⟧":"robrk","⟨":"lang","⟩":"rang","⟪":"Lang","⟫":"Rang","⟬":"loang","⟭":"roang","❲":"lbbrk","❳":"rbbrk","‖":"Vert","§":"sect","¶":"para","@":"commat","*":"ast","/":"sol",undefined:null,"&":"amp","#":"num","%":"percnt","‰":"permil","‱":"pertenk","†":"dagger","‡":"Dagger","•":"bull","⁃":"hybull","′":"prime","″":"Prime","‴":"tprime","⁗":"qLine truncated
|
||||
/*!
|
||||
* is-plain-object <https://github.com/jonschlinkert/is-plain-object>
|
||||
*
|
||||
* Copyright (c) 2014-2017, Jon Schlinkert.
|
||||
* Released under the MIT License.
|
||||
*/function isObject(i){return Object.prototype.toString.call(i)==="[object Object]"}function isPlainObject(i){var d,p;if(isObject(i)===false)return false;d=i.constructor;if(d===undefined)return true;p=d.prototype;if(isObject(p)===false)return false;if(p.hasOwnProperty("isPrototypeOf")===false){return false}return true}d.isPlainObject=isPlainObject},96543:i=>{const isStream=i=>i!==null&&typeof i==="object"&&typeof i.pipe==="function";isStream.writable=i=>isStream(i)&&i.writable!==false&&typeof i._write==="function"&&typeof i._writableState==="object";isStream.readable=i=>isStream(i)&&i.readable!==false&&typeof i._read==="function"&&typeof i._readableState==="object";isStream.duplex=i=>isStream.writable(i)&&isStream.readable(i);isStream.transform=i=>isStream.duplex(i)&&typeof i._transform==="function";i.exports=isStream},82513:i=>{var d={}.toString;i.exports=Array.isArray||function(i){return d.call(i)=="[object Array]"}},74281:(i,d,p)=>{var v=p(91950);var V=p(59980);function renamed(i,d){return function(){throw new Error("Function yaml."+i+" is removed in js-yaml 4. "+"Use yaml."+d+" instead, which is now safe by default.")}}i.exports.Type=p(9557);i.exports.Schema=p(62046);i.exports.FAILSAFE_SCHEMA=p(69832);i.exports.JSON_SCHEMA=p(58927);i.exports.CORE_SCHEMA=p(55746);i.exports.DEFAULT_SCHEMA=p(97336);i.exports.load=v.load;i.exports.loadAll=v.loadAll;i.exports.dump=V.dump;i.exports.YAMLException=p(41248);i.exports.types={binary:p(8149),float:p(57584),map:p(47316),null:p(4333),pairs:p(16267),set:p(78758),timestamp:p(28966),bool:p(67296),int:p(62271),merge:p(76854),omap:p(58649),seq:p(77161),str:p(53929)};i.exports.safeLoad=renamed("safeLoad","load");i.exports.safeLoadAll=renamed("safeLoadAll","loadAll");i.exports.safeDump=renamed("safeDump","dump")},19816:i=>{function isNothing(i){return typeof i==="undefined"||i===null}function isObject(i){return typeof i==="object"&&i!==null}function toArray(i){if(Array.isArray(i))return i;else if(isNothing(i))return[];return[i]}function extend(i,d){var p,v,V,K;if(d){K=Object.keys(d);for(p=0,v=K.length;p<v;p+=1){V=K[p];i[V]=d[V]}}return i}function repeat(i,d){var p="",v;for(v=0;v<d;v+=1){p+=i}return p}function isNegativeZero(i){return i===0&&Number.NEGATIVE_INFINITY===1/i}i.exports.isNothing=isNothing;i.exports.isObject=isObject;i.exports.toArray=toArray;i.exports.repeat=repeat;i.exports.isNegativeZero=isNegativeZero;i.exports.extend=extend},59980:(i,d,p)=>{var v=p(19816);var V=p(41248);var K=p(97336);var ee=Object.prototype.toString;var te=Object.prototype.hasOwnProperty;var re=65279;var ne=9;var se=10;var ie=13;var oe=32;var ae=33;var Ae=34;var ce=35;var le=37;var ue=38;var de=39;var he=42;var fe=44;var ge=45;var pe=58;var me=61;var Ee=62;var Ce=63;var ye=64;var Ie=91;var Be=93;var Qe=96;var be=123;var we=124;var Se=125;var Re={};Re[0]="\\0";Re[7]="\\a";Re[8]="\\b";Re[9]="\\t";Re[10]="\\n";Re[11]="\\v";Re[12]="\\f";Re[13]="\\r";Re[27]="\\e";Re[34]='\\"';Re[92]="\\\\";Re[133]="\\N";Re[160]="\\_";Re[8232]="\\L";Re[8233]="\\P";var ve=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"];var ke=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function compileStyleMap(i,d){var p,v,V,K,ee,re,ne;if(d===null)return{};p={};v=Object.keys(d);for(V=0,K=v.length;V<K;V+=1){ee=v[V];re=String(d[ee]);if(ee.slice(0,2)==="!!"){ee="tag:yaml.org,2002:"+ee.slice(2)}ne=i.compiledTypeMap["fallback"][ee];if(ne&&te.call(ne.styleAliases,re)){re=ne.styleAliases[re]}p[ee]=re}return p}function encodeHex(i){var d,p,K;d=i.toString(16).toUpperCase();if(i<=255){p="x";K=2}else if(i<=65535){p="u";K=4}else if(i<=4294967295){p="U";K=8}else{throw new V("code point within a string may not be greater than 0xFFFFFFFF")}return"\\"+p+v.repeat("0",K-d.length)+d}var Te=1,Ne=2;function State(i){this.schema=i["schema"]||K;this.indent=Math.max(1,i["indent"]||2);this.noArrayIndent=i["noArrayIndent"]||false;this.skipInvalid=i["skipInvalid"]||false;this.flowLevel=v.isNothing(i["flowLevel"])?-1:i["flowLevel"];this.styleMap=compileStyleMap(this.schema,i["styles"]||null);this.sortKeys=i["sortKeys"]||false;this.lineWidth=i["lineWidth"]||80;this.noRefs=i["noRefs"]||false;this.noCompatMode=i["noCompatMode"]||false;this.condenseFlow=i["condenseFlow"]||false;this.quotingType=i["quotingType"]==='"'?Ne:Te;this.forceQuotes=i["forceQuotes"]||false;this.replacer=typeof i["replacer"]==="function"?i["replacer"]:null;this.implicitTypes=this.schema.compiledImplicit;this.explicitTypes=this.schema.compiledExplicit;this.tag=null;this.result="";this.duplicates=[];this.usedDuplicates=null}function indentString(i,d){var p=v.repeat(" ",d),V=0,K=-1,ee="",te,re=i.length;while(V<re){K=i.indexOf("\n",V);if(K===-1){te=i.slice(V);V=re}else{te=i.slice(V,K+1);V=K+1}if(te.length&&te!=="\n")ee+=p;ee+=te}return ee}function generateNextLine(i,d){return"\n"+v.repeat(" ",i.indent*d)}function testImplicitResolving(i,d){var p,v,V;for(p=0,v=i.implicitTypes.length;p<v;p+=1){V=i.implicitTypes[p];if(V.resolve(d)){return true}}return false}fLine truncated
|
||||
/*!
|
||||
* normalize-path <https://github.com/jonschlinkert/normalize-path>
|
||||
*
|
||||
* Copyright (c) 2014-2018, Jon Schlinkert.
|
||||
* Released under the MIT License.
|
||||
*/
|
||||
i.exports=function(i,d){if(typeof i!=="string"){throw new TypeError("expected path to be a string")}if(i==="\\"||i==="/")return"/";var p=i.length;if(p<=1)return i;var v="";if(p>4&&i[3]==="\\"){var V=i[2];if((V==="?"||V===".")&&i.slice(0,2)==="\\\\"){i=i.slice(2);v="//"}}var K=i.split(/[/\\]+/);if(d!==false&&K[K.length-1]===""){K.pop()}return v+K.join("/")}},55560:(i,d,p)=>{var v=p(58264);i.exports=v(once);i.exports.strict=v(onceStrict);once.proto=once((function(){Object.defineProperty(Function.prototype,"once",{value:function(){return once(this)},configurable:true});Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return onceStrict(this)},configurable:true})}));function once(i){var f=function(){if(f.called)return f.value;f.called=true;return f.value=i.apply(this,arguments)};f.called=false;return f}function onceStrict(i){var f=function(){if(f.called)throw new Error(f.onceError);f.called=true;return f.value=i.apply(this,arguments)};var d=i.name||"Function wrapped with `once`";f.onceError=d+" shouldn't be called more than once";f.called=false;return f}},19183:i=>{if(typeof process==="undefined"||!process.version||process.version.indexOf("v0.")===0||process.version.indexOf("v1.")===0&&process.version.indexOf("v1.8.")!==0){i.exports={nextTick:nextTick}}else{i.exports=process}function nextTick(i,d,p,v){if(typeof i!=="function"){throw new TypeError('"callback" argument must be a function')}var V=arguments.length;var K,ee;switch(V){case 0:case 1:return process.nextTick(i);case 2:return process.nextTick((function afterTickOne(){i.call(null,d)}));case 3:return process.nextTick((function afterTickTwo(){i.call(null,d,p)}));case 4:return process.nextTick((function afterTickThree(){i.call(null,d,p,v)}));default:K=new Array(V-1);ee=0;while(ee<K.length){K[ee++]=arguments[ee]}return process.nextTick((function afterTick(){i.apply(null,K)}))}}},7945:i=>{i.exports=global.process},5506:(i,d,p)=>{i.exports=typeof process!=="undefined"&&typeof process.nextTick==="function"?process.nextTick.bind(process):p(36828)},36828:i=>{i.exports=typeof queueMicrotask==="function"?queueMicrotask:i=>Promise.resolve().then(i)},80652:(i,d,p)=>{const{SymbolDispose:v}=p(50999);const{AbortError:V,codes:K}=p(69220);const{isNodeStream:ee,isWebStream:te,kControllerErrorFunction:re}=p(83426);const ne=p(36815);const{ERR_INVALID_ARG_TYPE:se}=K;let ie;const validateAbortSignal=(i,d)=>{if(typeof i!=="object"||!("aborted"in i)){throw new se(d,"AbortSignal",i)}};i.exports.addAbortSignal=function addAbortSignal(d,p){validateAbortSignal(d,"signal");if(!ee(p)&&!te(p)){throw new se("stream",["ReadableStream","WritableStream","Stream"],p)}return i.exports.addAbortSignalNoValidate(d,p)};i.exports.addAbortSignalNoValidate=function(i,d){if(typeof i!=="object"||!("aborted"in i)){return d}const K=ee(d)?()=>{d.destroy(new V(undefined,{cause:i.reason}))}:()=>{d[re](new V(undefined,{cause:i.reason}))};if(i.aborted){K()}else{ie=ie||p(23539).addAbortListener;const V=ie(i,K);ne(d,V[v])}return d}},77336:(i,d,p)=>{const{StringPrototypeSlice:v,SymbolIterator:V,TypedArrayPrototypeSet:K,Uint8Array:ee}=p(50999);const{Buffer:te}=p(20181);const{inspect:re}=p(23539);i.exports=class BufferList{constructor(){this.head=null;this.tail=null;this.length=0}push(i){const d={data:i,next:null};if(this.length>0)this.tail.next=d;else this.head=d;this.tail=d;++this.length}unshift(i){const d={data:i,next:this.head};if(this.length===0)this.tail=d;this.head=d;++this.length}shift(){if(this.length===0)return;const i=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;--this.length;return i}clear(){this.head=this.tail=null;this.length=0}join(i){if(this.length===0)return"";let d=this.head;let p=""+d.data;while((d=d.next)!==null)p+=i+d.data;return p}concat(i){if(this.length===0)return te.alloc(0);const d=te.allocUnsafe(i>>>0);let p=this.head;let v=0;while(p){K(d,p.data,v);v+=p.data.length;p=p.next}return d}consume(i,d){const p=this.head.data;if(i<p.length){const d=p.slice(0,i);this.head.data=p.slice(i);return d}if(i===p.length){return this.shift()}return d?this._getString(i):this._getBuffer(i)}first(){return this.head.data}*[V](){for(let i=this.head;i;i=i.next){yield i.data}}_getString(i){let d="";let p=this.head;let V=0;do{const K=p.data;if(i>K.length){d+=K;i-=K.length}else{if(i===K.length){d+=K;++V;if(p.next)this.head=p.next;else this.head=this.tail=null}else{d+=v(K,0,i);this.head=p;p.data=v(K,i)}break}++V}while((p=p.next)!==null);this.length-=V;return d}_getBuffer(i){const d=te.allocUnsafe(i);const p=i;let v=this.head;let V=0;do{const te=v.data;if(i>te.length){K(d,te,p-i);i-=te.length}else{if(i===te.length){K(d,te,p-i);++V;if(v.next)this.head=v.next;else this.head=this.tail=null}else{K(d,new ee(te.buffer,te.byteOffset,i),p-i);this.head=v;v.data=te.slice(i)}break}++V}while((v=v.next)!==null);this.length-=V;return d}[Symbol.for("nodejs.util.inspect.custom")](i,d){return re(this,{...d,depth:0,customInspect:false})}}},64999:(i,d,p)=>{const{pipelLine truncated
|
||||
import './sourcemap-register.cjs';import{createRequire as e}from"module";var t={3311:function(e,t){var n=this&&this.__awaiter||function(e,t,n,o){function adopt(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,i){function fulfilled(e){try{step(o.next(e))}catch(e){i(e)}}function rejected(e){try{step(o["throw"](e))}catch(e){i(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((o=o.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.ClientStreamingCall=void 0;class ClientStreamingCall{constructor(e,t,n,o,i,d,p){this.method=e;this.requestHeaders=t;this.requests=n;this.headers=o;this.response=i;this.status=d;this.trailers=p}then(e,t){return this.promiseFinished().then((t=>e?Promise.resolve(e(t)):t),(e=>t?Promise.resolve(t(e)):Promise.reject(e)))}promiseFinished(){return n(this,void 0,void 0,(function*(){let[e,t,n,o]=yield Promise.all([this.headers,this.response,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,headers:e,response:t,status:n,trailers:o}}))}}t.ClientStreamingCall=ClientStreamingCall},9499:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.Deferred=t.DeferredState=void 0;var n;(function(e){e[e["PENDING"]=0]="PENDING";e[e["REJECTED"]=1]="REJECTED";e[e["RESOLVED"]=2]="RESOLVED"})(n=t.DeferredState||(t.DeferredState={}));class Deferred{constructor(e=true){this._state=n.PENDING;this._promise=new Promise(((e,t)=>{this._resolve=e;this._reject=t}));if(e){this._promise.catch((e=>{}))}}get state(){return this._state}get promise(){return this._promise}resolve(e){if(this.state!==n.PENDING)throw new Error(`cannot resolve ${n[this.state].toLowerCase()}`);this._resolve(e);this._state=n.RESOLVED}reject(e){if(this.state!==n.PENDING)throw new Error(`cannot reject ${n[this.state].toLowerCase()}`);this._reject(e);this._state=n.REJECTED}resolvePending(e){if(this._state===n.PENDING)this.resolve(e)}rejectPending(e){if(this._state===n.PENDING)this.reject(e)}}t.Deferred=Deferred},800:function(e,t){var n=this&&this.__awaiter||function(e,t,n,o){function adopt(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,i){function fulfilled(e){try{step(o.next(e))}catch(e){i(e)}}function rejected(e){try{step(o["throw"](e))}catch(e){i(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((o=o.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.DuplexStreamingCall=void 0;class DuplexStreamingCall{constructor(e,t,n,o,i,d,p){this.method=e;this.requestHeaders=t;this.requests=n;this.headers=o;this.responses=i;this.status=d;this.trailers=p}then(e,t){return this.promiseFinished().then((t=>e?Promise.resolve(e(t)):t),(e=>t?Promise.resolve(t(e)):Promise.reject(e)))}promiseFinished(){return n(this,void 0,void 0,(function*(){let[e,t,n]=yield Promise.all([this.headers,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,headers:e,status:t,trailers:n}}))}}t.DuplexStreamingCall=DuplexStreamingCall},6762:(e,t,n)=>{var o;o={value:true};var i=n(2554);Object.defineProperty(t,"C0",{enumerable:true,get:function(){return i.ServiceType}});var d=n(3402);o={enumerable:true,get:function(){return d.readMethodOptions}};o={enumerable:true,get:function(){return d.readMethodOption}};o={enumerable:true,get:function(){return d.readServiceOption}};var p=n(422);o={enumerable:true,get:function(){return p.RpcError}};var f=n(3474);o={enumerable:true,get:function(){return f.mergeRpcOptions}};var y=n(6407);o={enumerable:true,get:function(){return y.RpcOutputStreamController}};var v=n(5435);o={enumerable:true,get:function(){return v.TestTransport}};var D=n(9499);o={enumerable:true,get:function(){return D.Deferred}};o={enumerable:true,get:function(){return D.DeferredState}};var M=n(800);o={enumerable:true,get:function(){return M.DuplexStreamingCall}};var U=n(3311);o={enumerable:true,get:function(){return U.ClientStreamingCall}};var V=n(2715);o={enumerable:true,get:function(){return V.ServerStreamingCall}};var j=n(738);o={enumerable:true,get:function(){return j.UnaryCall}};var K=n(4359);o={enumerable:true,get:function(){return K.stackIntercept}};o={enumerable:true,get:function(){return K.stackDuplexStreamingInterceptors}};o={enumerable:true,get:function(){return K.stackClientStreamingInterceptors}};o={enumerable:true,get:function(){return K.stackServerStreamingInterceptors}};o={enumerable:true,get:function(){return K.stackUnaryInterceptors}};var ee=n(4626);o={enumerable:true,get:function(){return ee.ServerCallContextController}}},3402:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.readServiceOption=t.readMethodOption=t.readMethodOptions=t.normalizeMethodInfo=void 0;const o=n(8372);function normalizeMethodInfo(e,t){var n,i,d;let p=e;p.service=t;p.localName=(n=p.localName)!==null&&n!==void 0?n:o.lowerCamelCase(p.name);p.serverStreaming=!!p.serverStreaming;p.clientStreaming=!!p.cLine truncated
|
||||
/*!
|
||||
* Tmp
|
||||
*
|
||||
* Copyright (c) 2011-2017 KARASZI Istvan <github@spam.raszi.hu>
|
||||
*
|
||||
* MIT Licensed
|
||||
*/
|
||||
const v=p(79896);const V=p(70857);const K=p(16928);const ee=p(76982);const te={fs:v.constants,os:V.constants};const re="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",ne=/XXXXXX/,se=3,ie=(te.O_CREAT||te.fs.O_CREAT)|(te.O_EXCL||te.fs.O_EXCL)|(te.O_RDWR||te.fs.O_RDWR),oe=V.platform()==="win32",ae=te.EBADF||te.os.errno.EBADF,Ae=te.ENOENT||te.os.errno.ENOENT,ce=448,le=384,ue="exit",de=[],he=v.rmdirSync.bind(v);let fe=false;function rimraf(i,d){return v.rm(i,{recursive:true},d)}function FN_RIMRAF_SYNC(i){return v.rmSync(i,{recursive:true})}function tmpName(i,d){const p=_parseArguments(i,d),V=p[0],K=p[1];_assertAndSanitizeOptions(V,(function(i,d){if(i)return K(i);let p=d.tries;(function _getUniqueName(){try{const i=_generateTmpName(d);v.stat(i,(function(d){if(!d){if(p-- >0)return _getUniqueName();return K(new Error("Could not get a unique tmp filename, max tries reached "+i))}K(null,i)}))}catch(i){K(i)}})()}))}function tmpNameSync(i){const d=_parseArguments(i),p=d[0];const V=_assertAndSanitizeOptionsSync(p);let K=V.tries;do{const i=_generateTmpName(V);try{v.statSync(i)}catch(d){return i}}while(K-- >0);throw new Error("Could not get a unique tmp filename, max tries reached")}function file(i,d){const p=_parseArguments(i,d),V=p[0],K=p[1];tmpName(V,(function _tmpNameCreated(i,d){if(i)return K(i);v.open(d,ie,V.mode||le,(function _fileCreated(i,p){if(i)return K(i);if(V.discardDescriptor){return v.close(p,(function _discardCallback(i){return K(i,d,undefined,_prepareTmpFileRemoveCallback(d,-1,V,false))}))}else{const i=V.discardDescriptor||V.detachDescriptor;K(null,d,p,_prepareTmpFileRemoveCallback(d,i?-1:p,V,false))}}))}))}function fileSync(i){const d=_parseArguments(i),p=d[0];const V=p.discardDescriptor||p.detachDescriptor;const K=tmpNameSync(p);let ee=v.openSync(K,ie,p.mode||le);if(p.discardDescriptor){v.closeSync(ee);ee=undefined}return{name:K,fd:ee,removeCallback:_prepareTmpFileRemoveCallback(K,V?-1:ee,p,true)}}function dir(i,d){const p=_parseArguments(i,d),V=p[0],K=p[1];tmpName(V,(function _tmpNameCreated(i,d){if(i)return K(i);v.mkdir(d,V.mode||ce,(function _dirCreated(i){if(i)return K(i);K(null,d,_prepareTmpDirRemoveCallback(d,V,false))}))}))}function dirSync(i){const d=_parseArguments(i),p=d[0];const V=tmpNameSync(p);v.mkdirSync(V,p.mode||ce);return{name:V,removeCallback:_prepareTmpDirRemoveCallback(V,p,true)}}function _removeFileAsync(i,d){const _handler=function(i){if(i&&!_isENOENT(i)){return d(i)}d()};if(0<=i[0])v.close(i[0],(function(){v.unlink(i[1],_handler)}));else v.unlink(i[1],_handler)}function _removeFileSync(i){let d=null;try{if(0<=i[0])v.closeSync(i[0])}catch(i){if(!_isEBADF(i)&&!_isENOENT(i))throw i}finally{try{v.unlinkSync(i[1])}catch(i){if(!_isENOENT(i))d=i}}if(d!==null){throw d}}function _prepareTmpFileRemoveCallback(i,d,p,v){const V=_prepareRemoveCallback(_removeFileSync,[d,i],v);const K=_prepareRemoveCallback(_removeFileAsync,[d,i],v,V);if(!p.keep)de.unshift(V);return v?V:K}function _prepareTmpDirRemoveCallback(i,d,p){const V=d.unsafeCleanup?rimraf:v.rmdir.bind(v);const K=d.unsafeCleanup?FN_RIMRAF_SYNC:he;const ee=_prepareRemoveCallback(K,i,p);const te=_prepareRemoveCallback(V,i,p,ee);if(!d.keep)de.unshift(ee);return p?ee:te}function _prepareRemoveCallback(i,d,p,v){let V=false;return function _cleanupCallback(K){if(!V){const ee=v||_cleanupCallback;const te=de.indexOf(ee);if(te>=0)de.splice(te,1);V=true;if(p||i===he||i===FN_RIMRAF_SYNC){return i(d)}else{return i(d,K||function(){})}}}}function _garbageCollector(){if(!fe)return;while(de.length){try{de[0]()}catch(i){}}}function _randomChars(i){let d=[],p=null;try{p=ee.randomBytes(i)}catch(d){p=ee.pseudoRandomBytes(i)}for(let v=0;v<i;v++){d.push(re[p[v]%re.length])}return d.join("")}function _isUndefined(i){return typeof i==="undefined"}function _parseArguments(i,d){if(typeof i==="function"){return[{},i]}if(_isUndefined(i)){return[{},d]}const p={};for(const d of Object.getOwnPropertyNames(i)){p[d]=i[d]}return[p,d]}function _resolvePath(i,d,p){const V=K.isAbsolute(i)?i:K.join(d,i);v.stat(V,(function(i){if(i){v.realpath(K.dirname(V),(function(i,d){if(i)return p(i);p(null,K.join(d,K.basename(V)))}))}else{v.realpath(V,p)}}))}function _resolvePathSync(i,d){const p=K.isAbsolute(i)?i:K.join(d,i);try{v.statSync(p);return v.realpathSync(p)}catch(i){const d=v.realpathSync(K.dirname(p));return K.join(d,K.basename(p))}}function _generateTmpName(i){const d=i.tmpdir;if(!_isUndefined(i.name)){return K.join(d,i.dir,i.name)}if(!_isUndefined(i.template)){return K.join(d,i.dir,i.template).replace(ne,_randomChars(6))}const p=[i.prefix?i.prefix:"tmp","-",process.pid,"-",_randomChars(12),i.postfix?"-"+i.postfix:""].join("");return K.join(d,i.dir,p)}function _assertOptionsBase(i){if(!_isUndefined(i.name)){const d=i.name;if(K.isAbsolute(d))throw new Error(`name option must not contain an absolute path, found "${d}".`);const p=K.basename(d);if(p===".."||p==="."||p!==d)throw new Error(`name option must not contain a path, found "${d}".`)}if(!_isUndefined(i.teLine truncated
|
||||
/*! formdata-polyfill. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> */;const escape=i=>i.replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22");const normalizeLinefeeds=i=>i.replace(/\r?\n|\r/g,"\r\n");const v=[];const V=new Uint8Array([13,10]);ie=0;let K=false;for(const[d,ee]of i){if(typeof ee==="string"){const i=Qe.encode(p+`; name="${escape(normalizeLinefeeds(d))}"`+`\r\n\r\n${normalizeLinefeeds(ee)}\r\n`);v.push(i);ie+=i.byteLength}else{const i=Qe.encode(`${p}; name="${escape(normalizeLinefeeds(d))}"`+(ee.name?`; filename="${escape(ee.name)}"`:"")+"\r\n"+`Content-Type: ${ee.type||"application/octet-stream"}\r\n\r\n`);v.push(i,ee,V);if(typeof ee.size==="number"){ie+=i.byteLength+ee.size+V.byteLength}else{K=true}}}const ee=Qe.encode(`--${d}--`);v.push(ee);ie+=ee.byteLength;if(K){ie=null}se=i;ne=async function*(){for(const i of v){if(i.stream){yield*i.stream()}else{yield i}}};oe="multipart/form-data; boundary="+d}else if(ee(i)){se=i;ie=i.size;if(i.type){oe=i.type}}else if(typeof i[Symbol.asyncIterator]==="function"){if(d){throw new TypeError("keepalive")}if(V.isDisturbed(i)||i.locked){throw new TypeError("Response body object should not be disturbed or locked")}v=i instanceof Ie?i:K(i)}if(typeof se==="string"||V.isBuffer(se)){ie=Buffer.byteLength(se)}if(ne!=null){let d;v=new Ie({async start(){d=ne(i)[Symbol.asyncIterator]()},async pull(i){const{value:p,done:V}=await d.next();if(V){queueMicrotask((()=>{i.close()}))}else{if(!fe(v)){i.enqueue(new Uint8Array(p))}}return i.desiredSize>0},async cancel(i){await d.return()},type:undefined})}const ae={stream:v,source:se,length:ie};return[ae,oe]}function safelyExtractBody(i,d=false){if(!Ie){Ie=p(63774).ReadableStream}if(i instanceof Ie){he(!V.isDisturbed(i),"The body has already been consumed.");he(!i.locked,"The stream is locked.")}return extractBody(i,d)}function cloneBody(i){const[d,p]=i.stream.tee();const v=ce(p,{transfer:[p]});const[,V]=v.tee();i.stream=d;return{stream:V,length:i.length,source:i.source}}async function*consumeBody(i){if(i){if(ge(i)){yield i}else{const d=i.stream;if(V.isDisturbed(d)){throw new TypeError("The body has already been consumed.")}if(d.locked){throw new TypeError("The stream is locked.")}d[de]=true;yield*d}}}function throwIfAborted(i){if(i.aborted){throw new Ae("The operation was aborted.","AbortError")}}function bodyMixinMethods(i){const d={blob(){return specConsumeBody(this,(i=>{let d=bodyMimeType(this);if(d==="failure"){d=""}else if(d){d=Ce(d)}return new le([i],{type:d})}),i)},arrayBuffer(){return specConsumeBody(this,(i=>new Uint8Array(i).buffer),i)},text(){return specConsumeBody(this,utf8DecodeBytes,i)},json(){return specConsumeBody(this,parseJSONFromBytes,i)},async formData(){ae.brandCheck(this,i);throwIfAborted(this[oe]);const d=this.headers.get("Content-Type");if(/multipart\/form-data/.test(d)){const i={};for(const[d,p]of this.headers)i[d.toLowerCase()]=p;const d=new ie;let p;try{p=new v({headers:i,preservePath:true})}catch(i){throw new Ae(`${i}`,"AbortError")}p.on("field",((i,p)=>{d.append(i,p)}));p.on("file",((i,p,v,V,K)=>{const ee=[];if(V==="base64"||V.toLowerCase()==="base64"){let V="";p.on("data",(i=>{V+=i.toString().replace(/[\r\n]/gm,"");const d=V.length-V.length%4;ee.push(Buffer.from(V.slice(0,d),"base64"));V=V.slice(d)}));p.on("end",(()=>{ee.push(Buffer.from(V,"base64"));d.append(i,new Be(ee,v,{type:K}))}))}else{p.on("data",(i=>{ee.push(i)}));p.on("end",(()=>{d.append(i,new Be(ee,v,{type:K}))}))}}));const V=new Promise(((i,d)=>{p.on("finish",i);p.on("error",(i=>d(new TypeError(i))))}));if(this.body!==null)for await(const i of consumeBody(this[oe].body))p.write(i);p.end();await V;return d}else if(/application\/x-www-form-urlencoded/.test(d)){let i;try{let d="";const p=new TextDecoder("utf-8",{ignoreBOM:true});for await(const i of consumeBody(this[oe].body)){if(!ge(i)){throw new TypeError("Expected Uint8Array chunk")}d+=p.decode(i,{stream:true})}d+=p.decode();i=new URLSearchParams(d)}catch(i){throw Object.assign(new TypeError,{cause:i})}const d=new ie;for(const[p,v]of i){d.append(p,v)}return d}else{await Promise.resolve();throwIfAborted(this[oe]);throw ae.errors.exception({header:`${i.name}.formData`,message:"Could not parse content as FormData."})}}};return d}function mixinBody(i){Object.assign(i.prototype,bodyMixinMethods(i))}async function specConsumeBody(i,d,p){ae.brandCheck(i,p);throwIfAborted(i[oe]);if(bodyUnusable(i[oe].body)){throw new TypeError("Body is unusable")}const v=ne();const errorSteps=i=>v.reject(i);const successSteps=i=>{try{v.resolve(d(i))}catch(i){errorSteps(i)}};if(i[oe].body==null){successSteps(new Uint8Array);return v.promise}await se(i[oe].body,successSteps,errorSteps);return v.promise}function bodyUnusable(i){return i!=null&&(i.stream.locked||V.isDisturbed(i.stream))}function utf8DecodeBytes(i){if(i.length===0){return""}if(i[0]===239&&i[1]===187&&i[2]===191){i=i.subarray(3)}const d=be.decode(i);return d}function parseJSONFromBytes(i){return JSON.parse(utf8DecodeBytesLine truncated
|
||||
/*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> */K[V-4]=this.maskKey[0];K[V-3]=this.maskKey[1];K[V-2]=this.maskKey[2];K[V-1]=this.maskKey[3];K[1]=p;if(p===126){K.writeUInt16BE(d,2)}else if(p===127){K[2]=K[3]=0;K.writeUIntBE(d,4,6)}K[1]|=128;for(let i=0;i<d;i++){K[V+i]=this.frameData[i]^this.maskKey[i%4]}return K}}i.exports={WebsocketFrameSend:WebsocketFrameSend}},43171:(i,d,p)=>{const{Writable:v}=p(2203);const V=p(31637);const{parserStates:K,opcodes:ee,states:te,emptyBuffer:re}=p(45913);const{kReadyState:ne,kSentClose:se,kResponse:ie,kReceivedClose:oe}=p(62933);const{isValidStatusCode:ae,failWebsocketConnection:Ae,websocketMessageReceived:ce}=p(3574);const{WebsocketFrameSend:le}=p(31237);const ue={};ue.ping=V.channel("undici:websocket:ping");ue.pong=V.channel("undici:websocket:pong");class ByteParser extends v{#K=[];#X=0;#y=K.INFO;#ee={};#te=[];constructor(i){super();this.ws=i}_write(i,d,p){this.#K.push(i);this.#X+=i.length;this.run(p)}run(i){while(true){if(this.#y===K.INFO){if(this.#X<2){return i()}const d=this.consume(2);this.#ee.fin=(d[0]&128)!==0;this.#ee.opcode=d[0]&15;this.#ee.originalOpcode??=this.#ee.opcode;this.#ee.fragmented=!this.#ee.fin&&this.#ee.opcode!==ee.CONTINUATION;if(this.#ee.fragmented&&this.#ee.opcode!==ee.BINARY&&this.#ee.opcode!==ee.TEXT){Ae(this.ws,"Invalid frame type was fragmented.");return}const p=d[1]&127;if(p<=125){this.#ee.payloadLength=p;this.#y=K.READ_DATA}else if(p===126){this.#y=K.PAYLOADLENGTH_16}else if(p===127){this.#y=K.PAYLOADLENGTH_64}if(this.#ee.fragmented&&p>125){Ae(this.ws,"Fragmented frame exceeded 125 bytes.");return}else if((this.#ee.opcode===ee.PING||this.#ee.opcode===ee.PONG||this.#ee.opcode===ee.CLOSE)&&p>125){Ae(this.ws,"Payload length for control frame exceeded 125 bytes.");return}else if(this.#ee.opcode===ee.CLOSE){if(p===1){Ae(this.ws,"Received close frame with a 1-byte body.");return}const i=this.consume(p);this.#ee.closeInfo=this.parseCloseBody(false,i);if(!this.ws[se]){const i=Buffer.allocUnsafe(2);i.writeUInt16BE(this.#ee.closeInfo.code,0);const d=new le(i);this.ws[ie].socket.write(d.createFrame(ee.CLOSE),(i=>{if(!i){this.ws[se]=true}}))}this.ws[ne]=te.CLOSING;this.ws[oe]=true;this.end();return}else if(this.#ee.opcode===ee.PING){const d=this.consume(p);if(!this.ws[oe]){const i=new le(d);this.ws[ie].socket.write(i.createFrame(ee.PONG));if(ue.ping.hasSubscribers){ue.ping.publish({payload:d})}}this.#y=K.INFO;if(this.#X>0){continue}else{i();return}}else if(this.#ee.opcode===ee.PONG){const d=this.consume(p);if(ue.pong.hasSubscribers){ue.pong.publish({payload:d})}if(this.#X>0){continue}else{i();return}}}else if(this.#y===K.PAYLOADLENGTH_16){if(this.#X<2){return i()}const d=this.consume(2);this.#ee.payloadLength=d.readUInt16BE(0);this.#y=K.READ_DATA}else if(this.#y===K.PAYLOADLENGTH_64){if(this.#X<8){return i()}const d=this.consume(8);const p=d.readUInt32BE(0);if(p>2**31-1){Ae(this.ws,"Received payload length > 2^31 bytes.");return}const v=d.readUInt32BE(4);this.#ee.payloadLength=(p<<8)+v;this.#y=K.READ_DATA}else if(this.#y===K.READ_DATA){if(this.#X<this.#ee.payloadLength){return i()}else if(this.#X>=this.#ee.payloadLength){const i=this.consume(this.#ee.payloadLength);this.#te.push(i);if(!this.#ee.fragmented||this.#ee.fin&&this.#ee.opcode===ee.CONTINUATION){const i=Buffer.concat(this.#te);ce(this.ws,this.#ee.originalOpcode,i);this.#ee={};this.#te.length=0}this.#y=K.INFO}}if(this.#X>0){continue}else{i();break}}}consume(i){if(i>this.#X){return null}else if(i===0){return re}if(this.#K[0].length===i){this.#X-=this.#K[0].length;return this.#K.shift()}const d=Buffer.allocUnsafe(i);let p=0;while(p!==i){const v=this.#K[0];const{length:V}=v;if(V+p===i){d.set(this.#K.shift(),p);break}else if(V+p>i){d.set(v.subarray(0,i-p),p);this.#K[0]=v.subarray(i-p);break}else{d.set(this.#K.shift(),p);p+=v.length}}this.#X-=i;return d}parseCloseBody(i,d){let p;if(d.length>=2){p=d.readUInt16BE(0)}if(i){if(!ae(p)){return null}return{code:p}}let v=d.subarray(2);if(v[0]===239&&v[1]===187&&v[2]===191){v=v.subarray(3)}if(p!==undefined&&!ae(p)){return null}try{v=new TextDecoder("utf-8",{fatal:true}).decode(v)}catch{return null}return{code:p,reason:v}}get closingInfo(){return this.#ee.closeInfo}}i.exports={ByteParser:ByteParser}},62933:i=>{i.exports={kWebSocketURL:Symbol("url"),kReadyState:Symbol("ready state"),kController:Symbol("controller"),kResponse:Symbol("response"),kBinaryType:Symbol("binary type"),kSentClose:Symbol("sent close"),kReceivedClose:Symbol("received close"),kByteParser:Symbol("byte parser")}},3574:(i,d,p)=>{const{kReadyState:v,kController:V,kResponse:K,kBinaryType:ee,kWebSocketURL:te}=p(62933);const{states:re,opcodes:ne}=p(45913);const{MessageEvent:se,ErrorEvent:ie}=p(46255);function isEstablished(i){return i[v]===re.OPEN}function isClosing(i){return i[v]===re.CLOSING}function isClosed(i){return i[v]===re.CLOSED}function fireEvent(i,d,p=Event,v){const V=new p(i,v);d.dispatchEvent(V)}function websocketMessageReceived(i,d,p){if(i[v]!==re.OPEN){return}let V;if(Line truncated
|
||||
/**
|
||||
* ZipStream
|
||||
*
|
||||
* @ignore
|
||||
* @license [MIT]{@link https://github.com/archiverjs/node-zip-stream/blob/master/LICENSE}
|
||||
* @copyright (c) 2014 Chris Talkington, contributors.
|
||||
*/
|
||||
var v=p(39023).inherits;var V=p(47544).ZipArchiveOutputStream;var K=p(47544).ZipArchiveEntry;var ee=p(53296);var te=i.exports=function(i){if(!(this instanceof te)){return new te(i)}i=this.options=i||{};i.zlib=i.zlib||{};V.call(this,i);if(typeof i.level==="number"&&i.level>=0){i.zlib.level=i.level;delete i.level}if(!i.forceZip64&&typeof i.zlib.level==="number"&&i.zlib.level===0){i.store=true}i.namePrependSlash=i.namePrependSlash||false;if(i.comment&&i.comment.length>0){this.setComment(i.comment)}};v(te,V);te.prototype._normalizeFileData=function(i){i=ee.defaults(i,{type:"file",name:null,namePrependSlash:this.options.namePrependSlash,linkname:null,date:null,mode:null,store:this.options.store,comment:""});var d=i.type==="directory";var p=i.type==="symlink";if(i.name){i.name=ee.sanitizePath(i.name);if(!p&&i.name.slice(-1)==="/"){d=true;i.type="directory"}else if(d){i.name+="/"}}if(d||p){i.store=true}i.date=ee.dateify(i.date);return i};te.prototype.entry=function(i,d,p){if(typeof p!=="function"){p=this._emitErrorCallback.bind(this)}d=this._normalizeFileData(d);if(d.type!=="file"&&d.type!=="directory"&&d.type!=="symlink"){p(new Error(d.type+" entries not currently supported"));return}if(typeof d.name!=="string"||d.name.length===0){p(new Error("entry name must be a non-empty string value"));return}if(d.type==="symlink"&&typeof d.linkname!=="string"){p(new Error("entry linkname must be a non-empty string value when type equals symlink"));return}var v=new K(d.name);v.setTime(d.date,this.options.forceLocalTime);if(d.namePrependSlash){v.setName(d.name,true)}if(d.store){v.setMethod(0)}if(d.comment.length>0){v.setComment(d.comment)}if(d.type==="symlink"&&typeof d.mode!=="number"){d.mode=40960}if(typeof d.mode==="number"){if(d.type==="symlink"){d.mode|=40960}v.setUnixMode(d.mode)}if(d.type==="symlink"&&typeof d.linkname==="string"){i=Buffer.from(d.linkname)}return V.prototype.entry.call(this,v,i,p)};te.prototype.finalize=function(){this.finish()}},42613:d=>{d.exports=i(import.meta.url)("assert")},90290:d=>{d.exports=i(import.meta.url)("async_hooks")},20181:d=>{d.exports=i(import.meta.url)("buffer")},35317:d=>{d.exports=i(import.meta.url)("child_process")},64236:d=>{d.exports=i(import.meta.url)("console")},49140:d=>{d.exports=i(import.meta.url)("constants")},76982:d=>{d.exports=i(import.meta.url)("crypto")},31637:d=>{d.exports=i(import.meta.url)("diagnostics_channel")},24434:d=>{d.exports=i(import.meta.url)("events")},79896:d=>{d.exports=i(import.meta.url)("fs")},91943:d=>{d.exports=i(import.meta.url)("fs/promises")},58611:d=>{d.exports=i(import.meta.url)("http")},85675:d=>{d.exports=i(import.meta.url)("http2")},65692:d=>{d.exports=i(import.meta.url)("https")},69278:d=>{d.exports=i(import.meta.url)("net")},34589:d=>{d.exports=i(import.meta.url)("node:assert")},16698:d=>{d.exports=i(import.meta.url)("node:async_hooks")},4573:d=>{d.exports=i(import.meta.url)("node:buffer")},37540:d=>{d.exports=i(import.meta.url)("node:console")},77598:d=>{d.exports=i(import.meta.url)("node:crypto")},53053:d=>{d.exports=i(import.meta.url)("node:diagnostics_channel")},40610:d=>{d.exports=i(import.meta.url)("node:dns")},78474:d=>{d.exports=i(import.meta.url)("node:events")},73024:d=>{d.exports=i(import.meta.url)("node:fs")},51455:d=>{d.exports=i(import.meta.url)("node:fs/promises")},37067:d=>{d.exports=i(import.meta.url)("node:http")},32467:d=>{d.exports=i(import.meta.url)("node:http2")},44708:d=>{d.exports=i(import.meta.url)("node:https")},77030:d=>{d.exports=i(import.meta.url)("node:net")},48161:d=>{d.exports=i(import.meta.url)("node:os")},76760:d=>{d.exports=i(import.meta.url)("node:path")},643:d=>{d.exports=i(import.meta.url)("node:perf_hooks")},1708:d=>{d.exports=i(import.meta.url)("node:process")},41792:d=>{d.exports=i(import.meta.url)("node:querystring")},57075:d=>{d.exports=i(import.meta.url)("node:stream")},41692:d=>{d.exports=i(import.meta.url)("node:tls")},73136:d=>{d.exports=i(import.meta.url)("node:url")},57975:d=>{d.exports=i(import.meta.url)("node:util")},73429:d=>{d.exports=i(import.meta.url)("node:util/types")},75919:d=>{d.exports=i(import.meta.url)("node:worker_threads")},38522:d=>{d.exports=i(import.meta.url)("node:zlib")},70857:d=>{d.exports=i(import.meta.url)("os")},16928:d=>{d.exports=i(import.meta.url)("path")},82987:d=>{d.exports=i(import.meta.url)("perf_hooks")},932:d=>{d.exports=i(import.meta.url)("process")},83480:d=>{d.exports=i(import.meta.url)("querystring")},2203:d=>{d.exports=i(import.meta.url)("stream")},63774:d=>{d.exports=i(import.meta.url)("stream/web")},13193:d=>{d.exports=i(import.meta.url)("string_decoder")},53557:d=>{d.exports=i(import.meta.url)("timers")},64756:d=>{d.exports=i(import.meta.url)("tls")},52018:d=>{d.exports=i(import.meta.url)("tty")},87016:d=>{d.exports=i(import.meta.url)("url")},39023:d=>{d.exports=i(import.meta.url)("util")},98253:d=>{d.exports=i(import.meta.url)("util/types")},28167:d=>{d.exports=i(import.meta.url)("worker_threads")},43106:d=>{d.exports=i(import.meta.url)("zlib")},5919Line truncated
|
||||
*/const i=n(9896);const d=n(857);const p=n(6928);const f=n(6982);const y={fs:i.constants,os:d.constants};const v="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",D=/XXXXXX/,M=3,U=(y.O_CREAT||y.fs.O_CREAT)|(y.O_EXCL||y.fs.O_EXCL)|(y.O_RDWR||y.fs.O_RDWR),V=d.platform()==="win32",j=y.EBADF||y.os.errno.EBADF,K=y.ENOENT||y.os.errno.ENOENT,ee=448,te=384,re="exit",ne=[],se=i.rmdirSync.bind(i);let oe=false;function rimraf(e,t){return i.rm(e,{recursive:true},t)}function FN_RIMRAF_SYNC(e){return i.rmSync(e,{recursive:true})}function tmpName(e,t){const n=_parseArguments(e,t),o=n[0],d=n[1];_assertAndSanitizeOptions(o,(function(e,t){if(e)return d(e);let n=t.tries;(function _getUniqueName(){try{const e=_generateTmpName(t);i.stat(e,(function(t){if(!t){if(n-- >0)return _getUniqueName();return d(new Error("Could not get a unique tmp filename, max tries reached "+e))}d(null,e)}))}catch(e){d(e)}})()}))}function tmpNameSync(e){const t=_parseArguments(e),n=t[0];const o=_assertAndSanitizeOptionsSync(n);let d=o.tries;do{const e=_generateTmpName(o);try{i.statSync(e)}catch(t){return e}}while(d-- >0);throw new Error("Could not get a unique tmp filename, max tries reached")}function file(e,t){const n=_parseArguments(e,t),o=n[0],d=n[1];tmpName(o,(function _tmpNameCreated(e,t){if(e)return d(e);i.open(t,U,o.mode||te,(function _fileCreated(e,n){if(e)return d(e);if(o.discardDescriptor){return i.close(n,(function _discardCallback(e){return d(e,t,undefined,_prepareTmpFileRemoveCallback(t,-1,o,false))}))}else{const e=o.discardDescriptor||o.detachDescriptor;d(null,t,n,_prepareTmpFileRemoveCallback(t,e?-1:n,o,false))}}))}))}function fileSync(e){const t=_parseArguments(e),n=t[0];const o=n.discardDescriptor||n.detachDescriptor;const d=tmpNameSync(n);let p=i.openSync(d,U,n.mode||te);if(n.discardDescriptor){i.closeSync(p);p=undefined}return{name:d,fd:p,removeCallback:_prepareTmpFileRemoveCallback(d,o?-1:p,n,true)}}function dir(e,t){const n=_parseArguments(e,t),o=n[0],d=n[1];tmpName(o,(function _tmpNameCreated(e,t){if(e)return d(e);i.mkdir(t,o.mode||ee,(function _dirCreated(e){if(e)return d(e);d(null,t,_prepareTmpDirRemoveCallback(t,o,false))}))}))}function dirSync(e){const t=_parseArguments(e),n=t[0];const o=tmpNameSync(n);i.mkdirSync(o,n.mode||ee);return{name:o,removeCallback:_prepareTmpDirRemoveCallback(o,n,true)}}function _removeFileAsync(e,t){const _handler=function(e){if(e&&!_isENOENT(e)){return t(e)}t()};if(0<=e[0])i.close(e[0],(function(){i.unlink(e[1],_handler)}));else i.unlink(e[1],_handler)}function _removeFileSync(e){let t=null;try{if(0<=e[0])i.closeSync(e[0])}catch(e){if(!_isEBADF(e)&&!_isENOENT(e))throw e}finally{try{i.unlinkSync(e[1])}catch(e){if(!_isENOENT(e))t=e}}if(t!==null){throw t}}function _prepareTmpFileRemoveCallback(e,t,n,o){const i=_prepareRemoveCallback(_removeFileSync,[t,e],o);const d=_prepareRemoveCallback(_removeFileAsync,[t,e],o,i);if(!n.keep)ne.unshift(i);return o?i:d}function _prepareTmpDirRemoveCallback(e,t,n){const o=t.unsafeCleanup?rimraf:i.rmdir.bind(i);const d=t.unsafeCleanup?FN_RIMRAF_SYNC:se;const p=_prepareRemoveCallback(d,e,n);const f=_prepareRemoveCallback(o,e,n,p);if(!t.keep)ne.unshift(p);return n?p:f}function _prepareRemoveCallback(e,t,n,o){let i=false;return function _cleanupCallback(d){if(!i){const p=o||_cleanupCallback;const f=ne.indexOf(p);if(f>=0)ne.splice(f,1);i=true;if(n||e===se||e===FN_RIMRAF_SYNC){return e(t)}else{return e(t,d||function(){})}}}}function _garbageCollector(){if(!oe)return;while(ne.length){try{ne[0]()}catch(e){}}}function _randomChars(e){let t=[],n=null;try{n=f.randomBytes(e)}catch(t){n=f.pseudoRandomBytes(e)}for(let o=0;o<e;o++){t.push(v[n[o]%v.length])}return t.join("")}function _isUndefined(e){return typeof e==="undefined"}function _parseArguments(e,t){if(typeof e==="function"){return[{},e]}if(_isUndefined(e)){return[{},t]}const n={};for(const t of Object.getOwnPropertyNames(e)){n[t]=e[t]}return[n,t]}function _resolvePath(e,t,n){const o=p.isAbsolute(e)?e:p.join(t,e);i.stat(o,(function(e){if(e){i.realpath(p.dirname(o),(function(e,t){if(e)return n(e);n(null,p.join(t,p.basename(o)))}))}else{i.realpath(o,n)}}))}function _resolvePathSync(e,t){const n=p.isAbsolute(e)?e:p.join(t,e);try{i.statSync(n);return i.realpathSync(n)}catch(e){const t=i.realpathSync(p.dirname(n));return p.join(t,p.basename(n))}}function _generateTmpName(e){const t=e.tmpdir;if(!_isUndefined(e.name)){return p.join(t,e.dir,e.name)}if(!_isUndefined(e.template)){return p.join(t,e.dir,e.template).replace(D,_randomChars(6))}const n=[e.prefix?e.prefix:"tmp","-",process.pid,"-",_randomChars(12),e.postfix?"-"+e.postfix:""].join("");return p.join(t,e.dir,n)}function _assertOptionsBase(e){if(!_isUndefined(e.name)){const t=e.name;if(p.isAbsolute(t))throw new Error(`name option must not contain an absolute path, found "${t}".`);const n=p.basename(t);if(n===".."||n==="."||n!==t)throw new Error(`name option must not contain a path, found "${t}".`)}if(!_isUndefined(e.template)&&!e.template.match(D)){throw new ErrLine truncated
|
||||
/*! formdata-polyfill. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> */;const escape=e=>e.replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22");const normalizeLinefeeds=e=>e.replace(/\r?\n|\r/g,"\r\n");const o=[];const i=new Uint8Array([13,10]);D=0;let d=false;for(const[t,p]of e){if(typeof p==="string"){const e=ae.encode(n+`; name="${escape(normalizeLinefeeds(t))}"`+`\r\n\r\n${normalizeLinefeeds(p)}\r\n`);o.push(e);D+=e.byteLength}else{const e=ae.encode(`${n}; name="${escape(normalizeLinefeeds(t))}"`+(p.name?`; filename="${escape(p.name)}"`:"")+"\r\n"+`Content-Type: ${p.type||"application/octet-stream"}\r\n\r\n`);o.push(e,p,i);if(typeof p.size==="number"){D+=e.byteLength+p.size+i.byteLength}else{d=true}}}const p=ae.encode(`--${t}--\r\n`);o.push(p);D+=p.byteLength;if(d){D=null}v=e;y=async function*(){for(const e of o){if(e.stream){yield*e.stream()}else{yield e}}};M=`multipart/form-data; boundary=${t}`}else if(d(e)){v=e;D=e.size;if(e.type){M=e.type}}else if(typeof e[Symbol.asyncIterator]==="function"){if(t){throw new TypeError("keepalive")}if(o.isDisturbed(e)||e.locked){throw new TypeError("Response body object should not be disturbed or locked")}n=e instanceof ReadableStream?e:i(e)}if(typeof v==="string"||o.isBuffer(v)){D=Buffer.byteLength(v)}if(y!=null){let t;n=new ReadableStream({async start(){t=y(e)[Symbol.asyncIterator]()},async pull(e){const{value:o,done:i}=await t.next();if(i){queueMicrotask((()=>{e.close();e.byobRequest?.respond(0)}))}else{if(!te(n)){const t=new Uint8Array(o);if(t.byteLength){e.enqueue(t)}}}return e.desiredSize>0},async cancel(e){await t.return()},type:"bytes"})}const U={stream:n,source:v,length:D};return[U,M]}function safelyExtractBody(e,t=false){if(e instanceof ReadableStream){ee(!o.isDisturbed(e),"The body has already been consumed.");ee(!e.locked,"The stream is locked.")}return extractBody(e,t)}function cloneBody(e,t){const[n,o]=t.stream.tee();t.stream=n;return{stream:o,length:t.length,source:t.source}}function throwIfAborted(e){if(e.aborted){throw new DOMException("The operation was aborted.","AbortError")}}function bodyMixinMethods(e){const t={blob(){return consumeBody(this,(e=>{let t=bodyMimeType(this);if(t===null){t=""}else if(t){t=se(t)}return new K([e],{type:t})}),e)},arrayBuffer(){return consumeBody(this,(e=>new Uint8Array(e).buffer),e)},text(){return consumeBody(this,M,e)},json(){return consumeBody(this,parseJSONFromBytes,e)},formData(){return consumeBody(this,(e=>{const t=bodyMimeType(this);if(t!==null){switch(t.essence){case"multipart/form-data":{const n=oe(e,t);if(n==="failure"){throw new TypeError("Failed to parse body as FormData.")}const o=new U;o[V]=n;return o}case"application/x-www-form-urlencoded":{const t=new URLSearchParams(e.toString());const n=new U;for(const[e,o]of t){n.append(e,o)}return n}}}throw new TypeError('Content-Type was not one of "multipart/form-data" or "application/x-www-form-urlencoded".')}),e)},bytes(){return consumeBody(this,(e=>new Uint8Array(e)),e)}};return t}function mixinBody(e){Object.assign(e.prototype,bodyMixinMethods(e))}async function consumeBody(e,t,n){j.brandCheck(e,n);if(bodyUnusable(e)){throw new TypeError("Body is unusable: Body has already been read")}throwIfAborted(e[V]);const o=y();const errorSteps=e=>o.reject(e);const successSteps=e=>{try{o.resolve(t(e))}catch(e){errorSteps(e)}};if(e[V].body==null){successSteps(Buffer.allocUnsafe(0));return o.promise}await v(e[V].body,successSteps,errorSteps);return o.promise}function bodyUnusable(e){const t=e[V].body;return t!=null&&(t.stream.locked||o.isDisturbed(t.stream))}function parseJSONFromBytes(e){return JSON.parse(M(e))}function bodyMimeType(e){const t=e[V].headersList;const n=D(t);if(n==="failure"){return null}return n}e.exports={extractBody:extractBody,safelyExtractBody:safelyExtractBody,cloneBody:cloneBody,mixinBody:mixinBody,streamRegistry:le,hasFinalizationRegistry:ce,bodyUnusable:bodyUnusable}},4495:e=>{const t=["GET","HEAD","POST"];const n=new Set(t);const o=[101,204,205,304];const i=[301,302,303,307,308];const d=new Set(i);const p=["1","7","9","11","13","15","17","19","20","21","22","23","25","37","42","43","53","69","77","79","87","95","101","102","103","104","109","110","111","113","115","117","119","123","135","137","139","143","161","179","389","427","465","512","513","514","515","526","530","531","532","540","548","554","556","563","587","601","636","989","990","993","995","1719","1720","1723","2049","3659","4045","4190","5060","5061","6000","6566","6665","6666","6667","6668","6669","6679","6697","10080"];const f=new Set(p);const y=["","no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"];const v=new Set(y);const D=["follow","manual","error"];const M=["GET","HEAD","OPTIONS","TRACE"];const U=new Set(M);const V=["navigate","same-origin","no-cors","cors"];const j=["omit","same-origin","include"];const K=["default","no-store","reload","no-cacheLine truncated
|
||||
/*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> */f[p-4]=n[0];f[p-3]=n[1];f[p-2]=n[2];f[p-1]=n[3];f[1]=d;if(d===126){f.writeUInt16BE(i,2)}else if(d===127){f[2]=f[3]=0;f.writeUIntBE(i,4,6)}f[1]|=128;for(let e=0;e<i;++e){f[p+e]=t[e]^n[e&3]}return f}}e.exports={WebsocketFrameSend:WebsocketFrameSend}},9469:(e,t,n)=>{const{createInflateRaw:o,Z_DEFAULT_WINDOWBITS:i}=n(8522);const{isValidClientWindowBits:d}=n(8625);const p=Buffer.from([0,0,255,255]);const f=Symbol("kBuffer");const y=Symbol("kLength");class PerMessageDeflate{#W;#p={};constructor(e){this.#p.serverNoContextTakeover=e.has("server_no_context_takeover");this.#p.serverMaxWindowBits=e.get("server_max_window_bits")}decompress(e,t,n){if(!this.#W){let e=i;if(this.#p.serverMaxWindowBits){if(!d(this.#p.serverMaxWindowBits)){n(new Error("Invalid server_max_window_bits"));return}e=Number.parseInt(this.#p.serverMaxWindowBits)}this.#W=o({windowBits:e});this.#W[f]=[];this.#W[y]=0;this.#W.on("data",(e=>{this.#W[f].push(e);this.#W[y]+=e.length}));this.#W.on("error",(e=>{this.#W=null;n(e)}))}this.#W.write(e);if(t){this.#W.write(p)}this.#W.flush((()=>{const e=Buffer.concat(this.#W[f],this.#W[y]);this.#W[f].length=0;this.#W[y]=0;n(null,e)}))}}e.exports={PerMessageDeflate:PerMessageDeflate}},1652:(e,t,n)=>{const{Writable:o}=n(7075);const i=n(4589);const{parserStates:d,opcodes:p,states:f,emptyBuffer:y,sentCloseFrameState:v}=n(736);const{kReadyState:D,kSentClose:M,kResponse:U,kReceivedClose:V}=n(1216);const{channels:j}=n(2414);const{isValidStatusCode:K,isValidOpcode:ee,failWebsocketConnection:te,websocketMessageReceived:re,utf8Decode:ne,isControlFrame:se,isTextBinaryFrame:oe,isContinuationFrame:ie}=n(8625);const{WebsocketFrameSend:ae}=n(3264);const{closeWebSocketConnection:ce}=n(6897);const{PerMessageDeflate:le}=n(9469);class ByteParser extends o{#K=[];#X=0;#Z=false;#C=d.INFO;#ee={};#te=[];#re;constructor(e,t){super();this.ws=e;this.#re=t==null?new Map:t;if(this.#re.has("permessage-deflate")){this.#re.set("permessage-deflate",new le(t))}}_write(e,t,n){this.#K.push(e);this.#X+=e.length;this.#Z=true;this.run(n)}run(e){while(this.#Z){if(this.#C===d.INFO){if(this.#X<2){return e()}const t=this.consume(2);const n=(t[0]&128)!==0;const o=t[0]&15;const i=(t[1]&128)===128;const f=!n&&o!==p.CONTINUATION;const y=t[1]&127;const v=t[0]&64;const D=t[0]&32;const M=t[0]&16;if(!ee(o)){te(this.ws,"Invalid opcode received");return e()}if(i){te(this.ws,"Frame cannot be masked");return e()}if(v!==0&&!this.#re.has("permessage-deflate")){te(this.ws,"Expected RSV1 to be clear.");return}if(D!==0||M!==0){te(this.ws,"RSV1, RSV2, RSV3 must be clear");return}if(f&&!oe(o)){te(this.ws,"Invalid frame type was fragmented.");return}if(oe(o)&&this.#te.length>0){te(this.ws,"Expected continuation frame");return}if(this.#ee.fragmented&&f){te(this.ws,"Fragmented frame exceeded 125 bytes.");return}if((y>125||f)&&se(o)){te(this.ws,"Control frame either too large or fragmented");return}if(ie(o)&&this.#te.length===0&&!this.#ee.compressed){te(this.ws,"Unexpected continuation frame");return}if(y<=125){this.#ee.payloadLength=y;this.#C=d.READ_DATA}else if(y===126){this.#C=d.PAYLOADLENGTH_16}else if(y===127){this.#C=d.PAYLOADLENGTH_64}if(oe(o)){this.#ee.binaryType=o;this.#ee.compressed=v!==0}this.#ee.opcode=o;this.#ee.masked=i;this.#ee.fin=n;this.#ee.fragmented=f}else if(this.#C===d.PAYLOADLENGTH_16){if(this.#X<2){return e()}const t=this.consume(2);this.#ee.payloadLength=t.readUInt16BE(0);this.#C=d.READ_DATA}else if(this.#C===d.PAYLOADLENGTH_64){if(this.#X<8){return e()}const t=this.consume(8);const n=t.readUInt32BE(0);if(n>2**31-1){te(this.ws,"Received payload length > 2^31 bytes.");return}const o=t.readUInt32BE(4);this.#ee.payloadLength=(n<<8)+o;this.#C=d.READ_DATA}else if(this.#C===d.READ_DATA){if(this.#X<this.#ee.payloadLength){return e()}const t=this.consume(this.#ee.payloadLength);if(se(this.#ee.opcode)){this.#Z=this.parseControlFrame(t);this.#C=d.INFO}else{if(!this.#ee.compressed){this.#te.push(t);if(!this.#ee.fragmented&&this.#ee.fin){const e=Buffer.concat(this.#te);re(this.ws,this.#ee.binaryType,e);this.#te.length=0}this.#C=d.INFO}else{this.#re.get("permessage-deflate").decompress(t,this.#ee.fin,((t,n)=>{if(t){ce(this.ws,1007,t.message,t.message.length);return}this.#te.push(n);if(!this.#ee.fin){this.#C=d.INFO;this.#Z=true;this.run(e);return}re(this.ws,this.#ee.binaryType,Buffer.concat(this.#te));this.#Z=true;this.#C=d.INFO;this.#te.length=0;this.run(e)}));this.#Z=false;break}}}}}consume(e){if(e>this.#X){throw new Error("Called consume() before buffers satiated.")}else if(e===0){return y}if(this.#K[0].length===e){this.#X-=this.#K[0].length;return this.#K.shift()}const t=Buffer.allocUnsafe(e);let n=0;while(n!==e){const o=this.#K[0];const{length:i}=o;if(i+n===e){t.set(this.#K.shift(),n);break}else if(i+n>e){t.set(o.subarray(0,e-n),n);this.#K[0]=o.subarray(e-n);break}else{t.set(this.#K.shift(),n);n+=o.length}}this.#X-=e;return t}parseCloseBody(e){i(e.length!==1);let t;if(e.length>=2){t=e.readUInt16BE(0Line truncated
|
||||
/*! js-yaml 4.1.1 https://github.com/nodeca/js-yaml @license MIT */
|
||||
function isNothing(i){return typeof i==="undefined"||i===null}function isObject(i){return typeof i==="object"&&i!==null}function toArray(i){if(Array.isArray(i))return i;else if(isNothing(i))return[];return[i]}function extend(i,d){var p,v,V,K;if(d){K=Object.keys(d);for(p=0,v=K.length;p<v;p+=1){V=K[p];i[V]=d[V]}}return i}function repeat(i,d){var p="",v;for(v=0;v<d;v+=1){p+=i}return p}function isNegativeZero(i){return i===0&&Number.NEGATIVE_INFINITY===1/i}var bt=isNothing;var wt=isObject;var St=toArray;var Rt=repeat;var vt=isNegativeZero;var kt=extend;var Tt={isNothing:bt,isObject:wt,toArray:St,repeat:Rt,isNegativeZero:vt,extend:kt};function formatError(i,d){var p="",v=i.reason||"(unknown reason)";if(!i.mark)return v;if(i.mark.name){p+='in "'+i.mark.name+'" '}p+="("+(i.mark.line+1)+":"+(i.mark.column+1)+")";if(!d&&i.mark.snippet){p+="\n\n"+i.mark.snippet}return v+" "+p}function YAMLException$1(i,d){Error.call(this);this.name="YAMLException";this.reason=i;this.mark=d;this.message=formatError(this,false);if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}else{this.stack=(new Error).stack||""}}YAMLException$1.prototype=Object.create(Error.prototype);YAMLException$1.prototype.constructor=YAMLException$1;YAMLException$1.prototype.toString=function toString(i){return this.name+": "+formatError(this,i)};var Nt=YAMLException$1;function getLine(i,d,p,v,V){var K="";var ee="";var te=Math.floor(V/2)-1;if(v-d>te){K=" ... ";d=v-te+K.length}if(p-v>te){ee=" ...";p=v+te-ee.length}return{str:K+i.slice(d,p).replace(/\t/g,"→")+ee,pos:v-d+K.length}}function padStart(i,d){return Tt.repeat(" ",d-i.length)+i}function makeSnippet(i,d){d=Object.create(d||null);if(!i.buffer)return null;if(!d.maxLength)d.maxLength=79;if(typeof d.indent!=="number")d.indent=1;if(typeof d.linesBefore!=="number")d.linesBefore=3;if(typeof d.linesAfter!=="number")d.linesAfter=2;var p=/\r?\n|\r|\0/g;var v=[0];var V=[];var K;var ee=-1;while(K=p.exec(i.buffer)){V.push(K.index);v.push(K.index+K[0].length);if(i.position<=K.index&&ee<0){ee=v.length-2}}if(ee<0)ee=v.length-1;var te="",re,ne;var se=Math.min(i.line+d.linesAfter,V.length).toString().length;var ie=d.maxLength-(d.indent+se+3);for(re=1;re<=d.linesBefore;re++){if(ee-re<0)break;ne=getLine(i.buffer,v[ee-re],V[ee-re],i.position-(v[ee]-v[ee-re]),ie);te=Tt.repeat(" ",d.indent)+padStart((i.line-re+1).toString(),se)+" | "+ne.str+"\n"+te}ne=getLine(i.buffer,v[ee],V[ee],i.position,ie);te+=Tt.repeat(" ",d.indent)+padStart((i.line+1).toString(),se)+" | "+ne.str+"\n";te+=Tt.repeat("-",d.indent+se+3+ne.pos)+"^"+"\n";for(re=1;re<=d.linesAfter;re++){if(ee+re>=V.length)break;ne=getLine(i.buffer,v[ee+re],V[ee+re],i.position-(v[ee]-v[ee+re]),ie);te+=Tt.repeat(" ",d.indent)+padStart((i.line+re+1).toString(),se)+" | "+ne.str+"\n"}return te.replace(/\n$/,"")}var Dt=makeSnippet;var xt=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"];var Ft=["scalar","sequence","mapping"];function compileStyleAliases(i){var d={};if(i!==null){Object.keys(i).forEach((function(p){i[p].forEach((function(i){d[String(i)]=p}))}))}return d}function Type$1(i,d){d=d||{};Object.keys(d).forEach((function(d){if(xt.indexOf(d)===-1){throw new Nt('Unknown option "'+d+'" is met in definition of "'+i+'" YAML type.')}}));this.options=d;this.tag=i;this.kind=d["kind"]||null;this.resolve=d["resolve"]||function(){return true};this.construct=d["construct"]||function(i){return i};this.instanceOf=d["instanceOf"]||null;this.predicate=d["predicate"]||null;this.represent=d["represent"]||null;this.representName=d["representName"]||null;this.defaultStyle=d["defaultStyle"]||null;this.multi=d["multi"]||false;this.styleAliases=compileStyleAliases(d["styleAliases"]||null);if(Ft.indexOf(this.kind)===-1){throw new Nt('Unknown kind "'+this.kind+'" is specified for "'+i+'" YAML type.')}}var Pt=Type$1;function compileList(i,d){var p=[];i[d].forEach((function(i){var d=p.length;p.forEach((function(p,v){if(p.tag===i.tag&&p.kind===i.kind&&p.multi===i.multi){d=v}}));p[d]=i}));return p}function compileMap(){var i={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},d,p;function collectType(d){if(d.multi){i.multi[d.kind].push(d);i.multi["fallback"].push(d)}else{i[d.kind][d.tag]=i["fallback"][d.tag]=d}}for(d=0,p=arguments.length;d<p;d+=1){arguments[d].forEach(collectType)}return i}function Schema$1(i){return this.extend(i)}Schema$1.prototype.extend=function extend(i){var d=[];var p=[];if(i instanceof Pt){p.push(i)}else if(Array.isArray(i)){p=p.concat(i)}else if(i&&(Array.isArray(i.implicit)||Array.isArray(i.explicit))){if(i.implicit)d=d.concat(i.implicit);if(i.explicit)p=p.concat(i.explicit)}else{throw new Nt("Schema.extend argument should be a Type, [ Type ], "+"or a schema definition ({ implicit: [...], explicit: [...] })")}d.forEach((function(i){if(!(i instanceof Pt)){throw new Nt("Specified list of YAML types (or a single Type object) contains a
Line truncated
|
||||
function isNothing(e){return typeof e==="undefined"||e===null}function js_yaml_isObject(e){return typeof e==="object"&&e!==null}function toArray(e){if(Array.isArray(e))return e;else if(isNothing(e))return[];return[e]}function js_yaml_extend(e,t){var n,o,i,d;if(t){d=Object.keys(t);for(n=0,o=d.length;n<o;n+=1){i=d[n];e[i]=t[i]}}return e}function repeat(e,t){var n="",o;for(o=0;o<t;o+=1){n+=e}return n}function isNegativeZero(e){return e===0&&Number.NEGATIVE_INFINITY===1/e}var vm=isNothing;var Pm=js_yaml_isObject;var Dm=toArray;var km=repeat;var _m=isNegativeZero;var Om=js_yaml_extend;var Lm={isNothing:vm,isObject:Pm,toArray:Dm,repeat:km,isNegativeZero:_m,extend:Om};function formatError(e,t){var n="",o=e.reason||"(unknown reason)";if(!e.mark)return o;if(e.mark.name){n+='in "'+e.mark.name+'" '}n+="("+(e.mark.line+1)+":"+(e.mark.column+1)+")";if(!t&&e.mark.snippet){n+="\n\n"+e.mark.snippet}return o+" "+n}function YAMLException$1(e,t){Error.call(this);this.name="YAMLException";this.reason=e;this.mark=t;this.message=formatError(this,false);if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}else{this.stack=(new Error).stack||""}}YAMLException$1.prototype=Object.create(Error.prototype);YAMLException$1.prototype.constructor=YAMLException$1;YAMLException$1.prototype.toString=function toString(e){return this.name+": "+formatError(this,e)};var Fm=YAMLException$1;function getLine(e,t,n,o,i){var d="";var p="";var f=Math.floor(i/2)-1;if(o-t>f){d=" ... ";t=o-f+d.length}if(n-o>f){p=" ...";n=o+f-p.length}return{str:d+e.slice(t,n).replace(/\t/g,"→")+p,pos:o-t+d.length}}function js_yaml_padStart(e,t){return Lm.repeat(" ",t-e.length)+e}function makeSnippet(e,t){t=Object.create(t||null);if(!e.buffer)return null;if(!t.maxLength)t.maxLength=79;if(typeof t.indent!=="number")t.indent=1;if(typeof t.linesBefore!=="number")t.linesBefore=3;if(typeof t.linesAfter!=="number")t.linesAfter=2;var n=/\r?\n|\r|\0/g;var o=[0];var i=[];var d;var p=-1;while(d=n.exec(e.buffer)){i.push(d.index);o.push(d.index+d[0].length);if(e.position<=d.index&&p<0){p=o.length-2}}if(p<0)p=o.length-1;var f="",y,v;var D=Math.min(e.line+t.linesAfter,i.length).toString().length;var M=t.maxLength-(t.indent+D+3);for(y=1;y<=t.linesBefore;y++){if(p-y<0)break;v=getLine(e.buffer,o[p-y],i[p-y],e.position-(o[p]-o[p-y]),M);f=Lm.repeat(" ",t.indent)+js_yaml_padStart((e.line-y+1).toString(),D)+" | "+v.str+"\n"+f}v=getLine(e.buffer,o[p],i[p],e.position,M);f+=Lm.repeat(" ",t.indent)+js_yaml_padStart((e.line+1).toString(),D)+" | "+v.str+"\n";f+=Lm.repeat("-",t.indent+D+3+v.pos)+"^"+"\n";for(y=1;y<=t.linesAfter;y++){if(p+y>=i.length)break;v=getLine(e.buffer,o[p+y],i[p+y],e.position-(o[p]-o[p+y]),M);f+=Lm.repeat(" ",t.indent)+js_yaml_padStart((e.line+y+1).toString(),D)+" | "+v.str+"\n"}return f.replace(/\n$/,"")}var Mm=makeSnippet;var Um=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"];var Hm=["scalar","sequence","mapping"];function compileStyleAliases(e){var t={};if(e!==null){Object.keys(e).forEach((function(n){e[n].forEach((function(e){t[String(e)]=n}))}))}return t}function Type$1(e,t){t=t||{};Object.keys(t).forEach((function(t){if(Um.indexOf(t)===-1){throw new Fm('Unknown option "'+t+'" is met in definition of "'+e+'" YAML type.')}}));this.options=t;this.tag=e;this.kind=t["kind"]||null;this.resolve=t["resolve"]||function(){return true};this.construct=t["construct"]||function(e){return e};this.instanceOf=t["instanceOf"]||null;this.predicate=t["predicate"]||null;this.represent=t["represent"]||null;this.representName=t["representName"]||null;this.defaultStyle=t["defaultStyle"]||null;this.multi=t["multi"]||false;this.styleAliases=compileStyleAliases(t["styleAliases"]||null);if(Hm.indexOf(this.kind)===-1){throw new Fm('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}}var Gm=Type$1;function compileList(e,t){var n=[];e[t].forEach((function(e){var t=n.length;n.forEach((function(n,o){if(n.tag===e.tag&&n.kind===e.kind&&n.multi===e.multi){t=o}}));n[t]=e}));return n}function compileMap(){var e={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},t,n;function collectType(t){if(t.multi){e.multi[t.kind].push(t);e.multi["fallback"].push(t)}else{e[t.kind][t.tag]=e["fallback"][t.tag]=t}}for(t=0,n=arguments.length;t<n;t+=1){arguments[t].forEach(collectType)}return e}function Schema$1(e){return this.extend(e)}Schema$1.prototype.extend=function extend(e){var t=[];var n=[];if(e instanceof Gm){n.push(e)}else if(Array.isArray(e)){n=n.concat(e)}else if(e&&(Array.isArray(e.implicit)||Array.isArray(e.explicit))){if(e.implicit)t=t.concat(e.implicit);if(e.explicit)n=n.concat(e.explicit)}else{throw new Fm("Schema.extend argument should be a Type, [ Type ], "+"or a schema definition ({ implicit: [...], explicit: [...] })")}t.forEach((function(e){if(!(e instanceof Gm)){throw new Fm("Specified list of YAML types (or a single Type object) contains a non-Line truncated
|
||||
/* v8 ignore else -- @preserve -- Bug with vitest coverage where it sees an else branch that doesn't exist */if("response"in n){this.response=n.response}const o=Object.assign({},n.request);if(n.request.headers.authorization){o.headers=Object.assign({},n.request.headers,{authorization:n.request.headers.authorization.replace(/(?<! ) .*$/," [REDACTED]")})}o.url=o.url.replace(/\bclient_secret=\w+/g,"client_secret=[REDACTED]").replace(/\baccess_token=\w+/g,"access_token=[REDACTED]");this.request=o}}var ah="10.0.8";var ch={headers:{"user-agent":`octokit-request.js/${ah} ${getUserAgent()}`}};function dist_bundle_isPlainObject(e){if(typeof e!=="object"||e===null)return false;if(Object.prototype.toString.call(e)!=="[object Object]")return false;const t=Object.getPrototypeOf(e);if(t===null)return true;const n=Object.prototype.hasOwnProperty.call(t,"constructor")&&t.constructor;return typeof n==="function"&&n instanceof n&&Function.prototype.call(n)===Function.prototype.call(e)}var noop=()=>"";async function fetchWrapper(e){const t=e.request?.fetch||globalThis.fetch;if(!t){throw new Error("fetch is not set. Please pass a fetch implementation as new Octokit({ request: { fetch }}). Learn more at https://github.com/octokit/octokit.js/#fetch-missing")}const n=e.request?.log||console;const o=e.request?.parseSuccessResponseBody!==false;const i=dist_bundle_isPlainObject(e.body)||Array.isArray(e.body)?JSONStringify(e.body):e.body;const d=Object.fromEntries(Object.entries(e.headers).map((([e,t])=>[e,String(t)])));let p;try{p=await t(e.url,{method:e.method,body:i,redirect:e.request?.redirect,headers:d,signal:e.request?.signal,...e.body&&{duplex:"half"}})}catch(t){let n="Unknown Error";if(t instanceof Error){if(t.name==="AbortError"){t.status=500;throw t}n=t.message;if(t.name==="TypeError"&&"cause"in t){if(t.cause instanceof Error){n=t.cause.message}else if(typeof t.cause==="string"){n=t.cause}}}const o=new RequestError(n,500,{request:e});o.cause=t;throw o}const f=p.status;const y=p.url;const v={};for(const[e,t]of p.headers){v[e]=t}const D={url:y,status:f,headers:v,data:""};if("deprecation"in v){const t=v.link&&v.link.match(/<([^<>]+)>; rel="deprecation"/);const o=t&&t.pop();n.warn(`[@octokit/request] "${e.method} ${e.url}" is deprecated. It is scheduled to be removed on ${v.sunset}${o?`. See ${o}`:""}`)}if(f===204||f===205){return D}if(e.method==="HEAD"){if(f<400){return D}throw new RequestError(p.statusText,f,{response:D,request:e})}if(f===304){D.data=await getResponseData(p);throw new RequestError("Not modified",f,{response:D,request:e})}if(f>=400){D.data=await getResponseData(p);throw new RequestError(toErrorMessage(D.data),f,{response:D,request:e})}D.data=o?await getResponseData(p):p.body;return D}async function getResponseData(e){const t=e.headers.get("content-type");if(!t){return e.text().catch(noop)}const n=(0,Jf.xL)(t);if(isJSONResponse(n)){let t="";try{t=await e.text();return JSONParse(t)}catch(e){return t}}else if(n.type.startsWith("text/")||n.parameters.charset?.toLowerCase()==="utf-8"){return e.text().catch(noop)}else{return e.arrayBuffer().catch((
|
||||
/* v8 ignore next -- @preserve */
|
||||
()=>new ArrayBuffer(0)))}}function isJSONResponse(e){return e.type==="application/json"||e.type==="application/scim+json"}function toErrorMessage(e){if(typeof e==="string"){return e}if(e instanceof ArrayBuffer){return"Unknown error"}if("message"in e){const t="documentation_url"in e?` - ${e.documentation_url}`:"";return Array.isArray(e.errors)?`${e.message}: ${e.errors.map((e=>JSON.stringify(e))).join(", ")}${t}`:`${e.message}${t}`}return`Unknown error: ${JSON.stringify(e)}`}function dist_bundle_withDefaults(e,t){const n=e.defaults(t);const newApi=function(e,t){const o=n.merge(e,t);if(!o.request||!o.request.hook){return fetchWrapper(n.parse(o))}const request2=(e,t)=>fetchWrapper(n.parse(n.merge(e,t)));Object.assign(request2,{endpoint:n,defaults:dist_bundle_withDefaults.bind(null,n)});return o.request.hook(request2,o)};return Object.assign(newApi,{endpoint:n,defaults:dist_bundle_withDefaults.bind(null,n)})}var lh=dist_bundle_withDefaults(Yf,ch);
|
||||
/* v8 ignore next -- @preserve */
|
||||
/* v8 ignore else -- @preserve */var uh="0.0.0-development";function _buildMessageForResponseErrors(e){return`Request failed due to following response errors:\n`+e.errors.map((e=>` - ${e.message}`)).join("\n")}var dh=class extends Error{constructor(e,t,n){super(_buildMessageForResponseErrors(n));this.request=e;this.headers=t;this.response=n;this.errors=n.errors;this.data=n.data;if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}}name="GraphqlResponseError";errors;data};var Ah=["method","baseUrl","url","headers","request","query","mediaType","operationName"];var ph=["query","method","url"];var mh=/\/api\/v3\/?$/;function graphql(e,t,n){if(n){if(typeof t==="string"&&"query"in n){return Promise.reject(new Error(`[@octokit/graphql] "query" cannot be used as variable name`))}for(const e in n){if(!ph.includes(e))continue;return Promise.reject(new Error(`[@octokit/graphql] "${e}" cannot be used as variable name`))}}const o=typeof t==="string"?Object.assign({query:t},n):t;const i=Object.keys(o).reduce(((e,t)=>{if(Ah.includes(t)){e[t]=o[t];return e}if(!e.variables){e.variables={}}e.variables[t]=o[t];return e}),{});const d=o.baseUrl||e.endpoint.DEFAULTS.baseUrl;if(mh.test(d)){i.url=d.replace(mh,"/api/graphql")}return e(i).then((e=>{if(e.data.errors){const t={};for(const n of Object.keys(e.headers)){t[n]=e.headers[n]}throw new dh(i,t,e.data)}return e.data.data}))}function graphql_dist_bundle_withDefaults(e,t){const n=e.defaults(t);const newApi=(e,t)=>graphql(n,e,t);return Object.assign(newApi,{defaults:graphql_dist_bundle_withDefaults.bind(null,n),endpoint:n.endpoint})}var gh=graphql_dist_bundle_withDefaults(lh,{headers:{"user-agent":`octokit-graphql.js/${uh} ${getUserAgent()}`},method:"POST",url:"/graphql"});function withCustomRequest(e){return graphql_dist_bundle_withDefaults(e,{method:"POST",url:"/graphql"})}var fh="(?:[a-zA-Z0-9_-]+)";var hh="\\.";var yh=new RegExp(`^${fh}${hh}${fh}${hh}${fh}$`);var Eh=yh.test.bind(yh);async function auth(e){const t=Eh(e);const n=e.startsWith("v1.")||e.startsWith("ghs_");const o=e.startsWith("ghu_");const i=t?"app":n?"installation":o?"user-to-server":"oauth";return{type:"token",token:e,tokenType:i}}function withAuthorizationPrefix(e){if(e.split(/\./).length===3){return`bearer ${e}`}return`token ${e}`}async function hook(e,t,n,o){const i=t.endpoint.merge(n,o);i.headers.authorization=withAuthorizationPrefix(e);return t(i)}var Ch=function createTokenAuth2(e){if(!e){throw new Error("[@octokit/auth-token] No token passed to createTokenAuth")}if(typeof e!=="string"){throw new Error("[@octokit/auth-token] Token passed to createTokenAuth is not a string")}e=e.replace(/^(token|bearer) +/i,"");return Object.assign(auth.bind(null,e),{hook:hook.bind(null,e)})};const Ih="7.0.6";const dist_src_noop=()=>{};const bh=console.warn.bind(console);const Sh=console.error.bind(console);function createLogger(e={}){if(typeof e.debug!=="function"){e.debug=dist_src_noop}if(typeof e.info!=="function"){e.info=dist_src_noop}if(typeof e.warn!=="function"){e.warn=bh}if(typeof e.error!=="function"){e.error=Sh}return e}const Bh=`octokit-core.js/${Ih} ${getUserAgent()}`;class Octokit{static VERSION=Ih;static defaults(e){const t=class extends(this){constructor(...t){const n=t[0]||{};if(typeof e==="function"){super(e(n));return}super(Object.assign({},e,n,n.userAgent&&e.userAgent?{userAgent:`${n.userAgent} ${e.userAgent}`}:null))}};return t}static plugins=[];static plugin(...e){const t=this.plugins;const n=class extends(this){static plugins=t.concat(e.filter((e=>!t.includes(e))))};return n}constructor(e={}){const t=new zf.Collection;const n={baseUrl:lh.endpoint.DEFAULTS.baseUrl,headers:{},request:Object.assign({},e.request,{hook:t.bind(null,"request")}),mediaType:{previews:[],format:""}};n.headers["user-agent"]=e.userAgent?`${e.userAgent} ${Bh}`:Bh;if(e.baseUrl){n.baseUrl=e.baseUrl}if(e.previews){n.mediaType.previews=e.previews}if(e.timeZone){n.headers["time-zone"]=e.timeZone}this.request=lh.defaults(n);this.graphql=withCustomRequest(this.request).defaults(n);this.log=createLogger(e.log);this.hook=t;if(!e.authStrategy){if(!e.auth){this.auth=async()=>({type:"unauthenticated"})}else{const n=Ch(e.auth);t.wrap("request",n.hook);this.auth=n}}else{const{authStrategy:n,...o}=e;const i=n(Object.assign({request:this.request,log:this.log,octokit:this,octokitOptions:o},e.auth));t.wrap("request",i.hook);this.auth=i}const o=this.constructor;for(let t=0;t<o.plugins.length;++t){Object.assign(this,o.plugins[t](this,e))}}request;graphql;log;hook;auth}const wh="17.0.0";const Rh={actions:{addCustomLabelsToSelfHostedRunnerForOrg:["POST /orgs/{org}/actions/runners/{runner_id}/labels"],addCustomLabelsToSelfHostedRunnerForRepo:["POST /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"],addRepoAccessToSelfHostedRunnerGroupInOrg:["PUT /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories/{repository_id}"],addSelectedRepoToOrgSecret:["PUT /orgs/{org}/actions/secrets/{secret_name}/repositories/{repositoLine truncated
|
||||
//# sourceMappingURL=index.js.map
|
||||
+1
-1
@@ -1 +1 @@
|
||||
{"version":3,"file":"index.js","names":["__createBinding","this","Object","create","o","m","k","k2","undefined","desc","getOwnPropertyDescriptor","__esModule","writable","configurable","enumerable","get","defineProperty","__exportStar","exports","p","prototype","hasOwnProperty","call","value","client_1","__webpack_require__","client","DefaultArtifactClient","Timestamp","runtime_1","runtime_2","runtime_3","runtime_4","runtime_5","runtime_6","runtime_7","Timestamp$Type","MessageType","constructor","super","no","name","kind","T","now","msg","ms","Date","seconds","PbLong","from","Math","floor","toString","nanos","toDate","message","toNumber","ceil","fromDate","date","getTime","internalJsonWrite","options","parse","Error","z","nanosStr","substring","toISOString","replace","internalJsonRead","json","target","typeofJsonValue","matches","match","Number","isNaN","globalThis","parseInt","repeat","length","MESSAGE_TYPE","reflectionMergePartial","internalBinaryRead","reader","end","pos","fieldNo","wireType","tag","int64","int32","u","readUnknownField","typeName","d","skip","UnknownFieldHandler","onRead","internalBinaryWrite","writer","WireType","Varint","writeUnknownFields","onWrite","BytesValue","StringValue","BoolValue","UInt32Value","Int32Value","UInt64Value","Int64Value","FloatValue","DoubleValue","DoubleValue$Type","refJsonWriter","scalar","refJsonReader","double","Bit64","FloatValue$Type","float","Bit32","Int64Value$Type","ScalarType","INT64","LongType","STRING","UInt64Value$Type","UINT64","uint64","Int32Value$Type","UInt32Value$Type","uint32","BoolValue$Type","bool","StringValue$Type","string","LengthDelimited","BytesValue$Type","Uint8Array","bytes","ArtifactService","DeleteArtifactResponse","DeleteArtifactRequest","GetSignedArtifactURLResponse","GetSignedArtifactURLRequest","ListArtifactsResponse_MonolithArtifact","ListArtifactsResponse","ListArtifactsRequest","FinalizeArtifactResponse","FinalizeArtifactRequest","CreateArtifactResponse","CreateArtifactRequest","FinalizeMigratedArtifactResponse","FinalizeMigratedArtifactRequest","MigrateArtifactResponse","MigrateArtifactRequest","runtime_rpc_1","wrappers_1","wrappers_2","timestamp_1","MigrateArtifactRequest$Type","workflowRunBackendId","expiresAt","fork","join","MigrateArtifactResponse$Type","ok","signedUploadUrl","FinalizeMigratedArtifactRequest$Type","size","FinalizeMigratedArtifactResponse$Type","artifactId","CreateArtifactRequest$Type","workflowJobRunBackendId","version","CreateArtifactResponse$Type","FinalizeArtifactRequest$Type","hash","FinalizeArtifactResponse$Type","ListArtifactsRequest$Type","nameFilter","idFilter","ListArtifactsResponse$Type","artifacts","push","i","ListArtifactsResponse_MonolithArtifact$Type","databaseId","createdAt","digest","GetSignedArtifactURLRequest$Type","GetSignedArtifactURLResponse$Type","signedUrl","DeleteArtifactRequest$Type","DeleteArtifactResponse$Type","ServiceType","I","O","ArtifactServiceClientProtobuf","ArtifactServiceClientJSON","artifact_1","rpc","CreateArtifact","bind","FinalizeArtifact","ListArtifacts","GetSignedArtifactURL","DeleteArtifact","request","data","toJson","useProtoFieldName","emitDefaultValues","promise","then","fromJson","ignoreUnknownFields","toBinary","fromBinary","__awaiter","thisArg","_arguments","P","generator","adopt","resolve","Promise","reject","fulfilled","step","next","e","rejected","result","done","apply","__rest","s","t","indexOf","getOwnPropertySymbols","propertyIsEnumerable","core_1","config_1","upload_artifact_1","download_artifact_1","delete_artifact_1","get_artifact_1","list_artifacts_1","errors_1","uploadArtifact","files","rootDirectory","isGhes","GHESNotSupportedError","error","warning","downloadArtifact","findBy","repositoryOwner","repositoryName","token","downloadOptions","downloadArtifactPublic","downloadArtifactInternal","listArtifacts","workflowRunId","listArtifactsPublic","latest","listArtifactsInternal","getArtifact","artifactName","getArtifactPublic","getArtifactInternal","deleteArtifact","deleteArtifactPublic","deleteArtifactInternal","github_1","user_agent_1","retry_options_1","utils_1","plugin_request_log_1","plugin_retry_1","artifact_twirp_client_1","util_1","generated_1","_a","retryOpts","requestOpts","getRetryOptions","defaults","opts","log","userAgent","getUserAgentString","previews","retry","github","getOctokit","requestLog","getArtifactResp","deleteArtifactResp","rest","actions","owner","repo","artifact_id","artifact","id","status","InvalidResponseError","headers","artifactClient","internalArtifactTwirpClient","getBackendIdsFromToken","listReq","listRes","ArtifactNotFoundError","sort","a","b","debug","req","res","info","__setModuleDefault","v","__importStar","mod","__importDefault","default","streamExtractExternal","promises_1","crypto","stream","core","httpClient","unzip_stream_1","scrubQueryParameters","url","parsed","URL","search","exists","path","access","code","streamExtract","directory","retryCount","setTimeout","url_1","directory_1","arguments","timeout","HttLine truncated
|
||||
{"version":3,"file":"index.js","names":["__awaiter","this","thisArg","_arguments","P","generator","adopt","value","resolve","Promise","reject","fulfilled","step","next","e","rejected","result","done","then","apply","Object","defineProperty","exports","ClientStreamingCall","constructor","method","requestHeaders","request","headers","response","status","trailers","requests","onfulfilled","onrejected","promiseFinished","reason","all","Deferred","DeferredState","preventUnhandledRejectionWarning","_state","PENDING","_promise","_resolve","_reject","catch","_","state","promise","Error","toLowerCase","RESOLVED","REJECTED","resolvePending","val","rejectPending","DuplexStreamingCall","responses","__webpack_unused_export__","service_type_1","__webpack_require__","enumerable","get","ServiceType","reflection_info_1","readMethodOptions","readMethodOption","readServiceOption","rpc_error_1","RpcError","rpc_options_1","mergeRpcOptions","rpc_output_stream_1","RpcOutputStreamController","test_transport_1","TestTransport","deferred_1","duplex_streaming_call_1","client_streaming_call_1","server_streaming_call_1","ServerStreamingCall","unary_call_1","UnaryCall","rpc_interceptor_1","stackIntercept","stackDuplexStreamingInterceptors","stackClientStreamingInterceptors","stackServerStreamingInterceptors","stackUnaryInterceptors","server_call_context_1","ServerCallContextController","normalizeMethodInfo","runtime_1","service","_a","_b","_c","m","localName","lowerCamelCase","name","serverStreaming","clientStreaming","options","idempotency","undefined","methodName","extensionName","extensionType","methods","find","i","fromJson","optionVal","message","code","meta","super","setPrototypeOf","prototype","toString","l","push","serviceName","entries","length","k","v","join","kind","transport","input","_d","tail","mtd","inp","opt","unary","curr","interceptors","filter","interceptUnary","reverse","interceptServerStreaming","interceptClientStreaming","duplex","interceptDuplex","assertNever","defaults","o","copy","key","keys","jsonOptions","mergeJsonOptions","binaryOptions","mergeBinaryOptions","concat","a","into","c","Date","getTime","Array","isArray","_lis","nxt","msg","err","cmp","_closed","_itState","q","onNext","callback","addLis","onMessage","onError","onComplete","list","indexOf","splice","clearLis","values","closed","notifyNext","error","complete","assert","notifyMessage","notifyError","notifyComplete","pushIt","forEach","Symbol","asyncIterator","p","first","shift","deadline","sendResponseHeadersFn","defaultStatus","detail","_cancelled","_listeners","_sendRH","notifyCancelled","sendResponseHeaders","data","cancelled","onCancel","typeName","map","suppressUncaughtRejections","headerDelay","responseDelay","betweenResponseDelay","afterResponseDelay","sentMessages","lastInput","TestInputStream","sent","single","sendComplete","completed","promiseHeaders","defaultHeaders","promiseSingleResponse","r","O","create","is","streamResponses","stream","abort","messages","delay","promiseStatus","promiseTrailers","defaultTrailers","maybeSuppressUncaught","mergeOptions","headersPromise","responsePromise","statusPromise","trailersPromise","outputStream","responseStreamClosedPromise","responseHeader","responseTrailer","ms","aborted","id","setTimeout","addEventListener","ev","clearTimeout","_completed","_sent","send","inputMessage","delayMs","inputComplete","assertFloat32","assertUInt32","assertInt32","condition","FLOAT32_MAX","FLOAT32_MIN","UINT32_MAX","INT32_MAX","INT32_MIN","arg","Number","isInteger","isFinite","base64encode","base64decode","encTable","split","decTable","charCodeAt","base64Str","es","bytes","Uint8Array","bytePos","groupPos","b","subarray","base64","WireType","UnknownFieldHandler","symbol","for","onRead","fieldNo","wireType","container","no","onWrite","writer","tag","raw","uf","last","slice","assign","BinaryReader","binaryReadOptions","binary_format_contract_1","pb_long_1","goog_varint_1","defaultsRead","readUnknownField","readerFactory","buf","textDecoder","varint64","varint64read","uint32","varint32read","len","pos","view","DataView","buffer","byteOffset","byteLength","TextDecoder","fatal","ignoreBOM","skip","start","Varint","Bit64","Bit32","LengthDelimited","StartGroup","t","EndGroup","assertBounds","RangeError","int32","sint32","zze","int64","PbLong","uint64","PbULong","sint64","lo","hi","s","bool","fixed32","getUint32","sfixed32","getInt32","fixed64","sfixed64","float","getFloat32","double","getFloat64","string","decode","BinaryWriter","binaryWriteOptions","assert_1","defaultsWrite","writeUnknownFields","writerFactory","textEncoder","stack","TextEncoder","chunks","finish","offset","set","fork","chunk","prev","pop","type","varint32write","encode","setFloat32","setFloat64","setUint32","setInt32","long","from","varint64write","sign","listEnumNumbers","listEnumNames","listEnumValues","isEnumObject","hasOwnProperty","num","parseInt","isNaN","nam","enumObject","number","index","arr","int64toString","int64fromString","lowBits","highBits","mLine truncated
|
||||
Reference in new issue
Block a user