@vercel/static-build 2.0.16 → 2.1.0

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.
Files changed (2) hide show
  1. package/dist/index.js +6 -1
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -26552,7 +26552,6 @@ async function readBuildOutputDirectory2({
26552
26552
  files: {
26553
26553
  "_middleware.js": middleware.file
26554
26554
  },
26555
- name: "middleware",
26556
26555
  regions: (() => {
26557
26556
  try {
26558
26557
  const project = new import_ts_morph.Project();
@@ -26731,6 +26730,9 @@ async function injectPlugins(detectedVersion, dir) {
26731
26730
  if (process.env.VERCEL_ANALYTICS_ID) {
26732
26731
  process.env.GATSBY_VERCEL_ANALYTICS_ID = process.env.VERCEL_ANALYTICS_ID;
26733
26732
  plugins.add("@vercel/gatsby-plugin-vercel-analytics");
26733
+ console.warn(
26734
+ "Vercel Speed Insights auto-injection is deprecated in favor of @vercel/speed-insights package. Learn more: https://vercel.link/upgrate-to-speed-insights-package"
26735
+ );
26734
26736
  }
26735
26737
  if (plugins.size === 0) {
26736
26738
  return false;
@@ -27028,6 +27030,9 @@ var import_path5 = require("path");
27028
27030
  var import_rc9 = __toESM(require_dist3());
27029
27031
  var ANALYTICS_PLUGIN_PACKAGE = "@nuxtjs/web-vitals";
27030
27032
  async function injectVercelAnalyticsPlugin(dir) {
27033
+ console.warn(
27034
+ "Vercel Speed Insights auto-injection is deprecated in favor of @vercel/speed-insights package. Learn more: https://vercel.link/upgrate-to-speed-insights-package"
27035
+ );
27031
27036
  const nuxtrcPath = (0, import_path5.join)(dir, ".nuxtrc");
27032
27037
  console.log(
27033
27038
  `Injecting Nuxt.js Speed Insights plugin "${ANALYTICS_PLUGIN_PACKAGE}" to \`${nuxtrcPath}\``
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/static-build",
3
- "version": "2.0.16",
3
+ "version": "2.1.0",
4
4
  "license": "Apache-2.0",
5
5
  "main": "./dist/index",
6
6
  "homepage": "https://vercel.com/docs/build-step",
@@ -14,7 +14,7 @@
14
14
  },
15
15
  "dependencies": {
16
16
  "@vercel/gatsby-plugin-vercel-analytics": "1.0.11",
17
- "@vercel/gatsby-plugin-vercel-builder": "2.0.14",
17
+ "@vercel/gatsby-plugin-vercel-builder": "2.0.16",
18
18
  "@vercel/static-config": "3.0.0",
19
19
  "ts-morph": "12.0.0"
20
20
  },
@@ -28,7 +28,7 @@
28
28
  "@types/node-fetch": "2.5.4",
29
29
  "@types/promise-timeout": "1.3.0",
30
30
  "@types/semver": "7.3.13",
31
- "@vercel/build-utils": "7.4.1",
31
+ "@vercel/build-utils": "7.5.1",
32
32
  "@vercel/error-utils": "2.0.2",
33
33
  "@vercel/frameworks": "2.0.6",
34
34
  "@vercel/fs-detectors": "5.1.6",