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

@rollup/browser

Package Overview
Dependencies
Maintainers
4
Versions
247
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rollup/browser - npm Package Compare versions

Comparing version

to
4.43.0

76

dist/rollup.browser.d.ts

@@ -247,2 +247,3 @@ import type * as estree from 'estree';

error: (error: RollupError | string) => never;
fs: RollupFsModule;
getFileName: (fileReferenceId: string) => string;

@@ -675,2 +676,3 @@ getModuleIds: () => IterableIterator<string>;

external?: ExternalOption;
fs?: RollupFsModule;
input?: InputOption;

@@ -704,2 +706,3 @@ jsx?: false | JsxPreset | JsxOptions;

external: IsExternal;
fs: RollupFsModule;
input: string[] | Record<string, string>;

@@ -1109,1 +1112,74 @@ jsx: false | NormalizedJsxOptions;

) => MaybePromise<RollupOptions | RollupOptions[]>;
export interface RollupFsModule {
appendFile(
path: string,
data: string | Uint8Array,
options?: { encoding?: BufferEncoding | null; mode?: string | number; flag?: string | number }
): Promise<void>;
copyFile(source: string, destination: string, mode?: string | number): Promise<void>;
mkdir(path: string, options?: { recursive?: boolean; mode?: string | number }): Promise<void>;
mkdtemp(prefix: string): Promise<string>;
readdir(path: string, options?: { withFileTypes?: false }): Promise<string[]>;
readdir(path: string, options?: { withFileTypes: true }): Promise<RollupDirectoryEntry[]>;
readFile(
path: string,
options?: { encoding?: null; flag?: string | number; signal?: AbortSignal }
): Promise<Uint8Array>;
readFile(
path: string,
options?: { encoding: BufferEncoding; flag?: string | number; signal?: AbortSignal }
): Promise<string>;
realpath(path: string): Promise<string>;
rename(oldPath: string, newPath: string): Promise<void>;
rmdir(path: string, options?: { recursive?: boolean }): Promise<void>;
stat(path: string): Promise<RollupFileStats>;
lstat(path: string): Promise<RollupFileStats>;
unlink(path: string): Promise<void>;
writeFile(
path: string,
data: string | Uint8Array,
options?: { encoding?: BufferEncoding | null; mode?: string | number; flag?: string | number }
): Promise<void>;
}
export type BufferEncoding =
| 'ascii'
| 'utf8'
| 'utf16le'
| 'ucs2'
| 'base64'
| 'base64url'
| 'latin1'
| 'binary'
| 'hex';
export interface RollupDirectoryEntry {
isFile(): boolean;
isDirectory(): boolean;
isSymbolicLink(): boolean;
name: string;
}
export interface RollupFileStats {
isFile(): boolean;
isDirectory(): boolean;
isSymbolicLink(): boolean;
size: number;
mtime: Date;
ctime: Date;
atime: Date;
birthtime: Date;
}

2

package.json
{
"name": "@rollup/browser",
"version": "4.42.0",
"version": "4.43.0",
"description": "Next-generation ES module bundler browser build",

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

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet