Comparing version
@@ -249,2 +249,12 @@ type MaybePromise<T> = T | Promise<T> | ||
circularDependency?: boolean | ||
eval?: boolean | ||
missingGlobalName?: boolean | ||
missingNameOptionForIifeExport?: boolean | ||
mixedExport?: boolean | ||
unresolvedEntry?: boolean | ||
unresolvedImport?: boolean | ||
filenameConflict?: boolean | ||
commonJsVariableInEsm?: boolean | ||
importIsUndefined?: boolean | ||
configurationFieldConflict?: boolean | ||
} | ||
@@ -327,2 +337,3 @@ | ||
external?: BindingResolvedExternal | ||
normalizeExternalId?: boolean | ||
sideEffects?: BindingHookSideEffects | ||
@@ -385,2 +396,3 @@ } | ||
deferSyncScanData?: undefined | (() => BindingDeferSyncScanData[]) | ||
makeAbsoluteExternalsRelative?: BindingMakeAbsoluteExternalsRelative | ||
} | ||
@@ -434,2 +446,6 @@ | ||
export type BindingMakeAbsoluteExternalsRelative = | ||
| { type: 'Bool', field0: boolean } | ||
| { type: 'IfRelativeSource' } | ||
export interface BindingManifestPluginConfig { | ||
@@ -436,0 +452,0 @@ root: string |
@@ -6,2 +6,3 @@ import type { RolldownPluginOption } from '../plugin'; | ||
import { TransformOptions } from '../binding'; | ||
import type { ChecksOptions } from './generated/checks-options'; | ||
export type InputOption = string | string[] | Record<string, string>; | ||
@@ -30,9 +31,3 @@ type OxcTransformOption = Omit<TransformOptions, 'sourceType' | 'lang' | 'cwd' | 'sourcemap' | 'jsx' | 'define' | 'inject' | 'target'>; | ||
} | ||
export interface ChecksOptions { | ||
/** | ||
* Whether to emit warnings when detecting circular dependencies. | ||
* @default false | ||
*/ | ||
circularDependency?: boolean; | ||
} | ||
export type MakeAbsoluteExternalsRelative = boolean | 'ifRelativeSource'; | ||
export interface InputOptions { | ||
@@ -176,2 +171,3 @@ input?: InputOption; | ||
checks?: ChecksOptions; | ||
makeAbsoluteExternalsRelative?: MakeAbsoluteExternalsRelative; | ||
} | ||
@@ -178,0 +174,0 @@ interface OverwriteInputOptionsForCli { |
@@ -33,7 +33,7 @@ import type { BindingHookResolveIdExtraArgs, BindingTransformHookExtraArgs } from '../binding'; | ||
export interface ResolvedId extends ModuleOptions { | ||
external: boolean; | ||
external: boolean | 'absolute'; | ||
id: string; | ||
} | ||
export interface PartialResolvedId extends Partial<PartialNull<ModuleOptions>> { | ||
external?: boolean; | ||
external?: boolean | 'absolute' | 'relative'; | ||
id: string; | ||
@@ -40,0 +40,0 @@ } |
{ | ||
"name": "rolldown", | ||
"version": "1.0.0-beta.4-commit.beda261", | ||
"version": "1.0.0-beta.4-commit.d3748b6", | ||
"description": "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.", | ||
@@ -87,3 +87,3 @@ "homepage": "https://rolldown.rs/", | ||
"dependencies": { | ||
"@oxc-project/types": "0.57.0", | ||
"@oxc-project/types": "0.58.1", | ||
"@valibot/to-json-schema": "1.0.0-rc.0", | ||
@@ -93,3 +93,3 @@ "valibot": "1.0.0-rc.3" | ||
"peerDependencies": { | ||
"@oxc-project/runtime": "0.57.0" | ||
"@oxc-project/runtime": "0.58.1" | ||
}, | ||
@@ -103,3 +103,3 @@ "peerDependenciesMeta": { | ||
"@jridgewell/sourcemap-codec": "^1.5.0", | ||
"@napi-rs/cli": "^3.0.0-alpha.72", | ||
"@napi-rs/cli": "^3.0.0-alpha.74", | ||
"@napi-rs/wasm-runtime": "^0.2.4", | ||
@@ -127,18 +127,18 @@ "@oxc-node/core": "^0.0.20", | ||
"why-is-node-running": "^3.0.0", | ||
"rolldown": "1.0.0-beta.4-commit.beda261", | ||
"@rolldown/testing": "0.0.1" | ||
"@rolldown/testing": "0.0.1", | ||
"rolldown": "1.0.0-beta.4-commit.d3748b6" | ||
}, | ||
"optionalDependencies": { | ||
"@rolldown/binding-darwin-arm64": "1.0.0-beta.4-commit.beda261", | ||
"@rolldown/binding-darwin-x64": "1.0.0-beta.4-commit.beda261", | ||
"@rolldown/binding-linux-arm-gnueabihf": "1.0.0-beta.4-commit.beda261", | ||
"@rolldown/binding-linux-arm64-musl": "1.0.0-beta.4-commit.beda261", | ||
"@rolldown/binding-freebsd-x64": "1.0.0-beta.4-commit.beda261", | ||
"@rolldown/binding-linux-arm64-gnu": "1.0.0-beta.4-commit.beda261", | ||
"@rolldown/binding-linux-x64-gnu": "1.0.0-beta.4-commit.beda261", | ||
"@rolldown/binding-linux-x64-musl": "1.0.0-beta.4-commit.beda261", | ||
"@rolldown/binding-wasm32-wasi": "1.0.0-beta.4-commit.beda261", | ||
"@rolldown/binding-win32-arm64-msvc": "1.0.0-beta.4-commit.beda261", | ||
"@rolldown/binding-win32-ia32-msvc": "1.0.0-beta.4-commit.beda261", | ||
"@rolldown/binding-win32-x64-msvc": "1.0.0-beta.4-commit.beda261" | ||
"@rolldown/binding-darwin-arm64": "1.0.0-beta.4-commit.d3748b6", | ||
"@rolldown/binding-darwin-x64": "1.0.0-beta.4-commit.d3748b6", | ||
"@rolldown/binding-freebsd-x64": "1.0.0-beta.4-commit.d3748b6", | ||
"@rolldown/binding-linux-arm-gnueabihf": "1.0.0-beta.4-commit.d3748b6", | ||
"@rolldown/binding-linux-arm64-gnu": "1.0.0-beta.4-commit.d3748b6", | ||
"@rolldown/binding-linux-x64-gnu": "1.0.0-beta.4-commit.d3748b6", | ||
"@rolldown/binding-linux-x64-musl": "1.0.0-beta.4-commit.d3748b6", | ||
"@rolldown/binding-linux-arm64-musl": "1.0.0-beta.4-commit.d3748b6", | ||
"@rolldown/binding-win32-arm64-msvc": "1.0.0-beta.4-commit.d3748b6", | ||
"@rolldown/binding-win32-ia32-msvc": "1.0.0-beta.4-commit.d3748b6", | ||
"@rolldown/binding-win32-x64-msvc": "1.0.0-beta.4-commit.d3748b6", | ||
"@rolldown/binding-wasm32-wasi": "1.0.0-beta.4-commit.d3748b6" | ||
}, | ||
@@ -145,0 +145,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
Sorry, the diff of this file is not supported yet
643760
1.07%112
0.9%15901
0.82%+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
Updated