Skip to content

Commit cb35507

Browse files
authored
fix: check-dependencies script (#1137)
* fix: check-dependencies script * update yarn lock
1 parent 2990eb9 commit cb35507

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

packages/middleware-compression/package.json

+3
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,13 @@
1515
"main": "./dist-cjs/index.js",
1616
"module": "./dist-es/index.js",
1717
"dependencies": {
18+
"@smithy/is-array-buffer": "workspace:^",
1819
"@smithy/node-config-provider": "workspace:^",
20+
"@smithy/protocol-http": "workspace:^",
1921
"@smithy/types": "workspace:^",
2022
"@smithy/util-config-provider": "workspace:^",
2123
"@smithy/util-middleware": "workspace:^",
24+
"@smithy/util-utf8": "workspace:^",
2225
"fflate": "0.8.1",
2326
"tslib": "^2.5.0"
2427
},

scripts/check-dependencies.js

-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ const pkgJsonEnforcement = require("./package-json-enforcement");
3434
importedDependencies.push(
3535
...new Set(
3636
[...(contents.toString().match(/from "(@(aws-sdk|smithy)\/.*?)"/g) || [])]
37-
.slice(1)
3837
.map((_) => _.replace(/from "/g, "").replace(/"$/, ""))
3938
)
4039
);

yarn.lock

+3
Original file line numberDiff line numberDiff line change
@@ -2082,10 +2082,13 @@ __metadata:
20822082
version: 0.0.0-use.local
20832083
resolution: "@smithy/middleware-compression@workspace:packages/middleware-compression"
20842084
dependencies:
2085+
"@smithy/is-array-buffer": "workspace:^"
20852086
"@smithy/node-config-provider": "workspace:^"
2087+
"@smithy/protocol-http": "workspace:^"
20862088
"@smithy/types": "workspace:^"
20872089
"@smithy/util-config-provider": "workspace:^"
20882090
"@smithy/util-middleware": "workspace:^"
2091+
"@smithy/util-utf8": "workspace:^"
20892092
"@tsconfig/recommended": 1.0.1
20902093
concurrently: 7.0.0
20912094
downlevel-dts: 0.10.1

0 commit comments

Comments
 (0)