Socket
Socket
Sign inDemoInstall

ts-node

Package Overview
Dependencies
Maintainers
1
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 6.0.3 to 6.0.4

6

dist/index.js

@@ -324,5 +324,5 @@ "use strict";

if (!noProject) {
configFileName = project ? path_1.resolve(cwd, project) : ts.findConfigFile(cwd, fileExists);
configFileName = project ? path_1.resolve(cwd, project) : ts.findConfigFile(normalizeSlashes(cwd), fileExists);
if (configFileName) {
var result = ts.readConfigFile(configFileName, readFile);
var result = ts.readConfigFile(normalizeSlashes(configFileName), readFile);
if (result.error) {

@@ -378,3 +378,3 @@ throw new TSError([formatDiagnostic(result.error, cwd, ts, 0)]);

function updateOutput(outputText, fileName, sourceMap, getExtension) {
var base64Map = new Buffer(updateSourceMap(sourceMap, fileName), 'utf8').toString('base64');
var base64Map = Buffer.from(updateSourceMap(sourceMap, fileName), 'utf8').toString('base64');
var sourceMapContent = "data:application/json;charset=utf-8;base64," + base64Map;

@@ -381,0 +381,0 @@ var sourceMapLength = (path_1.basename(fileName) + ".map").length + (getExtension(fileName).length - path_1.extname(fileName).length);

{
"name": "ts-node",
"version": "6.0.3",
"version": "6.0.4",
"description": "TypeScript execution environment and REPL for node",

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