@aws-sdk/find-v2 0.0.1

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/LICENSE ADDED
@@ -0,0 +1,175 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
package/README.md ADDED
@@ -0,0 +1,64 @@
1
+ ## @aws-sdk/find-v2
2
+
3
+ CLI to find resources which call AWS using JavaScript SDK v2
4
+
5
+ ## Prerequisites
6
+
7
+ - Install [Node.js][install-nodejs].
8
+ - Set up [SDK authentication with AWS][] with the required permissions for the task.
9
+
10
+ ## Usage
11
+
12
+ Running `npx @aws-sdk/find-v2` returns help information.
13
+
14
+ ```console
15
+ $ npx @aws-sdk/find-v2
16
+
17
+ Usage: @aws-sdk/find-v2 [options] [command]
18
+
19
+ CLI to find resources which call AWS using JavaScript SDK v2
20
+
21
+ Options:
22
+ -v, --version output the version number
23
+ -h, --help display help for command
24
+
25
+ Commands:
26
+ lambda Scans Lambda Node.js Functions for JavaScript SDK v2.
27
+ help [command] display help for command
28
+ ```
29
+
30
+ ### lambda
31
+
32
+ Run `lambda` command to scan Lambda Node.js Functions for JavaScript SDK v2.
33
+
34
+ ```console
35
+ $ npx @aws-sdk/find-v2 lambda
36
+
37
+ Note about output:
38
+ - [Y] means "aws-sdk" is found in Lambda function, and migration is recommended.
39
+ - [N] means "aws-sdk" is not found in Lambda function.
40
+ - [?] means script was not able to proceed, and it emits reason.
41
+
42
+ Reading 4 functions.
43
+ [N] fn-without-aws-sdk-in-bundle
44
+ [Y] fn-with-aws-sdk-in-bundle
45
+ [Y] fn-with-aws-sdk-in-package-json-deps
46
+ [N] fn-without-aws-sdk-in-package-json-deps
47
+
48
+ Done.
49
+ ```
50
+
51
+ This script requires AWS Managed Policy [AWSLambda_ReadOnlyAccess][].
52
+ It lists all Lambda functions, and performs download, unzip and scan for mentions of JS SDK v2.
53
+
54
+ ## Security
55
+
56
+ See [CONTRIBUTING](CONTRIBUTING.md#security-issue-notifications) for more information.
57
+
58
+ ## License
59
+
60
+ This project is licensed under the Apache-2.0 License.
61
+
62
+ [AWSLambda_ReadOnlyAccess]: https://docs.aws.amazon.com/aws-managed-policy/latest/reference/AWSLambda_ReadOnlyAccess.html
63
+ [install-nodejs]: https://nodejs.dev/learn/how-to-install-nodejs
64
+ [SDK authentication with AWS]: https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/getting-your-credentials.html
@@ -0,0 +1,4 @@
1
+ #!/usr/bin/env node
2
+ import { createProgram } from "../../dist/cli.js";
3
+
4
+ createProgram().parse();
package/dist/cli.js ADDED
@@ -0,0 +1,23 @@
1
+ import { Command } from "commander";
2
+ import packageJson from "../package.json" with { type: "json" };
3
+ import { scanLambdaFunctions } from "./scanLambdaFunctions.js";
4
+ /**
5
+ * Creates and configures the CLI program with available commands.
6
+ *
7
+ * @returns The configured Commander program instance
8
+ * @internal
9
+ */
10
+ export const createProgram = () => {
11
+ const program = new Command();
12
+ program
13
+ .name(packageJson.name)
14
+ .description("CLI to find resources which call AWS using JavaScript SDK v2")
15
+ .version(packageJson.version, "-v, --version");
16
+ program
17
+ .command("lambda")
18
+ .description("Scans Lambda Node.js Functions for JavaScript SDK v2.")
19
+ .action(async () => {
20
+ await scanLambdaFunctions();
21
+ });
22
+ return program;
23
+ };
@@ -0,0 +1,5 @@
1
+ export const JS_SDK_V2_MARKER = {
2
+ Y: "[Y]",
3
+ N: "[N]",
4
+ UNKNOWN: "[?]",
5
+ };
@@ -0,0 +1,47 @@
1
+ import { JS_SDK_V2_MARKER } from "./constants.js";
2
+ import { downloadFile } from "./utils/downloadFile.js";
3
+ import { getLambdaFunctionContents, } from "./utils/getLambdaFunctionContents.js";
4
+ import { hasSdkV2InBundle } from "./utils/hasSdkV2InBundle.js";
5
+ import { rm } from "node:fs/promises";
6
+ import { tmpdir } from "node:os";
7
+ import { join } from "node:path";
8
+ export const scanLambdaFunction = async (client, functionName) => {
9
+ const response = await client.getFunction({ FunctionName: functionName });
10
+ if (!response.Code?.Location) {
11
+ console.log(`${JS_SDK_V2_MARKER.UNKNOWN} ${functionName}: Code location not found.`);
12
+ return;
13
+ }
14
+ const zipPath = join(tmpdir(), `${functionName}.zip`);
15
+ let lambdaFunctionContents;
16
+ try {
17
+ await downloadFile(response.Code.Location, zipPath);
18
+ lambdaFunctionContents = await getLambdaFunctionContents(zipPath);
19
+ }
20
+ finally {
21
+ await rm(zipPath, { force: true });
22
+ }
23
+ const { packageJsonContents, bundleContent } = lambdaFunctionContents;
24
+ // Search for "aws-sdk" in package.json dependencies if present.
25
+ if (packageJsonContents && packageJsonContents.length > 0) {
26
+ for (const packageJsonContent of packageJsonContents) {
27
+ try {
28
+ const packageJson = JSON.parse(packageJsonContent);
29
+ const dependencies = packageJson.dependencies || {};
30
+ if ("aws-sdk" in dependencies) {
31
+ console.log(`${JS_SDK_V2_MARKER.Y} ${functionName}`);
32
+ return;
33
+ }
34
+ }
35
+ catch (error) {
36
+ // Parsing failure for package.json which is rare, continue.
37
+ }
38
+ }
39
+ }
40
+ // Check for code of "aws-sdk" in bundle, if not found in package.json dependencies.
41
+ if (bundleContent && hasSdkV2InBundle(bundleContent)) {
42
+ console.log(`${JS_SDK_V2_MARKER.Y} ${functionName}`);
43
+ return;
44
+ }
45
+ // "aws-sdk" dependency/code not found.
46
+ console.log(`${JS_SDK_V2_MARKER.N} ${functionName}`);
47
+ };
@@ -0,0 +1,29 @@
1
+ import { Lambda, paginateListFunctions, } from "@aws-sdk/client-lambda";
2
+ import { JS_SDK_V2_MARKER } from "./constants.js";
3
+ import { scanLambdaFunction } from "./scanLambdaFunction.js";
4
+ const client = new Lambda();
5
+ const getNodeJsFunctionNames = (functions) => (functions ?? [])
6
+ .filter((fn) => fn.Runtime?.startsWith("nodejs"))
7
+ .map((fn) => fn.FunctionName)
8
+ .filter((fnName) => fnName !== undefined);
9
+ export const scanLambdaFunctions = async () => {
10
+ const functions = [];
11
+ const paginator = paginateListFunctions({ client }, {});
12
+ for await (const page of paginator) {
13
+ functions.push(...getNodeJsFunctionNames(page.Functions));
14
+ }
15
+ const functionsLength = functions.length;
16
+ if (functionsLength === 0) {
17
+ console.log("No functions found.");
18
+ process.exit(0);
19
+ }
20
+ console.log(`Note about output:`);
21
+ console.log(`- ${JS_SDK_V2_MARKER.Y} means "aws-sdk" is found in Lambda function, and migration is recommended.`);
22
+ console.log(`- ${JS_SDK_V2_MARKER.N} means "aws-sdk" is not found in Lambda function.`);
23
+ console.log(`- ${JS_SDK_V2_MARKER.UNKNOWN} means script was not able to proceed, and it emits reason.\n`);
24
+ console.log(`Reading ${functionsLength} function${functionsLength > 1 ? "s" : ""}.`);
25
+ for (const functionName of functions) {
26
+ await scanLambdaFunction(client, functionName);
27
+ }
28
+ console.log("\nDone.");
29
+ };
@@ -0,0 +1,19 @@
1
+ import { writeFile } from "node:fs/promises";
2
+ /**
3
+ * Downloads a file from a URL and saves it to the specified path.
4
+ *
5
+ * @param url - The URL of the file to download.
6
+ * @param outputPath - The local file path where the downloaded file should be saved.
7
+ * @throws {Error} If the download fails or response body is null.
8
+ * @returns Promise that resolves when file is downloaded and saved.
9
+ */
10
+ export const downloadFile = async (url, outputPath) => {
11
+ const response = await fetch(url);
12
+ if (!response.ok) {
13
+ throw new Error(`Failed to download '${url}'. Received ${response.status} with '${response.statusText}'.`);
14
+ }
15
+ if (!response.body) {
16
+ throw new Error(`Response body is null for '${url}'`);
17
+ }
18
+ await writeFile(outputPath, response.body);
19
+ };
@@ -0,0 +1,38 @@
1
+ import unzipper from "unzipper";
2
+ const PACKAGE_JSON_FILENAME = "package.json";
3
+ /**
4
+ * Extracts the contents of a Lambda Function zip file.
5
+ * Returns string contents of package.json files, if available.
6
+ * Otherwise, returns the contents of bundle file.
7
+ *
8
+ * @param zipPath - The path to the zip file of Lambda Function.
9
+ * @returns Promise<LambdaFunctionContents> - Resolves to an object containing the extracted contents.
10
+ */
11
+ export const getLambdaFunctionContents = async (zipPath) => {
12
+ const directory = await unzipper.Open.file(zipPath);
13
+ const packageJsonContents = [];
14
+ for (const file of directory.files) {
15
+ // Skip 'node_modules' directory, as it's not the customer source code.
16
+ if (file.path.includes("node_modules/"))
17
+ continue;
18
+ // Skip anything which is not `package.json`
19
+ if (!file.path.endsWith(PACKAGE_JSON_FILENAME))
20
+ continue;
21
+ const packageJsonContent = await file.buffer();
22
+ packageJsonContents.push(packageJsonContent.toString());
23
+ }
24
+ if (packageJsonContents.length !== 0) {
25
+ return { packageJsonContents };
26
+ }
27
+ let indexFile;
28
+ for (const path of ["index.js", "index.mjs", "index.cjs"]) {
29
+ indexFile = directory.files.find((f) => f.path === path && f.type === "File");
30
+ if (indexFile)
31
+ break;
32
+ }
33
+ if (indexFile) {
34
+ const bundleContent = await indexFile.buffer();
35
+ return { bundleContent: bundleContent.toString() };
36
+ }
37
+ return {};
38
+ };
@@ -0,0 +1,44 @@
1
+ const AWS_SDK_ENV_VARS = [
2
+ "AWS_CONFIG_FILE",
3
+ // "AWS_CONTAINER_AUTHORIZATION_TOKEN", // Tree shaken by esbuild
4
+ // "AWS_CONTAINER_AUTHORIZATION_TOKEN_FILE", // Tree shaken by esbuild
5
+ // "AWS_CONTAINER_CREDENTIALS_RELATIVE_URI", // Tree shaken by esbuild
6
+ // "AWS_CONTAINER_CREDENTIALS_FULL_URI", // Tree shaken by esbuild
7
+ // "AWS_CSM_CLIENT_ID", // v3 doesn't support CSM. Tree shaken by esbuild.
8
+ // "AWS_CSM_ENABLED", // v3 doesn't support CSM. Tree shaken by esbuild.
9
+ // "AWS_CSM_HOST", // v3 doesn't support CSM. Tree shaken by esbuild.
10
+ // "AWS_CSM_PORT", // v3 doesn't support CSM. Tree shaken by esbuild.
11
+ // "AWS_EC2_METADATA_DISABLED", // Tree shaken by esbuild
12
+ // "AWS_EC2_METADATA_SERVICE_ENDPOINT", // Tree shaken by esbuild
13
+ // "AWS_EC2_METADATA_SERVICE_ENDPOINT_MODE", // Tree shaken by esbuild
14
+ // "AWS_EC2_METADATA_V1_DISABLED", // Added in Nov'23 https://github.com/aws/aws-sdk-js/pull/4517. Tree shaken by esbuild.
15
+ "AWS_ENABLE_ENDPOINT_DISCOVERY",
16
+ "AWS_ENDPOINT_DISCOVERY_ENABLED",
17
+ "AWS_EXECUTION_ENV",
18
+ "AWS_LAMBDA_FUNCTION_NAME", // Added in May'22 https://github.com/aws/aws-sdk-js/pull/4111
19
+ // "AWS_NODEJS_CONNECTION_REUSE_ENABLED", // v3 enabled connection reuse by default. Tree shaken by esbuild.
20
+ "AWS_PROFILE",
21
+ // "AWS_REGION", // Tree shaken by esbuild
22
+ // "AWS_ROLE_ARN", // Tree shaken by esbuild
23
+ // "AWS_ROLE_SESSION_NAME", // Tree shaken by esbuild
24
+ "AWS_SDK_LOAD_CONFIG", // v3 loads config by default
25
+ "AWS_SHARED_CREDENTIALS_FILE",
26
+ "AWS_STS_REGIONAL_ENDPOINTS",
27
+ // "AWS_USE_DUALSTACK_ENDPOINT", // Added in Nov'21 https://github.com/aws/aws-sdk-js/pull/3957. Tree shaken by esbuild.
28
+ // "AWS_USE_FIPS_ENDPOINT", // Added in Nov'21 https://github.com/aws/aws-sdk-js/pull/3951. Tree shaken by esbuild.
29
+ // "AWS_WEB_IDENTITY_TOKEN_FILE", // Tree shaken by esbuild
30
+ ];
31
+ /**
32
+ * Checks if AWS SDK v2 is present in the provided bundle content by looking for specific environment variables.
33
+ *
34
+ * @param bundleContent - The string content of the bundle to check.
35
+ * @returns boolean - Returns true if all AWS SDK v2 environment variables are found in the bundle content, false otherwise.
36
+ */
37
+ export const hasSdkV2InBundle = (bundleContent) => {
38
+ for (const envVar of AWS_SDK_ENV_VARS) {
39
+ if (!bundleContent.includes(envVar)) {
40
+ return false;
41
+ }
42
+ }
43
+ return true;
44
+ };
package/package.json ADDED
@@ -0,0 +1,63 @@
1
+ {
2
+ "name": "@aws-sdk/find-v2",
3
+ "version": "0.0.1",
4
+ "description": "CLI to find resources which call AWS using JavaScript SDK v2",
5
+ "main": "dist/cli.js",
6
+ "types": "dist/cli.d.ts",
7
+ "bin": "bin/@aws-sdk/find-v2",
8
+ "dependencies": {
9
+ "@aws-sdk/client-lambda": "^3.942.0",
10
+ "commander": "^14.0.2",
11
+ "unzipper": "^0.12.3"
12
+ },
13
+ "devDependencies": {
14
+ "@aws-sdk/client-sts": "^3.946.0",
15
+ "@rollup/plugin-commonjs": "^29.0.0",
16
+ "@rollup/plugin-json": "^6.1.0",
17
+ "@rollup/plugin-node-resolve": "^16.0.3",
18
+ "@rollup/plugin-terser": "^0.4.4",
19
+ "@tsconfig/node-ts": "^23.6.2",
20
+ "@tsconfig/node20": "^20.1.8",
21
+ "@types/node": "^20.14.8",
22
+ "@types/unzipper": "^0.10.11",
23
+ "aws-sdk": "^2.1692.0",
24
+ "esbuild": "~0.27.1",
25
+ "rolldown": "1.0.0-beta.54",
26
+ "rollup": "^4.53.3",
27
+ "typescript": "^5.9.3",
28
+ "vitest": "^4.0.15",
29
+ "webpack": "^5.103.0",
30
+ "webpack-cli": "^6.0.1"
31
+ },
32
+ "scripts": {
33
+ "build": "tsc",
34
+ "test": "vitest",
35
+ "test:generate:bundles": "node scripts/generateBundles.ts"
36
+ },
37
+ "repository": {
38
+ "type": "git",
39
+ "url": "git+https://github.com/awslabs/aws-sdk-js-find-v2.git"
40
+ },
41
+ "keywords": [],
42
+ "author": {
43
+ "name": "Amazon Web Services",
44
+ "url": "http://aws.amazon.com"
45
+ },
46
+ "contributors": [
47
+ "Kamat, Trivikram <trivikr.dev@gmail.com>"
48
+ ],
49
+ "files": [
50
+ "bin",
51
+ "dist"
52
+ ],
53
+ "license": "Apache-2.0",
54
+ "bugs": {
55
+ "url": "https://github.com/awslabs/aws-sdk-js-find-v2/issues"
56
+ },
57
+ "homepage": "https://github.com/awslabs/aws-sdk-js-find-v2",
58
+ "engines": {
59
+ "node": ">=20.0.0"
60
+ },
61
+ "packageManager": "yarn@4.12.0",
62
+ "type": "module"
63
+ }