@lwc/errors
Advanced tools
Comparing version 0.33.28-alpha5 to 0.34.0-alpha1
@@ -114,3 +114,3 @@ "use strict"; | ||
code: 1010, | ||
message: "Failed to resolve entry for module {0}", | ||
message: "Failed to resolve entry for module \"{0}\".", | ||
level: types_1.DiagnosticLevel.Error, | ||
@@ -121,3 +121,3 @@ url: "" | ||
code: 1011, | ||
message: "{0} failed to be resolved from {1}", | ||
message: "Failed to resolve import \"{0}\" from \"{1}\". Please add \"{2}\" file to the component folder.", | ||
level: types_1.DiagnosticLevel.Error, | ||
@@ -132,2 +132,20 @@ url: "" | ||
}, | ||
FOLDER_NAME_STARTS_WITH_CAPITAL_LETTER: { | ||
code: 1116, | ||
message: "Illegal folder name \"{0}\". The folder name must start with a lowercase character: \"{1}\".", | ||
level: types_1.DiagnosticLevel.Error, | ||
url: "" | ||
}, | ||
FOLDER_AND_FILE_NAME_CASE_MISMATCH: { | ||
code: 1117, | ||
message: "Failed to resolve \"{0}\". The file name must case match the component folder name \"{1}\".", | ||
level: types_1.DiagnosticLevel.Error, | ||
url: "" | ||
}, | ||
IMPORT_AND_FILE_NAME_CASE_MISMATCH: { | ||
code: 1118, | ||
message: "Failed to resolve \"{0}\" from \"{1}\". Did you mean \"{2}\"?", | ||
level: types_1.DiagnosticLevel.Error, | ||
url: "" | ||
}, | ||
}; | ||
@@ -134,0 +152,0 @@ exports.TransformerErrors = { |
@@ -10,3 +10,3 @@ "use strict"; | ||
* TODO: W-5678919 - implement script to determine the next available error code | ||
* Next error code: 1115 | ||
* Next error code: 1118 | ||
*/ | ||
@@ -13,0 +13,0 @@ function __export(m) { |
@@ -122,2 +122,20 @@ import { DiagnosticLevel } from "../../shared/types"; | ||
}; | ||
FOLDER_NAME_STARTS_WITH_CAPITAL_LETTER: { | ||
code: number; | ||
message: string; | ||
level: DiagnosticLevel; | ||
url: string; | ||
}; | ||
FOLDER_AND_FILE_NAME_CASE_MISMATCH: { | ||
code: number; | ||
message: string; | ||
level: DiagnosticLevel; | ||
url: string; | ||
}; | ||
IMPORT_AND_FILE_NAME_CASE_MISMATCH: { | ||
code: number; | ||
message: string; | ||
level: DiagnosticLevel; | ||
url: string; | ||
}; | ||
}; | ||
@@ -124,0 +142,0 @@ export declare const TransformerErrors: { |
/** | ||
* TODO: W-5678919 - implement script to determine the next available error code | ||
* Next error code: 1115 | ||
* Next error code: 1118 | ||
*/ | ||
@@ -5,0 +5,0 @@ export * from "./compiler"; |
{ | ||
"name": "@lwc/errors", | ||
"version": "0.33.28-alpha5", | ||
"version": "0.34.0-alpha1", | ||
"description": "LWC Error Utilities", | ||
@@ -20,3 +20,3 @@ "main": "dist/commonjs/index.js", | ||
}, | ||
"gitHead": "a5afddc50e1d5b84be72139a5285212be3398497" | ||
"gitHead": "bb9ff5c00a9ee71069c82d0dc01946652719fcdf" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
83186
1916