@vercel/build-utils 14.19.0 → 14.20.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @vercel/build-utils
2
2
 
3
+ ## 14.20.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 42cc083: Parse `yarn.lock` with js-yaml `safeLoad` so custom JS tags like `!!js/function` are rejected
8
+
9
+ ## 14.20.0
10
+
11
+ ### Minor Changes
12
+
13
+ - e041037: Add an optional `service` to function-target `schedules`, naming the service that owns `function`. `function` is then the path within that service. `vercel dev` does not run service-hosted schedule targets yet.
14
+
3
15
  ## 14.19.0
4
16
 
5
17
  ### Minor Changes
@@ -380,7 +380,7 @@ function parseYarnLockVersion(yarnLock) {
380
380
  return 1;
381
381
  }
382
382
  try {
383
- const metadata = import_js_yaml.default.load(yarnLock).__metadata;
383
+ const metadata = import_js_yaml.default.safeLoad(yarnLock).__metadata;
384
384
  return Number(metadata.version);
385
385
  } catch {
386
386
  return void 0;