@cdklabs/cdk-ecs-codedeploy 0.0.264 → 0.0.266

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/.jsii.tabl.json +1 -1
  3. package/lib/api-canary/index.js +1 -1
  4. package/lib/ecs-appspec/index.js +1 -1
  5. package/lib/ecs-deployment/index.js +1 -1
  6. package/lib/ecs-patterns/application-load-balanced-codedeployed-fargate-service.js +1 -1
  7. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/endpoint/endpointResolver.js +4 -2
  8. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/index.js +0 -3
  9. package/node_modules/@aws-sdk/client-codedeploy/dist-es/endpoint/endpointResolver.js +3 -1
  10. package/node_modules/@aws-sdk/client-codedeploy/dist-es/index.js +0 -1
  11. package/node_modules/@aws-sdk/client-codedeploy/dist-types/index.d.ts +0 -1
  12. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/index.d.ts +0 -1
  13. package/node_modules/@aws-sdk/client-codedeploy/package.json +5 -5
  14. package/node_modules/@aws-sdk/client-sso/dist-cjs/endpoint/endpointResolver.js +4 -2
  15. package/node_modules/@aws-sdk/client-sso/dist-cjs/index.js +0 -3
  16. package/node_modules/@aws-sdk/client-sso/dist-es/endpoint/endpointResolver.js +3 -1
  17. package/node_modules/@aws-sdk/client-sso/dist-es/index.js +0 -1
  18. package/node_modules/@aws-sdk/client-sso/dist-types/index.d.ts +0 -1
  19. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/index.d.ts +0 -1
  20. package/node_modules/@aws-sdk/client-sso/package.json +3 -3
  21. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/endpoint/endpointResolver.js +4 -2
  22. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/index.js +0 -3
  23. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/endpoint/endpointResolver.js +3 -1
  24. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/index.js +0 -1
  25. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/index.d.ts +0 -1
  26. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/index.d.ts +0 -1
  27. package/node_modules/@aws-sdk/client-sso-oidc/package.json +5 -5
  28. package/node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/endpointResolver.js +4 -2
  29. package/node_modules/@aws-sdk/client-sts/dist-cjs/index.js +0 -1
  30. package/node_modules/@aws-sdk/client-sts/dist-es/endpoint/endpointResolver.js +3 -1
  31. package/node_modules/@aws-sdk/client-sts/dist-es/index.js +0 -1
  32. package/node_modules/@aws-sdk/client-sts/dist-types/index.d.ts +0 -1
  33. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/index.d.ts +0 -1
  34. package/node_modules/@aws-sdk/client-sts/package.json +4 -4
  35. package/node_modules/@aws-sdk/credential-provider-ini/package.json +4 -4
  36. package/node_modules/@aws-sdk/credential-provider-node/package.json +4 -4
  37. package/node_modules/@aws-sdk/credential-provider-sso/package.json +3 -3
  38. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +2 -2
  39. package/node_modules/@aws-sdk/middleware-user-agent/package.json +2 -2
  40. package/node_modules/@aws-sdk/token-providers/package.json +2 -2
  41. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +2 -0
  42. package/node_modules/@aws-sdk/util-endpoints/dist-es/aws.js +1 -1
  43. package/node_modules/@aws-sdk/util-endpoints/dist-types/aws.d.ts +2 -1
  44. package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/aws.d.ts +2 -1
  45. package/node_modules/@aws-sdk/util-endpoints/package.json +1 -1
  46. package/node_modules/@smithy/core/package.json +2 -2
  47. package/node_modules/@smithy/middleware-retry/node_modules/uuid/CHANGELOG.md +45 -0
  48. package/node_modules/@smithy/middleware-retry/node_modules/uuid/README.md +36 -75
  49. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/commonjs-browser/index.js +79 -0
  50. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/commonjs-browser/md5.js +223 -0
  51. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/commonjs-browser/native.js +11 -0
  52. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/commonjs-browser/nil.js +8 -0
  53. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/commonjs-browser/parse.js +45 -0
  54. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/commonjs-browser/regex.js +8 -0
  55. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/commonjs-browser/rng.js +25 -0
  56. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/commonjs-browser/sha1.js +104 -0
  57. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/commonjs-browser/stringify.js +44 -0
  58. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/commonjs-browser/v1.js +107 -0
  59. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/commonjs-browser/v3.js +16 -0
  60. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/commonjs-browser/v35.js +80 -0
  61. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/commonjs-browser/v4.js +43 -0
  62. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/commonjs-browser/v5.js +16 -0
  63. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/commonjs-browser/validate.js +17 -0
  64. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/commonjs-browser/version.js +21 -0
  65. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/md5.js +23 -23
  66. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/native.js +4 -0
  67. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/parse.js +2 -2
  68. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/rng.js +4 -5
  69. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/sha1.js +26 -26
  70. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/stringify.js +9 -6
  71. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/v1.js +17 -17
  72. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/v3.js +1 -1
  73. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/v35.js +12 -10
  74. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/v4.js +9 -4
  75. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/v5.js +1 -1
  76. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/version.js +1 -1
  77. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/native.js +4 -0
  78. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/stringify.js +7 -3
  79. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/v1.js +2 -2
  80. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/v35.js +6 -4
  81. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/v4.js +7 -2
  82. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/version.js +1 -1
  83. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/index.js +18 -18
  84. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/native-browser.js +11 -0
  85. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/native.js +15 -0
  86. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/rng-browser.js +2 -3
  87. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/stringify.js +8 -3
  88. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v1.js +2 -2
  89. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v35.js +7 -5
  90. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v4.js +8 -2
  91. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/version.js +1 -1
  92. package/node_modules/@smithy/middleware-retry/node_modules/uuid/package.json +41 -41
  93. package/node_modules/@smithy/middleware-retry/package.json +2 -2
  94. package/package.json +7 -7
  95. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/umd/uuid.min.js +0 -1
  96. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/umd/uuidNIL.min.js +0 -1
  97. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/umd/uuidParse.min.js +0 -1
  98. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/umd/uuidStringify.min.js +0 -1
  99. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/umd/uuidValidate.min.js +0 -1
  100. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/umd/uuidVersion.min.js +0 -1
  101. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/umd/uuidv1.min.js +0 -1
  102. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/umd/uuidv3.min.js +0 -1
  103. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/umd/uuidv4.min.js +0 -1
  104. package/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/umd/uuidv5.min.js +0 -1
@@ -1,4 +1,5 @@
1
- import { resolveEndpoint } from "@smithy/util-endpoints";
1
+ import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
2
+ import { customEndpointFunctions, resolveEndpoint } from "@smithy/util-endpoints";
2
3
  import { ruleSet } from "./ruleset";
3
4
  export const defaultEndpointResolver = (endpointParams, context = {}) => {
4
5
  return resolveEndpoint(ruleSet, {
@@ -6,3 +7,4 @@ export const defaultEndpointResolver = (endpointParams, context = {}) => {
6
7
  logger: context.logger,
7
8
  });
8
9
  };
10
+ customEndpointFunctions.aws = awsEndpointFunctions;
@@ -2,6 +2,5 @@ export * from "./STSClient";
2
2
  export * from "./STS";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
- import "@aws-sdk/util-endpoints";
6
5
  export * from "./defaultRoleAssumers";
7
6
  export { STSServiceException } from "./models/STSServiceException";
@@ -13,6 +13,5 @@ export { RuntimeExtension } from "./runtimeExtensions";
13
13
  export { STSExtensionConfiguration } from "./extensionConfiguration";
14
14
  export * from "./commands";
15
15
  export * from "./models";
16
- import "@aws-sdk/util-endpoints";
17
16
  export * from "./defaultRoleAssumers";
18
17
  export { STSServiceException } from "./models/STSServiceException";
@@ -5,6 +5,5 @@ export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { STSExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
7
  export * from "./models";
8
- import "@aws-sdk/util-endpoints";
9
8
  export * from "./defaultRoleAssumers";
10
9
  export { STSServiceException } from "./models/STSServiceException";
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-sts",
3
3
  "description": "AWS SDK for JavaScript Sts Client for Node.js, Browser and React Native",
4
- "version": "3.535.0",
4
+ "version": "3.540.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-sts",
@@ -26,10 +26,10 @@
26
26
  "@aws-sdk/middleware-host-header": "3.535.0",
27
27
  "@aws-sdk/middleware-logger": "3.535.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.535.0",
29
- "@aws-sdk/middleware-user-agent": "3.535.0",
29
+ "@aws-sdk/middleware-user-agent": "3.540.0",
30
30
  "@aws-sdk/region-config-resolver": "3.535.0",
31
31
  "@aws-sdk/types": "3.535.0",
32
- "@aws-sdk/util-endpoints": "3.535.0",
32
+ "@aws-sdk/util-endpoints": "3.540.0",
33
33
  "@aws-sdk/util-user-agent-browser": "3.535.0",
34
34
  "@aws-sdk/util-user-agent-node": "3.535.0",
35
35
  "@smithy/config-resolver": "^2.2.0",
@@ -87,7 +87,7 @@
87
87
  },
88
88
  "license": "Apache-2.0",
89
89
  "peerDependencies": {
90
- "@aws-sdk/credential-provider-node": "^3.535.0"
90
+ "@aws-sdk/credential-provider-node": "^3.540.0"
91
91
  },
92
92
  "browser": {
93
93
  "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-ini",
3
- "version": "3.535.0",
3
+ "version": "3.540.0",
4
4
  "description": "AWS credential provider that sources credentials from ~/.aws/credentials and ~/.aws/config",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -24,11 +24,11 @@
24
24
  },
25
25
  "license": "Apache-2.0",
26
26
  "dependencies": {
27
- "@aws-sdk/client-sts": "3.535.0",
27
+ "@aws-sdk/client-sts": "3.540.0",
28
28
  "@aws-sdk/credential-provider-env": "3.535.0",
29
29
  "@aws-sdk/credential-provider-process": "3.535.0",
30
- "@aws-sdk/credential-provider-sso": "3.535.0",
31
- "@aws-sdk/credential-provider-web-identity": "3.535.0",
30
+ "@aws-sdk/credential-provider-sso": "3.540.0",
31
+ "@aws-sdk/credential-provider-web-identity": "3.540.0",
32
32
  "@aws-sdk/types": "3.535.0",
33
33
  "@smithy/credential-provider-imds": "^2.3.0",
34
34
  "@smithy/property-provider": "^2.2.0",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-node",
3
- "version": "3.535.0",
3
+ "version": "3.540.0",
4
4
  "description": "AWS credential provider that sources credentials from a Node.JS environment. ",
5
5
  "engines": {
6
6
  "node": ">=14.0.0"
@@ -30,10 +30,10 @@
30
30
  "dependencies": {
31
31
  "@aws-sdk/credential-provider-env": "3.535.0",
32
32
  "@aws-sdk/credential-provider-http": "3.535.0",
33
- "@aws-sdk/credential-provider-ini": "3.535.0",
33
+ "@aws-sdk/credential-provider-ini": "3.540.0",
34
34
  "@aws-sdk/credential-provider-process": "3.535.0",
35
- "@aws-sdk/credential-provider-sso": "3.535.0",
36
- "@aws-sdk/credential-provider-web-identity": "3.535.0",
35
+ "@aws-sdk/credential-provider-sso": "3.540.0",
36
+ "@aws-sdk/credential-provider-web-identity": "3.540.0",
37
37
  "@aws-sdk/types": "3.535.0",
38
38
  "@smithy/credential-provider-imds": "^2.3.0",
39
39
  "@smithy/property-provider": "^2.2.0",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-sso",
3
- "version": "3.535.0",
3
+ "version": "3.540.0",
4
4
  "description": "AWS credential provider that exchanges a resolved SSO login token file for temporary AWS credentials",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -24,8 +24,8 @@
24
24
  },
25
25
  "license": "Apache-2.0",
26
26
  "dependencies": {
27
- "@aws-sdk/client-sso": "3.535.0",
28
- "@aws-sdk/token-providers": "3.535.0",
27
+ "@aws-sdk/client-sso": "3.540.0",
28
+ "@aws-sdk/token-providers": "3.540.0",
29
29
  "@aws-sdk/types": "3.535.0",
30
30
  "@smithy/property-provider": "^2.2.0",
31
31
  "@smithy/shared-ini-file-loader": "^2.4.0",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-web-identity",
3
- "version": "3.535.0",
3
+ "version": "3.540.0",
4
4
  "description": "AWS credential provider that calls STS assumeRole for temporary AWS credentials",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -32,7 +32,7 @@
32
32
  },
33
33
  "license": "Apache-2.0",
34
34
  "dependencies": {
35
- "@aws-sdk/client-sts": "3.535.0",
35
+ "@aws-sdk/client-sts": "3.540.0",
36
36
  "@aws-sdk/types": "3.535.0",
37
37
  "@smithy/property-provider": "^2.2.0",
38
38
  "@smithy/types": "^2.12.0",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-user-agent",
3
- "version": "3.535.0",
3
+ "version": "3.540.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-user-agent",
@@ -23,7 +23,7 @@
23
23
  "license": "Apache-2.0",
24
24
  "dependencies": {
25
25
  "@aws-sdk/types": "3.535.0",
26
- "@aws-sdk/util-endpoints": "3.535.0",
26
+ "@aws-sdk/util-endpoints": "3.540.0",
27
27
  "@smithy/protocol-http": "^3.3.0",
28
28
  "@smithy/types": "^2.12.0",
29
29
  "tslib": "^2.6.2"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/token-providers",
3
- "version": "3.535.0",
3
+ "version": "3.540.0",
4
4
  "description": "A collection of token providers",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -26,7 +26,7 @@
26
26
  },
27
27
  "license": "Apache-2.0",
28
28
  "dependencies": {
29
- "@aws-sdk/client-sso-oidc": "3.535.0",
29
+ "@aws-sdk/client-sso-oidc": "3.540.0",
30
30
  "@aws-sdk/types": "3.535.0",
31
31
  "@smithy/property-provider": "^2.2.0",
32
32
  "@smithy/shared-ini-file-loader": "^2.4.0",
@@ -41,6 +41,7 @@ __export(src_exports, {
41
41
  RuleSetObject: () => import_util_endpoints.RuleSetObject,
42
42
  RuleSetRules: () => import_util_endpoints.RuleSetRules,
43
43
  TreeRuleObject: () => import_util_endpoints.TreeRuleObject,
44
+ awsEndpointFunctions: () => awsEndpointFunctions,
44
45
  getUserAgentPrefix: () => getUserAgentPrefix,
45
46
  isIpAddress: () => import_util_endpoints.isIpAddress,
46
47
  partition: () => partition,
@@ -393,6 +394,7 @@ import_util_endpoints.customEndpointFunctions.aws = awsEndpointFunctions;
393
394
  // Annotate the CommonJS export names for ESM import in node:
394
395
 
395
396
  0 && (module.exports = {
397
+ awsEndpointFunctions,
396
398
  partition,
397
399
  setPartitionInfo,
398
400
  useDefaultPartitionInfo,
@@ -2,7 +2,7 @@ import { customEndpointFunctions } from "@smithy/util-endpoints";
2
2
  import { isVirtualHostableS3Bucket } from "./lib/aws/isVirtualHostableS3Bucket";
3
3
  import { parseArn } from "./lib/aws/parseArn";
4
4
  import { partition } from "./lib/aws/partition";
5
- const awsEndpointFunctions = {
5
+ export const awsEndpointFunctions = {
6
6
  isVirtualHostableS3Bucket: isVirtualHostableS3Bucket,
7
7
  parseArn: parseArn,
8
8
  partition: partition,
@@ -1 +1,2 @@
1
- export {};
1
+ import { EndpointFunctions } from "@smithy/util-endpoints";
2
+ export declare const awsEndpointFunctions: EndpointFunctions;
@@ -1 +1,2 @@
1
- export {};
1
+ import { EndpointFunctions } from "@smithy/util-endpoints";
2
+ export declare const awsEndpointFunctions: EndpointFunctions;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/util-endpoints",
3
- "version": "3.535.0",
3
+ "version": "3.540.0",
4
4
  "description": "Utilities to help with endpoint resolution",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/core",
3
- "version": "1.4.0",
3
+ "version": "1.4.1",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline core",
@@ -24,7 +24,7 @@
24
24
  "license": "Apache-2.0",
25
25
  "dependencies": {
26
26
  "@smithy/middleware-endpoint": "^2.5.0",
27
- "@smithy/middleware-retry": "^2.2.0",
27
+ "@smithy/middleware-retry": "^2.3.0",
28
28
  "@smithy/middleware-serde": "^2.3.0",
29
29
  "@smithy/protocol-http": "^3.3.0",
30
30
  "@smithy/smithy-client": "^2.5.0",
@@ -2,6 +2,51 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ## [9.0.1](https://github.com/uuidjs/uuid/compare/v9.0.0...v9.0.1) (2023-09-12)
6
+
7
+ ### build
8
+
9
+ - Fix CI to work with Node.js 20.x
10
+
11
+ ## [9.0.0](https://github.com/uuidjs/uuid/compare/v8.3.2...v9.0.0) (2022-09-05)
12
+
13
+ ### ⚠ BREAKING CHANGES
14
+
15
+ - Drop Node.js 10.x support. This library always aims at supporting one EOLed LTS release which by this time now is 12.x which has reached EOL 30 Apr 2022.
16
+
17
+ - Remove the minified UMD build from the package.
18
+
19
+ Minified code is hard to audit and since this is a widely used library it seems more appropriate nowadays to optimize for auditability than to ship a legacy module format that, at best, serves educational purposes nowadays.
20
+
21
+ For production browser use cases, users should be using a bundler. For educational purposes, today's online sandboxes like replit.com offer convenient ways to load npm modules, so the use case for UMD through repos like UNPKG or jsDelivr has largely vanished.
22
+
23
+ - Drop IE 11 and Safari 10 support. Drop support for browsers that don't correctly implement const/let and default arguments, and no longer transpile the browser build to ES2015.
24
+
25
+ This also removes the fallback on msCrypto instead of the crypto API.
26
+
27
+ Browser tests are run in the first supported version of each supported browser and in the latest (as of this commit) version available on Browserstack.
28
+
29
+ ### Features
30
+
31
+ - optimize uuid.v1 by 1.3x uuid.v4 by 4.3x (430%) ([#597](https://github.com/uuidjs/uuid/issues/597)) ([3a033f6](https://github.com/uuidjs/uuid/commit/3a033f6bab6bb3780ece6d645b902548043280bc))
32
+ - remove UMD build ([#645](https://github.com/uuidjs/uuid/issues/645)) ([e948a0f](https://github.com/uuidjs/uuid/commit/e948a0f22bf22f4619b27bd913885e478e20fe6f)), closes [#620](https://github.com/uuidjs/uuid/issues/620)
33
+ - use native crypto.randomUUID when available ([#600](https://github.com/uuidjs/uuid/issues/600)) ([c9e076c](https://github.com/uuidjs/uuid/commit/c9e076c852edad7e9a06baaa1d148cf4eda6c6c4))
34
+
35
+ ### Bug Fixes
36
+
37
+ - add Jest/jsdom compatibility ([#642](https://github.com/uuidjs/uuid/issues/642)) ([16f9c46](https://github.com/uuidjs/uuid/commit/16f9c469edf46f0786164cdf4dc980743984a6fd))
38
+ - change default export to named function ([#545](https://github.com/uuidjs/uuid/issues/545)) ([c57bc5a](https://github.com/uuidjs/uuid/commit/c57bc5a9a0653273aa639cda9177ce52efabe42a))
39
+ - handle error when parameter is not set in v3 and v5 ([#622](https://github.com/uuidjs/uuid/issues/622)) ([fcd7388](https://github.com/uuidjs/uuid/commit/fcd73881692d9fabb63872576ba28e30ff852091))
40
+ - run npm audit fix ([#644](https://github.com/uuidjs/uuid/issues/644)) ([04686f5](https://github.com/uuidjs/uuid/commit/04686f54c5fed2cfffc1b619f4970c4bb8532353))
41
+ - upgrading from uuid3 broken link ([#568](https://github.com/uuidjs/uuid/issues/568)) ([1c849da](https://github.com/uuidjs/uuid/commit/1c849da6e164259e72e18636726345b13a7eddd6))
42
+
43
+ ### build
44
+
45
+ - drop Node.js 8.x from babel transpile target ([#603](https://github.com/uuidjs/uuid/issues/603)) ([aa11485](https://github.com/uuidjs/uuid/commit/aa114858260402107ec8a1e1a825dea0a259bcb5))
46
+ - drop support for legacy browsers (IE11, Safari 10) ([#604](https://github.com/uuidjs/uuid/issues/604)) ([0f433e5](https://github.com/uuidjs/uuid/commit/0f433e5ec444edacd53016de67db021102f36148))
47
+
48
+ - drop node 10.x to upgrade dev dependencies ([#653](https://github.com/uuidjs/uuid/issues/653)) ([28a5712](https://github.com/uuidjs/uuid/commit/28a571283f8abda6b9d85e689f95b7d3ee9e282e)), closes [#643](https://github.com/uuidjs/uuid/issues/643)
49
+
5
50
  ### [8.3.2](https://github.com/uuidjs/uuid/compare/v8.3.1...v8.3.2) (2020-12-08)
6
51
 
7
52
  ### Bug Fixes
@@ -2,22 +2,25 @@
2
2
  -- This file is auto-generated from README_js.md. Changes should be made there.
3
3
  -->
4
4
 
5
+
5
6
  # uuid [![CI](https://github.com/uuidjs/uuid/workflows/CI/badge.svg)](https://github.com/uuidjs/uuid/actions?query=workflow%3ACI) [![Browser](https://github.com/uuidjs/uuid/workflows/Browser/badge.svg)](https://github.com/uuidjs/uuid/actions?query=workflow%3ABrowser)
6
7
 
7
- For the creation of [RFC4122](http://www.ietf.org/rfc/rfc4122.txt) UUIDs
8
+ For the creation of [RFC4122](https://www.ietf.org/rfc/rfc4122.txt) UUIDs
8
9
 
9
10
  - **Complete** - Support for RFC4122 version 1, 3, 4, and 5 UUIDs
10
11
  - **Cross-platform** - Support for ...
11
12
  - CommonJS, [ECMAScript Modules](#ecmascript-modules) and [CDN builds](#cdn-builds)
12
- - Node 8, 10, 12, 14
13
- - Chrome, Safari, Firefox, Edge, IE 11 browsers
13
+ - NodeJS 12+ ([LTS releases](https://github.com/nodejs/Release))
14
+ - Chrome, Safari, Firefox, Edge browsers
14
15
  - Webpack and rollup.js module bundlers
15
16
  - [React Native / Expo](#react-native--expo)
16
17
  - **Secure** - Cryptographically-strong random values
17
18
  - **Small** - Zero-dependency, small footprint, plays nice with "tree shaking" packagers
18
19
  - **CLI** - Includes the [`uuid` command line](#command-line) utility
19
20
 
20
- **Upgrading from `uuid@3.x`?** Your code is probably okay, but check out [Upgrading From `uuid@3.x`](#upgrading-from-uuid3x) for details.
21
+ > **Note** Upgrading from `uuid@3`? Your code is probably okay, but check out [Upgrading From `uuid@3`](#upgrading-from-uuid3) for details.
22
+
23
+ > **Note** Only interested in creating a version 4 UUID? You might be able to use [`crypto.randomUUID()`](https://developer.mozilla.org/en-US/docs/Web/API/Crypto/randomUUID), eliminating the need to install this library.
21
24
 
22
25
  ## Quickstart
23
26
 
@@ -122,22 +125,7 @@ Example:
122
125
  import { stringify as uuidStringify } from 'uuid';
123
126
 
124
127
  const uuidBytes = [
125
- 0x6e,
126
- 0xc0,
127
- 0xbd,
128
- 0x7f,
129
- 0x11,
130
- 0xc0,
131
- 0x43,
132
- 0xda,
133
- 0x97,
134
- 0x5e,
135
- 0x2a,
136
- 0x8a,
137
- 0xd9,
138
- 0xeb,
139
- 0xae,
140
- 0x0b,
128
+ 0x6e, 0xc0, 0xbd, 0x7f, 0x11, 0xc0, 0x43, 0xda, 0x97, 0x5e, 0x2a, 0x8a, 0xd9, 0xeb, 0xae, 0x0b,
141
129
  ];
142
130
 
143
131
  uuidStringify(uuidBytes); // ⇨ '6ec0bd7f-11c0-43da-975e-2a8ad9ebae0b'
@@ -153,7 +141,7 @@ Create an RFC version 1 (timestamp) UUID
153
141
  | [`options.node` ] | RFC "node" field as an `Array[6]` of byte values (per 4.1.6) |
154
142
  | [`options.clockseq`] | RFC "clock sequence" as a `Number` between 0 - 0x3fff |
155
143
  | [`options.msecs`] | RFC "timestamp" field (`Number` of milliseconds, unix epoch) |
156
- | [`options.nsecs`] | RFC "timestamp" field (`Number` of nanseconds to add to `msecs`, should be 0-10,000) |
144
+ | [`options.nsecs`] | RFC "timestamp" field (`Number` of nanoseconds to add to `msecs`, should be 0-10,000) |
157
145
  | [`options.random`] | `Array` of 16 random bytes (0-255) |
158
146
  | [`options.rng`] | Alternative to `options.random`, a `Function` that returns an `Array` of 16 random bytes (0-255) |
159
147
  | [`buffer`] | `Array \| Buffer` If specified, uuid will be written here in byte-form, starting at `offset` |
@@ -223,22 +211,7 @@ import { v4 as uuidv4 } from 'uuid';
223
211
 
224
212
  const v4options = {
225
213
  random: [
226
- 0x10,
227
- 0x91,
228
- 0x56,
229
- 0xbe,
230
- 0xc4,
231
- 0xfb,
232
- 0xc1,
233
- 0xea,
234
- 0x71,
235
- 0xb4,
236
- 0xef,
237
- 0xe1,
238
- 0x67,
239
- 0x1c,
240
- 0x58,
241
- 0x36,
214
+ 0x10, 0x91, 0x56, 0xbe, 0xc4, 0xfb, 0xc1, 0xea, 0x71, 0xb4, 0xef, 0xe1, 0x67, 0x1c, 0x58, 0x36,
242
215
  ],
243
216
  };
244
217
  uuidv4(v4options); // ⇨ '109156be-c4fb-41ea-b1b4-efe1671c5836'
@@ -337,14 +310,14 @@ uuidVersion('6ec0bd7f-11c0-43da-975e-2a8ad9ebae0b'); // ⇨ 4
337
310
  UUIDs can be generated from the command line using `uuid`.
338
311
 
339
312
  ```shell
340
- $ uuid
313
+ $ npx uuid
341
314
  ddeb27fb-d9a0-4624-be4d-4615062daed4
342
315
  ```
343
316
 
344
317
  The default is to generate version 4 UUIDS, however the other versions are supported. Type `uuid --help` for details:
345
318
 
346
319
  ```shell
347
- $ uuid --help
320
+ $ npx uuid --help
348
321
 
349
322
  Usage:
350
323
  uuid
@@ -388,37 +361,20 @@ To load this module directly into modern browsers that [support loading ECMAScri
388
361
 
389
362
  ### UMD
390
363
 
391
- To load this module directly into older browsers you can use the [UMD (Universal Module Definition)](https://github.com/umdjs/umd) builds from any of the following CDNs:
392
-
393
- **Using [UNPKG](https://unpkg.com/uuid@latest/dist/umd/)**:
394
-
395
- ```html
396
- <script src="https://unpkg.com/uuid@latest/dist/umd/uuidv4.min.js"></script>
397
- ```
398
-
399
- **Using [jsDelivr](https://cdn.jsdelivr.net/npm/uuid@latest/dist/umd/)**:
400
-
401
- ```html
402
- <script src="https://cdn.jsdelivr.net/npm/uuid@latest/dist/umd/uuidv4.min.js"></script>
403
- ```
364
+ As of `uuid@9` [UMD (Universal Module Definition)](https://github.com/umdjs/umd) builds are no longer shipped with this library.
404
365
 
405
- **Using [cdnjs](https://cdnjs.com/libraries/uuid)**:
366
+ If you need a UMD build of this library, use a bundler like Webpack or Rollup. Alternatively, refer to the documentation of [`uuid@8.3.2`](https://github.com/uuidjs/uuid/blob/v8.3.2/README.md#umd) which was the last version that shipped UMD builds.
406
367
 
407
- ```html
408
- <script src="https://cdnjs.cloudflare.com/ajax/libs/uuid/8.1.0/uuidv4.min.js"></script>
409
- ```
368
+ ## Known issues
410
369
 
411
- These CDNs all provide the same [`uuidv4()`](#uuidv4options-buffer-offset) method:
370
+ ### Duplicate UUIDs (Googlebot)
412
371
 
413
- ```html
414
- <script>
415
- uuidv4(); // ⇨ '55af1e37-0734-46d8-b070-a1e42e4fc392'
416
- </script>
417
- ```
372
+ This module may generate duplicate UUIDs when run in clients with _deterministic_ random number generators, such as [Googlebot crawlers](https://developers.google.com/search/docs/advanced/crawling/overview-google-crawlers). This can cause problems for apps that expect client-generated UUIDs to always be unique. Developers should be prepared for this and have a strategy for dealing with possible collisions, such as:
418
373
 
419
- Methods for the other algorithms ([`uuidv1()`](#uuidv1options-buffer-offset), [`uuidv3()`](#uuidv3name-namespace-buffer-offset) and [`uuidv5()`](#uuidv5name-namespace-buffer-offset)) are available from the files `uuidv1.min.js`, `uuidv3.min.js` and `uuidv5.min.js` respectively.
374
+ - Check for duplicate UUIDs, fail gracefully
375
+ - Disable write operations for Googlebot clients
420
376
 
421
- ## "getRandomValues() not supported"
377
+ ### "getRandomValues() not supported"
422
378
 
423
379
  This error occurs in environments where the standard [`crypto.getRandomValues()`](https://developer.mozilla.org/en-US/docs/Web/API/Crypto/getRandomValues) API is not supported. This issue can be resolved by adding an appropriate polyfill:
424
380
 
@@ -438,11 +394,15 @@ Note: If you are using Expo, you must be using at least `react-native-get-random
438
394
 
439
395
  [In Edge <= 18, Web Crypto is not supported in Web Workers or Service Workers](https://caniuse.com/#feat=cryptography) and we are not aware of a polyfill (let us know if you find one, please).
440
396
 
441
- ## Upgrading From `uuid@7.x`
397
+ ### IE 11 (Internet Explorer)
398
+
399
+ Support for IE11 and other legacy browsers has been dropped as of `uuid@9`. If you need to support legacy browsers, you can always transpile the uuid module source yourself (e.g. using [Babel](https://babeljs.io/)).
400
+
401
+ ## Upgrading From `uuid@7`
442
402
 
443
403
  ### Only Named Exports Supported When Using with Node.js ESM
444
404
 
445
- `uuid@7.x` did not come with native ECMAScript Module (ESM) support for Node.js. Importing it in Node.js ESM consequently imported the CommonJS source with a default export. This library now comes with true Node.js ESM support and only provides named exports.
405
+ `uuid@7` did not come with native ECMAScript Module (ESM) support for Node.js. Importing it in Node.js ESM consequently imported the CommonJS source with a default export. This library now comes with true Node.js ESM support and only provides named exports.
446
406
 
447
407
  Instead of doing:
448
408
 
@@ -460,24 +420,24 @@ uuidv4();
460
420
 
461
421
  ### Deep Requires No Longer Supported
462
422
 
463
- Deep requires like `require('uuid/v4')` [which have been deprecated in `uuid@7.x`](#deep-requires-now-deprecated) are no longer supported.
423
+ Deep requires like `require('uuid/v4')` [which have been deprecated in `uuid@7`](#deep-requires-now-deprecated) are no longer supported.
464
424
 
465
- ## Upgrading From `uuid@3.x`
425
+ ## Upgrading From `uuid@3`
466
426
 
467
- "_Wait... what happened to `uuid@4.x` - `uuid@6.x`?!?_"
427
+ "_Wait... what happened to `uuid@4` thru `uuid@6`?!?_"
468
428
 
469
429
  In order to avoid confusion with RFC [version 4](#uuidv4options-buffer-offset) and [version 5](#uuidv5name-namespace-buffer-offset) UUIDs, and a possible [version 6](http://gh.peabody.io/uuidv6/), releases 4 thru 6 of this module have been skipped.
470
430
 
471
431
  ### Deep Requires Now Deprecated
472
432
 
473
- `uuid@3.x` encouraged the use of deep requires to minimize the bundle size of browser builds:
433
+ `uuid@3` encouraged the use of deep requires to minimize the bundle size of browser builds:
474
434
 
475
435
  ```javascript
476
436
  const uuidv4 = require('uuid/v4'); // <== NOW DEPRECATED!
477
437
  uuidv4();
478
438
  ```
479
439
 
480
- As of `uuid@7.x` this library now provides ECMAScript modules builds, which allow packagers like Webpack and Rollup to do "tree-shaking" to remove dead code. Instead, use the `import` syntax:
440
+ As of `uuid@7` this library now provides ECMAScript modules builds, which allow packagers like Webpack and Rollup to do "tree-shaking" to remove dead code. Instead, use the `import` syntax:
481
441
 
482
442
  ```javascript
483
443
  import { v4 as uuidv4 } from 'uuid';
@@ -493,13 +453,14 @@ uuidv4();
493
453
 
494
454
  ### Default Export Removed
495
455
 
496
- `uuid@3.x` was exporting the Version 4 UUID method as a default export:
456
+ `uuid@3` was exporting the Version 4 UUID method as a default export:
497
457
 
498
458
  ```javascript
499
459
  const uuid = require('uuid'); // <== REMOVED!
500
460
  ```
501
461
 
502
- This usage pattern was already discouraged in `uuid@3.x` and has been removed in `uuid@7.x`.
462
+ This usage pattern was already discouraged in `uuid@3` and has been removed in `uuid@7`.
463
+
464
+ ---
503
465
 
504
- ----
505
- Markdown generated from [README_js.md](README_js.md) by [![RunMD Logo](http://i.imgur.com/h0FVyzU.png)](https://github.com/broofa/runmd)
466
+ Markdown generated from [README_js.md](README_js.md) by <a href="https://github.com/broofa/runmd"><image height="12px" src="https://camo.githubusercontent.com/5c7c603cd1e6a43370b0a5063d457e0dabb74cf317adc7baba183acb686ee8d0/687474703a2f2f692e696d6775722e636f6d2f634a4b6f3662552e706e67" /></a>
@@ -0,0 +1,79 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "NIL", {
7
+ enumerable: true,
8
+ get: function get() {
9
+ return _nil.default;
10
+ }
11
+ });
12
+ Object.defineProperty(exports, "parse", {
13
+ enumerable: true,
14
+ get: function get() {
15
+ return _parse.default;
16
+ }
17
+ });
18
+ Object.defineProperty(exports, "stringify", {
19
+ enumerable: true,
20
+ get: function get() {
21
+ return _stringify.default;
22
+ }
23
+ });
24
+ Object.defineProperty(exports, "v1", {
25
+ enumerable: true,
26
+ get: function get() {
27
+ return _v.default;
28
+ }
29
+ });
30
+ Object.defineProperty(exports, "v3", {
31
+ enumerable: true,
32
+ get: function get() {
33
+ return _v2.default;
34
+ }
35
+ });
36
+ Object.defineProperty(exports, "v4", {
37
+ enumerable: true,
38
+ get: function get() {
39
+ return _v3.default;
40
+ }
41
+ });
42
+ Object.defineProperty(exports, "v5", {
43
+ enumerable: true,
44
+ get: function get() {
45
+ return _v4.default;
46
+ }
47
+ });
48
+ Object.defineProperty(exports, "validate", {
49
+ enumerable: true,
50
+ get: function get() {
51
+ return _validate.default;
52
+ }
53
+ });
54
+ Object.defineProperty(exports, "version", {
55
+ enumerable: true,
56
+ get: function get() {
57
+ return _version.default;
58
+ }
59
+ });
60
+
61
+ var _v = _interopRequireDefault(require("./v1.js"));
62
+
63
+ var _v2 = _interopRequireDefault(require("./v3.js"));
64
+
65
+ var _v3 = _interopRequireDefault(require("./v4.js"));
66
+
67
+ var _v4 = _interopRequireDefault(require("./v5.js"));
68
+
69
+ var _nil = _interopRequireDefault(require("./nil.js"));
70
+
71
+ var _version = _interopRequireDefault(require("./version.js"));
72
+
73
+ var _validate = _interopRequireDefault(require("./validate.js"));
74
+
75
+ var _stringify = _interopRequireDefault(require("./stringify.js"));
76
+
77
+ var _parse = _interopRequireDefault(require("./parse.js"));
78
+
79
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }