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

rolldown

Package Overview
Dependencies
Maintainers
0
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 1.0.0-beta.1-commit.3a0e84b to 1.0.0-beta.1-commit.42ee4c9

dist/shared/consola_36c0034f-BBnpcLZ5.cjs

34

dist/types/binding.d.ts

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

get fileName(): string
get modules(): Record<string, BindingRenderedModule>
get modules(): BindingModules
get imports(): Array<string>

@@ -157,2 +157,15 @@ get dynamicImports(): Array<string>

export declare class RenderedChunk {
get name(): string
get isEntry(): boolean
get isDynamicEntry(): boolean
get facadeModuleId(): string | null
get moduleIds(): Array<string>
get exports(): Array<string>
get fileName(): string
get modules(): BindingModules
get imports(): Array<string>
get dynamicImports(): Array<string>
}
export interface AliasItem {

@@ -400,2 +413,7 @@ find: string

export interface BindingModules {
value: Array<BindingRenderedModule>
idToIndex: Record<string, number>
}
export interface BindingModuleSideEffectsRule {

@@ -442,2 +460,3 @@ test?: RegExp | undefined

polyfillRequire?: boolean
target?: string
}

@@ -833,15 +852,2 @@

export interface RenderedChunk {
name: string
isEntry: boolean
isDynamicEntry: boolean
facadeModuleId?: string
moduleIds: Array<string>
exports: Array<string>
fileName: string
modules: Record<string, BindingRenderedModule>
imports: Array<string>
dynamicImports: Array<string>
}
export type Severity = 'Error'|

@@ -848,0 +854,0 @@ 'Warning'|

@@ -1,2 +0,9 @@

import { CliOptions } from './schema';
import type { InputCliOptions } from '../../options/input-options';
import type { OutputCliOptions } from '../../options/output-options';
export interface CliOptions extends InputCliOptions, OutputCliOptions {
config?: string | boolean;
help?: boolean;
version?: boolean;
watch?: boolean;
}
export interface OptionConfig {

@@ -3,0 +10,0 @@ abbreviation?: string;

import { type NormalizedCliOptions } from './normalize';
import type { Schema } from './types';
import type { Schema } from '../../types/schema';
export declare const flattenedSchema: Record<string, Schema>;

@@ -4,0 +4,0 @@ export declare const options: {

@@ -1,2 +0,2 @@

import { CliOptions } from './schema';
import type { CliOptions } from './alias';
import type { InputOptions } from '../../options/input-options';

@@ -3,0 +3,0 @@ import type { OutputOptions } from '../../options/output-options';

@@ -1,3 +0,4 @@

import type { Schema } from './types';
export declare function getSchemaType(schema: Schema): 'string' | 'boolean' | 'object' | 'number' | 'array';
import type { Schema } from '../../types/schema';
type SchemaType = 'string' | 'boolean' | 'object' | 'number' | 'array';
export declare function getSchemaType(schema: Schema): SchemaType;
export declare function flattenSchema(schema: Record<string, Schema>, base?: Record<string, Schema>, parent?: string): Record<string, Schema>;

@@ -7,1 +8,2 @@ export declare function setNestedProperty<T extends object, K>(obj: T, path: string, value: K): void;

export declare function kebabCaseToCamelCase(str: string): string;
export {};

@@ -1,3 +0,3 @@

import { ConfigExport } from '../types/config-export';
import type { ConfigExport } from '../types/config-export';
export declare function loadTsConfig(configFile: string): Promise<ConfigExport>;
export declare function loadConfig(configPath: string): Promise<ConfigExport>;

@@ -1,2 +0,1 @@

import type Z from 'zod';
export type LogLevel = 'info' | 'debug' | 'warn';

@@ -7,5 +6,2 @@ export type LogLevelOption = LogLevel | 'silent';

export type RollupLogWithString = RollupLog | string;
export declare const LogLevelSchema: Z.ZodType<LogLevel>;
export declare const LogLevelOptionSchema: Z.ZodType<LogLevelOption>;
export declare const LogLevelWithErrorSchema: Z.ZodType<LogLevelWithError>;
export declare const LOG_LEVEL_SILENT: LogLevelOption;

@@ -17,3 +13,1 @@ export declare const LOG_LEVEL_ERROR = "error";

export declare const logLevelPriority: Record<LogLevelOption, number>;
export declare const RollupLogSchema: Z.ZodAny;
export declare const RollupLogWithStringSchema: Z.ZodUnion<[Z.ZodAny, Z.ZodString]>;

@@ -1,5 +0,5 @@

import { RolldownPluginOption } from '../plugin';
import { LogLevel, LogLevelOption, LogLevelWithError, RollupLog, RollupLogWithString } from '../log/logging';
import { TreeshakingOptions } from '../treeshake';
import { NullValue, StringOrRegExp } from '../types/utils';
import type { RolldownPluginOption } from '../plugin';
import type { LogLevel, LogLevelOption, LogLevelWithError, RollupLog, RollupLogWithString } from '../log/logging';
import type { NullValue, StringOrRegExp } from '../types/utils';
import type { TreeshakingOptions } from '../types/module-side-effects';
export type InputOption = string | string[] | Record<string, string>;

@@ -6,0 +6,0 @@ export type ExternalOption = StringOrRegExp | StringOrRegExp[] | ((id: string, parentId: string | undefined, isResolved: boolean) => NullValue<boolean>);

@@ -10,2 +10,3 @@ import type { StringOrRegExp } from '../types/utils';

export type GlobalsFunction = (name: string) => string;
export type ESTarget = 'es6' | 'es2015' | 'es2016' | 'es2017' | 'es2018' | 'es2019' | 'es2020' | 'es2021' | 'es2022' | 'es2023' | 'es2024' | 'esnext';
export interface OutputOptions {

@@ -65,2 +66,3 @@ dir?: string;

polyfillRequire?: boolean;
target?: ESTarget;
}

@@ -67,0 +69,0 @@ interface OverwriteOutputOptionsForCli {

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

};
name: string;
isEntry: boolean;
isDynamicEntry: boolean;
facadeModuleId: string | null;
moduleIds: Array<string>;
exports: Array<string>;
fileName: string;
imports: Array<string>;
dynamicImports: Array<string>;
}

@@ -34,0 +43,0 @@ export interface OutputChunk {

{
"name": "rolldown",
"version": "1.0.0-beta.1-commit.3a0e84b",
"version": "1.0.0-beta.1-commit.42ee4c9",
"description": "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.",

@@ -82,3 +82,4 @@ "homepage": "https://rolldown.rs/",

"dependencies": {
"zod": "^3.23.8"
"@valibot/to-json-schema": "1.0.0-beta.3",
"valibot": "1.0.0-beta.9"
},

@@ -115,19 +116,18 @@ "peerDependencies": {

"why-is-node-running": "^3.0.0",
"zod-to-json-schema": "^3.23.2",
"@rolldown/testing": "0.0.1",
"rolldown": "1.0.0-beta.1-commit.3a0e84b"
"rolldown": "1.0.0-beta.1-commit.42ee4c9"
},
"optionalDependencies": {
"@rolldown/binding-darwin-arm64": "1.0.0-beta.1-commit.3a0e84b",
"@rolldown/binding-darwin-x64": "1.0.0-beta.1-commit.3a0e84b",
"@rolldown/binding-linux-arm-gnueabihf": "1.0.0-beta.1-commit.3a0e84b",
"@rolldown/binding-freebsd-x64": "1.0.0-beta.1-commit.3a0e84b",
"@rolldown/binding-linux-arm64-gnu": "1.0.0-beta.1-commit.3a0e84b",
"@rolldown/binding-linux-x64-gnu": "1.0.0-beta.1-commit.3a0e84b",
"@rolldown/binding-linux-arm64-musl": "1.0.0-beta.1-commit.3a0e84b",
"@rolldown/binding-linux-x64-musl": "1.0.0-beta.1-commit.3a0e84b",
"@rolldown/binding-wasm32-wasi": "1.0.0-beta.1-commit.3a0e84b",
"@rolldown/binding-win32-arm64-msvc": "1.0.0-beta.1-commit.3a0e84b",
"@rolldown/binding-win32-x64-msvc": "1.0.0-beta.1-commit.3a0e84b",
"@rolldown/binding-win32-ia32-msvc": "1.0.0-beta.1-commit.3a0e84b"
"@rolldown/binding-darwin-arm64": "1.0.0-beta.1-commit.42ee4c9",
"@rolldown/binding-darwin-x64": "1.0.0-beta.1-commit.42ee4c9",
"@rolldown/binding-freebsd-x64": "1.0.0-beta.1-commit.42ee4c9",
"@rolldown/binding-linux-arm64-musl": "1.0.0-beta.1-commit.42ee4c9",
"@rolldown/binding-linux-x64-gnu": "1.0.0-beta.1-commit.42ee4c9",
"@rolldown/binding-linux-arm64-gnu": "1.0.0-beta.1-commit.42ee4c9",
"@rolldown/binding-linux-x64-musl": "1.0.0-beta.1-commit.42ee4c9",
"@rolldown/binding-linux-arm-gnueabihf": "1.0.0-beta.1-commit.42ee4c9",
"@rolldown/binding-wasm32-wasi": "1.0.0-beta.1-commit.42ee4c9",
"@rolldown/binding-win32-arm64-msvc": "1.0.0-beta.1-commit.42ee4c9",
"@rolldown/binding-win32-x64-msvc": "1.0.0-beta.1-commit.42ee4c9",
"@rolldown/binding-win32-ia32-msvc": "1.0.0-beta.1-commit.42ee4c9"
},

@@ -151,6 +151,4 @@ "scripts": {

"# Scrips for checking #": "_",
"test": "pnpm run --filter rolldown-tests go",
"test:update": "vitest run -u",
"type-check": "tsc"
}
}

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