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

rolldown

Package Overview
Dependencies
Maintainers
0
Versions
356
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-b2570e7-20241204003545 to 0.15.0-snapshot-c66278b-20241208003838

dist/shared/consola_36c0034f-B6fL2Jf_.mjs

30

dist/types/binding.d.ts

@@ -71,4 +71,6 @@ type MaybePromise<T> = T | Promise<T>

get originalFileName(): string | null
get originalFileNames(): Array<string>
get source(): BindingAssetSource
get name(): string | null
get names(): Array<string>
}

@@ -215,2 +217,6 @@

export interface BindingChecksOptions {
circularDependency?: boolean
}
export interface BindingEmittedAsset {

@@ -330,2 +336,4 @@ name?: string

watch?: BindingWatchOption
keepNames?: boolean
checks?: BindingChecksOptions
}

@@ -530,7 +538,8 @@

reactRefresh?: boolean
targets?: string
target?: string
browserslist?: string
}
export interface BindingTreeshake {
moduleSideEffects: boolean | BindingModuleSideEffectsRule[]
moduleSideEffects: boolean | BindingModuleSideEffectsRule[] | ((id: string, is_external: boolean) => boolean | undefined)
annotations?: boolean

@@ -544,3 +553,4 @@ }

external: true | string[]
noExternal: true | string[]
noExternal: true | Array<string | RegExp>
dedupe: Array<string>
finalizeBareSpecifier?: (resolvedId: string, rawId: string, importer: string | null | undefined) => VoidNullable<string>

@@ -575,2 +585,10 @@ finalizeOtherSpecifiers?: (resolvedId: string, rawId: string) => VoidNullable<string>

export interface CompilerAssumptions {
ignoreFunctionLength?: boolean
noDocumentAll?: boolean
objectRestNoSymbols?: boolean
pureGetters?: boolean
setPublicClassFields?: boolean
}
export interface Es2015Options {

@@ -615,4 +633,4 @@ /** Transform arrow functions into function expressions. */

export interface JsOutputAsset {
name?: string
originalFileName?: string
names: Array<string>
originalFileNames: Array<string>
filename: string

@@ -823,2 +841,4 @@ source: BindingAssetSource

sourcemap?: boolean
/** Set assumptions in order to produce smaller output. */
assumptions?: CompilerAssumptions
/** Configure how TypeScript is transformed. */

@@ -825,0 +845,0 @@ typescript?: TypeScriptOptions

39

dist/types/cli/arguments/schema.d.ts

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

resolve: z.ZodOptional<z.ZodObject<{
alias: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
alias: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodString]>>>;
aliasFields: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;

@@ -27,3 +27,3 @@ conditionNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;

modules?: string[] | undefined;
alias?: Record<string, string> | undefined;
alias?: Record<string, string | string[]> | undefined;
extensionAlias?: Record<string, string[]> | undefined;

@@ -40,3 +40,3 @@ aliasFields?: string[][] | undefined;

modules?: string[] | undefined;
alias?: Record<string, string> | undefined;
alias?: Record<string, string | string[]> | undefined;
extensionAlias?: Record<string, string[]> | undefined;

@@ -56,3 +56,3 @@ aliasFields?: string[][] | undefined;

treeshake: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
moduleSideEffects: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodArray<z.ZodEffects<z.ZodObject<{
moduleSideEffects: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodArray<z.ZodEffects<z.ZodObject<{
test: z.ZodOptional<z.ZodType<RegExp, z.ZodTypeDef, RegExp>>;

@@ -77,6 +77,6 @@ external: z.ZodOptional<z.ZodBoolean>;

test?: RegExp | undefined;
}>, "many">]>, z.ZodLiteral<"no-external">]>>;
}>, "many">]>, z.ZodFunction<z.ZodTuple<[z.ZodString, z.ZodBoolean], z.ZodUnknown>, z.ZodOptional<z.ZodBoolean>>]>, z.ZodLiteral<"no-external">]>>;
annotations: z.ZodOptional<z.ZodBoolean>;
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
moduleSideEffects: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodArray<z.ZodEffects<z.ZodObject<{
moduleSideEffects: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodArray<z.ZodEffects<z.ZodObject<{
test: z.ZodOptional<z.ZodType<RegExp, z.ZodTypeDef, RegExp>>;

@@ -101,6 +101,6 @@ external: z.ZodOptional<z.ZodBoolean>;

test?: RegExp | undefined;
}>, "many">]>, z.ZodLiteral<"no-external">]>>;
}>, "many">]>, z.ZodFunction<z.ZodTuple<[z.ZodString, z.ZodBoolean], z.ZodUnknown>, z.ZodOptional<z.ZodBoolean>>]>, z.ZodLiteral<"no-external">]>>;
annotations: z.ZodOptional<z.ZodBoolean>;
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
moduleSideEffects: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodArray<z.ZodEffects<z.ZodObject<{
moduleSideEffects: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodArray<z.ZodEffects<z.ZodObject<{
test: z.ZodOptional<z.ZodType<RegExp, z.ZodTypeDef, RegExp>>;

@@ -125,3 +125,3 @@ external: z.ZodOptional<z.ZodBoolean>;

test?: RegExp | undefined;
}>, "many">]>, z.ZodLiteral<"no-external">]>>;
}>, "many">]>, z.ZodFunction<z.ZodTuple<[z.ZodString, z.ZodBoolean], z.ZodUnknown>, z.ZodOptional<z.ZodBoolean>>]>, z.ZodLiteral<"no-external">]>>;
annotations: z.ZodOptional<z.ZodBoolean>;

@@ -212,2 +212,9 @@ }, z.ZodTypeAny, "passthrough">>, z.ZodBoolean]>>;

dropLabels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
checks: z.ZodOptional<z.ZodObject<{
circularDependency: z.ZodOptional<z.ZodBoolean>;
}, "strict", z.ZodTypeAny, {
circularDependency?: boolean | undefined;
}, {
circularDependency?: boolean | undefined;
}>>;
}, {

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

comments?: "none" | "preserve-legal" | undefined;
version?: boolean | undefined;
external?: string[] | undefined;

@@ -349,8 +357,10 @@ jsx?: {

shimMissingExports?: boolean | undefined;
moduleTypes?: Record<string, "base64" | "js" | "jsx" | "ts" | "tsx" | "json" | "text" | "dataurl" | "binary" | "empty" | "css"> | undefined;
moduleTypes?: Record<string, "base64" | "binary" | "js" | "jsx" | "ts" | "tsx" | "json" | "text" | "dataurl" | "empty" | "css"> | undefined;
define?: Record<string, string> | undefined;
dropLabels?: string[] | undefined;
checks?: {
circularDependency?: boolean | undefined;
} | undefined;
config?: string | boolean | undefined;
help?: boolean | undefined;
version?: boolean | undefined;
}, {

@@ -384,2 +394,3 @@ name?: string | undefined;

comments?: "none" | "preserve-legal" | undefined;
version?: boolean | undefined;
external?: string[] | undefined;

@@ -402,10 +413,12 @@ jsx?: {

shimMissingExports?: boolean | undefined;
moduleTypes?: Record<string, "base64" | "js" | "jsx" | "ts" | "tsx" | "json" | "text" | "dataurl" | "binary" | "empty" | "css"> | undefined;
moduleTypes?: Record<string, "base64" | "binary" | "js" | "jsx" | "ts" | "tsx" | "json" | "text" | "dataurl" | "empty" | "css"> | undefined;
define?: Record<string, string> | undefined;
dropLabels?: string[] | undefined;
checks?: {
circularDependency?: boolean | undefined;
} | undefined;
config?: string | boolean | undefined;
help?: boolean | undefined;
version?: boolean | undefined;
}>;
export type CliOptions = z.infer<typeof cliOptionsSchema>;
export declare const schema: ObjectSchema;

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

resolve: z.ZodOptional<z.ZodObject<{
alias: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
alias: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodString]>>>;
aliasFields: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;

@@ -22,3 +22,3 @@ conditionNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;

modules?: string[] | undefined;
alias?: Record<string, string> | undefined;
alias?: Record<string, string | string[]> | undefined;
extensionAlias?: Record<string, string[]> | undefined;

@@ -35,3 +35,3 @@ aliasFields?: string[][] | undefined;

modules?: string[] | undefined;
alias?: Record<string, string> | undefined;
alias?: Record<string, string | string[]> | undefined;
extensionAlias?: Record<string, string[]> | undefined;

@@ -51,3 +51,3 @@ aliasFields?: string[][] | undefined;

treeshake: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
moduleSideEffects: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodArray<z.ZodEffects<z.ZodObject<{
moduleSideEffects: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodArray<z.ZodEffects<z.ZodObject<{
test: z.ZodOptional<z.ZodType<RegExp, z.ZodTypeDef, RegExp>>;

@@ -72,6 +72,6 @@ external: z.ZodOptional<z.ZodBoolean>;

test?: RegExp | undefined;
}>, "many">]>, z.ZodLiteral<"no-external">]>>;
}>, "many">]>, z.ZodFunction<z.ZodTuple<[z.ZodString, z.ZodBoolean], z.ZodUnknown>, z.ZodOptional<z.ZodBoolean>>]>, z.ZodLiteral<"no-external">]>>;
annotations: z.ZodOptional<z.ZodBoolean>;
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
moduleSideEffects: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodArray<z.ZodEffects<z.ZodObject<{
moduleSideEffects: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodArray<z.ZodEffects<z.ZodObject<{
test: z.ZodOptional<z.ZodType<RegExp, z.ZodTypeDef, RegExp>>;

@@ -96,6 +96,6 @@ external: z.ZodOptional<z.ZodBoolean>;

test?: RegExp | undefined;
}>, "many">]>, z.ZodLiteral<"no-external">]>>;
}>, "many">]>, z.ZodFunction<z.ZodTuple<[z.ZodString, z.ZodBoolean], z.ZodUnknown>, z.ZodOptional<z.ZodBoolean>>]>, z.ZodLiteral<"no-external">]>>;
annotations: z.ZodOptional<z.ZodBoolean>;
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
moduleSideEffects: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodArray<z.ZodEffects<z.ZodObject<{
moduleSideEffects: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodArray<z.ZodEffects<z.ZodObject<{
test: z.ZodOptional<z.ZodType<RegExp, z.ZodTypeDef, RegExp>>;

@@ -120,3 +120,3 @@ external: z.ZodOptional<z.ZodBoolean>;

test?: RegExp | undefined;
}>, "many">]>, z.ZodLiteral<"no-external">]>>;
}>, "many">]>, z.ZodFunction<z.ZodTuple<[z.ZodString, z.ZodBoolean], z.ZodUnknown>, z.ZodOptional<z.ZodBoolean>>]>, z.ZodLiteral<"no-external">]>>;
annotations: z.ZodOptional<z.ZodBoolean>;

@@ -207,2 +207,9 @@ }, z.ZodTypeAny, "passthrough">>, z.ZodBoolean]>>;

dropLabels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
checks: z.ZodOptional<z.ZodObject<{
circularDependency: z.ZodOptional<z.ZodBoolean>;
}, "strict", z.ZodTypeAny, {
circularDependency?: boolean | undefined;
}, {
circularDependency?: boolean | undefined;
}>>;
}, "strict", z.ZodTypeAny, {

@@ -226,3 +233,3 @@ plugins?: RolldownPluginOption;

modules?: string[] | undefined;
alias?: Record<string, string> | undefined;
alias?: Record<string, string | string[]> | undefined;
extensionAlias?: Record<string, string[]> | undefined;

@@ -240,3 +247,3 @@ aliasFields?: string[][] | undefined;

treeshake?: boolean | z.objectOutputType<{
moduleSideEffects: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodArray<z.ZodEffects<z.ZodObject<{
moduleSideEffects: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodArray<z.ZodEffects<z.ZodObject<{
test: z.ZodOptional<z.ZodType<RegExp, z.ZodTypeDef, RegExp>>;

@@ -261,3 +268,3 @@ external: z.ZodOptional<z.ZodBoolean>;

test?: RegExp | undefined;
}>, "many">]>, z.ZodLiteral<"no-external">]>>;
}>, "many">]>, z.ZodFunction<z.ZodTuple<[z.ZodString, z.ZodBoolean], z.ZodUnknown>, z.ZodOptional<z.ZodBoolean>>]>, z.ZodLiteral<"no-external">]>>;
annotations: z.ZodOptional<z.ZodBoolean>;

@@ -278,3 +285,3 @@ }, z.ZodTypeAny, "passthrough"> | undefined;

shimMissingExports?: boolean | undefined;
moduleTypes?: Record<string, "base64" | "js" | "jsx" | "ts" | "tsx" | "json" | "text" | "dataurl" | "binary" | "empty" | "css"> | undefined;
moduleTypes?: Record<string, "base64" | "binary" | "js" | "jsx" | "ts" | "tsx" | "json" | "text" | "dataurl" | "empty" | "css"> | undefined;
experimental?: {

@@ -289,2 +296,5 @@ strictExecutionOrder?: boolean | undefined;

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

@@ -308,3 +318,3 @@ plugins?: RolldownPluginOption;

modules?: string[] | undefined;
alias?: Record<string, string> | undefined;
alias?: Record<string, string | string[]> | undefined;
extensionAlias?: Record<string, string[]> | undefined;

@@ -322,3 +332,3 @@ aliasFields?: string[][] | undefined;

treeshake?: boolean | z.objectInputType<{
moduleSideEffects: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodArray<z.ZodEffects<z.ZodObject<{
moduleSideEffects: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodArray<z.ZodEffects<z.ZodObject<{
test: z.ZodOptional<z.ZodType<RegExp, z.ZodTypeDef, RegExp>>;

@@ -343,3 +353,3 @@ external: z.ZodOptional<z.ZodBoolean>;

test?: RegExp | undefined;
}>, "many">]>, z.ZodLiteral<"no-external">]>>;
}>, "many">]>, z.ZodFunction<z.ZodTuple<[z.ZodString, z.ZodBoolean], z.ZodUnknown>, z.ZodOptional<z.ZodBoolean>>]>, z.ZodLiteral<"no-external">]>>;
annotations: z.ZodOptional<z.ZodBoolean>;

@@ -360,3 +370,3 @@ }, z.ZodTypeAny, "passthrough"> | undefined;

shimMissingExports?: boolean | undefined;
moduleTypes?: Record<string, "base64" | "js" | "jsx" | "ts" | "tsx" | "json" | "text" | "dataurl" | "binary" | "empty" | "css"> | undefined;
moduleTypes?: Record<string, "base64" | "binary" | "js" | "jsx" | "ts" | "tsx" | "json" | "text" | "dataurl" | "empty" | "css"> | undefined;
experimental?: {

@@ -371,2 +381,5 @@ strictExecutionOrder?: boolean | undefined;

dropLabels?: string[] | undefined;
checks?: {
circularDependency?: boolean | undefined;
} | undefined;
}>;

@@ -378,3 +391,3 @@ export declare const inputCliOptionsSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{

resolve: z.ZodOptional<z.ZodObject<{
alias: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
alias: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodString]>>>;
aliasFields: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;

@@ -392,3 +405,3 @@ conditionNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;

modules?: string[] | undefined;
alias?: Record<string, string> | undefined;
alias?: Record<string, string | string[]> | undefined;
extensionAlias?: Record<string, string[]> | undefined;

@@ -405,3 +418,3 @@ aliasFields?: string[][] | undefined;

modules?: string[] | undefined;
alias?: Record<string, string> | undefined;
alias?: Record<string, string | string[]> | undefined;
extensionAlias?: Record<string, string[]> | undefined;

@@ -421,3 +434,3 @@ aliasFields?: string[][] | undefined;

treeshake: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
moduleSideEffects: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodArray<z.ZodEffects<z.ZodObject<{
moduleSideEffects: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodArray<z.ZodEffects<z.ZodObject<{
test: z.ZodOptional<z.ZodType<RegExp, z.ZodTypeDef, RegExp>>;

@@ -442,6 +455,6 @@ external: z.ZodOptional<z.ZodBoolean>;

test?: RegExp | undefined;
}>, "many">]>, z.ZodLiteral<"no-external">]>>;
}>, "many">]>, z.ZodFunction<z.ZodTuple<[z.ZodString, z.ZodBoolean], z.ZodUnknown>, z.ZodOptional<z.ZodBoolean>>]>, z.ZodLiteral<"no-external">]>>;
annotations: z.ZodOptional<z.ZodBoolean>;
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
moduleSideEffects: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodArray<z.ZodEffects<z.ZodObject<{
moduleSideEffects: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodArray<z.ZodEffects<z.ZodObject<{
test: z.ZodOptional<z.ZodType<RegExp, z.ZodTypeDef, RegExp>>;

@@ -466,6 +479,6 @@ external: z.ZodOptional<z.ZodBoolean>;

test?: RegExp | undefined;
}>, "many">]>, z.ZodLiteral<"no-external">]>>;
}>, "many">]>, z.ZodFunction<z.ZodTuple<[z.ZodString, z.ZodBoolean], z.ZodUnknown>, z.ZodOptional<z.ZodBoolean>>]>, z.ZodLiteral<"no-external">]>>;
annotations: z.ZodOptional<z.ZodBoolean>;
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
moduleSideEffects: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodArray<z.ZodEffects<z.ZodObject<{
moduleSideEffects: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodArray<z.ZodEffects<z.ZodObject<{
test: z.ZodOptional<z.ZodType<RegExp, z.ZodTypeDef, RegExp>>;

@@ -490,3 +503,3 @@ external: z.ZodOptional<z.ZodBoolean>;

test?: RegExp | undefined;
}>, "many">]>, z.ZodLiteral<"no-external">]>>;
}>, "many">]>, z.ZodFunction<z.ZodTuple<[z.ZodString, z.ZodBoolean], z.ZodUnknown>, z.ZodOptional<z.ZodBoolean>>]>, z.ZodLiteral<"no-external">]>>;
annotations: z.ZodOptional<z.ZodBoolean>;

@@ -577,2 +590,9 @@ }, z.ZodTypeAny, "passthrough">>, z.ZodBoolean]>>;

dropLabels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
checks: z.ZodOptional<z.ZodObject<{
circularDependency: z.ZodOptional<z.ZodBoolean>;
}, "strict", z.ZodTypeAny, {
circularDependency?: boolean | undefined;
}, {
circularDependency?: boolean | undefined;
}>>;
}, {

@@ -599,5 +619,8 @@ external: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;

shimMissingExports?: boolean | undefined;
moduleTypes?: Record<string, "base64" | "js" | "jsx" | "ts" | "tsx" | "json" | "text" | "dataurl" | "binary" | "empty" | "css"> | undefined;
moduleTypes?: Record<string, "base64" | "binary" | "js" | "jsx" | "ts" | "tsx" | "json" | "text" | "dataurl" | "empty" | "css"> | undefined;
define?: Record<string, string> | undefined;
dropLabels?: string[] | undefined;
checks?: {
circularDependency?: boolean | undefined;
} | undefined;
}, {

@@ -620,5 +643,8 @@ external?: string[] | undefined;

shimMissingExports?: boolean | undefined;
moduleTypes?: Record<string, "base64" | "js" | "jsx" | "ts" | "tsx" | "json" | "text" | "dataurl" | "binary" | "empty" | "css"> | undefined;
moduleTypes?: Record<string, "base64" | "binary" | "js" | "jsx" | "ts" | "tsx" | "json" | "text" | "dataurl" | "empty" | "css"> | undefined;
define?: Record<string, string> | undefined;
dropLabels?: string[] | undefined;
checks?: {
circularDependency?: boolean | undefined;
} | undefined;
}>;

@@ -27,2 +27,9 @@ import { RolldownPluginOption } from '../plugin';

}
export interface ChecksOptions {
/**
* Wether to emit warnings when detecting circular dependencies.
* @default false
*/
circularDependency?: boolean;
}
export interface InputOptions {

@@ -33,3 +40,3 @@ input?: InputOption;

resolve?: {
alias?: Record<string, string>;
alias?: Record<string, string[] | string>;
aliasFields?: string[][];

@@ -97,2 +104,4 @@ conditionNames?: string[];

dropLabels?: string[];
keepNames?: boolean;
checks?: ChecksOptions;
}

@@ -99,0 +108,0 @@ interface OverwriteInputOptionsForCli {

@@ -909,4 +909,8 @@ // utils

export interface PreRenderedAsset {
/** @deprecated Use "names" instead. */
name: string | undefined
names: string[]
/** @deprecated Use "originalFileNames" instead. */
originalFileName: string | null
originalFileNames: string[]
source: string | Uint8Array

@@ -913,0 +917,0 @@ type: 'asset'

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

}>;
export declare const ModuleSideEffectsOptionSchema: z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodArray<z.ZodEffects<z.ZodObject<{
export declare const ModuleSideEffectsOptionSchema: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodArray<z.ZodEffects<z.ZodObject<{
test: z.ZodOptional<z.ZodType<RegExp, z.ZodTypeDef, RegExp>>;

@@ -45,5 +45,5 @@ external: z.ZodOptional<z.ZodBoolean>;

test?: RegExp | undefined;
}>, "many">]>, z.ZodLiteral<"no-external">]>;
}>, "many">]>, z.ZodFunction<z.ZodTuple<[z.ZodString, z.ZodBoolean], z.ZodUnknown>, z.ZodOptional<z.ZodBoolean>>]>, z.ZodLiteral<"no-external">]>;
export declare const TreeshakingOptionsSchema: z.ZodUnion<[z.ZodObject<{
moduleSideEffects: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodArray<z.ZodEffects<z.ZodObject<{
moduleSideEffects: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodArray<z.ZodEffects<z.ZodObject<{
test: z.ZodOptional<z.ZodType<RegExp, z.ZodTypeDef, RegExp>>;

@@ -68,6 +68,6 @@ external: z.ZodOptional<z.ZodBoolean>;

test?: RegExp | undefined;
}>, "many">]>, z.ZodLiteral<"no-external">]>>;
}>, "many">]>, z.ZodFunction<z.ZodTuple<[z.ZodString, z.ZodBoolean], z.ZodUnknown>, z.ZodOptional<z.ZodBoolean>>]>, z.ZodLiteral<"no-external">]>>;
annotations: z.ZodOptional<z.ZodBoolean>;
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
moduleSideEffects: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodArray<z.ZodEffects<z.ZodObject<{
moduleSideEffects: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodArray<z.ZodEffects<z.ZodObject<{
test: z.ZodOptional<z.ZodType<RegExp, z.ZodTypeDef, RegExp>>;

@@ -92,6 +92,6 @@ external: z.ZodOptional<z.ZodBoolean>;

test?: RegExp | undefined;
}>, "many">]>, z.ZodLiteral<"no-external">]>>;
}>, "many">]>, z.ZodFunction<z.ZodTuple<[z.ZodString, z.ZodBoolean], z.ZodUnknown>, z.ZodOptional<z.ZodBoolean>>]>, z.ZodLiteral<"no-external">]>>;
annotations: z.ZodOptional<z.ZodBoolean>;
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
moduleSideEffects: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodArray<z.ZodEffects<z.ZodObject<{
moduleSideEffects: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodArray<z.ZodEffects<z.ZodObject<{
test: z.ZodOptional<z.ZodType<RegExp, z.ZodTypeDef, RegExp>>;

@@ -116,5 +116,5 @@ external: z.ZodOptional<z.ZodBoolean>;

test?: RegExp | undefined;
}>, "many">]>, z.ZodLiteral<"no-external">]>>;
}>, "many">]>, z.ZodFunction<z.ZodTuple<[z.ZodString, z.ZodBoolean], z.ZodUnknown>, z.ZodOptional<z.ZodBoolean>>]>, z.ZodLiteral<"no-external">]>>;
annotations: z.ZodOptional<z.ZodBoolean>;
}, z.ZodTypeAny, "passthrough">>, z.ZodBoolean]>;
export type TreeshakingOptions = z.infer<typeof TreeshakingOptionsSchema>;

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

fileName: string;
/** @deprecated Use "originalFileNames" instead. */
originalFileName: string | null;
originalFileNames: string[];
source: AssetSource;
/** @deprecated Use "names" instead. */
name: string | undefined;
names: string[];
}

@@ -18,2 +22,4 @@ export interface SourceMap {

version: number;
toString(): string;
toUrl(): string;
}

@@ -20,0 +26,0 @@ export interface RolldownRenderedModule {

{
"name": "rolldown",
"version": "0.15.0-snapshot-b2570e7-20241204003545",
"version": "0.15.0-snapshot-c66278b-20241208003838",
"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-b2570e7-20241204003545"
"rolldown": "0.15.0-snapshot-c66278b-20241208003838"
},
"optionalDependencies": {
"@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"
"@rolldown/binding-darwin-arm64": "0.15.0-snapshot-c66278b-20241208003838",
"@rolldown/binding-darwin-x64": "0.15.0-snapshot-c66278b-20241208003838",
"@rolldown/binding-linux-arm-gnueabihf": "0.15.0-snapshot-c66278b-20241208003838",
"@rolldown/binding-freebsd-x64": "0.15.0-snapshot-c66278b-20241208003838",
"@rolldown/binding-linux-arm64-gnu": "0.15.0-snapshot-c66278b-20241208003838",
"@rolldown/binding-linux-x64-gnu": "0.15.0-snapshot-c66278b-20241208003838",
"@rolldown/binding-linux-arm64-musl": "0.15.0-snapshot-c66278b-20241208003838",
"@rolldown/binding-linux-x64-musl": "0.15.0-snapshot-c66278b-20241208003838",
"@rolldown/binding-wasm32-wasi": "0.15.0-snapshot-c66278b-20241208003838",
"@rolldown/binding-win32-arm64-msvc": "0.15.0-snapshot-c66278b-20241208003838",
"@rolldown/binding-win32-ia32-msvc": "0.15.0-snapshot-c66278b-20241208003838",
"@rolldown/binding-win32-x64-msvc": "0.15.0-snapshot-c66278b-20241208003838"
},

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

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