Socket
Socket
Sign inDemoInstall

mocha-typescript

Package Overview
Dependencies
67
Maintainers
2
Versions
39
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.11 to 1.1.12

7

bin/watch.js
#!/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 @@ },

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc