New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

esbuild-css-modules-plugin

Package Overview
Dependencies
Maintainers
1
Versions
84
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

esbuild-css-modules-plugin - npm Package Compare versions

Comparing version 3.0.0-dev.5 to 3.0.0-dev.6

4

lib/plugin.js

@@ -74,7 +74,5 @@ import {

const contents = ${contentsPlaceholder};
if (globalThis[\`__\${digest}_injected\`]) { return; }
setTimeout(() => {
${options.inject('contents', 'digest')}
}, 0);
globalThis["__${digestPlaceholder}_injected"] = true;
};

@@ -85,3 +83,2 @@ ${isEsbuildBundleMode ? 'export { inject };' : ''}`

const inject = () => {
if (globalThis[\`__\${digest}_injected\`]) { return; }
setTimeout(() => {

@@ -107,3 +104,2 @@ if (!globalThis.document) {

}, 0);
globalThis[\`__\${digest}_injected\`] = true;
};

@@ -110,0 +106,0 @@ ${isEsbuildBundleMode ? 'export { inject };' : ''}`;

2

package.json
{
"name": "esbuild-css-modules-plugin",
"version": "3.0.0-dev.5",
"version": "3.0.0-dev.6",
"description": "A esbuild plugin to bundle css modules into js(x)/ts(x).",

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

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