@vercel/build-utils 6.8.0 → 6.8.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/CHANGELOG.md +6 -0
- package/dist/file-fs-ref.js +1 -2
- package/dist/file-ref.js +1 -2
- package/dist/index.js +2 -4
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/file-fs-ref.js
CHANGED
@@ -8,8 +8,7 @@ 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
|
12
|
-
const semaToPreventEMFILE = new async_sema_1.default(parseInt(process.env.VERCEL_INTERNAL_FILE_FS_REF_SEMA || String(DEFAULT_SEMA), 10) || DEFAULT_SEMA);
|
11
|
+
const semaToPreventEMFILE = new async_sema_1.default(20);
|
13
12
|
class FileFsRef {
|
14
13
|
constructor({ mode = 0o100644, contentType, fsPath }) {
|
15
14
|
(0, assert_1.default)(typeof mode === 'number');
|
package/dist/file-ref.js
CHANGED
@@ -8,8 +8,7 @@ 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
|
12
|
-
const semaToDownloadFromS3 = new async_sema_1.default(parseInt(process.env.VERCEL_INTERNAL_FILE_REF_SEMA || String(DEFAULT_SEMA), 10) || DEFAULT_SEMA);
|
11
|
+
const semaToDownloadFromS3 = new async_sema_1.default(5);
|
13
12
|
class BailableError extends Error {
|
14
13
|
constructor(...args) {
|
15
14
|
super(...args);
|
package/dist/index.js
CHANGED
@@ -28355,8 +28355,7 @@ const fs_extra_1 = __importDefault(__webpack_require__(6365));
|
|
28355
28355
|
const multistream_1 = __importDefault(__webpack_require__(4106));
|
28356
28356
|
const path_1 = __importDefault(__webpack_require__(5622));
|
28357
28357
|
const async_sema_1 = __importDefault(__webpack_require__(2219));
|
28358
|
-
const
|
28359
|
-
const semaToPreventEMFILE = new async_sema_1.default(parseInt(process.env.VERCEL_INTERNAL_FILE_FS_REF_SEMA || String(DEFAULT_SEMA), 10) || DEFAULT_SEMA);
|
28358
|
+
const semaToPreventEMFILE = new async_sema_1.default(20);
|
28360
28359
|
class FileFsRef {
|
28361
28360
|
constructor({ mode = 0o100644, contentType, fsPath }) {
|
28362
28361
|
(0, assert_1.default)(typeof mode === 'number');
|
@@ -28434,8 +28433,7 @@ const node_fetch_1 = __importDefault(__webpack_require__(1596));
|
|
28434
28433
|
const multistream_1 = __importDefault(__webpack_require__(4106));
|
28435
28434
|
const async_retry_1 = __importDefault(__webpack_require__(1635));
|
28436
28435
|
const async_sema_1 = __importDefault(__webpack_require__(2219));
|
28437
|
-
const
|
28438
|
-
const semaToDownloadFromS3 = new async_sema_1.default(parseInt(process.env.VERCEL_INTERNAL_FILE_REF_SEMA || String(DEFAULT_SEMA), 10) || DEFAULT_SEMA);
|
28436
|
+
const semaToDownloadFromS3 = new async_sema_1.default(5);
|
28439
28437
|
class BailableError extends Error {
|
28440
28438
|
constructor(...args) {
|
28441
28439
|
super(...args);
|