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

@lwc/errors

Package Overview
Dependencies
Maintainers
11
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 0.33.27-alpha2 to 0.33.28-alpha1

8

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

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

url: ""
}
},
};

@@ -131,8 +131,2 @@ 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: ""
},
};

@@ -139,0 +133,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: 1116
* Next error code: 1115
*/

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

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

const location = getLocation(origin, diagnostic);
return new CompilerError(code, message, filename, location);
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;
}

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

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

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

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

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

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

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

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

},
"gitHead": "4db02fa3977676731a3f5694cc5f72c660b14893"
"gitHead": "bfac2bb103bbd469c4db99c5b854058fd9cc851c"
}

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