@lwrjs/diagnostics 0.15.0 → 0.15.2
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.
|
@@ -31,5 +31,9 @@ var application = (0, import_core_diagnostics.createDiagnosticsCategory)({
|
|
|
31
31
|
ROUTE_HANDLER_ERROR: (route, error) => ({
|
|
32
32
|
category: "lwrApplication/routeHandler",
|
|
33
33
|
message: `An error occurred executing route handler for "${route}": "${error}"`
|
|
34
|
+
}),
|
|
35
|
+
SSR_ERROR: (specifier, error) => ({
|
|
36
|
+
category: "lwrApplication/ssr",
|
|
37
|
+
message: `Server-side rendering for "${specifier}" failed: ${error}`
|
|
34
38
|
})
|
|
35
39
|
});
|
|
@@ -3,5 +3,9 @@ export declare const application: import("../types.js").OutputMessagesCategory<{
|
|
|
3
3
|
category: "lwrApplication/routeHandler";
|
|
4
4
|
message: string;
|
|
5
5
|
};
|
|
6
|
+
SSR_ERROR: (specifier: string, error: string) => {
|
|
7
|
+
category: "lwrApplication/ssr";
|
|
8
|
+
message: string;
|
|
9
|
+
};
|
|
6
10
|
}>;
|
|
7
11
|
//# sourceMappingURL=application.d.ts.map
|
|
@@ -4,5 +4,9 @@ export const application = createDiagnosticsCategory({
|
|
|
4
4
|
category: 'lwrApplication/routeHandler',
|
|
5
5
|
message: `An error occurred executing route handler for "${route}": "${error}"`,
|
|
6
6
|
}),
|
|
7
|
+
SSR_ERROR: (specifier, error) => ({
|
|
8
|
+
category: 'lwrApplication/ssr',
|
|
9
|
+
message: `Server-side rendering for "${specifier}" failed: ${error}`,
|
|
10
|
+
}),
|
|
7
11
|
});
|
|
8
12
|
//# sourceMappingURL=application.js.map
|
|
@@ -227,6 +227,10 @@ export declare const descriptions: {
|
|
|
227
227
|
category: "lwrApplication/routeHandler";
|
|
228
228
|
message: string;
|
|
229
229
|
};
|
|
230
|
+
SSR_ERROR: (specifier: string, error: string) => {
|
|
231
|
+
category: "lwrApplication/ssr";
|
|
232
|
+
message: string;
|
|
233
|
+
};
|
|
230
234
|
}>;
|
|
231
235
|
};
|
|
232
236
|
export * from './core-diagnostics.js';
|
package/build/es/types.d.ts
CHANGED
|
@@ -140,7 +140,7 @@ export type DiagnosticLwrConfigCategory = 'lwrConfig/invalidJson' | 'lwrConfig/i
|
|
|
140
140
|
export type DiagnosticLwrUnresolvableCategory = 'lwrUnresolvable/asset' | 'lwrUnresolvable/module' | 'lwrUnresolvable/bundle' | 'lwrUnresolvable/label' | 'lwrUnresolvable/routes' | 'lwrUnresolvable/resource' | 'lwrUnresolvable/view' | 'lwrUnresolvable/ssr' | 'lwrUnresolvable/invalid';
|
|
141
141
|
export type DiagnosticCompiler = 'compile/umd_transform';
|
|
142
142
|
export type DiagnosticLwrServer = 'lwrServer/warmupError' | 'lwrServer/invalidMode' | 'lwrServer/fatal';
|
|
143
|
-
export type DiagnosticLwrApplication = 'lwrApplication/routeHandler';
|
|
143
|
+
export type DiagnosticLwrApplication = 'lwrApplication/routeHandler' | 'lwrApplication/ssr';
|
|
144
144
|
export type InputMessagesFactory = (...params: any[]) => Partial<DiagnosticDescription>;
|
|
145
145
|
export type InputMessagesCategory = {
|
|
146
146
|
[key: string]: Partial<DiagnosticDescription> | InputMessagesFactory;
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
7
|
-
"version": "0.15.
|
|
7
|
+
"version": "0.15.2",
|
|
8
8
|
"homepage": "https://developer.salesforce.com/docs/platform/lwr/overview",
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"test": "jest"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@lwrjs/types": "0.15.
|
|
38
|
+
"@lwrjs/types": "0.15.2",
|
|
39
39
|
"jest": "^26.6.3",
|
|
40
40
|
"ts-jest": "^26.5.6",
|
|
41
41
|
"typescript": "^4.9.5"
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"volta": {
|
|
47
47
|
"extends": "../../../package.json"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "8cbcb6a273286c213406b270d9e480d62c1ea917"
|
|
50
50
|
}
|