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

esbuild-css-modules-plugin

Package Overview
Dependencies
Maintainers
1
Versions
82
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 2.1.5 to 2.1.6

20

index.d.ts
import type { Plugin } from 'esbuild';
declare type GenerateScopedNameFunction = (
name: string,
filename: string,
css: string
) => string;
declare type GenerateScopedNameFunction = (name: string, filename: string, css: string) => string;

@@ -15,2 +11,10 @@ declare type LocalsConventionFunction = (

declare class Loader {
constructor(root: string, plugins: Plugin[]);
fetch(file: string, relativeTo: string, depTrace: string): Promise<{ [key: string]: string }>;
finalSource?: string | undefined;
}
declare interface CssModulesOptions {

@@ -48,4 +52,6 @@ getJSON?(cssFilename: string, json: { [name: string]: string }, outputFilename?: string): void;

export default function CssModulesPlugin(options?: PluginOptions): Plugin;
declare function CssModulesPlugin(options?: PluginOptions): Plugin;
export = CssModulesPlugin;
declare namespace CssModulesPlugin {}
export = CssModulesPlugin;
{
"name": "esbuild-css-modules-plugin",
"version": "2.1.5",
"version": "2.1.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