@swc-node/core
Advanced tools
Comparing version 0.1.12 to 0.2.0
@@ -5,3 +5,4 @@ export interface Options { | ||
sourcemap?: boolean | 'inline' | ||
legacyDecorator?: boolean | ||
experimentalDecorators?: boolean | ||
emitDecoratorMetadata?: boolean | ||
dynamicImport?: boolean | ||
@@ -8,0 +9,0 @@ } |
10
index.js
@@ -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 @@ |
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
6420
6
88
45