@netlify/build 37.1.0 → 37.2.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.
@@ -124,6 +124,20 @@ const getMetrics = (manifest) => {
124
124
  tags: { format: 'tarball' },
125
125
  });
126
126
  }
127
+ // How often tarballs depend on a non-default import map or a vendor manifest.
128
+ const bundles = manifest.bundles;
129
+ const tarball = bundles.find((bundle) => bundle.format === 'tar');
130
+ if (typeof tarball?.custom_import_map === 'boolean' && typeof tarball.vendor_manifest === 'boolean') {
131
+ metrics.push({
132
+ type: 'increment',
133
+ name: 'buildbot.build.edge_functions.tarball_resolution',
134
+ value: 1,
135
+ tags: {
136
+ custom_import_map: String(tarball.custom_import_map),
137
+ vendor_manifest: String(tarball.vendor_manifest),
138
+ },
139
+ });
140
+ }
127
141
  return metrics;
128
142
  };
129
143
  // We run this core step if at least one of the functions directories (the
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@netlify/build",
3
- "version": "37.1.0",
3
+ "version": "37.2.0",
4
4
  "description": "Netlify build module",
5
5
  "type": "module",
6
6
  "exports": "./lib/index.js",
@@ -67,7 +67,7 @@
67
67
  "@netlify/blobs": "^11.0.3",
68
68
  "@netlify/cache-utils": "^7.1.2",
69
69
  "@netlify/config": "^25.2.5",
70
- "@netlify/edge-bundler": "16.0.4",
70
+ "@netlify/edge-bundler": "16.1.0",
71
71
  "@netlify/functions-utils": "^7.1.11",
72
72
  "@netlify/git-utils": "^7.1.1",
73
73
  "@netlify/opentelemetry-utils": "^4.0.0",
@@ -137,5 +137,5 @@
137
137
  "engines": {
138
138
  "node": ">=22.12.0"
139
139
  },
140
- "gitHead": "22902a5992a5909a97bb366c88c96f6d95c18b33"
140
+ "gitHead": "59dce05fb37f296eb1e1460f3a742703a5d4efcf"
141
141
  }