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

jest-watcher

Package Overview
Dependencies
Maintainers
4
Versions
131
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jest-watcher - npm Package Compare versions

Comparing version 24.5.0 to 24.6.0

tsconfig.tsbuildinfo

18

build/BaseWatchPlugin.js

@@ -8,2 +8,16 @@ 'use strict';

function _defineProperty(obj, key, value) {
if (key in obj) {
Object.defineProperty(obj, key, {
value: value,
enumerable: true,
configurable: true,
writable: true
});
} else {
obj[key] = value;
}
return obj;
}
/**

@@ -17,2 +31,6 @@ * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.

constructor({stdin, stdout}) {
_defineProperty(this, '_stdin', void 0);
_defineProperty(this, '_stdout', void 0);
this._stdin = stdin;

@@ -19,0 +37,0 @@ this._stdout = stdout;

@@ -40,2 +40,16 @@ 'use strict';

function _defineProperty(obj, key, value) {
if (key in obj) {
Object.defineProperty(obj, key, {
value: value,
enumerable: true,
configurable: true,
writable: true
});
} else {
obj[key] = value;
}
return obj;
}
/**

@@ -49,2 +63,4 @@ * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.

constructor() {
_defineProperty(this, '_listeners', void 0);
this._listeners = {

@@ -51,0 +67,0 @@ onFileChange: [],

46

build/lib/Prompt.js

@@ -10,10 +10,38 @@ 'use strict';

/**
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
function _defineProperty(obj, key, value) {
if (key in obj) {
Object.defineProperty(obj, key, {
value: value,
enumerable: true,
configurable: true,
writable: true
});
} else {
obj[key] = value;
}
return obj;
}
class Prompt {
constructor() {
_defineProperty(this, '_entering', void 0);
_defineProperty(this, '_value', void 0);
_defineProperty(this, '_onChange', void 0);
_defineProperty(this, '_onSuccess', void 0);
_defineProperty(this, '_onCancel', void 0);
_defineProperty(this, '_offset', void 0);
_defineProperty(this, '_promptLength', void 0);
_defineProperty(this, '_selection', void 0);
_defineProperty(this, '_onResize', () => {
this._onChange();
});
// Copied from `enter` to satisfy TS

@@ -31,10 +59,4 @@ this._entering = true;

this._onCancel = () => {};
this._onResize = this._onResize.bind(this);
}
_onResize() {
this._onChange();
}
enter(onChange, onSuccess, onCancel) {

@@ -41,0 +63,0 @@ this._entering = true;

@@ -42,8 +42,16 @@ 'use strict';

/**
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
function _defineProperty(obj, key, value) {
if (key in obj) {
Object.defineProperty(obj, key, {
value: value,
enumerable: true,
configurable: true,
writable: true
});
} else {
obj[key] = value;
}
return obj;
}
const CLEAR = _jestUtil().specialChars.CLEAR;

@@ -64,2 +72,10 @@

constructor(pipe, prompt) {
_defineProperty(this, '_pipe', void 0);
_defineProperty(this, '_prompt', void 0);
_defineProperty(this, '_entityName', void 0);
_defineProperty(this, '_currentUsageRows', void 0);
// TODO: Should come in the constructor

@@ -66,0 +82,0 @@ this._entityName = '';

{
"name": "jest-watcher",
"description": "Delightful JavaScript Testing.",
"version": "24.5.0",
"version": "24.6.0",
"main": "build/index.js",
"dependencies": {
"@jest/test-result": "^24.5.0",
"@jest/types": "^24.5.0",
"@types/node": "*",
"@jest/test-result": "^24.6.0",
"@jest/types": "^24.6.0",
"@types/yargs": "^12.0.9",
"ansi-escapes": "^3.0.0",
"chalk": "^2.0.1",
"jest-util": "^24.5.0",
"jest-util": "^24.6.0",
"string-length": "^2.0.0"

@@ -36,3 +35,3 @@ },

},
"gitHead": "800533020f5b2f153615c821ed7cb12fd868fa6f"
"gitHead": "04e6a66d2ba8b18bee080bb28547db74a255d2c7"
}

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