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

vite-plugin-checker

Package Overview
Dependencies
Maintainers
1
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vite-plugin-checker - npm Package Compare versions

Comparing version 0.3.0-beta.0 to 0.3.0-beta.1

3

lib/Checker.js

@@ -11,2 +11,5 @@ "use strict";

const chokidar_1 = __importDefault(require("chokidar"));
if (!worker_threads_1.isMainThread) {
process.stdout.isTTY = true;
}
class Checker {

@@ -13,0 +16,0 @@ constructor({ name, absFilePath, createDiagnostic, build }) {

3

lib/checkers/typescript/main.js

@@ -57,2 +57,3 @@ "use strict";

// clear current error and use the newer errors
logChunk = '';
currErr = null;

@@ -76,3 +77,3 @@ return;

}
console.log(logChunk + (errorCount ? os_1.default.EOL : '') + diagnostic.messageText.toString());
console.log(logChunk + os_1.default.EOL + diagnostic.messageText.toString());
});

@@ -79,0 +80,0 @@ };

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

function createFrame({ source, location, }) {
const frame = code_frame_1.codeFrameColumns(source, location, {
// worker tty did not fork parent process stdout, let's make a workaround
forceColor: true,
})
const frame = code_frame_1.codeFrameColumns(source, location)
.split('\n')

@@ -79,0 +76,0 @@ .map((line) => ' ' + line)

{
"name": "vite-plugin-checker",
"version": "0.3.0-beta.0",
"version": "0.3.0-beta.1",
"description": "Vite plugin that runs TypeScript type checker on a separate process.",

@@ -31,4 +31,4 @@ "main": "lib/main.js",

"fast-glob": "^3.2.7",
"lodash.debounce": "^4.0.8",
"lodash.pick": "^4.4.0",
"lodash.debounce": "^4.0.8",
"npm-run-path": "^4.0.1",

@@ -40,3 +40,4 @@ "strip-ansi": "^6.0.0",

"vscode-languageserver-textdocument": "^1.0.1",
"vscode-uri": "^3.0.2"
"vscode-uri": "^3.0.2",
"commander": "^8.0.0"
},

@@ -47,6 +48,5 @@ "peerDependencies": {

"devDependencies": {
"@types/eslint": "^7.2.14",
"@types/lodash.debounce": "^4.0.6",
"@types/lodash.pick": "^4.4.6",
"@types/lodash.debounce": "^4.0.6",
"@types/eslint": "^7.2.14",
"commander": "^8.0.0",
"vls": "^0.7.2"

@@ -53,0 +53,0 @@ },

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