@aws-sdk/client-inspector-scan 3.758.0 → 3.772.0
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/dist-cjs/index.js +7 -7
- package/package.json +3 -3
package/dist-cjs/index.js
CHANGED
|
@@ -19,8 +19,8 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
19
19
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
20
|
|
|
21
21
|
// src/index.ts
|
|
22
|
-
var
|
|
23
|
-
__export(
|
|
22
|
+
var index_exports = {};
|
|
23
|
+
__export(index_exports, {
|
|
24
24
|
$Command: () => import_smithy_client.Command,
|
|
25
25
|
AccessDeniedException: () => AccessDeniedException,
|
|
26
26
|
InspectorScan: () => InspectorScan,
|
|
@@ -35,7 +35,7 @@ __export(src_exports, {
|
|
|
35
35
|
ValidationExceptionReason: () => ValidationExceptionReason,
|
|
36
36
|
__Client: () => import_smithy_client.Client
|
|
37
37
|
});
|
|
38
|
-
module.exports = __toCommonJS(
|
|
38
|
+
module.exports = __toCommonJS(index_exports);
|
|
39
39
|
|
|
40
40
|
// src/InspectorScanClient.ts
|
|
41
41
|
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
@@ -162,9 +162,9 @@ var InspectorScanClient = class extends import_smithy_client.Client {
|
|
|
162
162
|
this.middlewareStack.use(
|
|
163
163
|
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
164
164
|
httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultInspectorScanHttpAuthSchemeParametersProvider,
|
|
165
|
-
identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
165
|
+
identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
166
166
|
"aws.auth#sigv4": config.credentials
|
|
167
|
-
})
|
|
167
|
+
}), "identityProviderConfigProvider")
|
|
168
168
|
})
|
|
169
169
|
);
|
|
170
170
|
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
@@ -341,7 +341,7 @@ var se_ScanSbomCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
341
341
|
body = JSON.stringify(
|
|
342
342
|
(0, import_smithy_client.take)(input, {
|
|
343
343
|
outputFormat: [],
|
|
344
|
-
sbom: (_) => se_Sbom(_, context)
|
|
344
|
+
sbom: /* @__PURE__ */ __name((_) => se_Sbom(_, context), "sbom")
|
|
345
345
|
})
|
|
346
346
|
);
|
|
347
347
|
b.m("POST").h(headers).b(body);
|
|
@@ -356,7 +356,7 @@ var de_ScanSbomCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
356
356
|
});
|
|
357
357
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
358
358
|
const doc = (0, import_smithy_client.take)(data, {
|
|
359
|
-
sbom: (_) => de_Sbom(_, context)
|
|
359
|
+
sbom: /* @__PURE__ */ __name((_) => de_Sbom(_, context), "sbom")
|
|
360
360
|
});
|
|
361
361
|
Object.assign(contents, doc);
|
|
362
362
|
return contents;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-inspector-scan",
|
|
3
3
|
"description": "AWS SDK for JavaScript Inspector Scan Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.772.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-inspector-scan",
|
|
@@ -21,10 +21,10 @@
|
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
23
|
"@aws-sdk/core": "3.758.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.772.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.734.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.734.0",
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.772.0",
|
|
28
28
|
"@aws-sdk/middleware-user-agent": "3.758.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.734.0",
|
|
30
30
|
"@aws-sdk/types": "3.734.0",
|