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

rolldown

Package Overview
Dependencies
Maintainers
3
Versions
355
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rolldown - npm Package Compare versions

Comparing version 0.15.0-snapshot-5e456b6-20241203003703 to 0.15.0-snapshot-b2570e7-20241204003545

dist/shared/src-1jxF0vle.cjs

2

dist/types/api/build.d.ts

@@ -6,2 +6,4 @@ import type { RolldownOptions } from '../types/rolldown-options';

* Write the output to the file system
*
* @default true
*/

@@ -8,0 +10,0 @@ write?: boolean;

4

dist/types/api/watch/index.d.ts
import type { WatchOptions } from '../../options/watch-options';
import { Watcher } from './watcher';
export declare const watch: (input: WatchOptions) => Promise<Watcher>;
import { RolldownWatcher } from './watch-emitter';
export declare const watch: (input: WatchOptions) => RolldownWatcher;
import { BindingWatcher } from '../../binding';
import { MaybePromise } from '../../types/utils';
import { WatchOptions } from '../../options/watch-options';
import { WatcherEmitter } from './watch-emitter';
export declare class Watcher {
closed: boolean;
controller: AbortController;
inner: BindingWatcher;
emitter: WatcherEmitter;
stopWorkers?: () => Promise<void>;
listeners: Map<WatcherEvent, Array<(...parameters: any[]) => MaybePromise<void>>>;
constructor(inner: BindingWatcher, stopWorkers?: () => Promise<void>);
constructor(emitter: WatcherEmitter, inner: BindingWatcher, stopWorkers?: () => Promise<void>);
close(): Promise<void>;
on(event: 'change', listener: (id: string, change: {
event: ChangeEvent;
}) => MaybePromise<void>): this;
on(event: 'event', listener: (data: RollupWatcherEvent) => MaybePromise<void>): this;
on(event: 'restart' | 'close', listener: () => MaybePromise<void>): this;
watch(): void;
start(): void;
}
export type WatcherEvent = 'close' | 'event' | 'restart' | 'change';
export type ChangeEvent = 'create' | 'update' | 'delete';
export type RollupWatcherEvent = {
code: 'START';
} | {
code: 'BUNDLE_START';
} | {
code: 'BUNDLE_END';
duration: number;
output: readonly string[];
} | {
code: 'END';
} | {
code: 'ERROR';
error: Error;
};
export declare function createWatcher(emitter: WatcherEmitter, input: WatchOptions): Promise<void>;

@@ -19,3 +19,3 @@ type MaybePromise<T> = T | Promise<T>

export declare class BindingHookError {
get errors(): Array<unknown>
get errors(): Array<Error | object>
}

@@ -96,3 +96,3 @@

get assets(): Array<BindingOutputAsset>
get errors(): Array<unknown>
get errors(): Array<Error | object>
}

@@ -134,3 +134,3 @@

bundleEventKind(): string
errors(): Array<unknown>
errors(): Array<Error | object>
}

@@ -137,0 +137,0 @@

@@ -23,8 +23,8 @@ import { RolldownOutput, RolldownOutputAsset, RolldownOutputChunk, RolldownRenderedChunk, SourceMap } from './types/rolldown-output';

import { WatchOptions } from './options/watch-options';
import { Watcher } from './api/watch/watcher';
import { RolldownWatcher } from './api/watch/watch-emitter';
import { build, type BuildOptions } from './api/build';
export { defineConfig, rolldown, watch, build };
export declare const VERSION: string;
export type { RolldownOutputAsset, RolldownOutputChunk, RolldownOptions, RolldownOutput, RolldownBuild, InputOptions, NormalizedInputOptions, OutputOptions, NormalizedOutputOptions, Plugin, RolldownPlugin, DefineParallelPluginResult, ConfigExport, ImportKind, InputOption, ExternalOption, ModuleFormat, ModuleType, InternalModuleFormat, LoadResult, TransformResult, ResolveIdResult, PluginContext, TransformPluginContext, ObjectHook, PreRenderedChunk, SourceMap, SourceDescription, PartialNull, PartialResolvedId, ResolvedId, ModuleOptions, ModuleInfo, MinimalPluginContext, EmittedFile, EmittedAsset, CustomPluginOptions, AsyncPluginHooks, ParallelPluginHooks, FunctionPluginHooks, ExistingRawSourceMap, SourceMapInput, OutputBundle, JsxOptions, WatchOptions, Watcher, BuildOptions, };
export type { RolldownOutput as RollupOutput, RolldownOptions as RollupOptions, RolldownBuild as RollupBuild, RolldownOutputChunk as OutputChunk, RolldownOutputAsset as OutputAsset, RolldownRenderedChunk as RenderedChunk, };
export type { RolldownOutputAsset, RolldownOutputChunk, RolldownOptions, RolldownOutput, RolldownBuild, InputOptions, NormalizedInputOptions, OutputOptions, NormalizedOutputOptions, Plugin, RolldownPlugin, DefineParallelPluginResult, ConfigExport, ImportKind, InputOption, ExternalOption, ModuleFormat, ModuleType, InternalModuleFormat, LoadResult, TransformResult, ResolveIdResult, PluginContext, TransformPluginContext, ObjectHook, PreRenderedChunk, SourceMap, SourceDescription, PartialNull, PartialResolvedId, ResolvedId, ModuleOptions, ModuleInfo, MinimalPluginContext, EmittedFile, EmittedAsset, CustomPluginOptions, AsyncPluginHooks, ParallelPluginHooks, FunctionPluginHooks, ExistingRawSourceMap, SourceMapInput, OutputBundle, JsxOptions, WatchOptions, RolldownWatcher, BuildOptions, };
export type { RolldownOutput as RollupOutput, RolldownOptions as RollupOptions, RolldownBuild as RollupBuild, RolldownOutputChunk as OutputChunk, RolldownOutputAsset as OutputAsset, RolldownRenderedChunk as RenderedChunk, RolldownWatcher as RollupWatcher, };
export type { RollupError, RollupLog, LoggingFunction } from './rollup';

@@ -1,1 +0,1 @@

export declare function normalizeErrors(rawErrors: unknown[]): Error;
export declare function normalizeErrors(rawErrors: (object | Error)[]): Error;
{
"name": "rolldown",
"version": "0.15.0-snapshot-5e456b6-20241203003703",
"version": "0.15.0-snapshot-b2570e7-20241204003545",
"description": "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.",

@@ -116,17 +116,17 @@ "homepage": "https://rolldown.rs/",

"@rolldown/testing": "0.0.1",
"rolldown": "0.15.0-snapshot-5e456b6-20241203003703"
"rolldown": "0.15.0-snapshot-b2570e7-20241204003545"
},
"optionalDependencies": {
"@rolldown/binding-darwin-arm64": "0.15.0-snapshot-5e456b6-20241203003703",
"@rolldown/binding-darwin-x64": "0.15.0-snapshot-5e456b6-20241203003703",
"@rolldown/binding-freebsd-x64": "0.15.0-snapshot-5e456b6-20241203003703",
"@rolldown/binding-linux-arm-gnueabihf": "0.15.0-snapshot-5e456b6-20241203003703",
"@rolldown/binding-linux-arm64-gnu": "0.15.0-snapshot-5e456b6-20241203003703",
"@rolldown/binding-linux-arm64-musl": "0.15.0-snapshot-5e456b6-20241203003703",
"@rolldown/binding-linux-x64-gnu": "0.15.0-snapshot-5e456b6-20241203003703",
"@rolldown/binding-linux-x64-musl": "0.15.0-snapshot-5e456b6-20241203003703",
"@rolldown/binding-wasm32-wasi": "0.15.0-snapshot-5e456b6-20241203003703",
"@rolldown/binding-win32-arm64-msvc": "0.15.0-snapshot-5e456b6-20241203003703",
"@rolldown/binding-win32-x64-msvc": "0.15.0-snapshot-5e456b6-20241203003703",
"@rolldown/binding-win32-ia32-msvc": "0.15.0-snapshot-5e456b6-20241203003703"
"@rolldown/binding-darwin-x64": "0.15.0-snapshot-b2570e7-20241204003545",
"@rolldown/binding-freebsd-x64": "0.15.0-snapshot-b2570e7-20241204003545",
"@rolldown/binding-darwin-arm64": "0.15.0-snapshot-b2570e7-20241204003545",
"@rolldown/binding-linux-arm-gnueabihf": "0.15.0-snapshot-b2570e7-20241204003545",
"@rolldown/binding-linux-arm64-gnu": "0.15.0-snapshot-b2570e7-20241204003545",
"@rolldown/binding-linux-arm64-musl": "0.15.0-snapshot-b2570e7-20241204003545",
"@rolldown/binding-linux-x64-musl": "0.15.0-snapshot-b2570e7-20241204003545",
"@rolldown/binding-wasm32-wasi": "0.15.0-snapshot-b2570e7-20241204003545",
"@rolldown/binding-linux-x64-gnu": "0.15.0-snapshot-b2570e7-20241204003545",
"@rolldown/binding-win32-ia32-msvc": "0.15.0-snapshot-b2570e7-20241204003545",
"@rolldown/binding-win32-x64-msvc": "0.15.0-snapshot-b2570e7-20241204003545",
"@rolldown/binding-win32-arm64-msvc": "0.15.0-snapshot-b2570e7-20241204003545"
},

@@ -133,0 +133,0 @@ "scripts": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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