@aws-sdk/util-arn-parser 3.55.0 → 3.170.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/CHANGELOG.md +16 -0
- package/dist-types/ts3.4/index.d.ts +17 -17
- package/package.json +3 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,22 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.170.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.169.0...v3.170.0) (2022-09-13)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/util-arn-parser
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.168.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.167.0...v3.168.0) (2022-09-09)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @aws-sdk/util-arn-parser
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
# [3.55.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.54.1...v3.55.0) (2022-03-21)
|
|
7
23
|
|
|
8
24
|
**Note:** Version bump only for package @aws-sdk/util-arn-parser
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
export interface ARN {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
export declare const validate: (str: any) => boolean;
|
|
10
|
-
|
|
11
|
-
export declare const parse: (arn: string) => ARN;
|
|
12
|
-
declare type buildOptions = Pick<ARN, Exclude<keyof ARN, "partition">> & {
|
|
13
|
-
|
|
14
|
-
};
|
|
15
|
-
|
|
16
|
-
export declare const build: (arnObject: buildOptions) => string;
|
|
17
|
-
export {};
|
|
1
|
+
export interface ARN {
|
|
2
|
+
partition: string;
|
|
3
|
+
service: string;
|
|
4
|
+
region: string;
|
|
5
|
+
accountId: string;
|
|
6
|
+
resource: string;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export declare const validate: (str: any) => boolean;
|
|
10
|
+
|
|
11
|
+
export declare const parse: (arn: string) => ARN;
|
|
12
|
+
declare type buildOptions = Pick<ARN, Exclude<keyof ARN, "partition">> & {
|
|
13
|
+
partition?: string;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
export declare const build: (arnObject: buildOptions) => string;
|
|
17
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/util-arn-parser",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.170.0",
|
|
4
4
|
"description": "A parser to Amazon Resource Names",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
9
9
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
10
10
|
"build:es": "tsc -p tsconfig.es.json",
|
|
11
|
+
"build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
|
|
11
12
|
"build:types": "tsc -p tsconfig.types.json",
|
|
12
13
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
13
14
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
|
|
@@ -25,7 +26,7 @@
|
|
|
25
26
|
"@tsconfig/recommended": "1.0.1",
|
|
26
27
|
"@types/node": "^10.0.0",
|
|
27
28
|
"concurrently": "7.0.0",
|
|
28
|
-
"downlevel-dts": "0.
|
|
29
|
+
"downlevel-dts": "0.10.1",
|
|
29
30
|
"rimraf": "3.0.2",
|
|
30
31
|
"typedoc": "0.19.2",
|
|
31
32
|
"typescript": "~4.6.2"
|