Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

oxc-transform

Package Overview
Dependencies
Maintainers
0
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

oxc-transform - npm Package Compare versions

Comparing version 0.16.2 to 0.16.3

38

index.d.ts

@@ -7,13 +7,13 @@ /* tslint:disable */

export interface TypeScriptBindingOptions {
jsxPragma: string
jsxPragmaFrag: string
onlyRemoveTypeImports: boolean
allowNamespaces: boolean
allowDeclareFields: boolean
jsxPragma?: string
jsxPragmaFrag?: string
onlyRemoveTypeImports?: boolean
allowNamespaces?: boolean
allowDeclareFields?: boolean
}
export interface ReactBindingOptions {
runtime: 'classic' | 'automatic'
development: boolean
throwIfNamespace: boolean
pure: boolean
runtime?: 'classic' | 'automatic'
development?: boolean
throwIfNamespace?: boolean
pure?: boolean
importSource?: string

@@ -26,3 +26,3 @@ pragma?: string

export interface ArrowFunctionsBindingOptions {
spec: boolean
spec?: boolean
}

@@ -33,5 +33,13 @@ export interface Es2015BindingOptions {

export interface TransformBindingOptions {
typescript: TypeScriptBindingOptions
react: ReactBindingOptions
es2015: Es2015BindingOptions
typescript?: TypeScriptBindingOptions
react?: ReactBindingOptions
es2015?: Es2015BindingOptions
/**
* Enable Sourcemap
*
* * `true` to generate a sourcemap for the code and include it in the result object.
*
* Default: false
*/
sourcemap?: boolean
}

@@ -51,3 +59,3 @@ export interface Sourcemap {

}
export function transform(filename: string, sourceText: string, options: TransformBindingOptions): TransformResult
function transform(filename: string, sourceText: string, options?: TransformBindingOptions | undefined | null): TransformResult
export interface IsolatedDeclarationsResult {

@@ -58,2 +66,2 @@ sourceText: string

/** TypeScript Isolated Declarations for Standalone DTS Emit */
export function isolatedDeclaration(filename: string, sourceText: string): IsolatedDeclarationsResult
function isolatedDeclaration(filename: string, sourceText: string): IsolatedDeclarationsResult
{
"name": "oxc-transform",
"version": "0.16.2",
"version": "0.16.3",
"description": "Oxc transform Node API",

@@ -26,11 +26,11 @@ "keywords": [

"optionalDependencies": {
"@oxc-transform/binding-win32-x64-msvc": "0.16.2",
"@oxc-transform/binding-win32-arm64-msvc": "0.16.2",
"@oxc-transform/binding-linux-x64-gnu": "0.16.2",
"@oxc-transform/binding-linux-arm64-gnu": "0.16.2",
"@oxc-transform/binding-linux-x64-musl": "0.16.2",
"@oxc-transform/binding-linux-arm64-musl": "0.16.2",
"@oxc-transform/binding-darwin-x64": "0.16.2",
"@oxc-transform/binding-darwin-arm64": "0.16.2"
"@oxc-transform/binding-win32-x64-msvc": "0.16.3",
"@oxc-transform/binding-win32-arm64-msvc": "0.16.3",
"@oxc-transform/binding-linux-x64-gnu": "0.16.3",
"@oxc-transform/binding-linux-arm64-gnu": "0.16.3",
"@oxc-transform/binding-linux-x64-musl": "0.16.3",
"@oxc-transform/binding-linux-arm64-musl": "0.16.3",
"@oxc-transform/binding-darwin-x64": "0.16.3",
"@oxc-transform/binding-darwin-arm64": "0.16.3"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc