@swc-node/register
Advanced tools
Comparing version 0.5.0 to 0.5.1
@@ -6,2 +6,8 @@ # Change Log | ||
## [0.5.1](https://github.com/Brooooooklyn/swc-node/compare/@swc-node/register@0.5.0...@swc-node/register@0.5.1) (2020-09-17) | ||
### Bug Fixes | ||
- **register:** add fastpath to handle .d.ts file ([afe4ca9](https://github.com/Brooooooklyn/swc-node/commit/afe4ca921985ecce907cb752fb674c8278041bc0)) | ||
# [0.5.0](https://github.com/Brooooooklyn/swc-node/compare/@swc-node/register@0.4.10...@swc-node/register@0.5.0) (2020-09-16) | ||
@@ -8,0 +14,0 @@ |
@@ -57,2 +57,5 @@ "use strict"; | ||
var _a, _b, _c, _d, _e; | ||
if (filename.endsWith('.d.ts')) { | ||
return ''; | ||
} | ||
if (options.files && options.files.length) { | ||
@@ -59,0 +62,0 @@ if (PLATFORM === 'win32' && options.files.every((file) => filename !== path_1.join(process.cwd(), file))) { |
{ | ||
"name": "@swc-node/register", | ||
"version": "0.5.0", | ||
"version": "0.5.1", | ||
"description": "SWC node register", | ||
@@ -50,3 +50,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "318f7dfefadc8b3b9143bc5ee22211863ee46bc0" | ||
"gitHead": "7fd2b732cd32aecee7bb14517ded926c8e3c22cf" | ||
} |
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
222964
153