@swc-node/register
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -6,2 +6,8 @@ # Change Log | ||
## [1.0.2](https://github.com/Brooooooklyn/swc-node/compare/@swc-node/register@1.0.1...@swc-node/register@1.0.2) (2020-11-18) | ||
### Bug Fixes | ||
- **register:** handle absolute file paths ([f21a48a](https://github.com/Brooooooklyn/swc-node/commit/f21a48a5a3150ce388a695bf8e36d5d8a64895db)) | ||
## [1.0.1](https://github.com/Brooooooklyn/swc-node/compare/@swc-node/register@1.0.0...@swc-node/register@1.0.1) (2020-10-21) | ||
@@ -8,0 +14,0 @@ |
@@ -60,3 +60,4 @@ "use strict"; | ||
if (options.files && options.files.length) { | ||
if (PLATFORM === 'win32' && options.files.every((file) => filename !== path_1.join(process.cwd(), file))) { | ||
if (PLATFORM === 'win32' && | ||
options.files.every((file) => filename !== path_1.resolve(process.cwd(), file))) { | ||
return sourcecode; | ||
@@ -63,0 +64,0 @@ } |
{ | ||
"name": "@swc-node/register", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "SWC node register", | ||
@@ -41,3 +41,3 @@ "keywords": [ | ||
"dependencies": { | ||
"@swc-node/core": "^1.1.0", | ||
"@swc-node/core": "^1.1.1", | ||
"@swc-node/sourcemap-support": "^0.1.8", | ||
@@ -51,3 +51,3 @@ "chalk": "^4.1.0", | ||
}, | ||
"gitHead": "768f53831c3a14742af31e9cafe598785e8c5b4f" | ||
"gitHead": "e2414527e6278e3ed2af97c92b0d72a341660e69" | ||
} |
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
22811
153
Updated@swc-node/core@^1.1.1