New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

rolldown

Package Overview
Dependencies
Maintainers
0
Versions
392
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.13.2-snapshot-918a4e0-20241103003536 to 0.13.2-snapshot-a292401-20241105072341

dist/shared/src_index-CngklO4k.cjs

10

dist/types/binding.d.ts

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

scan(): Promise<void>
hmrRebuild(changedFiles: Array<string>): Promise<BindingOutputs>
close(): Promise<void>

@@ -145,3 +146,4 @@ watch(): Promise<BindingWatcher>

BuildImportAnalysisPlugin = 10,
ReplacePlugin = 11
ReplacePlugin = 11,
ReactPlugin = 12
}

@@ -296,2 +298,3 @@

dir?: string
file?: string
esModule?: boolean | 'if-default-prop'

@@ -302,3 +305,3 @@ exports?: 'default' | 'named' | 'none' | 'auto'

footer?: (chunk: RenderedChunk) => MaybePromise<VoidNullable<string>>
format?: 'es' | 'cjs' | 'iife' | 'umd'
format?: 'es' | 'cjs' | 'iife' | 'umd' | 'app'
globals?: Record<string, string>

@@ -432,2 +435,3 @@ inlineDynamicImports?: boolean

jsxInject?: string
reactRefresh?: boolean
targets?: string

@@ -704,4 +708,2 @@ }

jsx?: JsxOptions
/** Enable ES2015 transformations. */
es2015?: Es2015Options
/** Define Plugin */

@@ -708,0 +710,0 @@ define?: Record<string, string>

12

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

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

inject: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>>>;
dev: z.ZodOptional<z.ZodBoolean>;
profilerNames: z.ZodOptional<z.ZodBoolean>;

@@ -139,4 +140,5 @@ jsx: z.ZodOptional<z.ZodObject<{

dir: z.ZodOptional<z.ZodString>;
file: z.ZodOptional<z.ZodString>;
exports: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"auto">, z.ZodLiteral<"named">]>, z.ZodLiteral<"default">]>, z.ZodLiteral<"none">]>>;
format: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"es">, z.ZodLiteral<"cjs">]>, z.ZodLiteral<"esm">]>, z.ZodLiteral<"module">]>, z.ZodLiteral<"commonjs">]>, z.ZodLiteral<"iife">]>, z.ZodLiteral<"umd">]>>;
format: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"es">, z.ZodLiteral<"cjs">]>, z.ZodLiteral<"esm">]>, z.ZodLiteral<"module">]>, z.ZodLiteral<"commonjs">]>, z.ZodLiteral<"iife">]>, z.ZodLiteral<"umd">]>, z.ZodLiteral<"app">]>>;
sourcemap: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"inline">]>, z.ZodLiteral<"hidden">]>>;

@@ -237,2 +239,3 @@ sourcemapIgnoreList: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodType<import("../../options/output-options").SourcemapIgnoreListOption, z.ZodTypeDef, import("../../options/output-options").SourcemapIgnoreListOption>]>>;

inject?: Record<string, string> | undefined;
dev?: boolean | undefined;
watch?: boolean | undefined;

@@ -243,6 +246,7 @@ footer?: string | undefined;

outro?: string | undefined;
file?: string | undefined;
name?: string | undefined;
exports?: "auto" | "named" | "default" | "none" | undefined;
dir?: string | undefined;
format?: "es" | "cjs" | "esm" | "module" | "commonjs" | "iife" | "umd" | undefined;
format?: "es" | "cjs" | "esm" | "module" | "commonjs" | "iife" | "umd" | "app" | undefined;
sourcemap?: boolean | "inline" | "hidden" | undefined;

@@ -284,2 +288,3 @@ extend?: boolean | undefined;

inject?: Record<string, string> | undefined;
dev?: boolean | undefined;
watch?: boolean | undefined;

@@ -290,6 +295,7 @@ footer?: string | undefined;

outro?: string | undefined;
file?: string | undefined;
name?: string | undefined;
exports?: "auto" | "named" | "default" | "none" | undefined;
dir?: string | undefined;
format?: "es" | "cjs" | "esm" | "module" | "commonjs" | "iife" | "umd" | undefined;
format?: "es" | "cjs" | "esm" | "module" | "commonjs" | "iife" | "umd" | "app" | undefined;
sourcemap?: boolean | "inline" | "hidden" | undefined;

@@ -296,0 +302,0 @@ extend?: boolean | undefined;

@@ -6,2 +6,2 @@ export { defineParallelPlugin } from './plugin/parallel-plugin';

export { composeJsPlugins as composePlugins } from './utils/compose-js-plugins';
export { modulePreloadPolyfillPlugin, dynamicImportVarsPlugin, wasmHelperPlugin, wasmFallbackPlugin, importGlobPlugin, manifestPlugin, loadFallbackPlugin, transformPlugin, aliasPlugin, jsonPlugin, buildImportAnalysisPlugin, replacePlugin, } from './plugin/builtin-plugin';
export { modulePreloadPolyfillPlugin, dynamicImportVarsPlugin, wasmHelperPlugin, wasmFallbackPlugin, importGlobPlugin, manifestPlugin, loadFallbackPlugin, transformPlugin, aliasPlugin, jsonPlugin, buildImportAnalysisPlugin, replacePlugin, reactPlugin, } from './plugin/builtin-plugin';

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

inject: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>>>;
dev: z.ZodOptional<z.ZodBoolean>;
profilerNames: z.ZodOptional<z.ZodBoolean>;

@@ -197,2 +198,3 @@ jsx: z.ZodOptional<z.ZodObject<{

inject?: Record<string, string | [string, string]> | undefined;
dev?: boolean | undefined;
profilerNames?: boolean | undefined;

@@ -250,2 +252,3 @@ watch?: false | {

inject?: Record<string, string | [string, string]> | undefined;
dev?: boolean | undefined;
profilerNames?: boolean | undefined;

@@ -327,2 +330,3 @@ watch?: false | {

inject: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>>>;
dev: z.ZodOptional<z.ZodBoolean>;
profilerNames: z.ZodOptional<z.ZodBoolean>;

@@ -411,2 +415,3 @@ jsx: z.ZodOptional<z.ZodObject<{

inject?: Record<string, string> | undefined;
dev?: boolean | undefined;
}, {

@@ -431,2 +436,3 @@ external?: string[] | undefined;

inject?: Record<string, string> | undefined;
dev?: boolean | undefined;
}>;

@@ -433,0 +439,0 @@ type RawInputOptions = z.infer<typeof inputOptionsSchema>;

@@ -5,3 +5,3 @@ import type { SourcemapIgnoreListOption, SourcemapPathTransformOption } from '../rollup';

import type { PreRenderedChunk, RenderedChunk } from '../binding';
export type InternalModuleFormat = 'es' | 'cjs' | 'iife' | 'umd';
export type InternalModuleFormat = 'es' | 'cjs' | 'iife' | 'app' | 'umd';
type AddonFunction = (chunk: RenderedChunk) => string | Promise<string>;

@@ -8,0 +8,0 @@ type ChunkFileNamesOption = string | ((chunk: PreRenderedChunk) => string) | undefined;

import type { PreRenderedChunk, RenderedChunk } from '../binding';
import { z } from 'zod';
declare const ModuleFormatSchema: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"es">, z.ZodLiteral<"cjs">]>, z.ZodLiteral<"esm">]>, z.ZodLiteral<"module">]>, z.ZodLiteral<"commonjs">]>, z.ZodLiteral<"iife">]>, z.ZodLiteral<"umd">]>>;
declare const ModuleFormatSchema: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"es">, z.ZodLiteral<"cjs">]>, z.ZodLiteral<"esm">]>, z.ZodLiteral<"module">]>, z.ZodLiteral<"commonjs">]>, z.ZodLiteral<"iife">]>, z.ZodLiteral<"umd">]>, z.ZodLiteral<"app">]>>;
declare const outputOptionsSchema: z.ZodObject<{
dir: z.ZodOptional<z.ZodString>;
file: z.ZodOptional<z.ZodString>;
exports: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"auto">, z.ZodLiteral<"named">]>, z.ZodLiteral<"default">]>, z.ZodLiteral<"none">]>>;
format: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"es">, z.ZodLiteral<"cjs">]>, z.ZodLiteral<"esm">]>, z.ZodLiteral<"module">]>, z.ZodLiteral<"commonjs">]>, z.ZodLiteral<"iife">]>, z.ZodLiteral<"umd">]>>;
format: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"es">, z.ZodLiteral<"cjs">]>, z.ZodLiteral<"esm">]>, z.ZodLiteral<"module">]>, z.ZodLiteral<"commonjs">]>, z.ZodLiteral<"iife">]>, z.ZodLiteral<"umd">]>, z.ZodLiteral<"app">]>>;
sourcemap: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"inline">]>, z.ZodLiteral<"hidden">]>>;

@@ -73,6 +74,7 @@ sourcemapIgnoreList: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodType<SourcemapIgnoreListOption, z.ZodTypeDef, SourcemapIgnoreListOption>]>>;

outro?: string | ((args_0: RenderedChunk, ...args: unknown[]) => string | Promise<string>) | undefined;
file?: string | undefined;
name?: string | undefined;
exports?: "auto" | "named" | "default" | "none" | undefined;
dir?: string | undefined;
format?: "es" | "cjs" | "esm" | "module" | "commonjs" | "iife" | "umd" | undefined;
format?: "es" | "cjs" | "esm" | "module" | "commonjs" | "iife" | "umd" | "app" | undefined;
sourcemap?: boolean | "inline" | "hidden" | undefined;

@@ -106,6 +108,7 @@ sourcemapIgnoreList?: boolean | SourcemapIgnoreListOption | undefined;

outro?: string | ((args_0: RenderedChunk, ...args: unknown[]) => string | Promise<string>) | undefined;
file?: string | undefined;
name?: string | undefined;
exports?: "auto" | "named" | "default" | "none" | undefined;
dir?: string | undefined;
format?: "es" | "cjs" | "esm" | "module" | "commonjs" | "iife" | "umd" | undefined;
format?: "es" | "cjs" | "esm" | "module" | "commonjs" | "iife" | "umd" | "app" | undefined;
sourcemap?: boolean | "inline" | "hidden" | undefined;

@@ -137,4 +140,5 @@ sourcemapIgnoreList?: boolean | SourcemapIgnoreListOption | undefined;

dir: z.ZodOptional<z.ZodString>;
file: z.ZodOptional<z.ZodString>;
exports: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"auto">, z.ZodLiteral<"named">]>, z.ZodLiteral<"default">]>, z.ZodLiteral<"none">]>>;
format: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"es">, z.ZodLiteral<"cjs">]>, z.ZodLiteral<"esm">]>, z.ZodLiteral<"module">]>, z.ZodLiteral<"commonjs">]>, z.ZodLiteral<"iife">]>, z.ZodLiteral<"umd">]>>;
format: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"es">, z.ZodLiteral<"cjs">]>, z.ZodLiteral<"esm">]>, z.ZodLiteral<"module">]>, z.ZodLiteral<"commonjs">]>, z.ZodLiteral<"iife">]>, z.ZodLiteral<"umd">]>, z.ZodLiteral<"app">]>>;
sourcemap: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"inline">]>, z.ZodLiteral<"hidden">]>>;

@@ -221,6 +225,7 @@ sourcemapIgnoreList: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodType<SourcemapIgnoreListOption, z.ZodTypeDef, SourcemapIgnoreListOption>]>>;

outro?: string | undefined;
file?: string | undefined;
name?: string | undefined;
exports?: "auto" | "named" | "default" | "none" | undefined;
dir?: string | undefined;
format?: "es" | "cjs" | "esm" | "module" | "commonjs" | "iife" | "umd" | undefined;
format?: "es" | "cjs" | "esm" | "module" | "commonjs" | "iife" | "umd" | "app" | undefined;
sourcemap?: boolean | "inline" | "hidden" | undefined;

@@ -245,6 +250,7 @@ extend?: boolean | undefined;

outro?: string | undefined;
file?: string | undefined;
name?: string | undefined;
exports?: "auto" | "named" | "default" | "none" | undefined;
dir?: string | undefined;
format?: "es" | "cjs" | "esm" | "module" | "commonjs" | "iife" | "umd" | undefined;
format?: "es" | "cjs" | "esm" | "module" | "commonjs" | "iife" | "umd" | "app" | undefined;
sourcemap?: boolean | "inline" | "hidden" | undefined;

@@ -251,0 +257,0 @@ extend?: boolean | undefined;

@@ -45,2 +45,5 @@ import { TransformPluginConfig } from '../options/normalized-ecma-transform-plugin-config';

}
export declare class ReactPlugin extends BuiltinPlugin {
constructor();
}
export declare function modulePreloadPolyfillPlugin(config?: BindingModulePreloadPolyfillPluginConfig): ModulePreloadPolyfillPlugin;

@@ -83,1 +86,2 @@ export declare function dynamicImportVarsPlugin(): DynamicImportVarsPlugin;

export declare function bindingifyBuiltInPlugin(plugin: BuiltinPlugin): BindingBuiltinPlugin;
export declare function reactPlugin(): ReactPlugin;
import type { OutputOptions } from './options/output-options';
import type { RolldownOutput } from './types/rolldown-output';
import type { InputOptions } from './options/input-options';
import { AssetSource } from './utils/asset-source';
export declare class RolldownBuild {

@@ -9,3 +10,4 @@ #private;

write(outputOptions?: OutputOptions): Promise<RolldownOutput>;
experimental_hmr_rebuild(changedFiles: string[]): Promise<[string, AssetSource]>;
close(): Promise<void>;
}
{
"name": "rolldown",
"version": "0.13.2-snapshot-918a4e0-20241103003536",
"version": "0.13.2-snapshot-a292401-20241105072341",
"description": "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.",

@@ -83,2 +83,7 @@ "homepage": "https://rolldown.rs/",

"dependencies": {
"@parcel/watcher": "2.4.1",
"chokidar": "3.6.0",
"connect": "3.7.0",
"watchpack": "2.4.2",
"ws": "8.18.0",
"zod": "^3.23.8"

@@ -89,3 +94,7 @@ },

"@napi-rs/wasm-runtime": "^0.2.4",
"@types/connect": "3.4.38",
"@types/lodash-es": "^4.17.12",
"@types/serve-static": "1.13.6",
"@types/watchpack": "2.4.2",
"@types/ws": "8.5.12",
"colorette": "^2.0.20",

@@ -102,2 +111,3 @@ "consola": "^3.2.3",

"rollup": "^4.18.0",
"signal-exit": "4.1.0",
"type-fest": "^4.20.0",

@@ -109,18 +119,18 @@ "unbuild": "^2.0.0",

"zod-to-json-schema": "^3.23.2",
"rolldown": "0.13.2-snapshot-918a4e0-20241103003536",
"@rolldown/testing": "0.0.1"
"@rolldown/testing": "0.0.1",
"rolldown": "0.13.2-snapshot-a292401-20241105072341"
},
"optionalDependencies": {
"@rolldown/binding-darwin-arm64": "0.13.2-snapshot-918a4e0-20241103003536",
"@rolldown/binding-darwin-x64": "0.13.2-snapshot-918a4e0-20241103003536",
"@rolldown/binding-freebsd-x64": "0.13.2-snapshot-918a4e0-20241103003536",
"@rolldown/binding-linux-arm-gnueabihf": "0.13.2-snapshot-918a4e0-20241103003536",
"@rolldown/binding-linux-arm64-gnu": "0.13.2-snapshot-918a4e0-20241103003536",
"@rolldown/binding-linux-x64-gnu": "0.13.2-snapshot-918a4e0-20241103003536",
"@rolldown/binding-wasm32-wasi": "0.13.2-snapshot-918a4e0-20241103003536",
"@rolldown/binding-linux-x64-musl": "0.13.2-snapshot-918a4e0-20241103003536",
"@rolldown/binding-win32-arm64-msvc": "0.13.2-snapshot-918a4e0-20241103003536",
"@rolldown/binding-win32-ia32-msvc": "0.13.2-snapshot-918a4e0-20241103003536",
"@rolldown/binding-win32-x64-msvc": "0.13.2-snapshot-918a4e0-20241103003536",
"@rolldown/binding-linux-arm64-musl": "0.13.2-snapshot-918a4e0-20241103003536"
"@rolldown/binding-darwin-x64": "0.13.2-snapshot-a292401-20241105072341",
"@rolldown/binding-darwin-arm64": "0.13.2-snapshot-a292401-20241105072341",
"@rolldown/binding-freebsd-x64": "0.13.2-snapshot-a292401-20241105072341",
"@rolldown/binding-linux-arm-gnueabihf": "0.13.2-snapshot-a292401-20241105072341",
"@rolldown/binding-linux-arm64-gnu": "0.13.2-snapshot-a292401-20241105072341",
"@rolldown/binding-linux-arm64-musl": "0.13.2-snapshot-a292401-20241105072341",
"@rolldown/binding-linux-x64-gnu": "0.13.2-snapshot-a292401-20241105072341",
"@rolldown/binding-linux-x64-musl": "0.13.2-snapshot-a292401-20241105072341",
"@rolldown/binding-wasm32-wasi": "0.13.2-snapshot-a292401-20241105072341",
"@rolldown/binding-win32-ia32-msvc": "0.13.2-snapshot-a292401-20241105072341",
"@rolldown/binding-win32-arm64-msvc": "0.13.2-snapshot-a292401-20241105072341",
"@rolldown/binding-win32-x64-msvc": "0.13.2-snapshot-a292401-20241105072341"
},

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