@vercel/build-utils 5.5.3 → 5.5.4
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/file-fs-ref.js +2 -1
- package/dist/file-ref.js +2 -1
- package/dist/index.js +4 -2
- package/package.json +2 -2
package/dist/file-fs-ref.js
CHANGED
@@ -8,7 +8,8 @@ const fs_extra_1 = __importDefault(require("fs-extra"));
|
|
8
8
|
const multistream_1 = __importDefault(require("multistream"));
|
9
9
|
const path_1 = __importDefault(require("path"));
|
10
10
|
const async_sema_1 = __importDefault(require("async-sema"));
|
11
|
-
const
|
11
|
+
const DEFAULT_SEMA = 20;
|
12
|
+
const semaToPreventEMFILE = new async_sema_1.default(parseInt(process.env.VERCEL_INTERNAL_FILE_FS_REF_SEMA || String(DEFAULT_SEMA), 10) || DEFAULT_SEMA);
|
12
13
|
class FileFsRef {
|
13
14
|
constructor({ mode = 0o100644, contentType, fsPath }) {
|
14
15
|
assert_1.default(typeof mode === 'number');
|
package/dist/file-ref.js
CHANGED
@@ -8,7 +8,8 @@ const node_fetch_1 = __importDefault(require("node-fetch"));
|
|
8
8
|
const multistream_1 = __importDefault(require("multistream"));
|
9
9
|
const async_retry_1 = __importDefault(require("async-retry"));
|
10
10
|
const async_sema_1 = __importDefault(require("async-sema"));
|
11
|
-
const
|
11
|
+
const DEFAULT_SEMA = 5;
|
12
|
+
const semaToDownloadFromS3 = new async_sema_1.default(parseInt(process.env.VERCEL_INTERNAL_FILE_REF_SEMA || String(DEFAULT_SEMA), 10) || DEFAULT_SEMA);
|
12
13
|
class BailableError extends Error {
|
13
14
|
constructor(...args) {
|
14
15
|
super(...args);
|
package/dist/index.js
CHANGED
@@ -30349,7 +30349,8 @@ const fs_extra_1 = __importDefault(__webpack_require__(5392));
|
|
30349
30349
|
const multistream_1 = __importDefault(__webpack_require__(8179));
|
30350
30350
|
const path_1 = __importDefault(__webpack_require__(5622));
|
30351
30351
|
const async_sema_1 = __importDefault(__webpack_require__(5758));
|
30352
|
-
const
|
30352
|
+
const DEFAULT_SEMA = 20;
|
30353
|
+
const semaToPreventEMFILE = new async_sema_1.default(parseInt(process.env.VERCEL_INTERNAL_FILE_FS_REF_SEMA || String(DEFAULT_SEMA), 10) || DEFAULT_SEMA);
|
30353
30354
|
class FileFsRef {
|
30354
30355
|
constructor({ mode = 0o100644, contentType, fsPath }) {
|
30355
30356
|
assert_1.default(typeof mode === 'number');
|
@@ -30427,7 +30428,8 @@ const node_fetch_1 = __importDefault(__webpack_require__(2197));
|
|
30427
30428
|
const multistream_1 = __importDefault(__webpack_require__(8179));
|
30428
30429
|
const async_retry_1 = __importDefault(__webpack_require__(3691));
|
30429
30430
|
const async_sema_1 = __importDefault(__webpack_require__(5758));
|
30430
|
-
const
|
30431
|
+
const DEFAULT_SEMA = 5;
|
30432
|
+
const semaToDownloadFromS3 = new async_sema_1.default(parseInt(process.env.VERCEL_INTERNAL_FILE_REF_SEMA || String(DEFAULT_SEMA), 10) || DEFAULT_SEMA);
|
30431
30433
|
class BailableError extends Error {
|
30432
30434
|
constructor(...args) {
|
30433
30435
|
super(...args);
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@vercel/build-utils",
|
3
|
-
"version": "5.5.
|
3
|
+
"version": "5.5.4",
|
4
4
|
"license": "MIT",
|
5
5
|
"main": "./dist/index.js",
|
6
6
|
"types": "./dist/index.d.js",
|
@@ -47,5 +47,5 @@
|
|
47
47
|
"typescript": "4.3.4",
|
48
48
|
"yazl": "2.5.1"
|
49
49
|
},
|
50
|
-
"gitHead": "
|
50
|
+
"gitHead": "45bd855250436b73bee892c53f0407e1f24bc689"
|
51
51
|
}
|