Socket
Socket
Sign inDemoInstall

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.4.0 to 0.4.1

28

lib/main.js

@@ -86,19 +86,25 @@ "use strict";

resolveId(id) {
if (id === index_1.RUNTIME_PUBLIC_PATH) {
return id;
if (viteMode === 'serve') {
if (id === index_1.RUNTIME_PUBLIC_PATH) {
return id;
}
}
},
load(id) {
if (id === index_1.RUNTIME_PUBLIC_PATH) {
return index_1.runtimeCode;
if (viteMode === 'serve') {
if (id === index_1.RUNTIME_PUBLIC_PATH) {
return index_1.runtimeCode;
}
}
},
transformIndexHtml() {
return [
{
tag: 'script',
attrs: { type: 'module' },
children: `import { inject } from "${index_1.RUNTIME_PUBLIC_PATH}"; inject();`,
},
];
if (viteMode === 'serve') {
return [
{
tag: 'script',
attrs: { type: 'module' },
children: `import { inject } from "${index_1.RUNTIME_PUBLIC_PATH}"; inject();`,
},
];
}
},

@@ -105,0 +111,0 @@ buildStart: () => {

{
"name": "vite-plugin-checker",
"version": "0.4.0",
"version": "0.4.1",
"description": "Vite plugin that runs TypeScript type checker on a separate process.",

@@ -5,0 +5,0 @@ "main": "lib/main.js",

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