@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 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
@@ -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 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);
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 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);
11
+ const semaToDownloadFromS3 = new async_sema_1.default(5);
13
12
  class BailableError extends Error {
14
13
  constructor(...args) {
15
14
  super(...args);
@@ -14,7 +14,7 @@ function getOptions() {
14
14
  major: 16,
15
15
  range: '16.x',
16
16
  runtime: 'nodejs16.x',
17
- discontinueDate: new Date('2023-08-15'),
17
+ discontinueDate: new Date('2024-02-06'),
18
18
  },
19
19
  {
20
20
  major: 14,
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 DEFAULT_SEMA = 20;
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 DEFAULT_SEMA = 5;
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('2023-08-15'),
28761
+ discontinueDate: new Date('2024-02-06'),
28764
28762
  },
28765
28763
  {
28766
28764
  major: 14,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/build-utils",
3
- "version": "6.8.0",
3
+ "version": "6.8.2",
4
4
  "license": "Apache-2.0",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.js",