@netlify/config 20.10.3 → 20.11.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.
@@ -62,5 +62,7 @@ const MUTABLE_PROPS = {
62
62
  'functions.*': { lastEvent: 'onBuild', denormalize: denormalizeFunctionsTopProps },
63
63
  'functions.*.*': { lastEvent: 'onBuild' },
64
64
  headers: { lastEvent: 'onPostBuild' },
65
+ images: { lastEvent: 'onPostBuild' },
66
+ 'images.remote_images': { lastEvent: 'onPostBuild' },
65
67
  redirects: { lastEvent: 'onPostBuild' },
66
68
  };
package/lib/utils/toml.js CHANGED
@@ -1,4 +1,4 @@
1
- import { parse as loadToml } from 'toml';
1
+ import { parse as loadToml } from '@iarna/toml';
2
2
  import tomlify from 'tomlify-j0.4';
3
3
  // Parse from TOML to JavaScript
4
4
  export const parseToml = function (configString) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@netlify/config",
3
- "version": "20.10.3",
3
+ "version": "20.11.1",
4
4
  "description": "Netlify config module",
5
5
  "type": "module",
6
6
  "exports": "./lib/index.js",
@@ -57,6 +57,7 @@
57
57
  },
58
58
  "license": "MIT",
59
59
  "dependencies": {
60
+ "@iarna/toml": "^2.2.5",
60
61
  "chalk": "^5.0.0",
61
62
  "cron-parser": "^4.1.0",
62
63
  "deepmerge": "^4.2.2",
@@ -71,13 +72,12 @@
71
72
  "js-yaml": "^4.0.0",
72
73
  "map-obj": "^5.0.0",
73
74
  "netlify": "^13.1.14",
74
- "netlify-headers-parser": "^7.1.3",
75
- "netlify-redirect-parser": "^14.2.1",
75
+ "netlify-headers-parser": "^7.1.4",
76
+ "netlify-redirect-parser": "^14.2.2",
76
77
  "node-fetch": "^3.3.1",
77
78
  "omit.js": "^2.0.2",
78
79
  "p-locate": "^6.0.0",
79
80
  "path-type": "^5.0.0",
80
- "toml": "^3.0.0",
81
81
  "tomlify-j0.4": "^3.0.0",
82
82
  "validate-npm-package-name": "^4.0.0",
83
83
  "yargs": "^17.6.0"
@@ -94,5 +94,5 @@
94
94
  "engines": {
95
95
  "node": "^14.16.0 || >=16.0.0"
96
96
  },
97
- "gitHead": "d541d710120351fba5559f6f68a7ca5990e13291"
97
+ "gitHead": "178e6b05e2befca86cbd0ecc73814f9006a129dc"
98
98
  }