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

rolldown

Package Overview
Dependencies
Maintainers
3
Versions
376
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.10.1-snapshot-97ea4b6-20240405002431 to 0.10.1-snapshot-e275858-20240408002449

dist/shared/rolldown.38b00490.mjs

34

dist/index.d.ts

@@ -14,3 +14,3 @@ interface RenderedModule$1 {

sources: string[];
sourcesContent: (string | null)[];
sourcesContent: string[];
version: number;

@@ -127,3 +127,3 @@ }

type SourceMapInput =
type SourceMapInput$1 =
| ExistingRawSourceMap

@@ -144,3 +144,3 @@ | string

code: string
map?: SourceMapInput
map?: SourceMapInput$1
}

@@ -372,3 +372,3 @@

meta: { chunks: Record<string, RenderedChunk$1> },
) => { code: string; map?: SourceMapInput } | string | NullValue$1
) => { code: string; map?: SourceMapInput$1 } | string | NullValue$1

@@ -1054,2 +1054,3 @@ type ResolveDynamicImportHook = (

code: string
map?: string
}

@@ -1083,2 +1084,3 @@

resolve?: BindingResolveOptions
shimMissingExports?: boolean
platform?: 'node' | 'browser' | 'neutral'

@@ -1131,2 +1133,3 @@ cwd: string

symlinks?: boolean
tsconfigFilename?: string
}

@@ -1151,2 +1154,13 @@

interface SourceMapInputObject {
file?: string;
mappings: string;
names?: string[];
sources?: (string | null)[];
sourcesContent?: (string | null)[];
sourceRoot?: string;
version: number;
}
type SourceMapInput = SourceMapInputObject | string | null;
type MaybePromise<T> = T | Promise<T>;

@@ -1167,9 +1181,12 @@ type PluginContext = BindingPluginContext;

code: string;
map?: string | null;
map?: SourceMapInput;
}>>;
transform?: Hook<(this: null, code: string, id: string) => MaybePromise<NullValue | string | {
code: string;
map?: string | null;
map?: string | null | SourceMapInput;
}>>;
renderChunk?: Hook<(this: null, code: string, chunk: RenderedChunk) => MaybePromise<NullValue | string>>;
renderChunk?: Hook<(this: null, code: string, chunk: RenderedChunk) => MaybePromise<NullValue | string | {
code: string;
map?: string | null | SourceMapInput;
}>>;
buildEnd?: Hook<(this: null, err?: string) => MaybePromise<NullValue>>;

@@ -1187,2 +1204,3 @@ generateBundle?: Hook<(bundle: BindingOutputs, isWrite: boolean) => MaybePromise<NullValue>>;

platform?: BindingInputOptions['platform'];
shimMissingExports?: BindingInputOptions['shimMissingExports'];
}

@@ -1204,2 +1222,4 @@ type RolldownResolveOptions = Omit<BindingResolveOptions, 'alias'> & {

footer?: OutputOptions$1['footer'];
entryFileNames?: string;
chunkFileNames?: string;
}

@@ -1206,0 +1226,0 @@

{
"name": "rolldown",
"version": "0.10.1-snapshot-97ea4b6-20240405002431",
"version": "0.10.1-snapshot-e275858-20240408002449",
"description": "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.",

@@ -69,15 +69,15 @@ "homepage": "https://rolldown.rs/",

"vitest": "^1.3.1",
"rolldown": "0.10.1-snapshot-97ea4b6-20240405002431"
"rolldown": "0.10.1-snapshot-e275858-20240408002449"
},
"optionalDependencies": {
"@rolldown/binding-darwin-arm64": "0.10.1-snapshot-97ea4b6-20240405002431",
"@rolldown/binding-darwin-x64": "0.10.1-snapshot-97ea4b6-20240405002431",
"@rolldown/binding-linux-arm-gnueabihf": "0.10.1-snapshot-97ea4b6-20240405002431",
"@rolldown/binding-linux-arm64-gnu": "0.10.1-snapshot-97ea4b6-20240405002431",
"@rolldown/binding-linux-arm64-musl": "0.10.1-snapshot-97ea4b6-20240405002431",
"@rolldown/binding-linux-x64-musl": "0.10.1-snapshot-97ea4b6-20240405002431",
"@rolldown/binding-win32-arm64-msvc": "0.10.1-snapshot-97ea4b6-20240405002431",
"@rolldown/binding-linux-x64-gnu": "0.10.1-snapshot-97ea4b6-20240405002431",
"@rolldown/binding-win32-x64-msvc": "0.10.1-snapshot-97ea4b6-20240405002431",
"@rolldown/binding-win32-ia32-msvc": "0.10.1-snapshot-97ea4b6-20240405002431"
"@rolldown/binding-darwin-arm64": "0.10.1-snapshot-e275858-20240408002449",
"@rolldown/binding-darwin-x64": "0.10.1-snapshot-e275858-20240408002449",
"@rolldown/binding-linux-arm-gnueabihf": "0.10.1-snapshot-e275858-20240408002449",
"@rolldown/binding-linux-arm64-gnu": "0.10.1-snapshot-e275858-20240408002449",
"@rolldown/binding-linux-arm64-musl": "0.10.1-snapshot-e275858-20240408002449",
"@rolldown/binding-linux-x64-gnu": "0.10.1-snapshot-e275858-20240408002449",
"@rolldown/binding-win32-arm64-msvc": "0.10.1-snapshot-e275858-20240408002449",
"@rolldown/binding-win32-x64-msvc": "0.10.1-snapshot-e275858-20240408002449",
"@rolldown/binding-linux-x64-musl": "0.10.1-snapshot-e275858-20240408002449",
"@rolldown/binding-win32-ia32-msvc": "0.10.1-snapshot-e275858-20240408002449"
},

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

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