@vercel/client 17.3.9 → 17.4.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/continue.d.ts +0 -1
- package/dist/index.d.ts +1 -1
- package/dist/types.d.ts +0 -1
- package/dist/upload.d.ts +0 -2
- package/dist/utils/hashes.d.ts +0 -1
- package/dist/utils/hashes.js +1 -1
- package/dist/utils/readdir-recursive.d.ts +0 -1
- package/package.json +4 -5
package/dist/continue.d.ts
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ export { continueDeployment } from './continue';
|
|
|
2
2
|
export { checkDeploymentStatus } from './check-deployment-status';
|
|
3
3
|
export { getVercelIgnore, buildFileTree } from './utils/index';
|
|
4
4
|
export declare const createDeployment: (clientOptions: import("./types").VercelClientOptions, deploymentOptions?: import("./types").DeploymentOptions) => AsyncIterableIterator<{
|
|
5
|
-
type: "
|
|
5
|
+
type: import("./types").DeploymentEventType;
|
|
6
6
|
payload: any;
|
|
7
7
|
}>;
|
|
8
8
|
export * from './errors';
|
package/dist/types.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
1
|
import type { Agent } from 'http';
|
|
3
2
|
import type { Builder, BuilderFunctions, Images, ProjectSettings, Cron, ExperimentalServices, ExperimentalServiceGroups } from '@vercel/build-utils';
|
|
4
3
|
import type { Header, Route, Redirect, Rewrite } from '@vercel/routing-utils';
|
package/dist/upload.d.ts
CHANGED
package/dist/utils/hashes.d.ts
CHANGED
package/dist/utils/hashes.js
CHANGED
|
@@ -37,7 +37,7 @@ var import_crypto = require("crypto");
|
|
|
37
37
|
var import_fs_extra = __toESM(require("fs-extra"));
|
|
38
38
|
var import_async_sema = require("async-sema");
|
|
39
39
|
function hash(buf) {
|
|
40
|
-
return (0, import_crypto.createHash)("sha1").update(buf).digest("hex");
|
|
40
|
+
return (0, import_crypto.createHash)("sha1").update(Uint8Array.from(buf)).digest("hex");
|
|
41
41
|
}
|
|
42
42
|
const mapToObject = (map) => {
|
|
43
43
|
const obj = {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vercel/client",
|
|
3
|
-
"version": "17.
|
|
3
|
+
"version": "17.4.0",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"typings": "dist/index.d.ts",
|
|
6
6
|
"homepage": "https://vercel.com",
|
|
@@ -27,7 +27,6 @@
|
|
|
27
27
|
"@types/recursive-readdir": "2.2.0",
|
|
28
28
|
"@types/tar-fs": "1.16.1",
|
|
29
29
|
"jest-junit": "16.0.0",
|
|
30
|
-
"typescript": "4.9.5",
|
|
31
30
|
"vitest": "2.0.1"
|
|
32
31
|
},
|
|
33
32
|
"dependencies": {
|
|
@@ -42,9 +41,9 @@
|
|
|
42
41
|
"querystring": "^0.2.0",
|
|
43
42
|
"sleep-promise": "8.0.1",
|
|
44
43
|
"tar-fs": "1.16.3",
|
|
45
|
-
"@vercel/error-utils": "2.0
|
|
46
|
-
"@vercel/build-utils": "13.
|
|
47
|
-
"@vercel/routing-utils": "6.
|
|
44
|
+
"@vercel/error-utils": "2.1.0",
|
|
45
|
+
"@vercel/build-utils": "13.21.0",
|
|
46
|
+
"@vercel/routing-utils": "6.2.0"
|
|
48
47
|
},
|
|
49
48
|
"scripts": {
|
|
50
49
|
"build": "node ../../utils/build.mjs",
|