@vercel/hydrogen 3.0.0 → 4.0.1

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 +8 -2
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -40,7 +40,8 @@ var build = async ({
40
40
  workPath,
41
41
  config,
42
42
  meta = {},
43
- service
43
+ service,
44
+ span
44
45
  }) => {
45
46
  const { installCommand, buildCommand } = config;
46
47
  await (0, import_build_utils.download)(files, workPath, meta);
@@ -170,7 +171,12 @@ var build = async ({
170
171
  regions: (() => {
171
172
  try {
172
173
  const project = new import_ts_morph.Project();
173
- const config2 = (0, import_static_config.getConfig)(project, edgeFunctionFiles["index.js"].fsPath);
174
+ const config2 = (0, import_static_config.getConfig)(
175
+ project,
176
+ edgeFunctionFiles["index.js"].fsPath,
177
+ void 0,
178
+ span
179
+ );
174
180
  return config2?.regions;
175
181
  } catch {
176
182
  return void 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/hydrogen",
3
- "version": "3.0.0",
3
+ "version": "4.0.1",
4
4
  "license": "Apache-2.0",
5
5
  "main": "./dist/index.js",
6
6
  "homepage": "https://vercel.com/docs",
@@ -15,17 +15,17 @@
15
15
  ],
16
16
  "dependencies": {
17
17
  "ts-morph": "12.0.0",
18
- "@vercel/static-config": "3.4.1"
18
+ "@vercel/static-config": "3.4.2"
19
19
  },
20
20
  "peerDependencies": {
21
- "@vercel/build-utils": "14.4.0"
21
+ "@vercel/build-utils": "14.5.0"
22
22
  },
23
23
  "devDependencies": {
24
24
  "@types/node": "20.11.0",
25
25
  "execa": "3.2.0",
26
26
  "fs-extra": "11.1.0",
27
27
  "vitest": "4.1.10",
28
- "@vercel/build-utils": "14.4.0"
28
+ "@vercel/build-utils": "14.5.0"
29
29
  },
30
30
  "scripts": {
31
31
  "build": "node ../../utils/build-builder.mjs",