Socket
Socket
Sign inDemoInstall

vite-plugin-compression2

Package Overview
Dependencies
22
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.10.2 to 0.10.3

7

dist/index.d.ts

@@ -25,8 +25,3 @@ import { Plugin } from 'vite';

}
interface AlgorithmFunction<T> {
(buf: Buffer, options: CompressionOptions<T>, callback: (err: Error | null, result: Buffer) => void): any;
}
interface AlgorithmFunction<T> {
(buf: Buffer, options: CompressionOptions<T>, callback: (err: Error | null, result: Buffer) => void): any;
}
type AlgorithmFunction<T> = (buf: Buffer, options: CompressionOptions<T>, callback: (err: Error | null, result: Buffer) => void) => void;
type InternalCompressionPluginOptionsFunction<T> = {

@@ -33,0 +28,0 @@ algorithm?: AlgorithmFunction<T>;

1

dist/index.js

@@ -123,2 +123,3 @@ 'use strict';

outputOptions.forEach((opt)=>{
if (typeof opt === 'object' && !len(Object.keys(opt))) return;
outputs.push({

@@ -125,0 +126,0 @@ dest: opt.dir || conf.build.outDir

{
"name": "vite-plugin-compression2",
"version": "0.10.2",
"version": "0.10.3",
"description": "a fast vite compression plugin",

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

Sorry, the diff of this file is not supported yet

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