oxc-transform
Advanced tools
Comparing version 0.19.0 to 0.20.0
@@ -6,2 +6,8 @@ /* tslint:disable */ | ||
export interface IsolatedDeclarationsResult { | ||
sourceText: string | ||
errors: Array<string> | ||
} | ||
/** TypeScript Isolated Declarations for Standalone DTS Emit */ | ||
function isolatedDeclaration(filename: string, sourceText: string): IsolatedDeclarationsResult | ||
export interface TypeScriptBindingOptions { | ||
@@ -31,3 +37,6 @@ jsxPragma?: string | ||
} | ||
export interface TransformBindingOptions { | ||
export interface TransformOptions { | ||
sourceType?: 'script' | 'module' | 'unambiguous' | undefined | ||
/** Force jsx parsing, */ | ||
jsx?: boolean | ||
typescript?: TypeScriptBindingOptions | ||
@@ -58,8 +67,2 @@ react?: ReactBindingOptions | ||
} | ||
function transform(filename: string, sourceText: string, options?: TransformBindingOptions | undefined | null): TransformResult | ||
export interface IsolatedDeclarationsResult { | ||
sourceText: string | ||
errors: Array<string> | ||
} | ||
/** TypeScript Isolated Declarations for Standalone DTS Emit */ | ||
function isolatedDeclaration(filename: string, sourceText: string): IsolatedDeclarationsResult | ||
function transform(filename: string, sourceText: string, options?: TransformOptions | undefined | null): TransformResult |
@@ -313,5 +313,5 @@ /* tslint:disable */ | ||
const { transform, isolatedDeclaration } = nativeBinding | ||
const { isolatedDeclaration, transform } = nativeBinding | ||
module.exports.isolatedDeclaration = isolatedDeclaration | ||
module.exports.transform = transform | ||
module.exports.isolatedDeclaration = isolatedDeclaration |
{ | ||
"name": "oxc-transform", | ||
"version": "0.19.0", | ||
"version": "0.20.0", | ||
"description": "Oxc transform Node API", | ||
@@ -26,11 +26,11 @@ "keywords": [ | ||
"optionalDependencies": { | ||
"@oxc-transform/binding-win32-x64-msvc": "0.19.0", | ||
"@oxc-transform/binding-win32-arm64-msvc": "0.19.0", | ||
"@oxc-transform/binding-linux-x64-gnu": "0.19.0", | ||
"@oxc-transform/binding-linux-arm64-gnu": "0.19.0", | ||
"@oxc-transform/binding-linux-x64-musl": "0.19.0", | ||
"@oxc-transform/binding-linux-arm64-musl": "0.19.0", | ||
"@oxc-transform/binding-darwin-x64": "0.19.0", | ||
"@oxc-transform/binding-darwin-arm64": "0.19.0" | ||
"@oxc-transform/binding-win32-x64-msvc": "0.20.0", | ||
"@oxc-transform/binding-win32-arm64-msvc": "0.20.0", | ||
"@oxc-transform/binding-linux-x64-gnu": "0.20.0", | ||
"@oxc-transform/binding-linux-arm64-gnu": "0.20.0", | ||
"@oxc-transform/binding-linux-x64-musl": "0.20.0", | ||
"@oxc-transform/binding-linux-arm64-musl": "0.20.0", | ||
"@oxc-transform/binding-darwin-x64": "0.20.0", | ||
"@oxc-transform/binding-darwin-arm64": "0.20.0" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13241
370