oxc-transform
Advanced tools
Comparing version 0.30.5 to 0.31.0
/* auto-generated by NAPI-RS */ | ||
/* eslint-disable */ | ||
export interface ArrowFunctionsBindingOptions { | ||
export interface ArrowFunctionsOptions { | ||
/** | ||
@@ -15,5 +15,5 @@ * This option enables the following: | ||
export interface Es2015BindingOptions { | ||
export interface Es2015Options { | ||
/** Transform arrow functions into function expressions. */ | ||
arrowFunction?: ArrowFunctionsBindingOptions | ||
arrowFunction?: ArrowFunctionsOptions | ||
} | ||
@@ -48,3 +48,3 @@ | ||
*/ | ||
export interface ReactBindingOptions { | ||
export interface JsxOptions { | ||
/** | ||
@@ -136,6 +136,6 @@ * Decides which runtime to use. | ||
*/ | ||
refresh?: boolean | ReactRefreshBindingOptions | ||
refresh?: boolean | ReactRefreshOptions | ||
} | ||
export interface ReactRefreshBindingOptions { | ||
export interface ReactRefreshOptions { | ||
/** | ||
@@ -188,2 +188,4 @@ * Specify the identifier of the refresh registration variable. | ||
sourceType?: 'script' | 'module' | 'unambiguous' | undefined | ||
/** Treat the source text as `js`, `jsx`, `ts`, or `tsx`. */ | ||
lang?: 'js' | 'jsx' | 'ts' | 'tsx' | ||
/** | ||
@@ -194,8 +196,2 @@ * The current working directory. Used to resolve relative paths in other | ||
cwd?: string | ||
/** Configure how TypeScript is transformed. */ | ||
typescript?: TypeScriptBindingOptions | ||
/** Configure how TSX and JSX are transformed. */ | ||
react?: ReactBindingOptions | ||
/** Enable ES2015 transformations. */ | ||
es2015?: ES2015BindingOptions | ||
/** | ||
@@ -211,2 +207,12 @@ * Enable source map generation. | ||
sourcemap?: boolean | ||
/** Configure how TypeScript is transformed. */ | ||
typescript?: TypeScriptOptions | ||
/** Configure how TSX and JSX are transformed. */ | ||
jsx?: JsxOptions | ||
/** Enable ES2015 transformations. */ | ||
es2015?: Es2015Options | ||
/** Define Plugin */ | ||
define?: Record<string, string> | ||
/** Inject Plugin */ | ||
inject?: Record<string, string | [string, string]> | ||
} | ||
@@ -234,3 +240,3 @@ | ||
* | ||
* @see {@link TypeScriptBindingOptions#declaration} | ||
* @see {@link TypeScriptOptions#declaration} | ||
* @see [declaration tsconfig option](https://www.typescriptlang.org/tsconfig/#declaration) | ||
@@ -241,3 +247,3 @@ */ | ||
* Declaration source map. Only generated if both | ||
* {@link TypeScriptBindingOptions#declaration declaration} and | ||
* {@link TypeScriptOptions#declaration declaration} and | ||
* {@link TransformOptions#sourcemap sourcemap} are set to `true`. | ||
@@ -256,3 +262,3 @@ */ | ||
export interface TypeScriptBindingOptions { | ||
export interface TypeScriptOptions { | ||
jsxPragma?: string | ||
@@ -259,0 +265,0 @@ jsxPragmaFrag?: string |
{ | ||
"name": "oxc-transform", | ||
"version": "0.30.5", | ||
"version": "0.31.0", | ||
"description": "Oxc transform Node API", | ||
@@ -26,11 +26,11 @@ "keywords": [ | ||
"optionalDependencies": { | ||
"@oxc-transform/binding-win32-x64-msvc": "0.30.5", | ||
"@oxc-transform/binding-win32-arm64-msvc": "0.30.5", | ||
"@oxc-transform/binding-linux-x64-gnu": "0.30.5", | ||
"@oxc-transform/binding-linux-arm64-gnu": "0.30.5", | ||
"@oxc-transform/binding-linux-x64-musl": "0.30.5", | ||
"@oxc-transform/binding-linux-arm64-musl": "0.30.5", | ||
"@oxc-transform/binding-darwin-x64": "0.30.5", | ||
"@oxc-transform/binding-darwin-arm64": "0.30.5" | ||
"@oxc-transform/binding-win32-x64-msvc": "0.31.0", | ||
"@oxc-transform/binding-win32-arm64-msvc": "0.31.0", | ||
"@oxc-transform/binding-linux-x64-gnu": "0.31.0", | ||
"@oxc-transform/binding-linux-arm64-gnu": "0.31.0", | ||
"@oxc-transform/binding-linux-x64-musl": "0.31.0", | ||
"@oxc-transform/binding-linux-arm64-musl": "0.31.0", | ||
"@oxc-transform/binding-darwin-x64": "0.31.0", | ||
"@oxc-transform/binding-darwin-arm64": "0.31.0" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
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
21122
603
10