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

@swc-node/core

Package Overview
Dependencies
Maintainers
1
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@swc-node/core - npm Package Compare versions

Comparing version 0.1.12 to 0.2.0

CHANGELOG.md

3

index.d.ts

@@ -5,3 +5,4 @@ export interface Options {

sourcemap?: boolean | 'inline'
legacyDecorator?: boolean
experimentalDecorators?: boolean
emitDecoratorMetadata?: boolean
dynamicImport?: boolean

@@ -8,0 +9,0 @@ }

@@ -27,7 +27,8 @@ const { platform } = require('os')

tsx: path.endsWith('.tsx'),
decorators: Boolean(opts.legacyDecorator),
decorators: Boolean(opts.experimentalDecorators),
dynamicImport: Boolean(opts.dynamicImport),
},
transform: {
legacyDecorator: Boolean(opts.legacyDecorator),
legacyDecorator: Boolean(opts.experimentalDecorators),
decoratorMetadata: Boolean(opts.emitDecoratorMetadata),
},

@@ -52,7 +53,8 @@ },

tsx: path.endsWith('.tsx'),
decorators: Boolean(opts.legacyDecorator),
decorators: Boolean(opts.experimentalDecorators),
dynamicImport: Boolean(opts.dynamicImport),
},
transform: {
legacyDecorator: Boolean(opts.legacyDecorator),
legacyDecorator: Boolean(opts.experimentalDecorators),
decoratorMetadata: Boolean(opts.emitDecoratorMetadata),
},

@@ -59,0 +61,0 @@ },

{
"name": "@swc-node/core",
"version": "0.1.12",
"version": "0.2.0",
"description": "Faster swc nodejs binding",

@@ -59,8 +59,8 @@ "keywords": [

},
"gitHead": "ded23efe52b1dcce474e7ec0163ee77b77371181",
"gitHead": "519754a7a809da5ea61eeee20f06035f5af2f04c",
"optionalDependencies": {
"@swc-node/core-darwin": "^0.1.12",
"@swc-node/core-linux": "^0.1.12",
"@swc-node/core-win32": "^0.1.12"
"@swc-node/core-darwin": "^0.2.0",
"@swc-node/core-linux": "^0.2.0",
"@swc-node/core-win32": "^0.2.0"
}
}

@@ -19,10 +19,8 @@ # `@swc-node/core`

export interface Options {
target: 'es3' | 'es5' | 'es2015' | 'es2016' | 'es2017' | 'es2018' | 'es2019' | 'es2020'
module: 'commonjs' | 'umd' | 'amd' | 'es6'
sourcemap: boolean | 'inline'
hygiene: boolean
tsx: boolean
decorators: boolean
dynamic_import: boolean
no_early_errors: boolean
target?: 'es3' | 'es5' | 'es2015' | 'es2016' | 'es2017' | 'es2018' | 'es2019' | 'es2020'
module?: 'commonjs' | 'umd' | 'amd' | 'es6'
sourcemap?: boolean | 'inline'
experimentalDecorators?: boolean
emitDecoratorMetadata?: boolean
dynamicImport?: boolean
}

@@ -29,0 +27,0 @@

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