Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

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 0.9.2 to 0.9.3

12

dist/bin.js

@@ -6,4 +6,5 @@ #!/usr/bin/env node

var args = [path_1.join(__dirname, '_bin.js')];
for (var i = 2; i < process.argv.length; i++) {
var arg = process.argv[i];
var opts = process.argv.slice(2);
for (var i = 0; i < opts.length; i++) {
var arg = opts[i];
var flag = arg.split('=')[0];

@@ -13,2 +14,3 @@ switch (flag) {

args.unshift('--debug');
opts.splice(i, 1);
break;

@@ -19,2 +21,3 @@ case 'debug':

args.unshift(arg);
opts.splice(i, 1);
break;

@@ -24,2 +27,3 @@ case '-gc':

args.unshift('--expose-gc');
opts.splice(i, 1);
break;

@@ -37,2 +41,3 @@ case '--gc-global':

args.unshift(arg);
opts.splice(i, 1);
break;

@@ -42,2 +47,3 @@ default:

args.unshift(arg);
opts.splice(i, 1);
}

@@ -50,3 +56,3 @@ break;

}
var proc = child_process_1.spawn(process.execPath, args.concat(process.argv.slice(2)), { stdio: 'inherit' });
var proc = child_process_1.spawn(process.execPath, args.concat(opts), { stdio: 'inherit' });
proc.on('exit', function (code, signal) {

@@ -53,0 +59,0 @@ process.on('exit', function () {

{
"name": "ts-node",
"version": "0.9.2",
"version": "0.9.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

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