Socket
Socket
Sign inDemoInstall

void-css

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

void-css - npm Package Compare versions

Comparing version 1.0.35 to 1.0.36

2

package.json
{
"name": "void-css",
"version": "1.0.35",
"version": "1.0.36",
"description": "A JIT & statically compiled CSS processor",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -13,5 +13,8 @@ "use strict";

name: "void-css-plugin",
resolveId(id) {
return id;
async configResolved(config) {
void config;
},
handleHotUpdate(context) {
return void context;
},
load(id) {

@@ -21,3 +24,2 @@ if (/\.vcss(?:\?import)?$/.test(id)) {

return `
var updateDynamicStyles = ${(0, runtime_1.clientDevelopment)(compiler(content), Buffer.from(id, "utf-8").toString("base64"), id)}

@@ -27,3 +29,3 @@ export default updateDynamicStyles;

}
}
},
};

@@ -30,0 +32,0 @@ return plugin;

@@ -6,23 +6,25 @@ import VoidCSS from "../../../index";

export default function viteVoidCSS(...args: Parameters<typeof VoidCSS>) {
const compiler = VoidCSS(...args);
const compiler = VoidCSS(...args);
const plugin = {
name: "void-css-plugin",
resolveId(id: string) {
return id;
},
load(id: string): any {
if (/\.vcss(?:\?import)?$/.test(id)) {
const content = fs.readFileSync(id, "utf8");
return `
const plugin = {
name: "void-css-plugin",
async configResolved(config: any) {
void config;
},
handleHotUpdate(context: any) {
return void context;
},
load(id: string): any {
if (/\.vcss(?:\?import)?$/.test(id)) {
const content = fs.readFileSync(id, "utf8");
return `
var updateDynamicStyles = ${clientDevelopment(compiler(content), Buffer.from(id, "utf-8").toString("base64"), id)}
export default updateDynamicStyles;
`;
}
}
}
return plugin;
}
},
}
return plugin;
}
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