oxc-transform
Advanced tools
Comparing version 0.29.0 to 0.30.0
@@ -21,6 +21,15 @@ /* auto-generated by NAPI-RS */ | ||
/** TypeScript Isolated Declarations for Standalone DTS Emit */ | ||
export declare function isolatedDeclaration(filename: string, sourceText: string, options: IsolatedDeclarationsOptions): IsolatedDeclarationsResult | ||
export declare function isolatedDeclaration(filename: string, sourceText: string, options?: IsolatedDeclarationsOptions | undefined | null): IsolatedDeclarationsResult | ||
export interface IsolatedDeclarationsOptions { | ||
sourcemap: boolean | ||
/** | ||
* Do not emit declarations for code that has an @internal annotation in its JSDoc comment. | ||
* This is an internal compiler option; use at your own risk, because the compiler does not check that the result is valid. | ||
* | ||
* Default: `false` | ||
* | ||
* See <https://www.typescriptlang.org/tsconfig/#stripInternal> | ||
*/ | ||
stripInternal?: boolean | ||
sourcemap?: boolean | ||
} | ||
@@ -37,3 +46,3 @@ | ||
* | ||
* @see [@babel/plugin-transform-react-jsx](https://babeljs.io/docs/babel-plugin-transform-react-jsx#options) | ||
* @see {@link https://babeljs.io/docs/babel-plugin-transform-react-jsx#options} | ||
*/ | ||
@@ -55,3 +64,3 @@ export interface ReactBindingOptions { | ||
* | ||
* @see [@babel/plugin-transform-react-jsx-development](https://babeljs.io/docs/babel-plugin-transform-react-jsx-development) | ||
* @see {@link https://babeljs.io/docs/babel-plugin-transform-react-jsx-development} | ||
*/ | ||
@@ -70,6 +79,8 @@ development?: boolean | ||
/** | ||
* Enables [@babel/plugin-transform-react-pure-annotations](https://babeljs.io/docs/en/babel-plugin-transform-react-pure-annotations). | ||
* Enables `@babel/plugin-transform-react-pure-annotations`. | ||
* | ||
* It will mark top-level React method calls as pure for tree shaking. | ||
* | ||
* @see {@link https://babeljs.io/docs/en/babel-plugin-transform-react-pure-annotations} | ||
* | ||
* @default true | ||
@@ -256,3 +267,3 @@ */ | ||
*/ | ||
declaration?: boolean | ||
declaration?: IsolatedDeclarationsOptions | ||
/** | ||
@@ -259,0 +270,0 @@ * Rewrite or remove TypeScript import/export declaration extensions. |
{ | ||
"name": "oxc-transform", | ||
"version": "0.29.0", | ||
"version": "0.30.0", | ||
"description": "Oxc transform Node API", | ||
@@ -26,11 +26,11 @@ "keywords": [ | ||
"optionalDependencies": { | ||
"@oxc-transform/binding-win32-x64-msvc": "0.29.0", | ||
"@oxc-transform/binding-win32-arm64-msvc": "0.29.0", | ||
"@oxc-transform/binding-linux-x64-gnu": "0.29.0", | ||
"@oxc-transform/binding-linux-arm64-gnu": "0.29.0", | ||
"@oxc-transform/binding-linux-x64-musl": "0.29.0", | ||
"@oxc-transform/binding-linux-arm64-musl": "0.29.0", | ||
"@oxc-transform/binding-darwin-x64": "0.29.0", | ||
"@oxc-transform/binding-darwin-arm64": "0.29.0" | ||
"@oxc-transform/binding-win32-x64-msvc": "0.30.0", | ||
"@oxc-transform/binding-win32-arm64-msvc": "0.30.0", | ||
"@oxc-transform/binding-linux-x64-gnu": "0.30.0", | ||
"@oxc-transform/binding-linux-arm64-gnu": "0.30.0", | ||
"@oxc-transform/binding-linux-x64-musl": "0.30.0", | ||
"@oxc-transform/binding-linux-arm64-musl": "0.30.0", | ||
"@oxc-transform/binding-darwin-x64": "0.30.0", | ||
"@oxc-transform/binding-darwin-arm64": "0.30.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
20709
597