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

rolldown

Package Overview
Dependencies
Maintainers
3
Versions
319
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.14.0-snapshot-d18e8cb-20241112003342 to 0.14.0-snapshot-d5e797b-20241114003621

dist/shared/src_index-asUfC1o5.cjs

1

dist/types/binding.d.ts

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

export declare class BindingPluginContext {
load(specifier: string, fn: () => void): Promise<void>
resolve(specifier: string, importer?: string | undefined | null, extraOptions?: BindingPluginContextResolveOptions | undefined | null): Promise<BindingPluginContextResolvedId | null>

@@ -53,0 +54,0 @@ emitFile(file: BindingEmittedAsset): string

import type { BindingPluginContext } from '../binding';
import type { NormalizedInputOptions } from '../options/normalized-input-options';
import type { CustomPluginOptions, Plugin, ResolvedId } from './index';
import type { CustomPluginOptions, ModuleOptions, Plugin, ResolvedId } from './index';
import { MinimalPluginContext } from '../log/logger';

@@ -9,2 +9,3 @@ import { AssetSource } from '../utils/asset-source';

import { SYMBOL_FOR_RESOLVE_CALLER_THAT_SKIP_SELF } from '../constants/plugin-context';
import { PartialNull } from '../types/utils';
export interface EmittedAsset {

@@ -26,2 +27,6 @@ type: 'asset';

export declare class PluginContext extends MinimalPluginContext {
readonly load: (options: {
id: string;
resolveDependencies?: boolean;
} & Partial<PartialNull<ModuleOptions>>) => Promise<ModuleInfo>;
readonly resolve: (source: string, importer?: string, options?: PluginContextResolveOptions) => Promise<ResolvedId | null>;

@@ -28,0 +33,0 @@ readonly emitFile: (file: EmittedAsset) => string;

5

dist/types/watcher.d.ts

@@ -30,3 +30,6 @@ import { BindingWatcher } from './binding';

} | {
code: 'ERROR'; /** error: RollupError; result: RollupBuild | null **/
code: 'ERROR';
error: {
message: string;
};
};
{
"name": "rolldown",
"version": "0.14.0-snapshot-d18e8cb-20241112003342",
"version": "0.14.0-snapshot-d5e797b-20241114003621",
"description": "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.",

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

"@rolldown/testing": "0.0.1",
"rolldown": "0.14.0-snapshot-d18e8cb-20241112003342"
"rolldown": "0.14.0-snapshot-d5e797b-20241114003621"
},
"optionalDependencies": {
"@rolldown/binding-darwin-arm64": "0.14.0-snapshot-d18e8cb-20241112003342",
"@rolldown/binding-darwin-x64": "0.14.0-snapshot-d18e8cb-20241112003342",
"@rolldown/binding-freebsd-x64": "0.14.0-snapshot-d18e8cb-20241112003342",
"@rolldown/binding-linux-arm64-gnu": "0.14.0-snapshot-d18e8cb-20241112003342",
"@rolldown/binding-linux-arm-gnueabihf": "0.14.0-snapshot-d18e8cb-20241112003342",
"@rolldown/binding-linux-arm64-musl": "0.14.0-snapshot-d18e8cb-20241112003342",
"@rolldown/binding-linux-x64-gnu": "0.14.0-snapshot-d18e8cb-20241112003342",
"@rolldown/binding-linux-x64-musl": "0.14.0-snapshot-d18e8cb-20241112003342",
"@rolldown/binding-win32-arm64-msvc": "0.14.0-snapshot-d18e8cb-20241112003342",
"@rolldown/binding-win32-ia32-msvc": "0.14.0-snapshot-d18e8cb-20241112003342",
"@rolldown/binding-win32-x64-msvc": "0.14.0-snapshot-d18e8cb-20241112003342",
"@rolldown/binding-wasm32-wasi": "0.14.0-snapshot-d18e8cb-20241112003342"
"@rolldown/binding-darwin-arm64": "0.14.0-snapshot-d5e797b-20241114003621",
"@rolldown/binding-linux-arm-gnueabihf": "0.14.0-snapshot-d5e797b-20241114003621",
"@rolldown/binding-darwin-x64": "0.14.0-snapshot-d5e797b-20241114003621",
"@rolldown/binding-freebsd-x64": "0.14.0-snapshot-d5e797b-20241114003621",
"@rolldown/binding-linux-arm64-musl": "0.14.0-snapshot-d5e797b-20241114003621",
"@rolldown/binding-linux-x64-gnu": "0.14.0-snapshot-d5e797b-20241114003621",
"@rolldown/binding-linux-x64-musl": "0.14.0-snapshot-d5e797b-20241114003621",
"@rolldown/binding-linux-arm64-gnu": "0.14.0-snapshot-d5e797b-20241114003621",
"@rolldown/binding-wasm32-wasi": "0.14.0-snapshot-d5e797b-20241114003621",
"@rolldown/binding-win32-arm64-msvc": "0.14.0-snapshot-d5e797b-20241114003621",
"@rolldown/binding-win32-x64-msvc": "0.14.0-snapshot-d5e797b-20241114003621",
"@rolldown/binding-win32-ia32-msvc": "0.14.0-snapshot-d5e797b-20241114003621"
},

@@ -125,0 +125,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

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