@lwc/errors
Advanced tools
Comparing version 3.1.3 to 4.0.0-alpha.0
@@ -166,2 +166,8 @@ import { DiagnosticLevel } from '../../shared/types'; | ||
}; | ||
JS_TRANSFORMER_DECORATOR_ERROR: { | ||
code: number; | ||
message: string; | ||
level: DiagnosticLevel; | ||
url: string; | ||
}; | ||
}; |
/** | ||
* Next error code: 1198 | ||
* Next error code: 1199 | ||
*/ | ||
@@ -4,0 +4,0 @@ export * from './compiler'; |
@@ -284,2 +284,8 @@ /** | ||
}, | ||
JS_TRANSFORMER_DECORATOR_ERROR: { | ||
code: 1198, | ||
message: 'Decorators like @api, @track, and @wire are only supported in LightningElement classes. {0}', | ||
level: exports.DiagnosticLevel.Error, | ||
url: '', | ||
}, | ||
}; | ||
@@ -1361,3 +1367,3 @@ | ||
exports.normalizeToDiagnostic = normalizeToDiagnostic; | ||
/** version: 3.1.3 */ | ||
/** version: 4.0.0-alpha.0 */ | ||
//# sourceMappingURL=index.cjs.js.map |
@@ -280,2 +280,8 @@ /** | ||
}, | ||
JS_TRANSFORMER_DECORATOR_ERROR: { | ||
code: 1198, | ||
message: 'Decorators like @api, @track, and @wire are only supported in LightningElement classes. {0}', | ||
level: DiagnosticLevel.Error, | ||
url: '', | ||
}, | ||
}; | ||
@@ -1343,3 +1349,3 @@ | ||
export { CompilerError, CompilerMetrics, CompilerValidationErrors, DecoratorErrors, DiagnosticLevel, GENERIC_COMPILER_ERROR, LWCClassErrors, ModuleResolutionErrors, ParserDiagnostics, TemplateErrors, TransformerErrors, generateCompilerDiagnostic, generateCompilerError, generateErrorMessage, invariant, normalizeToCompilerError, normalizeToDiagnostic }; | ||
/** version: 3.1.3 */ | ||
/** version: 4.0.0-alpha.0 */ | ||
//# sourceMappingURL=index.js.map |
@@ -7,3 +7,3 @@ { | ||
"name": "@lwc/errors", | ||
"version": "3.1.3", | ||
"version": "4.0.0-alpha.0", | ||
"description": "LWC Error Utilities", | ||
@@ -45,2 +45,2 @@ "keywords": [ | ||
} | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
195190
3894
1