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 1.0.1 to 1.0.2

6

CHANGELOG.md

@@ -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 @@

3

lib/register.js

@@ -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

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