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 1.4.2 to 1.4.3

1

dist/_bin.js

@@ -140,2 +140,3 @@ "use strict";

function evalAndExit(code, isPrinted) {
;
global.__filename = EVAL_FILENAME;

@@ -142,0 +143,0 @@ global.__dirname = cwd;

12

dist/bin.js

@@ -9,3 +9,3 @@ #!/usr/bin/env node

var arg = opts[i];
var flag = arg.split('=')[0];
var flag = arg.split('=', 1)[0];
switch (flag) {

@@ -16,8 +16,2 @@ case '-d':

break;
case 'debug':
case '--debug':
case '--debug-brk':
args.unshift(arg);
opts.splice(i, 1);
break;
case '-gc':

@@ -28,2 +22,6 @@ case '--expose-gc':

break;
case 'debug':
case '--debug':
case '--debug-brk':
case '--inspect':
case '--gc-global':

@@ -30,0 +28,0 @@ case '--es_staging':

@@ -22,11 +22,11 @@ "use strict";

fileExists: fileExists,
cache: yn(process.env.TS_NODE_CACHE),
cacheDirectory: process.env.TS_NODE_CACHE_DIRECTORY,
disableWarnings: yn(process.env.TS_NODE_DISABLE_WARNINGS),
compiler: process.env.TS_NODE_COMPILER,
compilerOptions: parse(process.env.TS_NODE_COMPILER_OPTIONS),
project: process.env.TS_NODE_PROJECT,
ignore: split(process.env.TS_NODE_IGNORE),
ignoreWarnings: split(process.env.TS_NODE_IGNORE_WARNINGS),
fast: yn(process.env.TS_NODE_FAST)
cache: yn(process.env['TS_NODE_CACHE']),
cacheDirectory: process.env['TS_NODE_CACHE_DIRECTORY'],
disableWarnings: yn(process.env['TS_NODE_DISABLE_WARNINGS']),
compiler: process.env['TS_NODE_COMPILER'],
compilerOptions: parse(process.env['TS_NODE_COMPILER_OPTIONS']),
project: process.env['TS_NODE_PROJECT'],
ignore: split(process.env['TS_NODE_IGNORE']),
ignoreWarnings: split(process.env['TS_NODE_IGNORE_WARNINGS']),
fast: yn(process.env['TS_NODE_FAST'])
};

@@ -94,3 +94,3 @@ function split(value) {

function getExtension(fileName) {
if (compilerOptions.jsx === 'preserve' && path_1.extname(fileName) === '.tsx') {
if (config.options.jsx === ts.JsxEmit.Preserve && path_1.extname(fileName) === '.tsx') {
return '.jsx';

@@ -97,0 +97,0 @@ }

{
"name": "ts-node",
"version": "1.4.2",
"version": "1.4.3",
"preferGlobal": true,

@@ -5,0 +5,0 @@ "description": "TypeScript execution environment and REPL for node",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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