@argos-ci/core 5.2.2-alpha.0 → 5.3.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/dist/index.d.mts +0 -1
- package/dist/index.mjs +1 -4
- package/package.json +4 -4
package/dist/index.d.mts
CHANGED
package/dist/index.mjs
CHANGED
|
@@ -996,10 +996,7 @@ async function uploadFile(input) {
|
|
|
996
996
|
const file = await readFile(input.path);
|
|
997
997
|
const response = await fetch(input.url, {
|
|
998
998
|
method: "PUT",
|
|
999
|
-
headers: {
|
|
1000
|
-
"Content-Type": input.contentType,
|
|
1001
|
-
"Content-Length": file.length.toString()
|
|
1002
|
-
},
|
|
999
|
+
headers: { "Content-Type": input.contentType },
|
|
1003
1000
|
signal: AbortSignal.timeout(3e4),
|
|
1004
1001
|
body: new Uint8Array(file)
|
|
1005
1002
|
});
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@argos-ci/core",
|
|
3
3
|
"description": "Node.js SDK for visual testing with Argos.",
|
|
4
|
-
"version": "5.
|
|
4
|
+
"version": "5.3.1",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
7
7
|
".": {
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
"access": "public"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@argos-ci/api-client": "0.
|
|
43
|
-
"@argos-ci/util": "3.4.
|
|
42
|
+
"@argos-ci/api-client": "0.19.0",
|
|
43
|
+
"@argos-ci/util": "3.4.0",
|
|
44
44
|
"convict": "^6.2.5",
|
|
45
45
|
"debug": "^4.4.3",
|
|
46
46
|
"fast-glob": "^3.3.3",
|
|
@@ -67,5 +67,5 @@
|
|
|
67
67
|
"lint": "eslint .",
|
|
68
68
|
"test": "vitest"
|
|
69
69
|
},
|
|
70
|
-
"gitHead": "
|
|
70
|
+
"gitHead": "42a0f0da3b0ebae3e86f01a07cfdf5c320057f00"
|
|
71
71
|
}
|