@aws-sdk/util-arn-parser 3.208.0 → 3.295.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-types/index.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ export declare const validate: (str: any) => boolean;
|
|
|
13
13
|
* Parse an ARN string into structure with partition, service, region, accountId and resource values
|
|
14
14
|
*/
|
|
15
15
|
export declare const parse: (arn: string) => ARN;
|
|
16
|
-
|
|
16
|
+
type buildOptions = Omit<ARN, "partition"> & {
|
|
17
17
|
partition?: string;
|
|
18
18
|
};
|
|
19
19
|
/**
|
|
@@ -7,7 +7,7 @@ export interface ARN {
|
|
|
7
7
|
}
|
|
8
8
|
export declare const validate: (str: any) => boolean;
|
|
9
9
|
export declare const parse: (arn: string) => ARN;
|
|
10
|
-
|
|
10
|
+
type buildOptions = Pick<ARN, Exclude<keyof ARN, "partition">> & {
|
|
11
11
|
partition?: string;
|
|
12
12
|
};
|
|
13
13
|
export declare const build: (arnObject: buildOptions) => string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/util-arn-parser",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.295.0",
|
|
4
4
|
"description": "A parser to Amazon Resource Names",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
},
|
|
21
21
|
"license": "Apache-2.0",
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"tslib": "^2.
|
|
23
|
+
"tslib": "^2.5.0"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"@tsconfig/recommended": "1.0.1",
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
"concurrently": "7.0.0",
|
|
29
29
|
"downlevel-dts": "0.10.1",
|
|
30
30
|
"rimraf": "3.0.2",
|
|
31
|
-
"typedoc": "0.
|
|
32
|
-
"typescript": "~4.
|
|
31
|
+
"typedoc": "0.23.23",
|
|
32
|
+
"typescript": "~4.9.5"
|
|
33
33
|
},
|
|
34
34
|
"types": "./dist-types/index.d.ts",
|
|
35
35
|
"engines": {
|
|
@@ -50,5 +50,8 @@
|
|
|
50
50
|
"type": "git",
|
|
51
51
|
"url": "https://github.com/aws/aws-sdk-js-v3.git",
|
|
52
52
|
"directory": "packages/util-arn-parser"
|
|
53
|
+
},
|
|
54
|
+
"typedoc": {
|
|
55
|
+
"entryPoint": "src/index.ts"
|
|
53
56
|
}
|
|
54
57
|
}
|