@lwrjs/diagnostics 0.13.0-alpha.1 → 0.13.0-alpha.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.
@@ -56,9 +56,9 @@ var unresolvable = (0, import_core_diagnostics.createDiagnosticsCategory)({
56
56
  category: "lwrUnresolvable/module",
57
57
  message: `404: Could not find module with specifier "${moduleSpecifier}" and signature "${signature}"`
58
58
  }),
59
- RESOURCE: (resourceSpecifier) => ({
59
+ RESOURCE: (resourceSpecifier, resourceVersion) => ({
60
60
  category: "lwrUnresolvable/resource",
61
- message: `404: Could not find resource with specifier "${resourceSpecifier}"`
61
+ message: `404: Could not find resource with specifier "${resourceSpecifier}" and version "${resourceVersion}"`
62
62
  }),
63
63
  VIEW: (viewPath) => ({
64
64
  category: "lwrUnresolvable/view",
@@ -249,7 +249,7 @@ export declare const descriptions: {
249
249
  advice: import("../types.js").DiagnosticAdvice;
250
250
  message: string;
251
251
  };
252
- RESOURCE: (resourceSpecifier: string) => Omit<{
252
+ RESOURCE: (resourceSpecifier: string, resourceVersion: any) => Omit<{
253
253
  category: "lwrUnresolvable/resource";
254
254
  message: string;
255
255
  }, "message" | "advice"> & {
@@ -48,7 +48,7 @@ export declare const unresolvable: {
48
48
  advice: import("../types.js").DiagnosticAdvice;
49
49
  message: string;
50
50
  };
51
- RESOURCE: (resourceSpecifier: string) => Omit<{
51
+ RESOURCE: (resourceSpecifier: string, resourceVersion: any) => Omit<{
52
52
  category: "lwrUnresolvable/resource";
53
53
  message: string;
54
54
  }, "message" | "advice"> & {
@@ -28,9 +28,9 @@ export const unresolvable = createDiagnosticsCategory({
28
28
  category: 'lwrUnresolvable/module',
29
29
  message: `404: Could not find module with specifier "${moduleSpecifier}" and signature "${signature}"`,
30
30
  }),
31
- RESOURCE: (resourceSpecifier) => ({
31
+ RESOURCE: (resourceSpecifier, resourceVersion) => ({
32
32
  category: 'lwrUnresolvable/resource',
33
- message: `404: Could not find resource with specifier "${resourceSpecifier}"`,
33
+ message: `404: Could not find resource with specifier "${resourceSpecifier}" and version "${resourceVersion}"`,
34
34
  }),
35
35
  VIEW: (viewPath) => ({
36
36
  category: 'lwrUnresolvable/view',
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
- "version": "0.13.0-alpha.1",
7
+ "version": "0.13.0-alpha.11",
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.13.0-alpha.1",
38
+ "@lwrjs/types": "0.13.0-alpha.11",
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": "1b7147d4db0dbc363f36529cd65374325f940c40"
49
+ "gitHead": "59bd49a87178069c588b68eace0b092c00dd8bb6"
50
50
  }