@lwc/errors
Advanced tools
@@ -23,2 +23,6 @@ import { DiagnosticLevel } from '../shared/types'; | ||
| } | ||
| export declare class CompilerAggregateError extends AggregateError { | ||
| readonly errors: CompilerError[]; | ||
| constructor(errors: CompilerError[], message?: string); | ||
| } | ||
| /** | ||
@@ -25,0 +29,0 @@ * Extracts an error code from the given error. |
@@ -79,2 +79,8 @@ /** | ||
| } | ||
| class CompilerAggregateError extends AggregateError { | ||
| constructor(errors, message) { | ||
| super(errors, message); | ||
| this.errors = errors; | ||
| } | ||
| } | ||
| /** | ||
@@ -1503,2 +1509,3 @@ * Extracts an error code from the given error. | ||
| exports.CompilerAggregateError = CompilerAggregateError; | ||
| exports.CompilerError = CompilerError; | ||
@@ -1520,3 +1527,3 @@ exports.CompilerValidationErrors = CompilerValidationErrors; | ||
| exports.normalizeToDiagnostic = normalizeToDiagnostic; | ||
| /** version: 8.24.0 */ | ||
| /** version: 8.25.0 */ | ||
| //# sourceMappingURL=index.cjs.js.map |
+1
-0
| export * from './compiler/errors'; | ||
| export * from './shared/types'; | ||
| export * from './compiler/instrumentation'; | ||
| export { CompilerAggregateError } from './compiler/utils'; | ||
| //# sourceMappingURL=index.d.ts.map |
+8
-2
@@ -75,2 +75,8 @@ /** | ||
| } | ||
| class CompilerAggregateError extends AggregateError { | ||
| constructor(errors, message) { | ||
| super(errors, message); | ||
| this.errors = errors; | ||
| } | ||
| } | ||
| /** | ||
@@ -1499,4 +1505,4 @@ * Extracts an error code from the given error. | ||
| export { CompilerError, CompilerMetrics, CompilerValidationErrors, DecoratorErrors, DiagnosticLevel, GENERIC_COMPILER_ERROR, LWCClassErrors, ModuleResolutionErrors, ParserDiagnostics, SsrCompilerErrors, TemplateErrors, TransformerErrors, generateCompilerDiagnostic, generateCompilerError, generateErrorMessage, invariant, normalizeToCompilerError, normalizeToDiagnostic }; | ||
| /** version: 8.24.0 */ | ||
| export { CompilerAggregateError, CompilerError, CompilerMetrics, CompilerValidationErrors, DecoratorErrors, DiagnosticLevel, GENERIC_COMPILER_ERROR, LWCClassErrors, ModuleResolutionErrors, ParserDiagnostics, SsrCompilerErrors, TemplateErrors, TransformerErrors, generateCompilerDiagnostic, generateCompilerError, generateErrorMessage, invariant, normalizeToCompilerError, normalizeToDiagnostic }; | ||
| /** version: 8.25.0 */ | ||
| //# sourceMappingURL=index.js.map |
+1
-1
@@ -7,3 +7,3 @@ { | ||
| "name": "@lwc/errors", | ||
| "version": "8.24.0", | ||
| "version": "8.25.0", | ||
| "description": "LWC Error Utilities", | ||
@@ -10,0 +10,0 @@ "keywords": [ |
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Unidentified License
LicenseSomething that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Unidentified License
LicenseSomething that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
178258
0.35%4338
0.42%