@vercel/build-utils 2.15.2-canary.2 → 2.15.2-canary.3

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.
@@ -40,6 +40,9 @@ function getDiscontinuedNodeVersions() {
40
40
  exports.getDiscontinuedNodeVersions = getDiscontinuedNodeVersions;
41
41
  async function getSupportedNodeVersion(engineRange, isAuto = false) {
42
42
  let selection = getLatestNodeVersion();
43
+ if (process.env.ENABLE_EXPERIMENTAL_NODE16 === '1') {
44
+ return { major: 16, range: '16.x', runtime: 'nodejs16.x' };
45
+ }
43
46
  if (engineRange) {
44
47
  const found = semver_1.validRange(engineRange) &&
45
48
  allOptions.some(o => {
package/dist/index.js CHANGED
@@ -26617,6 +26617,7 @@ exports.frameworks = [
26617
26617
  slug: 'nextjs',
26618
26618
  demo: 'https://nextjs-template.vercel.app',
26619
26619
  logo: 'https://raw.githubusercontent.com/vercel/vercel/main/packages/frameworks/logos/next.svg',
26620
+ darkModeLogo: 'https://raw.githubusercontent.com/vercel/vercel/main/packages/frameworks/logos/next-dark.svg',
26620
26621
  screenshot: 'https://assets.vercel.com/image/upload/v1647366075/front/import/nextjs.png',
26621
26622
  tagline: 'Next.js makes you productive with React instantly — whether you want to build static or dynamic sites.',
26622
26623
  description: 'A Next.js app and a Serverless Function API.',
@@ -34483,6 +34484,9 @@ function getDiscontinuedNodeVersions() {
34483
34484
  exports.getDiscontinuedNodeVersions = getDiscontinuedNodeVersions;
34484
34485
  async function getSupportedNodeVersion(engineRange, isAuto = false) {
34485
34486
  let selection = getLatestNodeVersion();
34487
+ if (process.env.ENABLE_EXPERIMENTAL_NODE16 === '1') {
34488
+ return { major: 16, range: '16.x', runtime: 'nodejs16.x' };
34489
+ }
34486
34490
  if (engineRange) {
34487
34491
  const found = semver_1.validRange(engineRange) &&
34488
34492
  allOptions.some(o => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/build-utils",
3
- "version": "2.15.2-canary.2",
3
+ "version": "2.15.2-canary.3",
4
4
  "license": "MIT",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.js",
@@ -30,7 +30,7 @@
30
30
  "@types/node-fetch": "^2.1.6",
31
31
  "@types/semver": "6.0.0",
32
32
  "@types/yazl": "^2.4.1",
33
- "@vercel/frameworks": "0.7.1",
33
+ "@vercel/frameworks": "0.7.2-canary.0",
34
34
  "@vercel/ncc": "0.24.0",
35
35
  "aggregate-error": "3.0.1",
36
36
  "async-retry": "1.2.3",
@@ -49,5 +49,5 @@
49
49
  "typescript": "4.3.4",
50
50
  "yazl": "2.4.3"
51
51
  },
52
- "gitHead": "b61f049f1186ccc804cea35bcf61d16583ed6ca2"
52
+ "gitHead": "698b89a2ba83d98b5fa0773142e4f5df3a2c4a9a"
53
53
  }