mirror of
https://github.com/docker/login-action.git
synced 2026-03-04 14:58:17 +00:00
chore: update generated content
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
This commit is contained in:
9
dist/136.index.js
generated
vendored
9
dist/136.index.js
generated
vendored
@@ -1,7 +1,6 @@
|
|||||||
"use strict";
|
export const id = 136;
|
||||||
exports.id = 136;
|
export const ids = [136];
|
||||||
exports.ids = [136];
|
export const modules = {
|
||||||
exports.modules = {
|
|
||||||
|
|
||||||
/***/ 63723:
|
/***/ 63723:
|
||||||
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
||||||
@@ -895,5 +894,5 @@ module.exports = /*#__PURE__*/JSON.parse('{"name":"@aws-sdk/nested-clients","ver
|
|||||||
/***/ })
|
/***/ })
|
||||||
|
|
||||||
};
|
};
|
||||||
;
|
|
||||||
//# sourceMappingURL=136.index.js.map
|
//# sourceMappingURL=136.index.js.map
|
||||||
2
dist/136.index.js.map
generated
vendored
2
dist/136.index.js.map
generated
vendored
File diff suppressed because one or more lines are too long
9
dist/360.index.js
generated
vendored
9
dist/360.index.js
generated
vendored
@@ -1,7 +1,6 @@
|
|||||||
"use strict";
|
export const id = 360;
|
||||||
exports.id = 360;
|
export const ids = [360];
|
||||||
exports.ids = [360];
|
export const modules = {
|
||||||
exports.modules = {
|
|
||||||
|
|
||||||
/***/ 75360:
|
/***/ 75360:
|
||||||
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
||||||
@@ -90,5 +89,5 @@ exports.fromProcess = fromProcess;
|
|||||||
/***/ })
|
/***/ })
|
||||||
|
|
||||||
};
|
};
|
||||||
;
|
|
||||||
//# sourceMappingURL=360.index.js.map
|
//# sourceMappingURL=360.index.js.map
|
||||||
2
dist/360.index.js.map
generated
vendored
2
dist/360.index.js.map
generated
vendored
@@ -1 +1 @@
|
|||||||
{"version":3,"file":"360.index.js","mappings":";;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","sources":[".././node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js"],"sourcesContent":["'use strict';\n\nvar sharedIniFileLoader = require('@smithy/shared-ini-file-loader');\nvar propertyProvider = require('@smithy/property-provider');\nvar child_process = require('child_process');\nvar util = require('util');\nvar client = require('@aws-sdk/core/client');\n\nconst getValidatedProcessCredentials = (profileName, data, profiles) => {\n if (data.Version !== 1) {\n throw Error(`Profile ${profileName} credential_process did not return Version 1.`);\n }\n if (data.AccessKeyId === undefined || data.SecretAccessKey === undefined) {\n throw Error(`Profile ${profileName} credential_process returned invalid credentials.`);\n }\n if (data.Expiration) {\n const currentTime = new Date();\n const expireTime = new Date(data.Expiration);\n if (expireTime < currentTime) {\n throw Error(`Profile ${profileName} credential_process returned expired credentials.`);\n }\n }\n let accountId = data.AccountId;\n if (!accountId && profiles?.[profileName]?.aws_account_id) {\n accountId = profiles[profileName].aws_account_id;\n }\n const credentials = {\n accessKeyId: data.AccessKeyId,\n secretAccessKey: data.SecretAccessKey,\n ...(data.SessionToken && { sessionToken: data.SessionToken }),\n ...(data.Expiration && { expiration: new Date(data.Expiration) }),\n ...(data.CredentialScope && { credentialScope: data.CredentialScope }),\n ...(accountId && { accountId }),\n };\n client.setCredentialFeature(credentials, \"CREDENTIALS_PROCESS\", \"w\");\n return credentials;\n};\n\nconst resolveProcessCredentials = async (profileName, profiles, logger) => {\n const profile = profiles[profileName];\n if (profiles[profileName]) {\n const credentialProcess = profile[\"credential_process\"];\n if (credentialProcess !== undefined) {\n const execPromise = util.promisify(sharedIniFileLoader.externalDataInterceptor?.getTokenRecord?.().exec ?? child_process.exec);\n try {\n const { stdout } = await execPromise(credentialProcess);\n let data;\n try {\n data = JSON.parse(stdout.trim());\n }\n catch {\n throw Error(`Profile ${profileName} credential_process returned invalid JSON.`);\n }\n return getValidatedProcessCredentials(profileName, data, profiles);\n }\n catch (error) {\n throw new propertyProvider.CredentialsProviderError(error.message, { logger });\n }\n }\n else {\n throw new propertyProvider.CredentialsProviderError(`Profile ${profileName} did not contain credential_process.`, { logger });\n }\n }\n else {\n throw new propertyProvider.CredentialsProviderError(`Profile ${profileName} could not be found in shared credentials file.`, {\n logger,\n });\n }\n};\n\nconst fromProcess = (init = {}) => async ({ callerClientConfig } = {}) => {\n init.logger?.debug(\"@aws-sdk/credential-provider-process - fromProcess\");\n const profiles = await sharedIniFileLoader.parseKnownFiles(init);\n return resolveProcessCredentials(sharedIniFileLoader.getProfileName({\n profile: init.profile ?? callerClientConfig?.profile,\n }), profiles, init.logger);\n};\n\nexports.fromProcess = fromProcess;\n"],"names":[],"sourceRoot":""}
|
{"version":3,"file":"360.index.js","mappings":";;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","sources":[".././node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js"],"sourcesContent":["'use strict';\n\nvar sharedIniFileLoader = require('@smithy/shared-ini-file-loader');\nvar propertyProvider = require('@smithy/property-provider');\nvar child_process = require('child_process');\nvar util = require('util');\nvar client = require('@aws-sdk/core/client');\n\nconst getValidatedProcessCredentials = (profileName, data, profiles) => {\n if (data.Version !== 1) {\n throw Error(`Profile ${profileName} credential_process did not return Version 1.`);\n }\n if (data.AccessKeyId === undefined || data.SecretAccessKey === undefined) {\n throw Error(`Profile ${profileName} credential_process returned invalid credentials.`);\n }\n if (data.Expiration) {\n const currentTime = new Date();\n const expireTime = new Date(data.Expiration);\n if (expireTime < currentTime) {\n throw Error(`Profile ${profileName} credential_process returned expired credentials.`);\n }\n }\n let accountId = data.AccountId;\n if (!accountId && profiles?.[profileName]?.aws_account_id) {\n accountId = profiles[profileName].aws_account_id;\n }\n const credentials = {\n accessKeyId: data.AccessKeyId,\n secretAccessKey: data.SecretAccessKey,\n ...(data.SessionToken && { sessionToken: data.SessionToken }),\n ...(data.Expiration && { expiration: new Date(data.Expiration) }),\n ...(data.CredentialScope && { credentialScope: data.CredentialScope }),\n ...(accountId && { accountId }),\n };\n client.setCredentialFeature(credentials, \"CREDENTIALS_PROCESS\", \"w\");\n return credentials;\n};\n\nconst resolveProcessCredentials = async (profileName, profiles, logger) => {\n const profile = profiles[profileName];\n if (profiles[profileName]) {\n const credentialProcess = profile[\"credential_process\"];\n if (credentialProcess !== undefined) {\n const execPromise = util.promisify(sharedIniFileLoader.externalDataInterceptor?.getTokenRecord?.().exec ?? child_process.exec);\n try {\n const { stdout } = await execPromise(credentialProcess);\n let data;\n try {\n data = JSON.parse(stdout.trim());\n }\n catch {\n throw Error(`Profile ${profileName} credential_process returned invalid JSON.`);\n }\n return getValidatedProcessCredentials(profileName, data, profiles);\n }\n catch (error) {\n throw new propertyProvider.CredentialsProviderError(error.message, { logger });\n }\n }\n else {\n throw new propertyProvider.CredentialsProviderError(`Profile ${profileName} did not contain credential_process.`, { logger });\n }\n }\n else {\n throw new propertyProvider.CredentialsProviderError(`Profile ${profileName} could not be found in shared credentials file.`, {\n logger,\n });\n }\n};\n\nconst fromProcess = (init = {}) => async ({ callerClientConfig } = {}) => {\n init.logger?.debug(\"@aws-sdk/credential-provider-process - fromProcess\");\n const profiles = await sharedIniFileLoader.parseKnownFiles(init);\n return resolveProcessCredentials(sharedIniFileLoader.getProfileName({\n profile: init.profile ?? callerClientConfig?.profile,\n }), profiles, init.logger);\n};\n\nexports.fromProcess = fromProcess;\n"],"names":[],"sourceRoot":""}
|
||||||
9
dist/443.index.js
generated
vendored
9
dist/443.index.js
generated
vendored
@@ -1,7 +1,6 @@
|
|||||||
"use strict";
|
export const id = 443;
|
||||||
exports.id = 443;
|
export const ids = [443];
|
||||||
exports.ids = [443];
|
export const modules = {
|
||||||
exports.modules = {
|
|
||||||
|
|
||||||
/***/ 8396:
|
/***/ 8396:
|
||||||
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
||||||
@@ -735,5 +734,5 @@ module.exports = /*#__PURE__*/JSON.parse('{"name":"@aws-sdk/nested-clients","ver
|
|||||||
/***/ })
|
/***/ })
|
||||||
|
|
||||||
};
|
};
|
||||||
;
|
|
||||||
//# sourceMappingURL=443.index.js.map
|
//# sourceMappingURL=443.index.js.map
|
||||||
2
dist/443.index.js.map
generated
vendored
2
dist/443.index.js.map
generated
vendored
File diff suppressed because one or more lines are too long
9
dist/566.index.js
generated
vendored
9
dist/566.index.js
generated
vendored
@@ -1,7 +1,6 @@
|
|||||||
"use strict";
|
export const id = 566;
|
||||||
exports.id = 566;
|
export const ids = [566];
|
||||||
exports.ids = [566];
|
export const modules = {
|
||||||
exports.modules = {
|
|
||||||
|
|
||||||
/***/ 40566:
|
/***/ 40566:
|
||||||
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
||||||
@@ -384,5 +383,5 @@ __webpack_unused_export__ = providerConfigFromInit;
|
|||||||
/***/ })
|
/***/ })
|
||||||
|
|
||||||
};
|
};
|
||||||
;
|
|
||||||
//# sourceMappingURL=566.index.js.map
|
//# sourceMappingURL=566.index.js.map
|
||||||
2
dist/566.index.js.map
generated
vendored
2
dist/566.index.js.map
generated
vendored
File diff suppressed because one or more lines are too long
9
dist/579.index.js
generated
vendored
9
dist/579.index.js
generated
vendored
@@ -1,7 +1,6 @@
|
|||||||
"use strict";
|
export const id = 579;
|
||||||
exports.id = 579;
|
export const ids = [579];
|
||||||
exports.ids = [579];
|
export const modules = {
|
||||||
exports.modules = {
|
|
||||||
|
|
||||||
/***/ 56579:
|
/***/ 56579:
|
||||||
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
||||||
@@ -267,5 +266,5 @@ exports.EventStreamSerde = EventStreamSerde;
|
|||||||
/***/ })
|
/***/ })
|
||||||
|
|
||||||
};
|
};
|
||||||
;
|
|
||||||
//# sourceMappingURL=579.index.js.map
|
//# sourceMappingURL=579.index.js.map
|
||||||
2
dist/579.index.js.map
generated
vendored
2
dist/579.index.js.map
generated
vendored
File diff suppressed because one or more lines are too long
9
dist/605.index.js
generated
vendored
9
dist/605.index.js
generated
vendored
@@ -1,7 +1,6 @@
|
|||||||
"use strict";
|
export const id = 605;
|
||||||
exports.id = 605;
|
export const ids = [605];
|
||||||
exports.ids = [605];
|
export const modules = {
|
||||||
exports.modules = {
|
|
||||||
|
|
||||||
/***/ 1509:
|
/***/ 1509:
|
||||||
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
||||||
@@ -231,5 +230,5 @@ Object.defineProperty(exports, "fromHttp", ({ enumerable: true, get: function ()
|
|||||||
/***/ })
|
/***/ })
|
||||||
|
|
||||||
};
|
};
|
||||||
;
|
|
||||||
//# sourceMappingURL=605.index.js.map
|
//# sourceMappingURL=605.index.js.map
|
||||||
2
dist/605.index.js.map
generated
vendored
2
dist/605.index.js.map
generated
vendored
File diff suppressed because one or more lines are too long
9
dist/762.index.js
generated
vendored
9
dist/762.index.js
generated
vendored
@@ -1,7 +1,6 @@
|
|||||||
"use strict";
|
export const id = 762;
|
||||||
exports.id = 762;
|
export const ids = [762];
|
||||||
exports.ids = [762];
|
export const modules = {
|
||||||
exports.modules = {
|
|
||||||
|
|
||||||
/***/ 77709:
|
/***/ 77709:
|
||||||
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
||||||
@@ -584,5 +583,5 @@ module.exports = /*#__PURE__*/JSON.parse('{"name":"@aws-sdk/nested-clients","ver
|
|||||||
/***/ })
|
/***/ })
|
||||||
|
|
||||||
};
|
};
|
||||||
;
|
|
||||||
//# sourceMappingURL=762.index.js.map
|
//# sourceMappingURL=762.index.js.map
|
||||||
2
dist/762.index.js.map
generated
vendored
2
dist/762.index.js.map
generated
vendored
File diff suppressed because one or more lines are too long
9
dist/869.index.js
generated
vendored
9
dist/869.index.js
generated
vendored
@@ -1,7 +1,6 @@
|
|||||||
"use strict";
|
export const id = 869;
|
||||||
exports.id = 869;
|
export const ids = [869];
|
||||||
exports.ids = [869];
|
export const modules = {
|
||||||
exports.modules = {
|
|
||||||
|
|
||||||
/***/ 75869:
|
/***/ 75869:
|
||||||
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
||||||
@@ -528,5 +527,5 @@ exports.fromLoginCredentials = fromLoginCredentials;
|
|||||||
/***/ })
|
/***/ })
|
||||||
|
|
||||||
};
|
};
|
||||||
;
|
|
||||||
//# sourceMappingURL=869.index.js.map
|
//# sourceMappingURL=869.index.js.map
|
||||||
2
dist/869.index.js.map
generated
vendored
2
dist/869.index.js.map
generated
vendored
File diff suppressed because one or more lines are too long
9
dist/956.index.js
generated
vendored
9
dist/956.index.js
generated
vendored
@@ -1,7 +1,6 @@
|
|||||||
"use strict";
|
export const id = 956;
|
||||||
exports.id = 956;
|
export const ids = [956,136];
|
||||||
exports.ids = [956,136];
|
export const modules = {
|
||||||
exports.modules = {
|
|
||||||
|
|
||||||
/***/ 88079:
|
/***/ 88079:
|
||||||
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
||||||
@@ -1031,5 +1030,5 @@ module.exports = /*#__PURE__*/JSON.parse('{"name":"@aws-sdk/nested-clients","ver
|
|||||||
/***/ })
|
/***/ })
|
||||||
|
|
||||||
};
|
};
|
||||||
;
|
|
||||||
//# sourceMappingURL=956.index.js.map
|
//# sourceMappingURL=956.index.js.map
|
||||||
2
dist/956.index.js.map
generated
vendored
2
dist/956.index.js.map
generated
vendored
File diff suppressed because one or more lines are too long
9
dist/998.index.js
generated
vendored
9
dist/998.index.js
generated
vendored
@@ -1,7 +1,6 @@
|
|||||||
"use strict";
|
export const id = 998;
|
||||||
exports.id = 998;
|
export const ids = [998];
|
||||||
exports.ids = [998];
|
export const modules = {
|
||||||
exports.modules = {
|
|
||||||
|
|
||||||
/***/ 62041:
|
/***/ 62041:
|
||||||
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
||||||
@@ -1370,5 +1369,5 @@ module.exports = /*#__PURE__*/JSON.parse('{"name":"@aws-sdk/client-sso","descrip
|
|||||||
/***/ })
|
/***/ })
|
||||||
|
|
||||||
};
|
};
|
||||||
;
|
|
||||||
//# sourceMappingURL=998.index.js.map
|
//# sourceMappingURL=998.index.js.map
|
||||||
2
dist/998.index.js.map
generated
vendored
2
dist/998.index.js.map
generated
vendored
File diff suppressed because one or more lines are too long
31
dist/index.js
generated
vendored
31
dist/index.js
generated
vendored
File diff suppressed because one or more lines are too long
2
dist/index.js.map
generated
vendored
2
dist/index.js.map
generated
vendored
File diff suppressed because one or more lines are too long
3
dist/package.json
generated
vendored
Normal file
3
dist/package.json
generated
vendored
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"type": "module"
|
||||||
|
}
|
||||||
0
dist/sourcemap-register.js → dist/sourcemap-register.cjs
generated
vendored
0
dist/sourcemap-register.js → dist/sourcemap-register.cjs
generated
vendored
Reference in New Issue
Block a user