@netlify/build 29.41.4 → 29.41.5
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/core/config.d.ts +1 -1
- package/lib/error/parse/plugin.d.ts +1 -1
- package/lib/log/logger.d.ts +2 -2
- package/lib/log/messages/plugins.d.ts +1 -1
- package/lib/plugins/compatibility.d.ts +5 -5
- package/lib/plugins/list.d.ts +4 -4
- package/lib/plugins/manifest/main.d.ts +2 -2
- package/lib/plugins/options.d.ts +1 -1
- package/lib/plugins/plugin_conditions.d.ts +1 -1
- package/lib/plugins_core/edge_functions/index.d.ts +1 -1
- package/lib/utils/json.d.ts +1 -1
- package/lib/utils/omit.d.ts +1 -1
- package/lib/utils/package.d.ts +1 -1
- package/lib/utils/package.js +1 -1
- package/package.json +10 -10
package/lib/core/config.d.ts
CHANGED
|
@@ -44,7 +44,7 @@ export function saveUpdatedConfig({ configMutations, buildDir, repositoryRoot, c
|
|
|
44
44
|
buildDir: any;
|
|
45
45
|
repositoryRoot: any;
|
|
46
46
|
configPath?: string | undefined;
|
|
47
|
-
outputConfigPath?:
|
|
47
|
+
outputConfigPath?: string | undefined;
|
|
48
48
|
headersPath: any;
|
|
49
49
|
redirectsPath: any;
|
|
50
50
|
logs: any;
|
package/lib/log/logger.d.ts
CHANGED
|
@@ -10,8 +10,8 @@ export declare const getBufferLogs: (config: {
|
|
|
10
10
|
buffer?: boolean;
|
|
11
11
|
}) => BufferedLogs | undefined;
|
|
12
12
|
export declare const log: (logs: BufferedLogs | undefined, string: string, config?: {
|
|
13
|
-
indent?: boolean
|
|
14
|
-
color?: (
|
|
13
|
+
indent?: boolean;
|
|
14
|
+
color?: (string: string) => string;
|
|
15
15
|
}) => void;
|
|
16
16
|
export declare const logError: (logs: BufferedLogs | undefined, string: string, opts?: {}) => void;
|
|
17
17
|
export declare const logWarning: (logs: BufferedLogs | undefined, string: string, opts?: {}) => void;
|
|
@@ -4,7 +4,7 @@ export declare const logPluginsFetchError: (logs: BufferedLogs | undefined, mess
|
|
|
4
4
|
export declare const logPluginsList: ({ pluginsList, debug, logs, }: {
|
|
5
5
|
pluginsList: PluginList;
|
|
6
6
|
logs: BufferedLogs | undefined;
|
|
7
|
-
debug?: boolean
|
|
7
|
+
debug?: boolean;
|
|
8
8
|
}) => void;
|
|
9
9
|
export declare const logFailPluginWarning: (methodName: any, event: any) => void;
|
|
10
10
|
export declare const logDeploySuccess: (logs?: BufferedLogs) => void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PackageJson } from 'read-
|
|
1
|
+
import { PackageJson } from 'read-package-up';
|
|
2
2
|
import { FeatureFlags } from '../core/feature_flags.js';
|
|
3
3
|
import { SystemLogger } from '../plugins_core/types.js';
|
|
4
4
|
import { PluginVersion } from './list.js';
|
|
@@ -18,13 +18,13 @@ export declare const getExpectedVersion: ({ versions, nodeVersion, packageJson,
|
|
|
18
18
|
/** The package.json of the repository */
|
|
19
19
|
packageJson: PackageJson;
|
|
20
20
|
packageName: string;
|
|
21
|
-
packagePath?: string
|
|
21
|
+
packagePath?: string;
|
|
22
22
|
buildDir: string;
|
|
23
23
|
nodeVersion: string;
|
|
24
|
-
pinnedVersion?: string
|
|
25
|
-
featureFlags?: FeatureFlags
|
|
24
|
+
pinnedVersion?: string;
|
|
25
|
+
featureFlags?: FeatureFlags;
|
|
26
26
|
systemLog: SystemLogger;
|
|
27
|
-
authoritative?: boolean
|
|
27
|
+
authoritative?: boolean;
|
|
28
28
|
}) => Promise<{
|
|
29
29
|
version: string;
|
|
30
30
|
compatWarning: string;
|
package/lib/plugins/list.d.ts
CHANGED
|
@@ -25,8 +25,8 @@ export type PluginVersion = {
|
|
|
25
25
|
*/
|
|
26
26
|
export declare const getPluginsList: ({ debug, logs, testOpts: { pluginsListUrl }, }: {
|
|
27
27
|
testOpts?: {
|
|
28
|
-
pluginsListUrl?: string
|
|
29
|
-
}
|
|
30
|
-
debug?: boolean
|
|
31
|
-
logs?: BufferedLogs
|
|
28
|
+
pluginsListUrl?: string;
|
|
29
|
+
};
|
|
30
|
+
debug?: boolean;
|
|
31
|
+
logs?: BufferedLogs;
|
|
32
32
|
}) => Promise<PluginList>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PackageJson } from 'read-
|
|
1
|
+
import { PackageJson } from 'read-package-up';
|
|
2
2
|
/**
|
|
3
3
|
* Load plugin's `manifest.yml`
|
|
4
4
|
*/
|
|
@@ -9,7 +9,7 @@ export declare const useManifest: ({ packageName, loadedFrom, origin, inputs, }:
|
|
|
9
9
|
inputs?: unknown;
|
|
10
10
|
}, { pluginDir, packageDir, pluginPackageJson, pluginPackageJson: { version }, debug, }: {
|
|
11
11
|
pluginDir: string;
|
|
12
|
-
packageDir?: string
|
|
12
|
+
packageDir?: string;
|
|
13
13
|
pluginPackageJson: PackageJson;
|
|
14
14
|
debug: boolean;
|
|
15
15
|
}) => Promise<{
|
package/lib/plugins/options.d.ts
CHANGED
package/lib/utils/json.d.ts
CHANGED
package/lib/utils/omit.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const omit: <T extends object>(obj: T, keys:
|
|
1
|
+
export declare const omit: <T extends object>(obj: T, keys: Array<keyof T>) => Partial<T>;
|
package/lib/utils/package.d.ts
CHANGED
package/lib/utils/package.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@netlify/build",
|
|
3
|
-
"version": "29.41.
|
|
3
|
+
"version": "29.41.5",
|
|
4
4
|
"description": "Netlify build module",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": "./lib/index.js",
|
|
@@ -71,12 +71,12 @@
|
|
|
71
71
|
"@netlify/blobs": "^7.3.0",
|
|
72
72
|
"@netlify/cache-utils": "^5.1.5",
|
|
73
73
|
"@netlify/config": "^20.12.5",
|
|
74
|
-
"@netlify/edge-bundler": "12.0.
|
|
75
|
-
"@netlify/framework-info": "^9.8.
|
|
74
|
+
"@netlify/edge-bundler": "12.0.1",
|
|
75
|
+
"@netlify/framework-info": "^9.8.12",
|
|
76
76
|
"@netlify/functions-utils": "^5.2.56",
|
|
77
77
|
"@netlify/git-utils": "^5.1.1",
|
|
78
|
-
"@netlify/opentelemetry-utils": "^1.2.
|
|
79
|
-
"@netlify/plugins-list": "^6.
|
|
78
|
+
"@netlify/opentelemetry-utils": "^1.2.1",
|
|
79
|
+
"@netlify/plugins-list": "^6.78.0",
|
|
80
80
|
"@netlify/run-utils": "^5.1.1",
|
|
81
81
|
"@netlify/zip-it-and-ship-it": "9.32.2",
|
|
82
82
|
"@sindresorhus/slugify": "^2.0.0",
|
|
@@ -111,7 +111,7 @@
|
|
|
111
111
|
"pkg-dir": "^7.0.0",
|
|
112
112
|
"pretty-ms": "^8.0.0",
|
|
113
113
|
"ps-list": "^8.0.0",
|
|
114
|
-
"read-
|
|
114
|
+
"read-package-up": "^11.0.0",
|
|
115
115
|
"readdirp": "^3.4.0",
|
|
116
116
|
"resolve": "^2.0.0-next.1",
|
|
117
117
|
"rfdc": "^1.3.0",
|
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
"devDependencies": {
|
|
130
130
|
"@netlify/nock-udp": "^3.1.2",
|
|
131
131
|
"@opentelemetry/api": "~1.8.0",
|
|
132
|
-
"@opentelemetry/sdk-trace-base": "~1.
|
|
132
|
+
"@opentelemetry/sdk-trace-base": "~1.24.0",
|
|
133
133
|
"@types/node": "^14.18.53",
|
|
134
134
|
"@vitest/coverage-c8": "^0.33.0",
|
|
135
135
|
"atob": "^2.1.2",
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
"copyfiles": "^2.4.1",
|
|
139
139
|
"cpy": "^9.0.0",
|
|
140
140
|
"fast-safe-stringify": "^2.0.7",
|
|
141
|
-
"get-bin-path": "^
|
|
141
|
+
"get-bin-path": "^11.0.0",
|
|
142
142
|
"get-node": "^12.0.0",
|
|
143
143
|
"get-port": "^6.0.0",
|
|
144
144
|
"get-stream": "^6.0.0",
|
|
@@ -149,7 +149,7 @@
|
|
|
149
149
|
"process-exists": "^5.0.0",
|
|
150
150
|
"sinon": "^13.0.0",
|
|
151
151
|
"tmp-promise": "^3.0.2",
|
|
152
|
-
"tsd": "^0.
|
|
152
|
+
"tsd": "^0.31.0",
|
|
153
153
|
"vitest": "^0.34.0",
|
|
154
154
|
"yarn": "^1.22.4"
|
|
155
155
|
},
|
|
@@ -165,5 +165,5 @@
|
|
|
165
165
|
"engines": {
|
|
166
166
|
"node": "^14.16.0 || >=16.0.0"
|
|
167
167
|
},
|
|
168
|
-
"gitHead": "
|
|
168
|
+
"gitHead": "95038d0359de8abef07cb3caadd8cea0c3fb539e"
|
|
169
169
|
}
|