Socket
Socket
Sign inDemoInstall

@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.2.0 to 0.2.1

6

CHANGELOG.md

@@ -6,2 +6,8 @@ # Change Log

## [0.2.1](https://github.com/Brooooooklyn/swc-node/compare/@swc-node/core@0.2.0...@swc-node/core@0.2.1) (2020-08-09)
### Bug Fixes
- **core:** missing jsx option ([0518375](https://github.com/Brooooooklyn/swc-node/commit/0518375485974258461910b78e73b49ef5b4f67b))
# [0.2.0](https://github.com/Brooooooklyn/swc-node/compare/@swc-node/core@0.1.12...@swc-node/core@0.2.0) (2020-08-09)

@@ -8,0 +14,0 @@

1

index.d.ts

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

sourcemap?: boolean | 'inline'
jsx?: boolean
experimentalDecorators?: boolean

@@ -7,0 +8,0 @@ emitDecoratorMetadata?: boolean

4

index.js

@@ -26,3 +26,3 @@ const { platform } = require('os')

syntax: 'typescript',
tsx: path.endsWith('.tsx'),
tsx: typeof opts.jsx !== 'undefined' ? opts.jsx : path.endsWith('.tsx'),
decorators: Boolean(opts.experimentalDecorators),

@@ -52,3 +52,3 @@ dynamicImport: Boolean(opts.dynamicImport),

syntax: 'typescript',
tsx: path.endsWith('.tsx'),
tsx: typeof opts.jsx !== 'undefined' ? opts.jsx : path.endsWith('.tsx'),
decorators: Boolean(opts.experimentalDecorators),

@@ -55,0 +55,0 @@ dynamicImport: Boolean(opts.dynamicImport),

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

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

},
"gitHead": "519754a7a809da5ea61eeee20f06035f5af2f04c",
"gitHead": "a769a18a2c9b398ba36fbbd0bb73c95d2963cd21",
"optionalDependencies": {
"@swc-node/core-darwin": "^0.2.0",
"@swc-node/core-linux": "^0.2.0",
"@swc-node/core-win32": "^0.2.0"
"@swc-node/core-darwin": "^0.2.1",
"@swc-node/core-linux": "^0.2.1",
"@swc-node/core-win32": "^0.2.1"
}
}
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