@actions/artifact 0.5.0 → 0.6.1
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/LICENSE.md +8 -8
- package/README.md +213 -213
- package/lib/artifact-client.d.ts +10 -10
- package/lib/artifact-client.js +10 -10
- package/lib/internal/artifact-client.d.ts +41 -41
- package/lib/internal/artifact-client.js +164 -148
- package/lib/internal/artifact-client.js.map +1 -1
- package/lib/internal/config-variables.d.ts +11 -11
- package/lib/internal/config-variables.js +70 -70
- package/lib/internal/contracts.d.ts +67 -57
- package/lib/internal/contracts.js +2 -2
- package/lib/internal/download-http-client.d.ts +39 -39
- package/lib/internal/download-http-client.js +271 -274
- package/lib/internal/download-http-client.js.map +1 -1
- package/lib/internal/download-options.d.ts +7 -7
- package/lib/internal/download-options.js +2 -2
- package/lib/internal/download-response.d.ts +10 -10
- package/lib/internal/download-response.js +2 -2
- package/lib/internal/download-specification.d.ts +19 -19
- package/lib/internal/download-specification.js +60 -60
- package/lib/internal/http-manager.d.ts +12 -12
- package/lib/internal/http-manager.js +30 -30
- package/lib/internal/path-and-artifact-name-validation.d.ts +8 -0
- package/lib/internal/path-and-artifact-name-validation.js +66 -0
- package/lib/internal/path-and-artifact-name-validation.js.map +1 -0
- package/lib/internal/requestUtils.d.ts +3 -3
- package/lib/internal/requestUtils.js +74 -74
- package/lib/internal/status-reporter.d.ts +21 -22
- package/lib/internal/status-reporter.js +50 -63
- package/lib/internal/status-reporter.js.map +1 -1
- package/lib/internal/upload-gzip.d.ts +14 -14
- package/lib/internal/upload-gzip.js +107 -88
- package/lib/internal/upload-gzip.js.map +1 -1
- package/lib/internal/upload-http-client.d.ts +48 -48
- package/lib/internal/upload-http-client.js +393 -378
- package/lib/internal/upload-http-client.js.map +1 -1
- package/lib/internal/upload-options.d.ts +34 -34
- package/lib/internal/upload-options.js +2 -2
- package/lib/internal/upload-response.d.ts +19 -19
- package/lib/internal/upload-response.js +2 -2
- package/lib/internal/upload-specification.d.ts +11 -11
- package/lib/internal/upload-specification.js +87 -87
- package/lib/internal/upload-specification.js.map +1 -1
- package/lib/internal/utils.d.ts +66 -74
- package/lib/internal/utils.js +262 -303
- package/lib/internal/utils.js.map +1 -1
- package/package.json +49 -49
package/package.json
CHANGED
|
@@ -1,49 +1,49 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@actions/artifact",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"preview": true,
|
|
5
|
-
"description": "Actions artifact lib",
|
|
6
|
-
"keywords": [
|
|
7
|
-
"github",
|
|
8
|
-
"actions",
|
|
9
|
-
"artifact"
|
|
10
|
-
],
|
|
11
|
-
"homepage": "https://github.com/actions/toolkit/tree/main/packages/artifact",
|
|
12
|
-
"license": "MIT",
|
|
13
|
-
"main": "lib/artifact-client.js",
|
|
14
|
-
"types": "lib/artifact-client.d.ts",
|
|
15
|
-
"directories": {
|
|
16
|
-
"lib": "lib",
|
|
17
|
-
"test": "__tests__"
|
|
18
|
-
},
|
|
19
|
-
"files": [
|
|
20
|
-
"lib",
|
|
21
|
-
"!.DS_Store"
|
|
22
|
-
],
|
|
23
|
-
"publishConfig": {
|
|
24
|
-
"access": "public"
|
|
25
|
-
},
|
|
26
|
-
"repository": {
|
|
27
|
-
"type": "git",
|
|
28
|
-
"url": "git+https://github.com/actions/toolkit.git",
|
|
29
|
-
"directory": "packages/artifact"
|
|
30
|
-
},
|
|
31
|
-
"scripts": {
|
|
32
|
-
"audit-moderate": "npm install && npm audit --json --audit-level=moderate > audit.json",
|
|
33
|
-
"test": "echo \"Error: run tests from root\" && exit 1",
|
|
34
|
-
"tsc": "tsc"
|
|
35
|
-
},
|
|
36
|
-
"bugs": {
|
|
37
|
-
"url": "https://github.com/actions/toolkit/issues"
|
|
38
|
-
},
|
|
39
|
-
"dependencies": {
|
|
40
|
-
"@actions/core": "^1.2.6",
|
|
41
|
-
"@actions/http-client": "^1.0.
|
|
42
|
-
"
|
|
43
|
-
"tmp": "^0.
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
"typescript": "^3.8.3"
|
|
48
|
-
}
|
|
49
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@actions/artifact",
|
|
3
|
+
"version": "0.6.1",
|
|
4
|
+
"preview": true,
|
|
5
|
+
"description": "Actions artifact lib",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"github",
|
|
8
|
+
"actions",
|
|
9
|
+
"artifact"
|
|
10
|
+
],
|
|
11
|
+
"homepage": "https://github.com/actions/toolkit/tree/main/packages/artifact",
|
|
12
|
+
"license": "MIT",
|
|
13
|
+
"main": "lib/artifact-client.js",
|
|
14
|
+
"types": "lib/artifact-client.d.ts",
|
|
15
|
+
"directories": {
|
|
16
|
+
"lib": "lib",
|
|
17
|
+
"test": "__tests__"
|
|
18
|
+
},
|
|
19
|
+
"files": [
|
|
20
|
+
"lib",
|
|
21
|
+
"!.DS_Store"
|
|
22
|
+
],
|
|
23
|
+
"publishConfig": {
|
|
24
|
+
"access": "public"
|
|
25
|
+
},
|
|
26
|
+
"repository": {
|
|
27
|
+
"type": "git",
|
|
28
|
+
"url": "git+https://github.com/actions/toolkit.git",
|
|
29
|
+
"directory": "packages/artifact"
|
|
30
|
+
},
|
|
31
|
+
"scripts": {
|
|
32
|
+
"audit-moderate": "npm install && npm audit --json --audit-level=moderate > audit.json",
|
|
33
|
+
"test": "echo \"Error: run tests from root\" && exit 1",
|
|
34
|
+
"tsc": "tsc"
|
|
35
|
+
},
|
|
36
|
+
"bugs": {
|
|
37
|
+
"url": "https://github.com/actions/toolkit/issues"
|
|
38
|
+
},
|
|
39
|
+
"dependencies": {
|
|
40
|
+
"@actions/core": "^1.2.6",
|
|
41
|
+
"@actions/http-client": "^1.0.11",
|
|
42
|
+
"tmp": "^0.2.1",
|
|
43
|
+
"tmp-promise": "^3.0.2"
|
|
44
|
+
},
|
|
45
|
+
"devDependencies": {
|
|
46
|
+
"@types/tmp": "^0.2.1",
|
|
47
|
+
"typescript": "^3.8.3"
|
|
48
|
+
}
|
|
49
|
+
}
|