mocha-typescript
Advanced tools
Comparing version 1.1.11 to 1.1.12
#!/usr/bin/env node | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const child_process = require("child_process"); | ||
const readline = require("readline"); | ||
const chalk = require("chalk"); | ||
const yargs = require("yargs"); | ||
var spawn = child_process.spawn; | ||
const cross_spawn_1 = require("cross-spawn"); | ||
var argv = yargs | ||
@@ -92,3 +91,3 @@ .options({ | ||
} | ||
mochap = spawn(argv.mocha, mocha_options); | ||
mochap = cross_spawn_1.spawn(argv.mocha, mocha_options); | ||
let source = mochap; | ||
@@ -118,3 +117,3 @@ mochap.on("close", code => { | ||
} | ||
var tscp = spawn(argv.tsc, ["-p", argv.project, "-w"]); | ||
var tscp = cross_spawn_1.spawn(argv.tsc, ["-p", argv.project, "-w"]); | ||
var tscl = readline.createInterface({ input: tscp.stdout }); | ||
@@ -121,0 +120,0 @@ tscl.on("line", line => { |
{ | ||
"name": "mocha-typescript", | ||
"version": "1.1.11", | ||
"version": "1.1.12", | ||
"description": "TypeScript decorators based wrapper over mocha's interface", | ||
@@ -23,2 +23,3 @@ "main": "index.js", | ||
"chalk": "^1.1.3", | ||
"cross-spawn": "^5.1.0", | ||
"yargs": "^6.5.0" | ||
@@ -25,0 +26,0 @@ }, |
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
99356
0
3
1353
+ Addedcross-spawn@^5.1.0
+ Addedcross-spawn@5.1.0(transitive)
+ Addedisexe@2.0.0(transitive)
+ Addedlru-cache@4.1.5(transitive)
+ Addedpseudomap@1.0.2(transitive)
+ Addedshebang-command@1.2.0(transitive)
+ Addedshebang-regex@1.0.0(transitive)
+ Addedwhich@1.3.1(transitive)
+ Addedyallist@2.1.2(transitive)