@cdklabs/cdk-ecs-codedeploy 0.0.39 → 0.0.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.jsii +3 -3
- package/lib/api-canary/index.js +1 -1
- package/lib/ecs-appspec/index.js +1 -1
- package/lib/ecs-deployment/index.js +1 -1
- package/lib/ecs-patterns/application-load-balanced-codedeployed-fargate-service.js +1 -1
- package/node_modules/@aws-crypto/ie11-detection/CHANGELOG.md +9 -33
- package/node_modules/@aws-crypto/ie11-detection/build/MsSubtleCrypto.d.ts +5 -5
- package/node_modules/@aws-crypto/ie11-detection/package.json +2 -2
- package/node_modules/@aws-crypto/sha256-browser/CHANGELOG.md +28 -52
- package/node_modules/@aws-crypto/sha256-browser/README.md +11 -0
- package/node_modules/@aws-crypto/sha256-browser/build/constants.js +1 -1
- package/node_modules/@aws-crypto/sha256-browser/build/constants.js.map +1 -0
- package/node_modules/@aws-crypto/sha256-browser/build/crossPlatformSha256.d.ts +4 -3
- package/node_modules/@aws-crypto/sha256-browser/build/crossPlatformSha256.js +6 -2
- package/node_modules/@aws-crypto/sha256-browser/build/crossPlatformSha256.js.map +1 -0
- package/node_modules/@aws-crypto/sha256-browser/build/ie11Sha256.d.ts +4 -2
- package/node_modules/@aws-crypto/sha256-browser/build/ie11Sha256.js +14 -10
- package/node_modules/@aws-crypto/sha256-browser/build/ie11Sha256.js.map +1 -0
- package/node_modules/@aws-crypto/sha256-browser/build/index.js +2 -2
- package/node_modules/@aws-crypto/sha256-browser/build/index.js.map +1 -0
- package/node_modules/@aws-crypto/sha256-browser/build/isEmptyData.js +1 -1
- package/node_modules/@aws-crypto/sha256-browser/build/isEmptyData.js.map +1 -0
- package/node_modules/@aws-crypto/sha256-browser/build/webCryptoSha256.d.ts +5 -3
- package/node_modules/@aws-crypto/sha256-browser/build/webCryptoSha256.js +15 -9
- package/node_modules/@aws-crypto/sha256-browser/build/webCryptoSha256.js.map +1 -0
- package/node_modules/@aws-crypto/sha256-browser/package.json +8 -7
- package/node_modules/@aws-crypto/sha256-browser/src/crossPlatformSha256.ts +9 -4
- package/node_modules/@aws-crypto/sha256-browser/src/ie11Sha256.ts +22 -16
- package/node_modules/@aws-crypto/sha256-browser/src/webCryptoSha256.ts +24 -17
- package/node_modules/@aws-crypto/sha256-js/CHANGELOG.md +28 -48
- package/node_modules/@aws-crypto/sha256-js/README.md +11 -0
- package/node_modules/@aws-crypto/sha256-js/build/RawSha256.js +1 -1
- package/node_modules/@aws-crypto/{sha256-browser/node_modules/@aws-crypto/sha256-js → sha256-js}/build/RawSha256.js.map +0 -0
- package/node_modules/@aws-crypto/sha256-js/build/constants.js +1 -1
- package/node_modules/@aws-crypto/{sha256-browser/node_modules/@aws-crypto/sha256-js → sha256-js}/build/constants.js.map +0 -0
- package/node_modules/@aws-crypto/sha256-js/build/index.js +2 -2
- package/node_modules/@aws-crypto/{sha256-browser/node_modules/@aws-crypto/sha256-js → sha256-js}/build/index.js.map +0 -0
- package/node_modules/@aws-crypto/sha256-js/build/jsSha256.d.ts +6 -4
- package/node_modules/@aws-crypto/sha256-js/build/jsSha256.js +24 -19
- package/node_modules/@aws-crypto/sha256-js/build/jsSha256.js.map +1 -0
- package/node_modules/@aws-crypto/sha256-js/build/knownHashes.fixture.js +1 -1
- package/node_modules/@aws-crypto/{sha256-browser/node_modules/@aws-crypto/sha256-js → sha256-js}/build/knownHashes.fixture.js.map +0 -0
- package/node_modules/@aws-crypto/sha256-js/package.json +5 -4
- package/node_modules/@aws-crypto/sha256-js/src/jsSha256.ts +31 -23
- package/node_modules/@aws-crypto/supports-web-crypto/CHANGELOG.md +9 -33
- package/node_modules/@aws-crypto/supports-web-crypto/package.json +2 -2
- package/node_modules/@aws-crypto/util/CHANGELOG.md +12 -29
- package/node_modules/@aws-crypto/util/package.json +3 -3
- package/node_modules/@aws-sdk/abort-controller/package.json +2 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/protocols/Aws_json1_1.js +2 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/protocols/Aws_json1_1.js +2 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/CodeDeployClient.d.ts +3 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/CodeDeployClient.d.ts +2 -1
- package/node_modules/@aws-sdk/client-codedeploy/package.json +32 -32
- package/node_modules/@aws-sdk/client-sso/dist-types/SSOClient.d.ts +3 -3
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/SSOClient.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sso/package.json +28 -28
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/SSOOIDCClient.d.ts +3 -3
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/SSOOIDCClient.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sso-oidc/package.json +28 -28
- package/node_modules/@aws-sdk/client-sts/dist-types/STSClient.d.ts +3 -3
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/STSClient.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sts/package.json +31 -31
- package/node_modules/@aws-sdk/config-resolver/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-env/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-imds/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +9 -9
- package/node_modules/@aws-sdk/credential-provider-node/package.json +10 -10
- package/node_modules/@aws-sdk/credential-provider-process/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
- package/node_modules/@aws-sdk/fetch-http-handler/package.json +5 -5
- package/node_modules/@aws-sdk/hash-node/dist-cjs/index.js +10 -2
- package/node_modules/@aws-sdk/hash-node/dist-es/index.js +10 -2
- package/node_modules/@aws-sdk/hash-node/dist-types/index.d.ts +6 -3
- package/node_modules/@aws-sdk/hash-node/dist-types/ts3.4/index.d.ts +6 -3
- package/node_modules/@aws-sdk/hash-node/package.json +3 -2
- package/node_modules/@aws-sdk/invalid-dependency/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-content-length/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-endpoint/package.json +7 -7
- package/node_modules/@aws-sdk/middleware-host-header/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-logger/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-retry/package.json +7 -7
- package/node_modules/@aws-sdk/middleware-sdk-sts/dist-types/index.d.ts +2 -2
- package/node_modules/@aws-sdk/middleware-sdk-sts/dist-types/ts3.4/index.d.ts +2 -1
- package/node_modules/@aws-sdk/middleware-sdk-sts/package.json +6 -6
- package/node_modules/@aws-sdk/middleware-serde/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-signing/dist-types/configurations.d.ts +3 -3
- package/node_modules/@aws-sdk/middleware-signing/dist-types/ts3.4/configurations.d.ts +3 -2
- package/node_modules/@aws-sdk/middleware-signing/package.json +6 -6
- package/node_modules/@aws-sdk/middleware-stack/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +4 -4
- package/node_modules/@aws-sdk/node-config-provider/package.json +4 -4
- package/node_modules/@aws-sdk/node-http-handler/package.json +5 -5
- package/node_modules/@aws-sdk/property-provider/package.json +2 -2
- package/node_modules/@aws-sdk/protocol-http/package.json +2 -2
- package/node_modules/@aws-sdk/querystring-builder/package.json +2 -2
- package/node_modules/@aws-sdk/querystring-parser/package.json +2 -2
- package/node_modules/@aws-sdk/service-error-classification/package.json +2 -2
- package/node_modules/@aws-sdk/shared-ini-file-loader/package.json +2 -2
- package/node_modules/@aws-sdk/signature-v4/dist-cjs/SignatureV4.js +4 -3
- package/node_modules/@aws-sdk/signature-v4/dist-cjs/credentialDerivation.js +2 -1
- package/node_modules/@aws-sdk/signature-v4/dist-cjs/getPayloadHash.js +2 -1
- package/node_modules/@aws-sdk/signature-v4/dist-es/SignatureV4.js +4 -3
- package/node_modules/@aws-sdk/signature-v4/dist-es/credentialDerivation.js +2 -1
- package/node_modules/@aws-sdk/signature-v4/dist-es/getPayloadHash.js +2 -1
- package/node_modules/@aws-sdk/signature-v4/dist-types/SignatureV4.d.ts +3 -3
- package/node_modules/@aws-sdk/signature-v4/dist-types/credentialDerivation.d.ts +2 -2
- package/node_modules/@aws-sdk/signature-v4/dist-types/getPayloadHash.d.ts +2 -2
- package/node_modules/@aws-sdk/signature-v4/dist-types/ts3.4/SignatureV4.d.ts +3 -2
- package/node_modules/@aws-sdk/signature-v4/dist-types/ts3.4/credentialDerivation.d.ts +6 -2
- package/node_modules/@aws-sdk/signature-v4/dist-types/ts3.4/getPayloadHash.d.ts +6 -2
- package/node_modules/@aws-sdk/signature-v4/package.json +6 -5
- package/node_modules/@aws-sdk/smithy-client/package.json +3 -3
- package/node_modules/@aws-sdk/token-providers/package.json +5 -5
- package/node_modules/@aws-sdk/types/dist-types/checksum.d.ts +9 -0
- package/node_modules/@aws-sdk/types/dist-types/crypto.d.ts +2 -0
- package/node_modules/@aws-sdk/types/dist-types/stream.d.ts +2 -1
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/checksum.d.ts +4 -0
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/stream.d.ts +2 -1
- package/node_modules/@aws-sdk/types/package.json +1 -1
- package/node_modules/@aws-sdk/url-parser/package.json +3 -3
- package/node_modules/@aws-sdk/util-defaults-mode-browser/package.json +4 -4
- package/node_modules/@aws-sdk/util-defaults-mode-node/package.json +7 -7
- package/node_modules/@aws-sdk/util-endpoints/package.json +2 -2
- package/node_modules/@aws-sdk/util-middleware/package.json +2 -2
- package/node_modules/@aws-sdk/util-retry/package.json +3 -3
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +3 -3
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +4 -4
- package/node_modules/{@aws-crypto/sha256-browser/node_modules/@aws-crypto/sha256-js → @aws-sdk/util-utf8}/LICENSE +1 -1
- package/node_modules/@aws-sdk/util-utf8/README.md +4 -0
- package/node_modules/@aws-sdk/util-utf8/dist-cjs/fromUtf8.browser.js +5 -0
- package/node_modules/@aws-sdk/util-utf8/dist-cjs/fromUtf8.js +9 -0
- package/node_modules/@aws-sdk/util-utf8/dist-cjs/index.js +6 -0
- package/node_modules/@aws-sdk/util-utf8/dist-cjs/toUint8Array.js +14 -0
- package/node_modules/@aws-sdk/util-utf8/dist-cjs/toUtf8.browser.js +5 -0
- package/node_modules/@aws-sdk/util-utf8/dist-cjs/toUtf8.js +6 -0
- package/node_modules/@aws-sdk/util-utf8/dist-es/fromUtf8.browser.js +1 -0
- package/node_modules/@aws-sdk/util-utf8/dist-es/fromUtf8.js +5 -0
- package/node_modules/@aws-sdk/util-utf8/dist-es/index.js +3 -0
- package/node_modules/@aws-sdk/util-utf8/dist-es/toUint8Array.js +10 -0
- package/node_modules/@aws-sdk/util-utf8/dist-es/toUtf8.browser.js +1 -0
- package/node_modules/@aws-sdk/util-utf8/dist-es/toUtf8.js +2 -0
- package/node_modules/@aws-sdk/util-utf8/dist-types/fromUtf8.browser.d.ts +1 -0
- package/node_modules/@aws-sdk/util-utf8/dist-types/fromUtf8.d.ts +1 -0
- package/node_modules/@aws-sdk/util-utf8/dist-types/index.d.ts +3 -0
- package/node_modules/@aws-sdk/util-utf8/dist-types/toUint8Array.d.ts +1 -0
- package/node_modules/@aws-sdk/util-utf8/dist-types/toUtf8.browser.d.ts +1 -0
- package/node_modules/@aws-sdk/util-utf8/dist-types/toUtf8.d.ts +1 -0
- package/node_modules/@aws-sdk/util-utf8/dist-types/ts3.4/fromUtf8.browser.d.ts +1 -0
- package/node_modules/@aws-sdk/util-utf8/dist-types/ts3.4/fromUtf8.d.ts +1 -0
- package/node_modules/@aws-sdk/util-utf8/dist-types/ts3.4/index.d.ts +3 -0
- package/node_modules/@aws-sdk/util-utf8/dist-types/ts3.4/toUint8Array.d.ts +3 -0
- package/node_modules/@aws-sdk/util-utf8/dist-types/ts3.4/toUtf8.browser.d.ts +1 -0
- package/node_modules/@aws-sdk/util-utf8/dist-types/ts3.4/toUtf8.d.ts +1 -0
- package/node_modules/@aws-sdk/util-utf8/package.json +62 -0
- package/node_modules/@aws-sdk/util-waiter/package.json +3 -3
- package/package.json +6 -6
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/sha256-js/CHANGELOG.md +0 -125
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/sha256-js/README.md +0 -18
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/sha256-js/build/RawSha256.d.ts +0 -17
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/sha256-js/build/RawSha256.js +0 -124
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/sha256-js/build/constants.d.ts +0 -20
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/sha256-js/build/constants.js +0 -98
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/sha256-js/build/index.d.ts +0 -1
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/sha256-js/build/index.js +0 -5
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/sha256-js/build/jsSha256.d.ts +0 -10
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/sha256-js/build/jsSha256.js +0 -80
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/sha256-js/build/jsSha256.js.map +0 -1
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/sha256-js/build/knownHashes.fixture.d.ts +0 -5
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/sha256-js/build/knownHashes.fixture.js +0 -322
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/sha256-js/package.json +0 -28
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/sha256-js/src/RawSha256.ts +0 -164
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/sha256-js/src/constants.ts +0 -98
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/sha256-js/src/index.ts +0 -1
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/sha256-js/src/jsSha256.ts +0 -86
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/sha256-js/src/knownHashes.fixture.ts +0 -401
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/sha256-js/tsconfig.json +0 -17
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@aws-sdk/util-utf8",
|
|
3
|
+
"version": "3.254.0",
|
|
4
|
+
"description": "A UTF-8 string <-> UInt8Array converter",
|
|
5
|
+
"main": "./dist-cjs/index.js",
|
|
6
|
+
"module": "./dist-es/index.js",
|
|
7
|
+
"scripts": {
|
|
8
|
+
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
9
|
+
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
10
|
+
"build:es": "tsc -p tsconfig.es.json",
|
|
11
|
+
"build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
|
|
12
|
+
"build:types": "tsc -p tsconfig.types.json",
|
|
13
|
+
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
14
|
+
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
|
|
15
|
+
"test": "jest"
|
|
16
|
+
},
|
|
17
|
+
"author": {
|
|
18
|
+
"name": "AWS SDK for JavaScript Team",
|
|
19
|
+
"url": "https://aws.amazon.com/javascript/"
|
|
20
|
+
},
|
|
21
|
+
"license": "Apache-2.0",
|
|
22
|
+
"dependencies": {
|
|
23
|
+
"@aws-sdk/util-buffer-from": "3.208.0",
|
|
24
|
+
"tslib": "^2.3.1"
|
|
25
|
+
},
|
|
26
|
+
"devDependencies": {
|
|
27
|
+
"@tsconfig/recommended": "1.0.1",
|
|
28
|
+
"concurrently": "7.0.0",
|
|
29
|
+
"downlevel-dts": "0.10.1",
|
|
30
|
+
"rimraf": "3.0.2",
|
|
31
|
+
"typedoc": "0.19.2",
|
|
32
|
+
"typescript": "~4.6.2"
|
|
33
|
+
},
|
|
34
|
+
"types": "./dist-types/index.d.ts",
|
|
35
|
+
"engines": {
|
|
36
|
+
"node": ">=14.0.0"
|
|
37
|
+
},
|
|
38
|
+
"typesVersions": {
|
|
39
|
+
"<4.0": {
|
|
40
|
+
"dist-types/*": [
|
|
41
|
+
"dist-types/ts3.4/*"
|
|
42
|
+
]
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"files": [
|
|
46
|
+
"dist-*"
|
|
47
|
+
],
|
|
48
|
+
"browser": {
|
|
49
|
+
"./dist-es/fromUtf8": "./dist-es/fromUtf8.browser",
|
|
50
|
+
"./dist-es/toUtf8": "./dist-es/toUtf8.browser"
|
|
51
|
+
},
|
|
52
|
+
"react-native": {
|
|
53
|
+
"./dist-es/fromUtf8": "./dist-es/fromUtf8.browser",
|
|
54
|
+
"./dist-es/toUtf8": "./dist-es/toUtf8.browser"
|
|
55
|
+
},
|
|
56
|
+
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages/util-utf8",
|
|
57
|
+
"repository": {
|
|
58
|
+
"type": "git",
|
|
59
|
+
"url": "https://github.com/aws/aws-sdk-js-v3.git",
|
|
60
|
+
"directory": "packages/util-utf8"
|
|
61
|
+
}
|
|
62
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/util-waiter",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.254.0",
|
|
4
4
|
"description": "Shared utilities for client waiters for the AWS SDK",
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@aws-sdk/abort-controller": "3.
|
|
7
|
-
"@aws-sdk/types": "3.
|
|
6
|
+
"@aws-sdk/abort-controller": "3.254.0",
|
|
7
|
+
"@aws-sdk/types": "3.254.0",
|
|
8
8
|
"tslib": "^2.3.1"
|
|
9
9
|
},
|
|
10
10
|
"scripts": {
|
package/package.json
CHANGED
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
64
|
"@aws-cdk/aws-synthetics-alpha": "2.55.1-alpha.0",
|
|
65
|
-
"@aws-cdk/integ-tests-alpha": "^2.
|
|
65
|
+
"@aws-cdk/integ-tests-alpha": "^2.61.1-alpha.0",
|
|
66
66
|
"@types/aws-lambda": "^8.10.109",
|
|
67
67
|
"@types/jest": "^27",
|
|
68
68
|
"@types/lambda-tester": "^3.6.2",
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
"aws-cdk-lib": "2.55.1",
|
|
74
74
|
"aws-sdk-client-mock": "^2.0.1",
|
|
75
75
|
"aws-sdk-client-mock-jest": "^2.0.1",
|
|
76
|
-
"cdk-nag": "^2.21.
|
|
76
|
+
"cdk-nag": "^2.21.68",
|
|
77
77
|
"constructs": "10.0.5",
|
|
78
78
|
"esbuild": "^0.17.3",
|
|
79
79
|
"eslint": "^8",
|
|
@@ -84,12 +84,12 @@
|
|
|
84
84
|
"jest-junit": "^13",
|
|
85
85
|
"jsii": "^1.73.0",
|
|
86
86
|
"jsii-diff": "^1.73.0",
|
|
87
|
-
"jsii-docgen": "^7.0.
|
|
87
|
+
"jsii-docgen": "^7.0.209",
|
|
88
88
|
"jsii-pacmak": "^1.73.0",
|
|
89
89
|
"json-schema": "^0.4.0",
|
|
90
90
|
"lambda-tester": "^4.0.1",
|
|
91
91
|
"npm-check-updates": "^16",
|
|
92
|
-
"projen": "0.67.
|
|
92
|
+
"projen": "0.67.8",
|
|
93
93
|
"standard-version": "^9",
|
|
94
94
|
"ts-jest": "^27",
|
|
95
95
|
"ts-node": "^10.9.1",
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
"constructs": "^10.0.5"
|
|
102
102
|
},
|
|
103
103
|
"dependencies": {
|
|
104
|
-
"@aws-sdk/client-codedeploy": "^3.
|
|
104
|
+
"@aws-sdk/client-codedeploy": "^3.254.0",
|
|
105
105
|
"jmespath": "^0.16.0"
|
|
106
106
|
},
|
|
107
107
|
"bundledDependencies": [
|
|
@@ -119,7 +119,7 @@
|
|
|
119
119
|
"publishConfig": {
|
|
120
120
|
"access": "public"
|
|
121
121
|
},
|
|
122
|
-
"version": "0.0.
|
|
122
|
+
"version": "0.0.41",
|
|
123
123
|
"jest": {
|
|
124
124
|
"testMatch": [
|
|
125
125
|
"<rootDir>/src/**/__tests__/**/*.ts?(x)",
|
package/node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/sha256-js/CHANGELOG.md
DELETED
|
@@ -1,125 +0,0 @@
|
|
|
1
|
-
# Change Log
|
|
2
|
-
|
|
3
|
-
All notable changes to this project will be documented in this file.
|
|
4
|
-
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
|
-
|
|
6
|
-
## [2.0.2](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v2.0.1...v2.0.2) (2022-09-07)
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
### Bug Fixes
|
|
10
|
-
|
|
11
|
-
* **#337:** update @aws-sdk/types ([#373](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/373)) ([b26a811](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/b26a811a392f5209c7ec7e57251500d4d78f97ff)), closes [#337](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/337)
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
## [2.0.1](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v2.0.0...v2.0.1) (2021-12-09)
|
|
18
|
-
|
|
19
|
-
**Note:** Version bump only for package @aws-crypto/sha256-js
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
# [2.0.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v1.2.2...v2.0.0) (2021-10-25)
|
|
26
|
-
|
|
27
|
-
**Note:** Version bump only for package @aws-crypto/sha256-js
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
## [1.2.2](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v1.2.1...v1.2.2) (2021-10-12)
|
|
34
|
-
|
|
35
|
-
**Note:** Version bump only for package @aws-crypto/sha256-js
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
## [1.2.1](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v1.2.0...v1.2.1) (2021-09-17)
|
|
42
|
-
|
|
43
|
-
**Note:** Version bump only for package @aws-crypto/sha256-js
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
# [1.2.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v1.1.1...v1.2.0) (2021-09-17)
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
### Features
|
|
53
|
-
|
|
54
|
-
* add @aws-crypto/util ([8f489cb](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/8f489cbe4c0e134f826bac66f1bf5172597048b9))
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
# [1.1.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/@aws-crypto/sha256-js@1.0.0...@aws-crypto/sha256-js@1.1.0) (2021-01-13)
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
### Bug Fixes
|
|
64
|
-
|
|
65
|
-
* remove package lock ([6002a5a](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/6002a5ab9218dc8798c19dc205d3eebd3bec5b43))
|
|
66
|
-
* **aws-crypto:** export explicit dependencies on [@aws-types](https://github.com/aws-types) ([6a1873a](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/6a1873a4dcc2aaa4a1338595703cfa7099f17b8c))
|
|
67
|
-
* **deps-dev:** move @aws-sdk/types to devDependencies ([#188](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/188)) ([08efdf4](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/08efdf46dcc612d88c441e29945d787f253ee77d))
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
# [1.0.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/@aws-crypto/sha256-js@1.0.0-alpha.0...@aws-crypto/sha256-js@1.0.0) (2020-10-22)
|
|
74
|
-
|
|
75
|
-
**Note:** Version bump only for package @aws-crypto/sha256-js
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
# [1.0.0-alpha.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/@aws-crypto/sha256-js@0.1.0-preview.4...@aws-crypto/sha256-js@1.0.0-alpha.0) (2020-02-07)
|
|
82
|
-
|
|
83
|
-
**Note:** Version bump only for package @aws-crypto/sha256-js
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
# [0.1.0-preview.4](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/@aws-crypto/sha256-js@0.1.0-preview.2...@aws-crypto/sha256-js@0.1.0-preview.4) (2020-01-16)
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
### Bug Fixes
|
|
93
|
-
|
|
94
|
-
* Changed package.json files to point to the right Git repo ([#9](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/9)) ([028245d](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/028245d72e642ca98d82226afb300eb154503c4a)), closes [#8](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/8)
|
|
95
|
-
* es2015.iterable required ([#10](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/10)) ([6e08d83](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/6e08d83c33667ad8cbeeaaa7cedf1bbe05f79ed8))
|
|
96
|
-
* lerna version maintains package-lock ([#14](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/14)) ([2ef29e1](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/2ef29e13779703a5c9b32e93d18918fcb33b7272)), closes [#13](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/13)
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
# [0.1.0-preview.3](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/@aws-crypto/sha256-js@0.1.0-preview.2...@aws-crypto/sha256-js@0.1.0-preview.3) (2019-11-15)
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
### Bug Fixes
|
|
106
|
-
|
|
107
|
-
* Changed package.json files to point to the right Git repo ([#9](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/9)) ([028245d](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/028245d72e642ca98d82226afb300eb154503c4a)), closes [#8](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/8)
|
|
108
|
-
* es2015.iterable required ([#10](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/10)) ([6e08d83](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/6e08d83c33667ad8cbeeaaa7cedf1bbe05f79ed8))
|
|
109
|
-
* lerna version maintains package-lock ([#14](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/14)) ([2ef29e1](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/2ef29e13779703a5c9b32e93d18918fcb33b7272)), closes [#13](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/13)
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
# [0.1.0-preview.2](https://github.com/aws/aws-javascript-crypto-helpers/compare/@aws-crypto/sha256-js@0.1.0-preview.1...@aws-crypto/sha256-js@0.1.0-preview.2) (2019-10-30)
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
### Bug Fixes
|
|
119
|
-
|
|
120
|
-
* remove /src/ from .npmignore (for sourcemaps) ([#5](https://github.com/aws/aws-javascript-crypto-helpers/issues/5)) ([ec52056](https://github.com/aws/aws-javascript-crypto-helpers/commit/ec52056))
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
### Features
|
|
124
|
-
|
|
125
|
-
* **sha256-js:** expose synchronous digest ([#7](https://github.com/aws/aws-javascript-crypto-helpers/issues/7)) ([9edaef7](https://github.com/aws/aws-javascript-crypto-helpers/commit/9edaef7)), closes [#6](https://github.com/aws/aws-javascript-crypto-helpers/issues/6)
|
package/node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/sha256-js/README.md
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
# crypto-sha256-js
|
|
2
|
-
|
|
3
|
-
A pure JS implementation SHA256.
|
|
4
|
-
|
|
5
|
-
## Usage
|
|
6
|
-
|
|
7
|
-
```
|
|
8
|
-
import {Sha256} from '@aws-crypto/sha256-js';
|
|
9
|
-
|
|
10
|
-
const hash = new Sha256();
|
|
11
|
-
hash.update('some data');
|
|
12
|
-
const result = await hash.digest();
|
|
13
|
-
|
|
14
|
-
```
|
|
15
|
-
|
|
16
|
-
## Test
|
|
17
|
-
|
|
18
|
-
`npm test`
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @internal
|
|
3
|
-
*/
|
|
4
|
-
export declare class RawSha256 {
|
|
5
|
-
private state;
|
|
6
|
-
private temp;
|
|
7
|
-
private buffer;
|
|
8
|
-
private bufferLength;
|
|
9
|
-
private bytesHashed;
|
|
10
|
-
/**
|
|
11
|
-
* @internal
|
|
12
|
-
*/
|
|
13
|
-
finished: boolean;
|
|
14
|
-
update(data: Uint8Array): void;
|
|
15
|
-
digest(): Uint8Array;
|
|
16
|
-
private hashBuffer;
|
|
17
|
-
}
|
|
@@ -1,124 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.RawSha256 = void 0;
|
|
4
|
-
var constants_1 = require("./constants");
|
|
5
|
-
/**
|
|
6
|
-
* @internal
|
|
7
|
-
*/
|
|
8
|
-
var RawSha256 = /** @class */ (function () {
|
|
9
|
-
function RawSha256() {
|
|
10
|
-
this.state = Int32Array.from(constants_1.INIT);
|
|
11
|
-
this.temp = new Int32Array(64);
|
|
12
|
-
this.buffer = new Uint8Array(64);
|
|
13
|
-
this.bufferLength = 0;
|
|
14
|
-
this.bytesHashed = 0;
|
|
15
|
-
/**
|
|
16
|
-
* @internal
|
|
17
|
-
*/
|
|
18
|
-
this.finished = false;
|
|
19
|
-
}
|
|
20
|
-
RawSha256.prototype.update = function (data) {
|
|
21
|
-
if (this.finished) {
|
|
22
|
-
throw new Error("Attempted to update an already finished hash.");
|
|
23
|
-
}
|
|
24
|
-
var position = 0;
|
|
25
|
-
var byteLength = data.byteLength;
|
|
26
|
-
this.bytesHashed += byteLength;
|
|
27
|
-
if (this.bytesHashed * 8 > constants_1.MAX_HASHABLE_LENGTH) {
|
|
28
|
-
throw new Error("Cannot hash more than 2^53 - 1 bits");
|
|
29
|
-
}
|
|
30
|
-
while (byteLength > 0) {
|
|
31
|
-
this.buffer[this.bufferLength++] = data[position++];
|
|
32
|
-
byteLength--;
|
|
33
|
-
if (this.bufferLength === constants_1.BLOCK_SIZE) {
|
|
34
|
-
this.hashBuffer();
|
|
35
|
-
this.bufferLength = 0;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
};
|
|
39
|
-
RawSha256.prototype.digest = function () {
|
|
40
|
-
if (!this.finished) {
|
|
41
|
-
var bitsHashed = this.bytesHashed * 8;
|
|
42
|
-
var bufferView = new DataView(this.buffer.buffer, this.buffer.byteOffset, this.buffer.byteLength);
|
|
43
|
-
var undecoratedLength = this.bufferLength;
|
|
44
|
-
bufferView.setUint8(this.bufferLength++, 0x80);
|
|
45
|
-
// Ensure the final block has enough room for the hashed length
|
|
46
|
-
if (undecoratedLength % constants_1.BLOCK_SIZE >= constants_1.BLOCK_SIZE - 8) {
|
|
47
|
-
for (var i = this.bufferLength; i < constants_1.BLOCK_SIZE; i++) {
|
|
48
|
-
bufferView.setUint8(i, 0);
|
|
49
|
-
}
|
|
50
|
-
this.hashBuffer();
|
|
51
|
-
this.bufferLength = 0;
|
|
52
|
-
}
|
|
53
|
-
for (var i = this.bufferLength; i < constants_1.BLOCK_SIZE - 8; i++) {
|
|
54
|
-
bufferView.setUint8(i, 0);
|
|
55
|
-
}
|
|
56
|
-
bufferView.setUint32(constants_1.BLOCK_SIZE - 8, Math.floor(bitsHashed / 0x100000000), true);
|
|
57
|
-
bufferView.setUint32(constants_1.BLOCK_SIZE - 4, bitsHashed);
|
|
58
|
-
this.hashBuffer();
|
|
59
|
-
this.finished = true;
|
|
60
|
-
}
|
|
61
|
-
// The value in state is little-endian rather than big-endian, so flip
|
|
62
|
-
// each word into a new Uint8Array
|
|
63
|
-
var out = new Uint8Array(constants_1.DIGEST_LENGTH);
|
|
64
|
-
for (var i = 0; i < 8; i++) {
|
|
65
|
-
out[i * 4] = (this.state[i] >>> 24) & 0xff;
|
|
66
|
-
out[i * 4 + 1] = (this.state[i] >>> 16) & 0xff;
|
|
67
|
-
out[i * 4 + 2] = (this.state[i] >>> 8) & 0xff;
|
|
68
|
-
out[i * 4 + 3] = (this.state[i] >>> 0) & 0xff;
|
|
69
|
-
}
|
|
70
|
-
return out;
|
|
71
|
-
};
|
|
72
|
-
RawSha256.prototype.hashBuffer = function () {
|
|
73
|
-
var _a = this, buffer = _a.buffer, state = _a.state;
|
|
74
|
-
var state0 = state[0], state1 = state[1], state2 = state[2], state3 = state[3], state4 = state[4], state5 = state[5], state6 = state[6], state7 = state[7];
|
|
75
|
-
for (var i = 0; i < constants_1.BLOCK_SIZE; i++) {
|
|
76
|
-
if (i < 16) {
|
|
77
|
-
this.temp[i] =
|
|
78
|
-
((buffer[i * 4] & 0xff) << 24) |
|
|
79
|
-
((buffer[i * 4 + 1] & 0xff) << 16) |
|
|
80
|
-
((buffer[i * 4 + 2] & 0xff) << 8) |
|
|
81
|
-
(buffer[i * 4 + 3] & 0xff);
|
|
82
|
-
}
|
|
83
|
-
else {
|
|
84
|
-
var u = this.temp[i - 2];
|
|
85
|
-
var t1_1 = ((u >>> 17) | (u << 15)) ^ ((u >>> 19) | (u << 13)) ^ (u >>> 10);
|
|
86
|
-
u = this.temp[i - 15];
|
|
87
|
-
var t2_1 = ((u >>> 7) | (u << 25)) ^ ((u >>> 18) | (u << 14)) ^ (u >>> 3);
|
|
88
|
-
this.temp[i] =
|
|
89
|
-
((t1_1 + this.temp[i - 7]) | 0) + ((t2_1 + this.temp[i - 16]) | 0);
|
|
90
|
-
}
|
|
91
|
-
var t1 = ((((((state4 >>> 6) | (state4 << 26)) ^
|
|
92
|
-
((state4 >>> 11) | (state4 << 21)) ^
|
|
93
|
-
((state4 >>> 25) | (state4 << 7))) +
|
|
94
|
-
((state4 & state5) ^ (~state4 & state6))) |
|
|
95
|
-
0) +
|
|
96
|
-
((state7 + ((constants_1.KEY[i] + this.temp[i]) | 0)) | 0)) |
|
|
97
|
-
0;
|
|
98
|
-
var t2 = ((((state0 >>> 2) | (state0 << 30)) ^
|
|
99
|
-
((state0 >>> 13) | (state0 << 19)) ^
|
|
100
|
-
((state0 >>> 22) | (state0 << 10))) +
|
|
101
|
-
((state0 & state1) ^ (state0 & state2) ^ (state1 & state2))) |
|
|
102
|
-
0;
|
|
103
|
-
state7 = state6;
|
|
104
|
-
state6 = state5;
|
|
105
|
-
state5 = state4;
|
|
106
|
-
state4 = (state3 + t1) | 0;
|
|
107
|
-
state3 = state2;
|
|
108
|
-
state2 = state1;
|
|
109
|
-
state1 = state0;
|
|
110
|
-
state0 = (t1 + t2) | 0;
|
|
111
|
-
}
|
|
112
|
-
state[0] += state0;
|
|
113
|
-
state[1] += state1;
|
|
114
|
-
state[2] += state2;
|
|
115
|
-
state[3] += state3;
|
|
116
|
-
state[4] += state4;
|
|
117
|
-
state[5] += state5;
|
|
118
|
-
state[6] += state6;
|
|
119
|
-
state[7] += state7;
|
|
120
|
-
};
|
|
121
|
-
return RawSha256;
|
|
122
|
-
}());
|
|
123
|
-
exports.RawSha256 = RawSha256;
|
|
124
|
-
//# sourceMappingURL=RawSha256.js.map
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @internal
|
|
3
|
-
*/
|
|
4
|
-
export declare const BLOCK_SIZE: number;
|
|
5
|
-
/**
|
|
6
|
-
* @internal
|
|
7
|
-
*/
|
|
8
|
-
export declare const DIGEST_LENGTH: number;
|
|
9
|
-
/**
|
|
10
|
-
* @internal
|
|
11
|
-
*/
|
|
12
|
-
export declare const KEY: Uint32Array;
|
|
13
|
-
/**
|
|
14
|
-
* @internal
|
|
15
|
-
*/
|
|
16
|
-
export declare const INIT: number[];
|
|
17
|
-
/**
|
|
18
|
-
* @internal
|
|
19
|
-
*/
|
|
20
|
-
export declare const MAX_HASHABLE_LENGTH: number;
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.MAX_HASHABLE_LENGTH = exports.INIT = exports.KEY = exports.DIGEST_LENGTH = exports.BLOCK_SIZE = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* @internal
|
|
6
|
-
*/
|
|
7
|
-
exports.BLOCK_SIZE = 64;
|
|
8
|
-
/**
|
|
9
|
-
* @internal
|
|
10
|
-
*/
|
|
11
|
-
exports.DIGEST_LENGTH = 32;
|
|
12
|
-
/**
|
|
13
|
-
* @internal
|
|
14
|
-
*/
|
|
15
|
-
exports.KEY = new Uint32Array([
|
|
16
|
-
0x428a2f98,
|
|
17
|
-
0x71374491,
|
|
18
|
-
0xb5c0fbcf,
|
|
19
|
-
0xe9b5dba5,
|
|
20
|
-
0x3956c25b,
|
|
21
|
-
0x59f111f1,
|
|
22
|
-
0x923f82a4,
|
|
23
|
-
0xab1c5ed5,
|
|
24
|
-
0xd807aa98,
|
|
25
|
-
0x12835b01,
|
|
26
|
-
0x243185be,
|
|
27
|
-
0x550c7dc3,
|
|
28
|
-
0x72be5d74,
|
|
29
|
-
0x80deb1fe,
|
|
30
|
-
0x9bdc06a7,
|
|
31
|
-
0xc19bf174,
|
|
32
|
-
0xe49b69c1,
|
|
33
|
-
0xefbe4786,
|
|
34
|
-
0x0fc19dc6,
|
|
35
|
-
0x240ca1cc,
|
|
36
|
-
0x2de92c6f,
|
|
37
|
-
0x4a7484aa,
|
|
38
|
-
0x5cb0a9dc,
|
|
39
|
-
0x76f988da,
|
|
40
|
-
0x983e5152,
|
|
41
|
-
0xa831c66d,
|
|
42
|
-
0xb00327c8,
|
|
43
|
-
0xbf597fc7,
|
|
44
|
-
0xc6e00bf3,
|
|
45
|
-
0xd5a79147,
|
|
46
|
-
0x06ca6351,
|
|
47
|
-
0x14292967,
|
|
48
|
-
0x27b70a85,
|
|
49
|
-
0x2e1b2138,
|
|
50
|
-
0x4d2c6dfc,
|
|
51
|
-
0x53380d13,
|
|
52
|
-
0x650a7354,
|
|
53
|
-
0x766a0abb,
|
|
54
|
-
0x81c2c92e,
|
|
55
|
-
0x92722c85,
|
|
56
|
-
0xa2bfe8a1,
|
|
57
|
-
0xa81a664b,
|
|
58
|
-
0xc24b8b70,
|
|
59
|
-
0xc76c51a3,
|
|
60
|
-
0xd192e819,
|
|
61
|
-
0xd6990624,
|
|
62
|
-
0xf40e3585,
|
|
63
|
-
0x106aa070,
|
|
64
|
-
0x19a4c116,
|
|
65
|
-
0x1e376c08,
|
|
66
|
-
0x2748774c,
|
|
67
|
-
0x34b0bcb5,
|
|
68
|
-
0x391c0cb3,
|
|
69
|
-
0x4ed8aa4a,
|
|
70
|
-
0x5b9cca4f,
|
|
71
|
-
0x682e6ff3,
|
|
72
|
-
0x748f82ee,
|
|
73
|
-
0x78a5636f,
|
|
74
|
-
0x84c87814,
|
|
75
|
-
0x8cc70208,
|
|
76
|
-
0x90befffa,
|
|
77
|
-
0xa4506ceb,
|
|
78
|
-
0xbef9a3f7,
|
|
79
|
-
0xc67178f2
|
|
80
|
-
]);
|
|
81
|
-
/**
|
|
82
|
-
* @internal
|
|
83
|
-
*/
|
|
84
|
-
exports.INIT = [
|
|
85
|
-
0x6a09e667,
|
|
86
|
-
0xbb67ae85,
|
|
87
|
-
0x3c6ef372,
|
|
88
|
-
0xa54ff53a,
|
|
89
|
-
0x510e527f,
|
|
90
|
-
0x9b05688c,
|
|
91
|
-
0x1f83d9ab,
|
|
92
|
-
0x5be0cd19
|
|
93
|
-
];
|
|
94
|
-
/**
|
|
95
|
-
* @internal
|
|
96
|
-
*/
|
|
97
|
-
exports.MAX_HASHABLE_LENGTH = Math.pow(2, 53) - 1;
|
|
98
|
-
//# sourceMappingURL=constants.js.map
|
package/node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/sha256-js/build/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./jsSha256";
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Hash, SourceData } from "@aws-sdk/types";
|
|
2
|
-
export declare class Sha256 implements Hash {
|
|
3
|
-
private readonly hash;
|
|
4
|
-
private readonly outer?;
|
|
5
|
-
private error;
|
|
6
|
-
constructor(secret?: SourceData);
|
|
7
|
-
update(toHash: SourceData): void;
|
|
8
|
-
digestSync(): Uint8Array;
|
|
9
|
-
digest(): Promise<Uint8Array>;
|
|
10
|
-
}
|
package/node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/sha256-js/build/jsSha256.js
DELETED
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Sha256 = void 0;
|
|
4
|
-
var tslib_1 = require("tslib");
|
|
5
|
-
var constants_1 = require("./constants");
|
|
6
|
-
var RawSha256_1 = require("./RawSha256");
|
|
7
|
-
var util_1 = require("@aws-crypto/util");
|
|
8
|
-
var Sha256 = /** @class */ (function () {
|
|
9
|
-
function Sha256(secret) {
|
|
10
|
-
this.hash = new RawSha256_1.RawSha256();
|
|
11
|
-
if (secret) {
|
|
12
|
-
this.outer = new RawSha256_1.RawSha256();
|
|
13
|
-
var inner = bufferFromSecret(secret);
|
|
14
|
-
var outer = new Uint8Array(constants_1.BLOCK_SIZE);
|
|
15
|
-
outer.set(inner);
|
|
16
|
-
for (var i = 0; i < constants_1.BLOCK_SIZE; i++) {
|
|
17
|
-
inner[i] ^= 0x36;
|
|
18
|
-
outer[i] ^= 0x5c;
|
|
19
|
-
}
|
|
20
|
-
this.hash.update(inner);
|
|
21
|
-
this.outer.update(outer);
|
|
22
|
-
// overwrite the copied key in memory
|
|
23
|
-
for (var i = 0; i < inner.byteLength; i++) {
|
|
24
|
-
inner[i] = 0;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
Sha256.prototype.update = function (toHash) {
|
|
29
|
-
if ((0, util_1.isEmptyData)(toHash) || this.error) {
|
|
30
|
-
return;
|
|
31
|
-
}
|
|
32
|
-
try {
|
|
33
|
-
this.hash.update((0, util_1.convertToBuffer)(toHash));
|
|
34
|
-
}
|
|
35
|
-
catch (e) {
|
|
36
|
-
this.error = e;
|
|
37
|
-
}
|
|
38
|
-
};
|
|
39
|
-
/* This synchronous method keeps compatibility
|
|
40
|
-
* with the v2 aws-sdk.
|
|
41
|
-
*/
|
|
42
|
-
Sha256.prototype.digestSync = function () {
|
|
43
|
-
if (this.error) {
|
|
44
|
-
throw this.error;
|
|
45
|
-
}
|
|
46
|
-
if (this.outer) {
|
|
47
|
-
if (!this.outer.finished) {
|
|
48
|
-
this.outer.update(this.hash.digest());
|
|
49
|
-
}
|
|
50
|
-
return this.outer.digest();
|
|
51
|
-
}
|
|
52
|
-
return this.hash.digest();
|
|
53
|
-
};
|
|
54
|
-
/* The underlying digest method here is synchronous.
|
|
55
|
-
* To keep the same interface with the other hash functions
|
|
56
|
-
* the default is to expose this as an async method.
|
|
57
|
-
* However, it can sometimes be useful to have a sync method.
|
|
58
|
-
*/
|
|
59
|
-
Sha256.prototype.digest = function () {
|
|
60
|
-
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
61
|
-
return tslib_1.__generator(this, function (_a) {
|
|
62
|
-
return [2 /*return*/, this.digestSync()];
|
|
63
|
-
});
|
|
64
|
-
});
|
|
65
|
-
};
|
|
66
|
-
return Sha256;
|
|
67
|
-
}());
|
|
68
|
-
exports.Sha256 = Sha256;
|
|
69
|
-
function bufferFromSecret(secret) {
|
|
70
|
-
var input = (0, util_1.convertToBuffer)(secret);
|
|
71
|
-
if (input.byteLength > constants_1.BLOCK_SIZE) {
|
|
72
|
-
var bufferHash = new RawSha256_1.RawSha256();
|
|
73
|
-
bufferHash.update(input);
|
|
74
|
-
input = bufferHash.digest();
|
|
75
|
-
}
|
|
76
|
-
var buffer = new Uint8Array(constants_1.BLOCK_SIZE);
|
|
77
|
-
buffer.set(input);
|
|
78
|
-
return buffer;
|
|
79
|
-
}
|
|
80
|
-
//# sourceMappingURL=jsSha256.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"jsSha256.js","sourceRoot":"","sources":["../src/jsSha256.ts"],"names":[],"mappings":";;;;AAAA,yCAAyC;AACzC,yCAAwC;AAExC,yCAAgE;AAEhE;IAKE,gBAAY,MAAmB;QAJd,SAAI,GAAG,IAAI,qBAAS,EAAE,CAAC;QAKtC,IAAI,MAAM,EAAE;YACV,IAAI,CAAC,KAAK,GAAG,IAAI,qBAAS,EAAE,CAAC;YAC7B,IAAM,KAAK,GAAG,gBAAgB,CAAC,MAAM,CAAC,CAAC;YACvC,IAAM,KAAK,GAAG,IAAI,UAAU,CAAC,sBAAU,CAAC,CAAC;YACzC,KAAK,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;YAEjB,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,sBAAU,EAAE,CAAC,EAAE,EAAE;gBACnC,KAAK,CAAC,CAAC,CAAC,IAAI,IAAI,CAAC;gBACjB,KAAK,CAAC,CAAC,CAAC,IAAI,IAAI,CAAC;aAClB;YAED,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;YACxB,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;YAEzB,qCAAqC;YACrC,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC,UAAU,EAAE,CAAC,EAAE,EAAE;gBACzC,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;aACd;SACF;IACH,CAAC;IAED,uBAAM,GAAN,UAAO,MAAkB;QACvB,IAAI,IAAA,kBAAW,EAAC,MAAM,CAAC,IAAI,IAAI,CAAC,KAAK,EAAE;YACrC,OAAO;SACR;QAED,IAAI;YACF,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,IAAA,sBAAe,EAAC,MAAM,CAAC,CAAC,CAAC;SAC3C;QAAC,OAAO,CAAC,EAAE;YACV,IAAI,CAAC,KAAK,GAAG,CAAC,CAAC;SAChB;IACH,CAAC;IAED;;OAEG;IACH,2BAAU,GAAV;QACE,IAAI,IAAI,CAAC,KAAK,EAAE;YACd,MAAM,IAAI,CAAC,KAAK,CAAC;SAClB;QAED,IAAI,IAAI,CAAC,KAAK,EAAE;YACd,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE;gBACxB,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC,CAAC;aACvC;YAED,OAAO,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;SAC5B;QAED,OAAO,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC;IAC5B,CAAC;IAED;;;;OAIG;IACG,uBAAM,GAAZ;;;gBACE,sBAAO,IAAI,CAAC,UAAU,EAAE,EAAC;;;KAC1B;IACH,aAAC;AAAD,CAAC,AAlED,IAkEC;AAlEY,wBAAM;AAoEnB,SAAS,gBAAgB,CAAC,MAAkB;IAC1C,IAAI,KAAK,GAAG,IAAA,sBAAe,EAAC,MAAM,CAAC,CAAC;IAEpC,IAAI,KAAK,CAAC,UAAU,GAAG,sBAAU,EAAE;QACjC,IAAM,UAAU,GAAG,IAAI,qBAAS,EAAE,CAAC;QACnC,UAAU,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QACzB,KAAK,GAAG,UAAU,CAAC,MAAM,EAAE,CAAC;KAC7B;IAED,IAAM,MAAM,GAAG,IAAI,UAAU,CAAC,sBAAU,CAAC,CAAC;IAC1C,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;IAClB,OAAO,MAAM,CAAC;AAChB,CAAC"}
|