@vercel/build-utils 6.8.0 → 6.8.2
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 +12 -0
- package/dist/file-fs-ref.js +1 -2
- package/dist/file-ref.js +1 -2
- package/dist/fs/node-version.js +1 -1
- package/dist/index.js +3 -5
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# @vercel/build-utils
|
2
2
|
|
3
|
+
## 6.8.2
|
4
|
+
|
5
|
+
### Patch Changes
|
6
|
+
|
7
|
+
- Push back `nodejs16.x` discontinue date to `2024-02-06` ([#10209](https://github.com/vercel/vercel/pull/10209))
|
8
|
+
|
9
|
+
## 6.8.1
|
10
|
+
|
11
|
+
### Patch Changes
|
12
|
+
|
13
|
+
- Revert "[build-utils] Allow file-ref sema to be controlled through env flag" ([#10167](https://github.com/vercel/vercel/pull/10167))
|
14
|
+
|
3
15
|
## 6.8.0
|
4
16
|
|
5
17
|
### Minor Changes
|
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/fs/node-version.js
CHANGED
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);
|
@@ -28760,7 +28758,7 @@ function getOptions() {
|
|
28760
28758
|
major: 16,
|
28761
28759
|
range: '16.x',
|
28762
28760
|
runtime: 'nodejs16.x',
|
28763
|
-
discontinueDate: new Date('
|
28761
|
+
discontinueDate: new Date('2024-02-06'),
|
28764
28762
|
},
|
28765
28763
|
{
|
28766
28764
|
major: 14,
|