Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@lwc/errors

Package Overview
Dependencies
Maintainers
14
Versions
787
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lwc/errors - npm Package Compare versions

Comparing version 3.1.3 to 4.0.0-alpha.0

6

dist/compiler/error-info/compiler.d.ts

@@ -166,2 +166,8 @@ import { DiagnosticLevel } from '../../shared/types';

};
JS_TRANSFORMER_DECORATOR_ERROR: {
code: number;
message: string;
level: DiagnosticLevel;
url: string;
};
};

2

dist/compiler/error-info/index.d.ts
/**
* 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc