@vercel/build-utils 13.12.0 → 13.12.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,11 @@
1
1
  # @vercel/build-utils
2
2
 
3
+ ## 13.12.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Switch to using smol-toml for toml parsing ([#15730](https://github.com/vercel/vercel/pull/15730))
8
+
3
9
  ## 13.12.0
4
10
 
5
11
  ### Minor Changes
@@ -33,7 +33,7 @@ __export(read_config_file_exports, {
33
33
  });
34
34
  module.exports = __toCommonJS(read_config_file_exports);
35
35
  var import_js_yaml = __toESM(require("js-yaml"));
36
- var import_toml = __toESM(require("@iarna/toml"));
36
+ var import_smol_toml = require("smol-toml");
37
37
  var import_fs_extra = require("fs-extra");
38
38
  var import_error_utils = require("@vercel/error-utils");
39
39
  var import_path = require("path");
@@ -61,7 +61,7 @@ async function readConfigFile(files) {
61
61
  if (name.endsWith(".json")) {
62
62
  return JSON.parse(str);
63
63
  } else if (name.endsWith(".toml")) {
64
- return import_toml.default.parse(str);
64
+ return (0, import_smol_toml.parse)(str);
65
65
  } else if (name.endsWith(".yaml") || name.endsWith(".yml")) {
66
66
  return import_js_yaml.default.safeLoad(str, { filename: name });
67
67
  }