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

@swc-node/register

Package Overview
Dependencies
Maintainers
1
Versions
85
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@swc-node/register - npm Package Compare versions

Comparing version 0.4.9 to 0.4.10

6

CHANGELOG.md

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

## [0.4.10](https://github.com/Brooooooklyn/swc-node/compare/@swc-node/register@0.4.9...@swc-node/register@0.4.10) (2020-09-11)
### Bug Fixes
- **core:** add support for esModuleInterop ([a7f3331](https://github.com/Brooooooklyn/swc-node/commit/a7f3331f06d597e39cb44be8a8d73f264a417a71))
## [0.4.9](https://github.com/Brooooooklyn/swc-node/compare/@swc-node/register@0.4.8...@swc-node/register@0.4.9) (2020-09-09)

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

3

lib/register.js

@@ -56,3 +56,3 @@ "use strict";

function compile(sourcecode, filename, options) {
var _a, _b, _c, _d;
var _a, _b, _c, _d, _e;
if (options && typeof options.fallbackToTs === 'function' && options.fallbackToTs(filename)) {

@@ -78,2 +78,3 @@ delete options.fallbackToTs;

dynamicImport: options.module ? options.module >= ts.ModuleKind.ES2020 : true,
esModuleInterop: (_e = options.esModuleInterop) !== null && _e !== void 0 ? _e : false,
});

@@ -80,0 +81,0 @@ // in case of map is undefined

{
"name": "@swc-node/register",
"version": "0.4.9",
"version": "0.4.10",
"description": "SWC node register",

@@ -41,3 +41,3 @@ "keywords": [

"dependencies": {
"@swc-node/core": "^0.7.3",
"@swc-node/core": "^0.7.4",
"@swc-node/sourcemap-support": "^0.1.8",

@@ -50,3 +50,3 @@ "debug": "^4.1.1",

},
"gitHead": "4997c8639f4fe67afbd861de9dbc2fa435d974b0"
"gitHead": "38938a204527c3f8df036c98a0494e41661ab652"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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