New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

stryker

Package Overview
Dependencies
Maintainers
3
Versions
107
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stryker - npm Package Compare versions

Comparing version 0.26.1 to 0.26.2

8

CHANGELOG.md

@@ -6,2 +6,10 @@ # Change Log

<a name="0.26.2"></a>
## [0.26.2](https://github.com/stryker-mutator/stryker/compare/stryker@0.26.1...stryker@0.26.2) (2018-08-16)
**Note:** Version bump only for package stryker
<a name="0.26.1"></a>

@@ -8,0 +16,0 @@ ## [0.26.1](https://github.com/stryker-mutator/stryker/compare/stryker@0.26.0...stryker@0.26.1) (2018-08-03)

6

package.json
{
"name": "stryker",
"version": "0.26.1",
"version": "0.26.2",
"description": "The extendable JavaScript mutation testing framework",

@@ -57,3 +57,3 @@ "main": "src/Stryker.js",

"chalk": "~2.4.1",
"commander": "~2.16.0",
"commander": "~2.17.1",
"escodegen": "~1.8.0",

@@ -63,3 +63,3 @@ "esprima": "~2.7.0",

"glob": "~7.1.2",
"inquirer": "~6.0.0",
"inquirer": "~6.1.0",
"istanbul-lib-instrument": "~1.10.1",

@@ -66,0 +66,0 @@ "lodash": "~4.17.4",

@@ -28,3 +28,3 @@ "use strict";

result = _a.sent();
if (result === objectUtils_1.TIMEOUT_EXPIRED) {
if (result === objectUtils_1.TimeoutExpired) {
return [2 /*return*/, this.handleTimeout()];

@@ -31,0 +31,0 @@ }

@@ -27,5 +27,4 @@ /// <reference types="node" />

export declare function kill(pid: number): Promise<void>;
export declare type TimeoutExpired = 'TIMEOUT_EXPIRED';
export declare const TIMEOUT_EXPIRED: TimeoutExpired;
export declare function timeout<T>(promise: Promise<T>, ms: number): Promise<T | TimeoutExpired>;
export declare const TimeoutExpired: unique symbol;
export declare function timeout<T>(promise: Promise<T>, ms: number): Promise<T | typeof TimeoutExpired>;
export declare function padLeft(input: string): string;

@@ -108,6 +108,6 @@ "use strict";

exports.kill = kill;
exports.TIMEOUT_EXPIRED = 'TIMEOUT_EXPIRED';
exports.TimeoutExpired = Symbol('TimeoutExpired');
function timeout(promise, ms) {
var sleep = new Promise(function (res, rej) {
var timer = setTimeout(function () { return res(exports.TIMEOUT_EXPIRED); }, ms);
var timer = setTimeout(function () { return res(exports.TimeoutExpired); }, ms);
promise.then(function (result) {

@@ -114,0 +114,0 @@ clearTimeout(timer);

@@ -18,6 +18,5 @@ import { TimeoutExpired } from './objectUtils';

* A task that can expire after the given time.
* If that happens, the inner promise is resolved
*/
export declare class ExpirableTask<T = void> extends Task<T | TimeoutExpired> {
export declare class ExpirableTask<T = void> extends Task<T | typeof TimeoutExpired> {
constructor(timeoutMS: number);
}

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

* A task that can expire after the given time.
* If that happens, the inner promise is resolved
*/

@@ -51,5 +50,3 @@ var ExpirableTask = /** @class */ (function (_super) {

var _this = _super.call(this) || this;
_this._promise = objectUtils_1.timeout(_this._promise, timeoutMS).then(function (val) {
return val;
});
_this._promise = objectUtils_1.timeout(_this._promise, timeoutMS);
return _this;

@@ -56,0 +53,0 @@ }

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