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

rolldown

Package Overview
Dependencies
Maintainers
0
Versions
358
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-18ee4d3-20241107003320 to 0.14.0-snapshot-3912c3a-20241107224703

dist/shared/src_index-__hrBC_u.cjs

7

dist/types/binding.d.ts

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

define?: Array<[string, string]>
dropLabels?: Array<string>
inject?: Array<BindingInjectImportNamed | BindingInjectImportNamespace>

@@ -290,5 +291,7 @@ experimental?: BindingExperimentalOptions

name?: string
assetFileNames?: string
entryFileNames?: string | ((chunk: PreRenderedChunk) => string)
chunkFileNames?: string | ((chunk: PreRenderedChunk) => string)
assetFileNames?: string
cssEntryFileNames?: string | ((chunk: PreRenderedChunk) => string)
cssChunkFileNames?: string | ((chunk: PreRenderedChunk) => string)
banner?: (chunk: RenderedChunk) => MaybePromise<VoidNullable<string>>

@@ -314,2 +317,3 @@ dir?: string

advancedChunks?: BindingAdvancedChunksOptions
comments?: 'none' | 'preserve-legal'
}

@@ -398,2 +402,3 @@

objectGuards?: boolean
sourcemap?: boolean
}

@@ -400,0 +405,0 @@

@@ -132,2 +132,3 @@ import type { ObjectSchema } from './types';

}>, z.ZodLiteral<false>]>>;
dropLabels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
}, {

@@ -151,5 +152,7 @@ external: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;

esModule: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"if-default-prop">, z.ZodBoolean]>>;
assetFileNames: z.ZodOptional<z.ZodString>;
entryFileNames: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodFunction<z.ZodTuple<[z.ZodType<import("../..").PreRenderedChunk, z.ZodTypeDef, import("../..").PreRenderedChunk>], z.ZodUnknown>, z.ZodString>]>>;
chunkFileNames: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodFunction<z.ZodTuple<[z.ZodType<import("../..").PreRenderedChunk, z.ZodTypeDef, import("../..").PreRenderedChunk>], z.ZodUnknown>, z.ZodString>]>>;
assetFileNames: z.ZodOptional<z.ZodString>;
cssEntryFileNames: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodFunction<z.ZodTuple<[z.ZodType<import("../..").PreRenderedChunk, z.ZodTypeDef, import("../..").PreRenderedChunk>], z.ZodUnknown>, z.ZodString>]>>;
cssChunkFileNames: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodFunction<z.ZodTuple<[z.ZodType<import("../..").PreRenderedChunk, z.ZodTypeDef, import("../..").PreRenderedChunk>], z.ZodUnknown>, z.ZodString>]>>;
minify: z.ZodOptional<z.ZodBoolean>;

@@ -203,2 +206,3 @@ name: z.ZodOptional<z.ZodString>;

}>>;
comments: z.ZodOptional<z.ZodEnum<["none", "preserve-legal"]>>;
}, {

@@ -240,2 +244,3 @@ banner: z.ZodOptional<z.ZodString>;

watch?: boolean | undefined;
dropLabels?: string[] | undefined;
footer?: string | undefined;

@@ -257,5 +262,7 @@ banner?: string | undefined;

extend?: boolean | undefined;
assetFileNames?: string | undefined;
entryFileNames?: string | ((args_0: import("../..").PreRenderedChunk, ...args: unknown[]) => string) | undefined;
chunkFileNames?: string | ((args_0: import("../..").PreRenderedChunk, ...args: unknown[]) => string) | undefined;
assetFileNames?: string | undefined;
cssEntryFileNames?: string | ((args_0: import("../..").PreRenderedChunk, ...args: unknown[]) => string) | undefined;
cssChunkFileNames?: string | ((args_0: import("../..").PreRenderedChunk, ...args: unknown[]) => string) | undefined;
minify?: boolean | undefined;

@@ -265,2 +272,3 @@ globals?: Record<string, string> | undefined;

inlineDynamicImports?: boolean | undefined;
comments?: "none" | "preserve-legal" | undefined;
version?: boolean | undefined;

@@ -289,2 +297,3 @@ config?: string | boolean | undefined;

watch?: boolean | undefined;
dropLabels?: string[] | undefined;
footer?: string | undefined;

@@ -306,5 +315,7 @@ banner?: string | undefined;

extend?: boolean | undefined;
assetFileNames?: string | undefined;
entryFileNames?: string | ((args_0: import("../..").PreRenderedChunk, ...args: unknown[]) => string) | undefined;
chunkFileNames?: string | ((args_0: import("../..").PreRenderedChunk, ...args: unknown[]) => string) | undefined;
assetFileNames?: string | undefined;
cssEntryFileNames?: string | ((args_0: import("../..").PreRenderedChunk, ...args: unknown[]) => string) | undefined;
cssChunkFileNames?: string | ((args_0: import("../..").PreRenderedChunk, ...args: unknown[]) => string) | undefined;
minify?: boolean | undefined;

@@ -314,2 +325,3 @@ globals?: Record<string, string> | undefined;

inlineDynamicImports?: boolean | undefined;
comments?: "none" | "preserve-legal" | undefined;
version?: boolean | undefined;

@@ -316,0 +328,0 @@ config?: string | boolean | undefined;

@@ -128,2 +128,3 @@ import { z } from 'zod';

}>, z.ZodLiteral<false>]>>;
dropLabels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
}, "strict", z.ZodTypeAny, {

@@ -181,2 +182,3 @@ treeshake?: boolean | TreeshakingOptions | undefined;

} | undefined;
dropLabels?: string[] | undefined;
}, {

@@ -234,2 +236,3 @@ treeshake?: boolean | TreeshakingOptions | undefined;

} | undefined;
dropLabels?: string[] | undefined;
}>;

@@ -360,2 +363,3 @@ export declare const inputCliOptionsSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{

}>, z.ZodLiteral<false>]>>;
dropLabels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
}, {

@@ -384,2 +388,3 @@ external: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;

} | undefined;
dropLabels?: string[] | undefined;
}, {

@@ -404,2 +409,3 @@ treeshake?: boolean | undefined;

} | undefined;
dropLabels?: string[] | undefined;
}>;

15

dist/types/options/output-options.d.ts

@@ -18,5 +18,7 @@ import { z } from 'zod';

esModule: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"if-default-prop">, z.ZodBoolean]>>;
assetFileNames: z.ZodOptional<z.ZodString>;
entryFileNames: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodFunction<z.ZodTuple<[z.ZodType<PreRenderedChunk, z.ZodTypeDef, PreRenderedChunk>], z.ZodUnknown>, z.ZodString>]>>;
chunkFileNames: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodFunction<z.ZodTuple<[z.ZodType<PreRenderedChunk, z.ZodTypeDef, PreRenderedChunk>], z.ZodUnknown>, z.ZodString>]>>;
assetFileNames: z.ZodOptional<z.ZodString>;
cssEntryFileNames: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodFunction<z.ZodTuple<[z.ZodType<PreRenderedChunk, z.ZodTypeDef, PreRenderedChunk>], z.ZodUnknown>, z.ZodString>]>>;
cssChunkFileNames: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodFunction<z.ZodTuple<[z.ZodType<PreRenderedChunk, z.ZodTypeDef, PreRenderedChunk>], z.ZodUnknown>, z.ZodString>]>>;
minify: z.ZodOptional<z.ZodBoolean>;

@@ -70,2 +72,3 @@ name: z.ZodOptional<z.ZodString>;

}>>;
comments: z.ZodOptional<z.ZodEnum<["none", "preserve-legal"]>>;
}, {

@@ -104,5 +107,7 @@ banner: z.ZodOptional<z.ZodString>;

extend?: boolean | undefined;
assetFileNames?: string | undefined;
entryFileNames?: string | ((args_0: PreRenderedChunk, ...args: unknown[]) => string) | undefined;
chunkFileNames?: string | ((args_0: PreRenderedChunk, ...args: unknown[]) => string) | undefined;
assetFileNames?: string | undefined;
cssEntryFileNames?: string | ((args_0: PreRenderedChunk, ...args: unknown[]) => string) | undefined;
cssChunkFileNames?: string | ((args_0: PreRenderedChunk, ...args: unknown[]) => string) | undefined;
minify?: boolean | undefined;

@@ -112,2 +117,3 @@ globals?: Record<string, string> | undefined;

inlineDynamicImports?: boolean | undefined;
comments?: "none" | "preserve-legal" | undefined;
}, {

@@ -130,5 +136,7 @@ footer?: string | undefined;

extend?: boolean | undefined;
assetFileNames?: string | undefined;
entryFileNames?: string | ((args_0: PreRenderedChunk, ...args: unknown[]) => string) | undefined;
chunkFileNames?: string | ((args_0: PreRenderedChunk, ...args: unknown[]) => string) | undefined;
assetFileNames?: string | undefined;
cssEntryFileNames?: string | ((args_0: PreRenderedChunk, ...args: unknown[]) => string) | undefined;
cssChunkFileNames?: string | ((args_0: PreRenderedChunk, ...args: unknown[]) => string) | undefined;
minify?: boolean | undefined;

@@ -138,2 +146,3 @@ globals?: Record<string, string> | undefined;

inlineDynamicImports?: boolean | undefined;
comments?: "none" | "preserve-legal" | undefined;
}>;

@@ -85,2 +85,3 @@ import { RolldownPluginRec } from '../plugin';

watch?: WatchOptions | false;
dropLabels?: string[];
}

@@ -87,0 +88,0 @@ interface OverwriteInputOptionsForCli {

@@ -21,5 +21,7 @@ import type { StringOrRegExp } from './utils';

esModule?: boolean | 'if-default-prop';
assetFileNames?: string;
entryFileNames?: string | ChunkFileNamesFunction;
chunkFileNames?: string | ChunkFileNamesFunction;
assetFileNames?: string;
cssEntryFileNames?: string | ChunkFileNamesFunction;
cssChunkFileNames?: string | ChunkFileNamesFunction;
minify?: boolean;

@@ -41,2 +43,9 @@ name?: string;

};
/**
* Control comments in the output.
*
* - `none`: no comments
* - `preserve-legal`: preserve comments that contain `@license`, `@preserve` or starts with `//!` `/*!`
*/
comments?: 'none' | 'preserve-legal';
}

@@ -43,0 +52,0 @@ interface OverwriteOutputOptionsForCli {

{
"name": "rolldown",
"version": "0.14.0-snapshot-18ee4d3-20241107003320",
"version": "0.14.0-snapshot-3912c3a-20241107224703",
"description": "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.",

@@ -47,3 +47,2 @@ "homepage": "https://rolldown.rs/",

},
"./watcher-worker": "./dist/shared/watcher-worker.js",
"./package.json": "./package.json"

@@ -109,17 +108,17 @@ },

"@rolldown/testing": "0.0.1",
"rolldown": "0.14.0-snapshot-18ee4d3-20241107003320"
"rolldown": "0.14.0-snapshot-3912c3a-20241107224703"
},
"optionalDependencies": {
"@rolldown/binding-darwin-x64": "0.14.0-snapshot-18ee4d3-20241107003320",
"@rolldown/binding-darwin-arm64": "0.14.0-snapshot-18ee4d3-20241107003320",
"@rolldown/binding-linux-arm-gnueabihf": "0.14.0-snapshot-18ee4d3-20241107003320",
"@rolldown/binding-freebsd-x64": "0.14.0-snapshot-18ee4d3-20241107003320",
"@rolldown/binding-linux-arm64-gnu": "0.14.0-snapshot-18ee4d3-20241107003320",
"@rolldown/binding-linux-arm64-musl": "0.14.0-snapshot-18ee4d3-20241107003320",
"@rolldown/binding-linux-x64-gnu": "0.14.0-snapshot-18ee4d3-20241107003320",
"@rolldown/binding-linux-x64-musl": "0.14.0-snapshot-18ee4d3-20241107003320",
"@rolldown/binding-win32-arm64-msvc": "0.14.0-snapshot-18ee4d3-20241107003320",
"@rolldown/binding-wasm32-wasi": "0.14.0-snapshot-18ee4d3-20241107003320",
"@rolldown/binding-win32-ia32-msvc": "0.14.0-snapshot-18ee4d3-20241107003320",
"@rolldown/binding-win32-x64-msvc": "0.14.0-snapshot-18ee4d3-20241107003320"
"@rolldown/binding-darwin-arm64": "0.14.0-snapshot-3912c3a-20241107224703",
"@rolldown/binding-freebsd-x64": "0.14.0-snapshot-3912c3a-20241107224703",
"@rolldown/binding-darwin-x64": "0.14.0-snapshot-3912c3a-20241107224703",
"@rolldown/binding-linux-arm64-gnu": "0.14.0-snapshot-3912c3a-20241107224703",
"@rolldown/binding-linux-arm-gnueabihf": "0.14.0-snapshot-3912c3a-20241107224703",
"@rolldown/binding-linux-arm64-musl": "0.14.0-snapshot-3912c3a-20241107224703",
"@rolldown/binding-linux-x64-musl": "0.14.0-snapshot-3912c3a-20241107224703",
"@rolldown/binding-wasm32-wasi": "0.14.0-snapshot-3912c3a-20241107224703",
"@rolldown/binding-linux-x64-gnu": "0.14.0-snapshot-3912c3a-20241107224703",
"@rolldown/binding-win32-ia32-msvc": "0.14.0-snapshot-3912c3a-20241107224703",
"@rolldown/binding-win32-arm64-msvc": "0.14.0-snapshot-3912c3a-20241107224703",
"@rolldown/binding-win32-x64-msvc": "0.14.0-snapshot-3912c3a-20241107224703"
},

@@ -126,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

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