🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

vite-plugin-import-css-sheet

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vite-plugin-import-css-sheet - npm Package Compare versions

Comparing version

to
1.0.3

4

dist/index.js

@@ -8,4 +8,4 @@ import { randomUUID as h } from "node:crypto";

$: "\\$"
}, d = (t) => new RegExp(t + `['"] *with|assert *{[(?:\r?
) ]*type: *'css'[(?:\r?
}, d = (t) => new RegExp(t + `['"] *(?:with|assert) *{[(?:\r?
) ]*type: *['"]css['"][(?:\r?
) ]*};`), i = (t) => {

@@ -12,0 +12,0 @@ let e = "";

{
"name": "vite-plugin-import-css-sheet",
"version": "1.0.2",
"version": "1.0.3",
"description": "Small plugin that enables the use of tc39/proposal-import-attributes for css files in vite.",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -17,3 +17,3 @@ import { randomUUID } from 'node:crypto';

const cssImportAssertRegex = (str: string) =>
new RegExp(str + `['"] *with|assert *{[(?:\r?\n) \t]*type: *'css'[(?:\r?\n) ]*};`);
new RegExp(str + `['"] *(?:with|assert) *{[(?:\r?\n) \t]*type: *['"]css['"][(?:\r?\n) ]*};`);

@@ -20,0 +20,0 @@ const convert = (str: string) => {

Sorry, the diff of this file is not supported yet