Skip to content

Commit

Permalink
test(karma-credential-loader): use workspace version of STS in karma …
Browse files Browse the repository at this point in the history
…credential loader (#5424)
  • Loading branch information
kuhe authored Oct 27, 2023
1 parent e0faec3 commit b080028
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 47 deletions.
2 changes: 1 addition & 1 deletion packages/karma-credential-loader/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
},
"license": "Apache-2.0",
"dependencies": {
"@aws-sdk/client-sts": "file:../../clients/client-sts",
"@aws-sdk/client-sts": "*",
"@aws-sdk/credential-provider-node": "*",
"tslib": "^2.5.0"
},
Expand Down
4 changes: 2 additions & 2 deletions scripts/validation/deprecated-packages.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const path = require("node:path");
const root = path.join(__dirname, "..", "..");
const packages = path.join(root, "packages");

const excluded = ["@aws-sdk/karma-credential-loader"];
const excluded = [];

for (const folder of fs.readdirSync(packages)) {
const pkgJson = require(path.join(packages, folder, "package.json"));
Expand All @@ -24,7 +24,7 @@ for (const folder of fs.readdirSync(deprecatedPackages)) {
if (excluded.includes(pkgJson.name)) {
continue;
}

if (pkgJson.private !== true) {
throw new Error("package in deprecated folder is not marked private:", folder);
} else {
Expand Down
44 changes: 0 additions & 44 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -92,50 +92,6 @@
"@aws-sdk/util-utf8-browser" "^3.0.0"
tslib "^1.11.1"

"@aws-sdk/client-sts@file:clients/client-sts":
version "3.437.0"
dependencies:
"@aws-crypto/sha256-browser" "3.0.0"
"@aws-crypto/sha256-js" "3.0.0"
"@aws-sdk/core" "*"
"@aws-sdk/credential-provider-node" "*"
"@aws-sdk/middleware-host-header" "*"
"@aws-sdk/middleware-logger" "*"
"@aws-sdk/middleware-recursion-detection" "*"
"@aws-sdk/middleware-sdk-sts" "*"
"@aws-sdk/middleware-signing" "*"
"@aws-sdk/middleware-user-agent" "*"
"@aws-sdk/region-config-resolver" "*"
"@aws-sdk/types" "*"
"@aws-sdk/util-endpoints" "*"
"@aws-sdk/util-user-agent-browser" "*"
"@aws-sdk/util-user-agent-node" "*"
"@smithy/config-resolver" "^2.0.16"
"@smithy/fetch-http-handler" "^2.2.4"
"@smithy/hash-node" "^2.0.12"
"@smithy/invalid-dependency" "^2.0.12"
"@smithy/middleware-content-length" "^2.0.14"
"@smithy/middleware-endpoint" "^2.1.3"
"@smithy/middleware-retry" "^2.0.18"
"@smithy/middleware-serde" "^2.0.12"
"@smithy/middleware-stack" "^2.0.6"
"@smithy/node-config-provider" "^2.1.3"
"@smithy/node-http-handler" "^2.1.8"
"@smithy/protocol-http" "^3.0.8"
"@smithy/smithy-client" "^2.1.12"
"@smithy/types" "^2.4.0"
"@smithy/url-parser" "^2.0.12"
"@smithy/util-base64" "^2.0.0"
"@smithy/util-body-length-browser" "^2.0.0"
"@smithy/util-body-length-node" "^2.1.0"
"@smithy/util-defaults-mode-browser" "^2.0.16"
"@smithy/util-defaults-mode-node" "^2.0.21"
"@smithy/util-endpoints" "^1.0.2"
"@smithy/util-retry" "^2.0.5"
"@smithy/util-utf8" "^2.0.0"
fast-xml-parser "4.2.5"
tslib "^2.5.0"

"@aws-sdk/protocol-http@^3.267.0":
version "3.374.0"
resolved "https://registry.yarnpkg.com/@aws-sdk/protocol-http/-/protocol-http-3.374.0.tgz#e35e76096b995bbed803897a9f4587d11ca34088"
Expand Down

0 comments on commit b080028

Please sign in to comment.