@netlify/config 23.0.10 → 23.0.11
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/lib/log/logger.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import figures from 'figures';
|
|
2
|
-
import { serializeObject } from '
|
|
2
|
+
import { serializeObject } from '../../lib/log/serialize.js';
|
|
3
3
|
import { THEME } from './theme.js';
|
|
4
4
|
export const logsAreBuffered = (logs) => {
|
|
5
5
|
return logs !== undefined && 'stdout' in logs;
|
package/lib/log/serialize.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export declare const serializeObject: (object: object) => string;
|
package/lib/log/serialize.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { stringify } from 'yaml';
|
|
2
2
|
export const serializeObject = function (object) {
|
|
3
|
-
return
|
|
3
|
+
return stringify(object, { sortMapEntries: true }).trimEnd();
|
|
4
4
|
};
|
|
@@ -13,7 +13,7 @@ function getPackageJSON(directory) {
|
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
15
|
export async function handleAutoInstallExtensions({ featureFlags, siteId, accountId, token, buildDir, integrations, offline, testOpts = {}, mode, extensionApiBaseUrl, debug = false, }) {
|
|
16
|
-
if (!featureFlags?.
|
|
16
|
+
if (!featureFlags?.auto_install_required_extensions_v2) {
|
|
17
17
|
return integrations;
|
|
18
18
|
}
|
|
19
19
|
if (!accountId || !siteId || !token || !buildDir || offline) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@netlify/config",
|
|
3
|
-
"version": "23.0.
|
|
3
|
+
"version": "23.0.11",
|
|
4
4
|
"description": "Netlify config module",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": "./lib/index.js",
|
|
@@ -73,17 +73,17 @@
|
|
|
73
73
|
"find-up": "^7.0.0",
|
|
74
74
|
"indent-string": "^5.0.0",
|
|
75
75
|
"is-plain-obj": "^4.0.0",
|
|
76
|
-
"js-yaml": "^4.0.0",
|
|
77
76
|
"map-obj": "^5.0.0",
|
|
78
77
|
"omit.js": "^2.0.2",
|
|
79
78
|
"p-locate": "^6.0.0",
|
|
80
79
|
"path-type": "^6.0.0",
|
|
81
80
|
"tomlify-j0.4": "^3.0.0",
|
|
82
81
|
"validate-npm-package-name": "^5.0.0",
|
|
82
|
+
"yaml": "^2.8.0",
|
|
83
83
|
"yargs": "^17.6.0"
|
|
84
84
|
},
|
|
85
85
|
"devDependencies": {
|
|
86
|
-
"@types/node": "^18.
|
|
86
|
+
"@types/node": "^18.19.111",
|
|
87
87
|
"ava": "^5.0.0",
|
|
88
88
|
"c8": "^10.0.0",
|
|
89
89
|
"has-ansi": "^6.0.0",
|
|
@@ -94,5 +94,5 @@
|
|
|
94
94
|
"engines": {
|
|
95
95
|
"node": ">=18.14.0"
|
|
96
96
|
},
|
|
97
|
-
"gitHead": "
|
|
97
|
+
"gitHead": "e663c8f1a5667e6737c689c33f7cabd6b2a98774"
|
|
98
98
|
}
|