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

@lwc/errors

Package Overview
Dependencies
Maintainers
11
Versions
797
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 0.33.26 to 0.33.27-alpha1

8

dist/commonjs/compiler/error-info/compiler.js

@@ -103,3 +103,3 @@ "use strict";

url: ""
},
}
};

@@ -131,2 +131,8 @@ exports.ModuleResolutionErrors = {

},
ILLEGAL_ENTRY_SYNTAX: {
code: 1116,
message: "Illegal entry name \"{0}\". An entry must start with a lowercase character.",
level: types_1.DiagnosticLevel.Error,
url: ""
},
};

@@ -133,0 +139,0 @@ exports.TransformerErrors = {

2

dist/commonjs/compiler/error-info/index.js

@@ -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: 1116
*/

@@ -13,0 +13,0 @@ function __export(m) {

@@ -22,7 +22,3 @@ "use strict";

const location = getLocation(origin, diagnostic);
const compilerError = new CompilerError(code, message, filename, location);
// The stack here is misleading and doesn't point to the cause of the original error message
// TODO: W-5712064 - Enhance diagnostics with useful stack trace and source code
compilerError.stack = undefined;
return compilerError;
return new CompilerError(code, message, filename, location);
}

@@ -29,0 +25,0 @@ toDiagnostic() {

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

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

@@ -124,0 +130,0 @@ export declare const TransformerErrors: {

/**
* TODO: W-5678919 - implement script to determine the next available error code
* Next error code: 1115
* Next error code: 1116
*/

@@ -5,0 +5,0 @@ export * from "./compiler";

{
"name": "@lwc/errors",
"version": "0.33.26",
"version": "0.33.27-alpha1",
"description": "LWC Error Utilities",

@@ -20,3 +20,3 @@ "main": "dist/commonjs/index.js",

},
"gitHead": "a0aeb8fc483eda250255ac45da5f9358ffbdb517"
"gitHead": "4db02fa3977676731a3f5694cc5f72c660b14893"
}

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