Socket
Socket
Sign inDemoInstall

vite-plugin-utils

Package Overview
Dependencies
0
Maintainers
2
Versions
16
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.3.1 to 0.3.2

1

constant/index.d.ts
export declare const DEFAULT_EXTENSIONS: string[];
export declare const KNOWN_SFC_EXTENSIONS: string[];
export declare const KNOWN_ASSET_TYPES: string[];
export declare const KNOWN_CSS_TYPES: string[];
export declare const multilineCommentsRE: RegExp;
export declare const singlelineCommentsRE: RegExp;

@@ -46,3 +46,15 @@ // https://github.com/vitejs/vite/blob/c3f6731bafeadd310efa4325cb8dcc639636fe48/packages/vite/src/node/constants.ts#L25-L33

];
// https://github.com/vitejs/vite/blob/29292af23fd7bc498056a7c048cac9b3bca3303d/packages/vite/src/node/optimizer/esbuildDepPlugin.ts#L20-L29
export const KNOWN_CSS_TYPES = [
'css',
// supported pre-processor types
'less',
'sass',
'scss',
'styl',
'stylus',
'pcss',
'postcss',
];
export const multilineCommentsRE = /\/\*(.|[\r\n])*?\*\//gm;
export const singlelineCommentsRE = /\/\/.*/g;

2

package.json
{
"name": "vite-plugin-utils",
"description": "A collection of opinionated Vite plugin utils",
"version": "0.3.1",
"version": "0.3.2",
"type": "module",

@@ -6,0 +6,0 @@ "main": "",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc