Socket
Socket
Sign inDemoInstall

ts-node

Package Overview
Dependencies
Maintainers
2
Versions
128
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ts-node - npm Package Compare versions

Comparing version 8.8.0 to 8.8.1

6

dist/index.js

@@ -254,3 +254,3 @@ "use strict";

let projectVersion = 1;
const fileVersions = new Map();
const fileVersions = new Map(rootFileNames.map(fileName => [fileName, 0]));
const getCustomTransformers = () => {

@@ -266,6 +266,6 @@ if (typeof transformers === 'function') {

getProjectVersion: () => String(projectVersion),
getScriptFileNames: () => Array.from(fileContents.keys()),
getScriptFileNames: () => Array.from(fileVersions.keys()),
getScriptVersion: (fileName) => {
const version = fileVersions.get(fileName);
return version === undefined ? '' : version.toString();
return version ? version.toString() : '';
},

@@ -272,0 +272,0 @@ getScriptSnapshot(fileName) {

{
"name": "ts-node",
"version": "8.8.0",
"version": "8.8.1",
"description": "TypeScript execution environment and REPL for node.js, with source map support",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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