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.9.1 to 1.9.2

4

lib/register.js

@@ -44,4 +44,4 @@ "use strict";

];
exports.AVAILABLE_TS_EXTENSION_PATTERN = new RegExp(`(?<!\\.d(${[ts.Extension.Ts, ts.Extension.Tsx, ts.Extension.Mts, ts.Extension.Cts].map((ext) => ext.replace(/^\./, '\\.')).join('|')}))$`, 'i');
exports.AVAILABLE_EXTENSION_PATTERN = new RegExp(`(?<!\\.d(${DEFAULT_EXTENSIONS.map((ext) => ext.replace(/^\./, '\\.')).join('|')}))$`, 'i');
exports.AVAILABLE_TS_EXTENSION_PATTERN = new RegExp(`((?<!\\.d)(${[ts.Extension.Ts, ts.Extension.Tsx, ts.Extension.Mts, ts.Extension.Cts].map((ext) => ext.replace(/^\./, '\\.')).join('|')}))$`, 'i');
exports.AVAILABLE_EXTENSION_PATTERN = new RegExp(`((?<!\\.d)(${DEFAULT_EXTENSIONS.map((ext) => ext.replace(/^\./, '\\.')).join('|')}))$`, 'i');
const injectInlineSourceMap = ({ filename, code, map, }) => {

@@ -48,0 +48,0 @@ if (map) {

{
"name": "@swc-node/register",
"version": "1.9.1",
"version": "1.9.2",
"description": "SWC node register",

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

},
"gitHead": "c78ca5eadc24ec5c496d3d299ed1fd98da1ee6fb"
"gitHead": "37b4a40c80f1c61c54830c79619a4282d46224c8"
}

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