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

@speedy-js/code-helper-diagnostic

Package Overview
Dependencies
Maintainers
9
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@speedy-js/code-helper-diagnostic - npm Package Compare versions

Comparing version 1.4.3 to 1.4.4

lib/linter/rules/worker-import-check/index.d.ts

2

lib/diagnostic/diagnostic.js

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

yield this.runBundle();
const result = this.diagnosticWithoutBundle(level);
const result = yield this.diagnosticWithoutBundle(level);
if (this.errors.length > 0) {

@@ -179,0 +179,0 @@ this.logger.info(`Diagnosis completed, found ${this.print.red(this.errors.length)} problems:\n`);

@@ -6,3 +6,4 @@ "use strict";

const no_same_name_with_type_import_1 = require("./no-same-name-with-type-import");
exports.rules = [duplicate_package_1.rule, no_same_name_with_type_import_1.rule];
const worker_import_check_1 = require("./worker-import-check");
exports.rules = [duplicate_package_1.rule, no_same_name_with_type_import_1.rule, worker_import_check_1.rule];
//# sourceMappingURL=index.js.map

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

const end = doc.positionAt(token.start + token.name.length);
if (!start || !end) {
if (!start) {
continue;

@@ -89,3 +89,3 @@ }

document: doc,
range: { start, end },
range: { start, end: end !== null && end !== void 0 ? end : start },
replace: error,

@@ -92,0 +92,0 @@ message: "In a file containing an 'import' statement, there is not allowed to declare a value with the same name in the top-level scope.",

{
"name": "@speedy-js/code-helper-diagnostic",
"version": "1.4.3",
"version": "1.4.4",
"description": "",

@@ -20,3 +20,3 @@ "keywords": [],

"@babel/traverse": "7.18.13",
"@speedy-js/speedy-utils": "0.14.1-alpha.3",
"@speedy-js/speedy-utils": "0.14.1-alpha.4",
"lines-and-columns": "2.0.3",

@@ -27,9 +27,9 @@ "look-it-up": "2.1.0"

"@speedy-js/config": "0.8.0-3",
"@speedy-js/code-helper-types": "1.3.3",
"@speedy-js/code-helper-types": "1.3.4",
"@speedy-js/esbuild": "0.14.28-speedy-5",
"@speedy-js/eslint-config": "0.0.1",
"@speedy-js/speedy-config-loader": "0.14.1-alpha.3",
"@speedy-js/speedy-error": "0.14.1-alpha.3",
"@speedy-js/speedy-logger": "0.14.1-alpha.3",
"@speedy-js/speedy-types": "0.14.1-alpha.3",
"@speedy-js/speedy-config-loader": "0.14.1-alpha.4",
"@speedy-js/speedy-error": "0.14.1-alpha.4",
"@speedy-js/speedy-logger": "0.14.1-alpha.4",
"@speedy-js/speedy-types": "0.14.1-alpha.4",
"@speedy-js/test-toolkit": "0.9.2-alpha.2",

@@ -47,3 +47,3 @@ "@types/babel__traverse": "7.17.1",

"scripts": {
"build": "tsc -p ./tsconfig.build.json",
"build": "rm -rf tsconfig.build.tsbuildinfo && tsc -p ./tsconfig.build.json",
"watch": "npm run build -- -w",

@@ -50,0 +50,0 @@ "test": "mocha"

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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