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

rollup-plugin-webpack-stats

Package Overview
Dependencies
Maintainers
3
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rollup-plugin-webpack-stats - npm Package Compare versions

Comparing version 0.4.0 to 0.4.1

7

dist/index.d.ts
import { Plugin, OutputOptions } from 'rollup';
import type { ExcludeFilepathOption } from './types';
import { BundleTransformOptions } from './transform';
import type { BundleTransformOptions } from './transform';
export { bundleToWebpackStats } from './transform';

@@ -14,9 +13,9 @@ interface WebpackStatsOptions extends BundleTransformOptions {

*/
excludeAssets?: ExcludeFilepathOption;
excludeAssets?: BundleTransformOptions['excludeAssets'];
/**
* Exclude matching modules
*/
excludeModules?: ExcludeFilepathOption;
excludeModules?: BundleTransformOptions['excludeModules'];
}
type WebpackStatsOptionsOrBuilder = WebpackStatsOptions | ((outputOptions: OutputOptions) => WebpackStatsOptions);
export declare const webpackStats: (options?: WebpackStatsOptionsOrBuilder) => Plugin;
import type { OutputBundle } from 'rollup';
import type { ExcludeFilepathOption } from "./types";
import type { ExcludeFilepathOption } from './utils';
export type WebpackStatsFilteredAsset = {

@@ -4,0 +4,0 @@ name: string;

/// <reference types="node" />
import type { OutputChunk } from 'rollup';
import type { ExcludeFilepathOption } from './types';
/**

@@ -13,2 +12,4 @@ * Get content byte size

export declare function getChunkId(chunk: OutputChunk): string;
type ExcludeFilepathParam = string | RegExp | ((filepath: string) => boolean);
export type ExcludeFilepathOption = ExcludeFilepathParam | Array<ExcludeFilepathParam>;
/**

@@ -18,1 +19,2 @@ * Check if filepath should be excluded based on a config

export declare function checkExcludeFilepath(filepath: string, option?: ExcludeFilepathOption): boolean;
export {};
{
"name": "rollup-plugin-webpack-stats",
"version": "0.4.0",
"version": "0.4.1",
"private": false,

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

Sorry, the diff of this file is not supported yet

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