@swc-node/register
Advanced tools
Comparing version 0.4.9 to 0.4.10
@@ -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 @@ |
@@ -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
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
179310
130
Updated@swc-node/core@^0.7.4