@cdk8s/awscdk-resolver 0.0.59 → 0.0.61

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 (104) hide show
  1. package/.jsii +3 -3
  2. package/lib/resolve.js +1 -1
  3. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/CHANGELOG.md +274 -0
  4. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/CONTRIBUTING.md +18 -0
  5. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/LICENSE.md +9 -0
  6. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/README.md +466 -0
  7. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/bin/uuid +2 -0
  8. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/commonjs-browser/index.js +79 -0
  9. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/commonjs-browser/md5.js +223 -0
  10. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/commonjs-browser/native.js +11 -0
  11. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/commonjs-browser/nil.js +8 -0
  12. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/commonjs-browser/parse.js +45 -0
  13. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/commonjs-browser/regex.js +8 -0
  14. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/commonjs-browser/rng.js +25 -0
  15. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/commonjs-browser/sha1.js +104 -0
  16. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/commonjs-browser/stringify.js +44 -0
  17. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/commonjs-browser/v1.js +107 -0
  18. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/commonjs-browser/v3.js +16 -0
  19. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/commonjs-browser/v35.js +80 -0
  20. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/commonjs-browser/v4.js +43 -0
  21. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/commonjs-browser/v5.js +16 -0
  22. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/commonjs-browser/validate.js +17 -0
  23. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/commonjs-browser/version.js +21 -0
  24. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-browser/index.js +9 -0
  25. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-browser/md5.js +215 -0
  26. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-browser/native.js +4 -0
  27. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-browser/nil.js +1 -0
  28. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-browser/parse.js +35 -0
  29. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-browser/regex.js +1 -0
  30. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-browser/rng.js +18 -0
  31. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-browser/sha1.js +96 -0
  32. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-browser/stringify.js +33 -0
  33. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-browser/v1.js +95 -0
  34. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-browser/v3.js +4 -0
  35. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-browser/v35.js +66 -0
  36. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-browser/v4.js +29 -0
  37. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-browser/v5.js +4 -0
  38. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-browser/validate.js +7 -0
  39. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-browser/version.js +11 -0
  40. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-node/index.js +9 -0
  41. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-node/md5.js +13 -0
  42. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-node/native.js +4 -0
  43. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-node/nil.js +1 -0
  44. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-node/parse.js +35 -0
  45. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-node/regex.js +1 -0
  46. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-node/rng.js +12 -0
  47. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-node/sha1.js +13 -0
  48. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-node/stringify.js +33 -0
  49. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-node/v1.js +95 -0
  50. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-node/v3.js +4 -0
  51. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-node/v35.js +66 -0
  52. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-node/v4.js +29 -0
  53. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-node/v5.js +4 -0
  54. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-node/validate.js +7 -0
  55. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-node/version.js +11 -0
  56. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/index.js +79 -0
  57. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/md5-browser.js +223 -0
  58. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/md5.js +23 -0
  59. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/native-browser.js +11 -0
  60. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/native.js +15 -0
  61. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/nil.js +8 -0
  62. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/parse.js +45 -0
  63. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/regex.js +8 -0
  64. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/rng-browser.js +25 -0
  65. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/rng.js +24 -0
  66. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/sha1-browser.js +104 -0
  67. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/sha1.js +23 -0
  68. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/stringify.js +44 -0
  69. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/uuid-bin.js +85 -0
  70. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/v1.js +107 -0
  71. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/v3.js +16 -0
  72. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/v35.js +80 -0
  73. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/v4.js +43 -0
  74. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/v5.js +16 -0
  75. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/validate.js +17 -0
  76. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/version.js +21 -0
  77. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/package.json +135 -0
  78. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/wrapper.mjs +10 -0
  79. package/node_modules/@aws-sdk/client-cloudformation/package.json +14 -14
  80. package/node_modules/@aws-sdk/client-sso/package.json +10 -10
  81. package/node_modules/@aws-sdk/client-sso-oidc/package.json +12 -12
  82. package/node_modules/@aws-sdk/client-sts/dist-cjs/index.js +31 -33
  83. package/node_modules/@aws-sdk/client-sts/dist-es/defaultStsRoleAssumers.js +8 -15
  84. package/node_modules/@aws-sdk/client-sts/package.json +11 -11
  85. package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
  86. package/node_modules/@aws-sdk/credential-provider-http/package.json +2 -2
  87. package/node_modules/@aws-sdk/credential-provider-ini/package.json +7 -7
  88. package/node_modules/@aws-sdk/credential-provider-node/package.json +8 -8
  89. package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
  90. package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
  91. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
  92. package/node_modules/@aws-sdk/middleware-host-header/package.json +2 -2
  93. package/node_modules/@aws-sdk/middleware-logger/package.json +2 -2
  94. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +2 -2
  95. package/node_modules/@aws-sdk/middleware-user-agent/package.json +3 -3
  96. package/node_modules/@aws-sdk/region-config-resolver/package.json +2 -2
  97. package/node_modules/@aws-sdk/token-providers/package.json +3 -3
  98. package/node_modules/@aws-sdk/types/dist-types/credentials.d.ts +1 -0
  99. package/node_modules/@aws-sdk/types/dist-types/ts3.4/credentials.d.ts +1 -0
  100. package/node_modules/@aws-sdk/types/package.json +1 -1
  101. package/node_modules/@aws-sdk/util-endpoints/package.json +2 -2
  102. package/node_modules/@aws-sdk/util-user-agent-browser/package.json +2 -2
  103. package/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
  104. package/package.json +5 -5
@@ -0,0 +1,107 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+
8
+ var _rng = _interopRequireDefault(require("./rng.js"));
9
+
10
+ var _stringify = require("./stringify.js");
11
+
12
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
13
+
14
+ // **`v1()` - Generate time-based UUID**
15
+ //
16
+ // Inspired by https://github.com/LiosK/UUID.js
17
+ // and http://docs.python.org/library/uuid.html
18
+ let _nodeId;
19
+
20
+ let _clockseq; // Previous uuid creation time
21
+
22
+
23
+ let _lastMSecs = 0;
24
+ let _lastNSecs = 0; // See https://github.com/uuidjs/uuid for API details
25
+
26
+ function v1(options, buf, offset) {
27
+ let i = buf && offset || 0;
28
+ const b = buf || new Array(16);
29
+ options = options || {};
30
+ let node = options.node || _nodeId;
31
+ let clockseq = options.clockseq !== undefined ? options.clockseq : _clockseq; // node and clockseq need to be initialized to random values if they're not
32
+ // specified. We do this lazily to minimize issues related to insufficient
33
+ // system entropy. See #189
34
+
35
+ if (node == null || clockseq == null) {
36
+ const seedBytes = options.random || (options.rng || _rng.default)();
37
+
38
+ if (node == null) {
39
+ // Per 4.5, create and 48-bit node id, (47 random bits + multicast bit = 1)
40
+ node = _nodeId = [seedBytes[0] | 0x01, seedBytes[1], seedBytes[2], seedBytes[3], seedBytes[4], seedBytes[5]];
41
+ }
42
+
43
+ if (clockseq == null) {
44
+ // Per 4.2.2, randomize (14 bit) clockseq
45
+ clockseq = _clockseq = (seedBytes[6] << 8 | seedBytes[7]) & 0x3fff;
46
+ }
47
+ } // UUID timestamps are 100 nano-second units since the Gregorian epoch,
48
+ // (1582-10-15 00:00). JSNumbers aren't precise enough for this, so
49
+ // time is handled internally as 'msecs' (integer milliseconds) and 'nsecs'
50
+ // (100-nanoseconds offset from msecs) since unix epoch, 1970-01-01 00:00.
51
+
52
+
53
+ let msecs = options.msecs !== undefined ? options.msecs : Date.now(); // Per 4.2.1.2, use count of uuid's generated during the current clock
54
+ // cycle to simulate higher resolution clock
55
+
56
+ let nsecs = options.nsecs !== undefined ? options.nsecs : _lastNSecs + 1; // Time since last uuid creation (in msecs)
57
+
58
+ const dt = msecs - _lastMSecs + (nsecs - _lastNSecs) / 10000; // Per 4.2.1.2, Bump clockseq on clock regression
59
+
60
+ if (dt < 0 && options.clockseq === undefined) {
61
+ clockseq = clockseq + 1 & 0x3fff;
62
+ } // Reset nsecs if clock regresses (new clockseq) or we've moved onto a new
63
+ // time interval
64
+
65
+
66
+ if ((dt < 0 || msecs > _lastMSecs) && options.nsecs === undefined) {
67
+ nsecs = 0;
68
+ } // Per 4.2.1.2 Throw error if too many uuids are requested
69
+
70
+
71
+ if (nsecs >= 10000) {
72
+ throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");
73
+ }
74
+
75
+ _lastMSecs = msecs;
76
+ _lastNSecs = nsecs;
77
+ _clockseq = clockseq; // Per 4.1.4 - Convert from unix epoch to Gregorian epoch
78
+
79
+ msecs += 12219292800000; // `time_low`
80
+
81
+ const tl = ((msecs & 0xfffffff) * 10000 + nsecs) % 0x100000000;
82
+ b[i++] = tl >>> 24 & 0xff;
83
+ b[i++] = tl >>> 16 & 0xff;
84
+ b[i++] = tl >>> 8 & 0xff;
85
+ b[i++] = tl & 0xff; // `time_mid`
86
+
87
+ const tmh = msecs / 0x100000000 * 10000 & 0xfffffff;
88
+ b[i++] = tmh >>> 8 & 0xff;
89
+ b[i++] = tmh & 0xff; // `time_high_and_version`
90
+
91
+ b[i++] = tmh >>> 24 & 0xf | 0x10; // include version
92
+
93
+ b[i++] = tmh >>> 16 & 0xff; // `clock_seq_hi_and_reserved` (Per 4.2.2 - include variant)
94
+
95
+ b[i++] = clockseq >>> 8 | 0x80; // `clock_seq_low`
96
+
97
+ b[i++] = clockseq & 0xff; // `node`
98
+
99
+ for (let n = 0; n < 6; ++n) {
100
+ b[i + n] = node[n];
101
+ }
102
+
103
+ return buf || (0, _stringify.unsafeStringify)(b);
104
+ }
105
+
106
+ var _default = v1;
107
+ exports.default = _default;
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+
8
+ var _v = _interopRequireDefault(require("./v35.js"));
9
+
10
+ var _md = _interopRequireDefault(require("./md5.js"));
11
+
12
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
13
+
14
+ const v3 = (0, _v.default)('v3', 0x30, _md.default);
15
+ var _default = v3;
16
+ exports.default = _default;
@@ -0,0 +1,80 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.URL = exports.DNS = void 0;
7
+ exports.default = v35;
8
+
9
+ var _stringify = require("./stringify.js");
10
+
11
+ var _parse = _interopRequireDefault(require("./parse.js"));
12
+
13
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
14
+
15
+ function stringToBytes(str) {
16
+ str = unescape(encodeURIComponent(str)); // UTF8 escape
17
+
18
+ const bytes = [];
19
+
20
+ for (let i = 0; i < str.length; ++i) {
21
+ bytes.push(str.charCodeAt(i));
22
+ }
23
+
24
+ return bytes;
25
+ }
26
+
27
+ const DNS = '6ba7b810-9dad-11d1-80b4-00c04fd430c8';
28
+ exports.DNS = DNS;
29
+ const URL = '6ba7b811-9dad-11d1-80b4-00c04fd430c8';
30
+ exports.URL = URL;
31
+
32
+ function v35(name, version, hashfunc) {
33
+ function generateUUID(value, namespace, buf, offset) {
34
+ var _namespace;
35
+
36
+ if (typeof value === 'string') {
37
+ value = stringToBytes(value);
38
+ }
39
+
40
+ if (typeof namespace === 'string') {
41
+ namespace = (0, _parse.default)(namespace);
42
+ }
43
+
44
+ if (((_namespace = namespace) === null || _namespace === void 0 ? void 0 : _namespace.length) !== 16) {
45
+ throw TypeError('Namespace must be array-like (16 iterable integer values, 0-255)');
46
+ } // Compute hash of namespace and value, Per 4.3
47
+ // Future: Use spread syntax when supported on all platforms, e.g. `bytes =
48
+ // hashfunc([...namespace, ... value])`
49
+
50
+
51
+ let bytes = new Uint8Array(16 + value.length);
52
+ bytes.set(namespace);
53
+ bytes.set(value, namespace.length);
54
+ bytes = hashfunc(bytes);
55
+ bytes[6] = bytes[6] & 0x0f | version;
56
+ bytes[8] = bytes[8] & 0x3f | 0x80;
57
+
58
+ if (buf) {
59
+ offset = offset || 0;
60
+
61
+ for (let i = 0; i < 16; ++i) {
62
+ buf[offset + i] = bytes[i];
63
+ }
64
+
65
+ return buf;
66
+ }
67
+
68
+ return (0, _stringify.unsafeStringify)(bytes);
69
+ } // Function#name is not settable on some platforms (#270)
70
+
71
+
72
+ try {
73
+ generateUUID.name = name; // eslint-disable-next-line no-empty
74
+ } catch (err) {} // For CommonJS default export support
75
+
76
+
77
+ generateUUID.DNS = DNS;
78
+ generateUUID.URL = URL;
79
+ return generateUUID;
80
+ }
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+
8
+ var _native = _interopRequireDefault(require("./native.js"));
9
+
10
+ var _rng = _interopRequireDefault(require("./rng.js"));
11
+
12
+ var _stringify = require("./stringify.js");
13
+
14
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
15
+
16
+ function v4(options, buf, offset) {
17
+ if (_native.default.randomUUID && !buf && !options) {
18
+ return _native.default.randomUUID();
19
+ }
20
+
21
+ options = options || {};
22
+
23
+ const rnds = options.random || (options.rng || _rng.default)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`
24
+
25
+
26
+ rnds[6] = rnds[6] & 0x0f | 0x40;
27
+ rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided
28
+
29
+ if (buf) {
30
+ offset = offset || 0;
31
+
32
+ for (let i = 0; i < 16; ++i) {
33
+ buf[offset + i] = rnds[i];
34
+ }
35
+
36
+ return buf;
37
+ }
38
+
39
+ return (0, _stringify.unsafeStringify)(rnds);
40
+ }
41
+
42
+ var _default = v4;
43
+ exports.default = _default;
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+
8
+ var _v = _interopRequireDefault(require("./v35.js"));
9
+
10
+ var _sha = _interopRequireDefault(require("./sha1.js"));
11
+
12
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
13
+
14
+ const v5 = (0, _v.default)('v5', 0x50, _sha.default);
15
+ var _default = v5;
16
+ exports.default = _default;
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+
8
+ var _regex = _interopRequireDefault(require("./regex.js"));
9
+
10
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
11
+
12
+ function validate(uuid) {
13
+ return typeof uuid === 'string' && _regex.default.test(uuid);
14
+ }
15
+
16
+ var _default = validate;
17
+ exports.default = _default;
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+
8
+ var _validate = _interopRequireDefault(require("./validate.js"));
9
+
10
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
11
+
12
+ function version(uuid) {
13
+ if (!(0, _validate.default)(uuid)) {
14
+ throw TypeError('Invalid UUID');
15
+ }
16
+
17
+ return parseInt(uuid.slice(14, 15), 16);
18
+ }
19
+
20
+ var _default = version;
21
+ exports.default = _default;
@@ -0,0 +1,135 @@
1
+ {
2
+ "name": "uuid",
3
+ "version": "9.0.1",
4
+ "description": "RFC4122 (v1, v4, and v5) UUIDs",
5
+ "funding": [
6
+ "https://github.com/sponsors/broofa",
7
+ "https://github.com/sponsors/ctavan"
8
+ ],
9
+ "commitlint": {
10
+ "extends": [
11
+ "@commitlint/config-conventional"
12
+ ]
13
+ },
14
+ "keywords": [
15
+ "uuid",
16
+ "guid",
17
+ "rfc4122"
18
+ ],
19
+ "license": "MIT",
20
+ "bin": {
21
+ "uuid": "./dist/bin/uuid"
22
+ },
23
+ "sideEffects": false,
24
+ "main": "./dist/index.js",
25
+ "exports": {
26
+ ".": {
27
+ "node": {
28
+ "module": "./dist/esm-node/index.js",
29
+ "require": "./dist/index.js",
30
+ "import": "./wrapper.mjs"
31
+ },
32
+ "browser": {
33
+ "import": "./dist/esm-browser/index.js",
34
+ "require": "./dist/commonjs-browser/index.js"
35
+ },
36
+ "default": "./dist/esm-browser/index.js"
37
+ },
38
+ "./package.json": "./package.json"
39
+ },
40
+ "module": "./dist/esm-node/index.js",
41
+ "browser": {
42
+ "./dist/md5.js": "./dist/md5-browser.js",
43
+ "./dist/native.js": "./dist/native-browser.js",
44
+ "./dist/rng.js": "./dist/rng-browser.js",
45
+ "./dist/sha1.js": "./dist/sha1-browser.js",
46
+ "./dist/esm-node/index.js": "./dist/esm-browser/index.js"
47
+ },
48
+ "files": [
49
+ "CHANGELOG.md",
50
+ "CONTRIBUTING.md",
51
+ "LICENSE.md",
52
+ "README.md",
53
+ "dist",
54
+ "wrapper.mjs"
55
+ ],
56
+ "devDependencies": {
57
+ "@babel/cli": "7.18.10",
58
+ "@babel/core": "7.18.10",
59
+ "@babel/eslint-parser": "7.18.9",
60
+ "@babel/preset-env": "7.18.10",
61
+ "@commitlint/cli": "17.0.3",
62
+ "@commitlint/config-conventional": "17.0.3",
63
+ "bundlewatch": "0.3.3",
64
+ "eslint": "8.21.0",
65
+ "eslint-config-prettier": "8.5.0",
66
+ "eslint-config-standard": "17.0.0",
67
+ "eslint-plugin-import": "2.26.0",
68
+ "eslint-plugin-node": "11.1.0",
69
+ "eslint-plugin-prettier": "4.2.1",
70
+ "eslint-plugin-promise": "6.0.0",
71
+ "husky": "8.0.1",
72
+ "jest": "28.1.3",
73
+ "lint-staged": "13.0.3",
74
+ "npm-run-all": "4.1.5",
75
+ "optional-dev-dependency": "2.0.1",
76
+ "prettier": "2.7.1",
77
+ "random-seed": "0.3.0",
78
+ "runmd": "1.3.9",
79
+ "standard-version": "9.5.0"
80
+ },
81
+ "optionalDevDependencies": {
82
+ "@wdio/browserstack-service": "7.16.10",
83
+ "@wdio/cli": "7.16.10",
84
+ "@wdio/jasmine-framework": "7.16.6",
85
+ "@wdio/local-runner": "7.16.10",
86
+ "@wdio/spec-reporter": "7.16.9",
87
+ "@wdio/static-server-service": "7.16.6"
88
+ },
89
+ "scripts": {
90
+ "examples:browser:webpack:build": "cd examples/browser-webpack && npm install && npm run build",
91
+ "examples:browser:rollup:build": "cd examples/browser-rollup && npm install && npm run build",
92
+ "examples:node:commonjs:test": "cd examples/node-commonjs && npm install && npm test",
93
+ "examples:node:esmodules:test": "cd examples/node-esmodules && npm install && npm test",
94
+ "examples:node:jest:test": "cd examples/node-jest && npm install && npm test",
95
+ "prepare": "cd $( git rev-parse --show-toplevel ) && husky install",
96
+ "lint": "npm run eslint:check && npm run prettier:check",
97
+ "eslint:check": "eslint src/ test/ examples/ *.js",
98
+ "eslint:fix": "eslint --fix src/ test/ examples/ *.js",
99
+ "pretest": "[ -n $CI ] || npm run build",
100
+ "test": "BABEL_ENV=commonjsNode node --throw-deprecation node_modules/.bin/jest test/unit/",
101
+ "pretest:browser": "optional-dev-dependency && npm run build && npm-run-all --parallel examples:browser:**",
102
+ "test:browser": "wdio run ./wdio.conf.js",
103
+ "pretest:node": "npm run build",
104
+ "test:node": "npm-run-all --parallel examples:node:**",
105
+ "test:pack": "./scripts/testpack.sh",
106
+ "pretest:benchmark": "npm run build",
107
+ "test:benchmark": "cd examples/benchmark && npm install && npm test",
108
+ "prettier:check": "prettier --check '**/*.{js,jsx,json,md}'",
109
+ "prettier:fix": "prettier --write '**/*.{js,jsx,json,md}'",
110
+ "bundlewatch": "npm run pretest:browser && bundlewatch --config bundlewatch.config.json",
111
+ "md": "runmd --watch --output=README.md README_js.md",
112
+ "docs": "( node --version | grep -q 'v18' ) && ( npm run build && npx runmd --output=README.md README_js.md )",
113
+ "docs:diff": "npm run docs && git diff --quiet README.md",
114
+ "build": "./scripts/build.sh",
115
+ "prepack": "npm run build",
116
+ "release": "standard-version --no-verify"
117
+ },
118
+ "repository": {
119
+ "type": "git",
120
+ "url": "https://github.com/uuidjs/uuid.git"
121
+ },
122
+ "lint-staged": {
123
+ "*.{js,jsx,json,md}": [
124
+ "prettier --write"
125
+ ],
126
+ "*.{js,jsx}": [
127
+ "eslint --fix"
128
+ ]
129
+ },
130
+ "standard-version": {
131
+ "scripts": {
132
+ "postchangelog": "prettier --write CHANGELOG.md"
133
+ }
134
+ }
135
+ }
@@ -0,0 +1,10 @@
1
+ import uuid from './dist/index.js';
2
+ export const v1 = uuid.v1;
3
+ export const v3 = uuid.v3;
4
+ export const v4 = uuid.v4;
5
+ export const v5 = uuid.v5;
6
+ export const NIL = uuid.NIL;
7
+ export const version = uuid.version;
8
+ export const validate = uuid.validate;
9
+ export const stringify = uuid.stringify;
10
+ export const parse = uuid.parse;
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cloudformation",
3
3
  "description": "AWS SDK for JavaScript Cloudformation Client for Node.js, Browser and React Native",
4
- "version": "3.513.0",
4
+ "version": "3.515.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-cloudformation",
@@ -20,18 +20,18 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.513.0",
23
+ "@aws-sdk/client-sts": "3.515.0",
24
24
  "@aws-sdk/core": "3.513.0",
25
- "@aws-sdk/credential-provider-node": "3.513.0",
26
- "@aws-sdk/middleware-host-header": "3.511.0",
27
- "@aws-sdk/middleware-logger": "3.511.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.511.0",
29
- "@aws-sdk/middleware-user-agent": "3.511.0",
30
- "@aws-sdk/region-config-resolver": "3.511.0",
31
- "@aws-sdk/types": "3.511.0",
32
- "@aws-sdk/util-endpoints": "3.511.0",
33
- "@aws-sdk/util-user-agent-browser": "3.511.0",
34
- "@aws-sdk/util-user-agent-node": "3.511.0",
25
+ "@aws-sdk/credential-provider-node": "3.515.0",
26
+ "@aws-sdk/middleware-host-header": "3.515.0",
27
+ "@aws-sdk/middleware-logger": "3.515.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.515.0",
29
+ "@aws-sdk/middleware-user-agent": "3.515.0",
30
+ "@aws-sdk/region-config-resolver": "3.515.0",
31
+ "@aws-sdk/types": "3.515.0",
32
+ "@aws-sdk/util-endpoints": "3.515.0",
33
+ "@aws-sdk/util-user-agent-browser": "3.515.0",
34
+ "@aws-sdk/util-user-agent-node": "3.515.0",
35
35
  "@smithy/config-resolver": "^2.1.1",
36
36
  "@smithy/core": "^1.3.2",
37
37
  "@smithy/fetch-http-handler": "^2.4.1",
@@ -60,13 +60,13 @@
60
60
  "@smithy/util-waiter": "^2.1.1",
61
61
  "fast-xml-parser": "4.2.5",
62
62
  "tslib": "^2.5.0",
63
- "uuid": "^8.3.2"
63
+ "uuid": "^9.0.1"
64
64
  },
65
65
  "devDependencies": {
66
66
  "@smithy/service-client-documentation-generator": "^2.1.1",
67
67
  "@tsconfig/node14": "1.0.3",
68
68
  "@types/node": "^14.14.31",
69
- "@types/uuid": "^8.3.0",
69
+ "@types/uuid": "^9.0.4",
70
70
  "concurrently": "7.0.0",
71
71
  "downlevel-dts": "0.10.1",
72
72
  "rimraf": "3.0.2",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-sso",
3
3
  "description": "AWS SDK for JavaScript Sso Client for Node.js, Browser and React Native",
4
- "version": "3.513.0",
4
+ "version": "3.515.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-sso",
@@ -21,15 +21,15 @@
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
23
  "@aws-sdk/core": "3.513.0",
24
- "@aws-sdk/middleware-host-header": "3.511.0",
25
- "@aws-sdk/middleware-logger": "3.511.0",
26
- "@aws-sdk/middleware-recursion-detection": "3.511.0",
27
- "@aws-sdk/middleware-user-agent": "3.511.0",
28
- "@aws-sdk/region-config-resolver": "3.511.0",
29
- "@aws-sdk/types": "3.511.0",
30
- "@aws-sdk/util-endpoints": "3.511.0",
31
- "@aws-sdk/util-user-agent-browser": "3.511.0",
32
- "@aws-sdk/util-user-agent-node": "3.511.0",
24
+ "@aws-sdk/middleware-host-header": "3.515.0",
25
+ "@aws-sdk/middleware-logger": "3.515.0",
26
+ "@aws-sdk/middleware-recursion-detection": "3.515.0",
27
+ "@aws-sdk/middleware-user-agent": "3.515.0",
28
+ "@aws-sdk/region-config-resolver": "3.515.0",
29
+ "@aws-sdk/types": "3.515.0",
30
+ "@aws-sdk/util-endpoints": "3.515.0",
31
+ "@aws-sdk/util-user-agent-browser": "3.515.0",
32
+ "@aws-sdk/util-user-agent-node": "3.515.0",
33
33
  "@smithy/config-resolver": "^2.1.1",
34
34
  "@smithy/core": "^1.3.2",
35
35
  "@smithy/fetch-http-handler": "^2.4.1",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-sso-oidc",
3
3
  "description": "AWS SDK for JavaScript Sso Oidc Client for Node.js, Browser and React Native",
4
- "version": "3.513.0",
4
+ "version": "3.515.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-sso-oidc",
@@ -20,17 +20,17 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.513.0",
23
+ "@aws-sdk/client-sts": "3.515.0",
24
24
  "@aws-sdk/core": "3.513.0",
25
- "@aws-sdk/middleware-host-header": "3.511.0",
26
- "@aws-sdk/middleware-logger": "3.511.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.511.0",
28
- "@aws-sdk/middleware-user-agent": "3.511.0",
29
- "@aws-sdk/region-config-resolver": "3.511.0",
30
- "@aws-sdk/types": "3.511.0",
31
- "@aws-sdk/util-endpoints": "3.511.0",
32
- "@aws-sdk/util-user-agent-browser": "3.511.0",
33
- "@aws-sdk/util-user-agent-node": "3.511.0",
25
+ "@aws-sdk/middleware-host-header": "3.515.0",
26
+ "@aws-sdk/middleware-logger": "3.515.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.515.0",
28
+ "@aws-sdk/middleware-user-agent": "3.515.0",
29
+ "@aws-sdk/region-config-resolver": "3.515.0",
30
+ "@aws-sdk/types": "3.515.0",
31
+ "@aws-sdk/util-endpoints": "3.515.0",
32
+ "@aws-sdk/util-user-agent-browser": "3.515.0",
33
+ "@aws-sdk/util-user-agent-node": "3.515.0",
34
34
  "@smithy/config-resolver": "^2.1.1",
35
35
  "@smithy/core": "^1.3.2",
36
36
  "@smithy/fetch-http-handler": "^2.4.1",
@@ -86,7 +86,7 @@
86
86
  },
87
87
  "license": "Apache-2.0",
88
88
  "peerDependencies": {
89
- "@aws-sdk/credential-provider-node": "^3.513.0"
89
+ "@aws-sdk/credential-provider-node": "^3.515.0"
90
90
  },
91
91
  "browser": {
92
92
  "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"