@aws-sdk/middleware-recursion-detection 3.901.0 → 3.910.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.
Files changed (2) hide show
  1. package/dist-cjs/index.js +19 -48
  2. package/package.json +4 -4
package/dist-cjs/index.js CHANGED
@@ -1,54 +1,25 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
7
- var __export = (target, all) => {
8
- for (var name in all)
9
- __defProp(target, name, { get: all[name], enumerable: true });
10
- };
11
- var __copyProps = (to, from, except, desc) => {
12
- if (from && typeof from === "object" || typeof from === "function") {
13
- for (let key of __getOwnPropNames(from))
14
- if (!__hasOwnProp.call(to, key) && key !== except)
15
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
- }
17
- return to;
18
- };
19
- var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
20
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
1
+ 'use strict';
21
2
 
22
- // src/index.ts
23
- var index_exports = {};
24
- __export(index_exports, {
25
- getRecursionDetectionPlugin: () => getRecursionDetectionPlugin
26
- });
27
- module.exports = __toCommonJS(index_exports);
3
+ var recursionDetectionMiddleware = require('./recursionDetectionMiddleware');
28
4
 
29
- // src/configuration.ts
30
- var recursionDetectionMiddlewareOptions = {
31
- step: "build",
32
- tags: ["RECURSION_DETECTION"],
33
- name: "recursionDetectionMiddleware",
34
- override: true,
35
- priority: "low"
5
+ const recursionDetectionMiddlewareOptions = {
6
+ step: "build",
7
+ tags: ["RECURSION_DETECTION"],
8
+ name: "recursionDetectionMiddleware",
9
+ override: true,
10
+ priority: "low",
36
11
  };
37
12
 
38
- // src/getRecursionDetectionPlugin.ts
39
- var import_recursionDetectionMiddleware = require("././recursionDetectionMiddleware");
40
- var getRecursionDetectionPlugin = /* @__PURE__ */ __name((options) => ({
41
- applyToStack: /* @__PURE__ */ __name((clientStack) => {
42
- clientStack.add((0, import_recursionDetectionMiddleware.recursionDetectionMiddleware)(), recursionDetectionMiddlewareOptions);
43
- }, "applyToStack")
44
- }), "getRecursionDetectionPlugin");
45
-
46
- // src/index.ts
47
- __reExport(index_exports, require("././recursionDetectionMiddleware"), module.exports);
48
- // Annotate the CommonJS export names for ESM import in node:
49
-
50
- 0 && (module.exports = {
51
- getRecursionDetectionPlugin,
52
- recursionDetectionMiddleware
13
+ const getRecursionDetectionPlugin = (options) => ({
14
+ applyToStack: (clientStack) => {
15
+ clientStack.add(recursionDetectionMiddleware.recursionDetectionMiddleware(), recursionDetectionMiddlewareOptions);
16
+ },
53
17
  });
54
18
 
19
+ exports.getRecursionDetectionPlugin = getRecursionDetectionPlugin;
20
+ Object.keys(recursionDetectionMiddleware).forEach(function (k) {
21
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
22
+ enumerable: true,
23
+ get: function () { return recursionDetectionMiddleware[k]; }
24
+ });
25
+ });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-recursion-detection",
3
- "version": "3.901.0",
3
+ "version": "3.910.0",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
6
6
  "build:cjs": "node ../../scripts/compilation/inline middleware-recursion-detection",
@@ -24,10 +24,10 @@
24
24
  },
25
25
  "license": "Apache-2.0",
26
26
  "dependencies": {
27
- "@aws-sdk/types": "3.901.0",
27
+ "@aws-sdk/types": "3.910.0",
28
28
  "@aws/lambda-invoke-store": "^0.0.1",
29
- "@smithy/protocol-http": "^5.3.0",
30
- "@smithy/types": "^4.6.0",
29
+ "@smithy/protocol-http": "^5.3.2",
30
+ "@smithy/types": "^4.7.1",
31
31
  "tslib": "^2.6.2"
32
32
  },
33
33
  "engines": {