Comparing version 1.0.0-beta.1-commit.65e3d8a to 1.0.0-beta.1-commit.67a0051
@@ -230,3 +230,4 @@ type MaybePromise<T> = T | Promise<T> | ||
'builtin:replace'| | ||
'builtin:vite-resolve'; | ||
'builtin:vite-resolve'| | ||
'builtin:module-federation'; | ||
@@ -408,2 +409,10 @@ export interface BindingBundlerOptions { | ||
export interface BindingModuleFederationPluginOption { | ||
name: string | ||
filename?: string | ||
expose: Record<string, string> | ||
remotes: Record<string, BindingRemote> | ||
shared: Record<string, BindingShared> | ||
} | ||
export interface BindingModulePreloadPolyfillPluginConfig { | ||
@@ -534,2 +543,10 @@ skip?: boolean | ||
export interface BindingRemote { | ||
type?: string | ||
name: string | ||
entry: string | ||
entryGlobalName?: string | ||
shareScope?: string | ||
} | ||
export interface BindingReplacePluginConfig { | ||
@@ -557,2 +574,11 @@ values: Record<string, string> | ||
export interface BindingShared { | ||
name: string | ||
version?: string | ||
shareScope?: string | ||
singleton?: boolean | ||
requiredVersion?: string | ||
strictVersion?: boolean | ||
} | ||
export interface BindingSourcemap { | ||
@@ -559,0 +585,0 @@ inner: string | BindingJsonSourcemap |
@@ -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,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>); |
{ | ||
"name": "rolldown", | ||
"version": "1.0.0-beta.1-commit.65e3d8a", | ||
"version": "1.0.0-beta.1-commit.67a0051", | ||
"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.65e3d8a" | ||
"rolldown": "1.0.0-beta.1-commit.67a0051" | ||
}, | ||
"optionalDependencies": { | ||
"@rolldown/binding-darwin-arm64": "1.0.0-beta.1-commit.65e3d8a", | ||
"@rolldown/binding-darwin-x64": "1.0.0-beta.1-commit.65e3d8a", | ||
"@rolldown/binding-freebsd-x64": "1.0.0-beta.1-commit.65e3d8a", | ||
"@rolldown/binding-linux-arm-gnueabihf": "1.0.0-beta.1-commit.65e3d8a", | ||
"@rolldown/binding-linux-arm64-gnu": "1.0.0-beta.1-commit.65e3d8a", | ||
"@rolldown/binding-linux-arm64-musl": "1.0.0-beta.1-commit.65e3d8a", | ||
"@rolldown/binding-linux-x64-gnu": "1.0.0-beta.1-commit.65e3d8a", | ||
"@rolldown/binding-linux-x64-musl": "1.0.0-beta.1-commit.65e3d8a", | ||
"@rolldown/binding-wasm32-wasi": "1.0.0-beta.1-commit.65e3d8a", | ||
"@rolldown/binding-win32-arm64-msvc": "1.0.0-beta.1-commit.65e3d8a", | ||
"@rolldown/binding-win32-ia32-msvc": "1.0.0-beta.1-commit.65e3d8a", | ||
"@rolldown/binding-win32-x64-msvc": "1.0.0-beta.1-commit.65e3d8a" | ||
"@rolldown/binding-darwin-arm64": "1.0.0-beta.1-commit.67a0051", | ||
"@rolldown/binding-freebsd-x64": "1.0.0-beta.1-commit.67a0051", | ||
"@rolldown/binding-linux-arm-gnueabihf": "1.0.0-beta.1-commit.67a0051", | ||
"@rolldown/binding-linux-arm64-gnu": "1.0.0-beta.1-commit.67a0051", | ||
"@rolldown/binding-linux-arm64-musl": "1.0.0-beta.1-commit.67a0051", | ||
"@rolldown/binding-darwin-x64": "1.0.0-beta.1-commit.67a0051", | ||
"@rolldown/binding-wasm32-wasi": "1.0.0-beta.1-commit.67a0051", | ||
"@rolldown/binding-linux-x64-gnu": "1.0.0-beta.1-commit.67a0051", | ||
"@rolldown/binding-win32-arm64-msvc": "1.0.0-beta.1-commit.67a0051", | ||
"@rolldown/binding-linux-x64-musl": "1.0.0-beta.1-commit.67a0051", | ||
"@rolldown/binding-win32-ia32-msvc": "1.0.0-beta.1-commit.67a0051", | ||
"@rolldown/binding-win32-x64-msvc": "1.0.0-beta.1-commit.67a0051" | ||
}, | ||
@@ -134,0 +134,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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
23
696978
15
108
14012
2
+ Addedvalibot@1.0.0-beta.9
+ Added@babel/runtime@7.26.7(transitive)
+ Added@rolldown/binding-darwin-arm64@1.0.0-beta.1-commit.67a0051(transitive)
+ Added@rolldown/binding-darwin-x64@1.0.0-beta.1-commit.67a0051(transitive)
+ Added@rolldown/binding-freebsd-x64@1.0.0-beta.1-commit.67a0051(transitive)
+ Added@rolldown/binding-linux-arm-gnueabihf@1.0.0-beta.1-commit.67a0051(transitive)
+ Added@rolldown/binding-linux-arm64-gnu@1.0.0-beta.1-commit.67a0051(transitive)
+ Added@rolldown/binding-linux-arm64-musl@1.0.0-beta.1-commit.67a0051(transitive)
+ Added@rolldown/binding-linux-x64-gnu@1.0.0-beta.1-commit.67a0051(transitive)
+ Added@rolldown/binding-linux-x64-musl@1.0.0-beta.1-commit.67a0051(transitive)
+ Added@rolldown/binding-wasm32-wasi@1.0.0-beta.1-commit.67a0051(transitive)
+ Added@rolldown/binding-win32-arm64-msvc@1.0.0-beta.1-commit.67a0051(transitive)
+ Added@rolldown/binding-win32-ia32-msvc@1.0.0-beta.1-commit.67a0051(transitive)
+ Added@rolldown/binding-win32-x64-msvc@1.0.0-beta.1-commit.67a0051(transitive)
+ Added@valibot/to-json-schema@1.0.0-beta.3(transitive)
+ Addedvalibot@1.0.0-beta.9(transitive)
- Removedzod@^3.23.8
- Removed@babel/runtime@7.26.0(transitive)
- Removed@rolldown/binding-darwin-arm64@1.0.0-beta.1-commit.65e3d8a(transitive)
- Removed@rolldown/binding-darwin-x64@1.0.0-beta.1-commit.65e3d8a(transitive)
- Removed@rolldown/binding-freebsd-x64@1.0.0-beta.1-commit.65e3d8a(transitive)
- Removed@rolldown/binding-linux-arm-gnueabihf@1.0.0-beta.1-commit.65e3d8a(transitive)
- Removed@rolldown/binding-linux-arm64-gnu@1.0.0-beta.1-commit.65e3d8a(transitive)
- Removed@rolldown/binding-linux-arm64-musl@1.0.0-beta.1-commit.65e3d8a(transitive)
- Removed@rolldown/binding-linux-x64-gnu@1.0.0-beta.1-commit.65e3d8a(transitive)
- Removed@rolldown/binding-linux-x64-musl@1.0.0-beta.1-commit.65e3d8a(transitive)
- Removed@rolldown/binding-wasm32-wasi@1.0.0-beta.1-commit.65e3d8a(transitive)
- Removed@rolldown/binding-win32-arm64-msvc@1.0.0-beta.1-commit.65e3d8a(transitive)
- Removed@rolldown/binding-win32-ia32-msvc@1.0.0-beta.1-commit.65e3d8a(transitive)
- Removed@rolldown/binding-win32-x64-msvc@1.0.0-beta.1-commit.65e3d8a(transitive)
- Removedzod@3.24.1(transitive)