Socket
Socket
Sign inDemoInstall

jest-watcher

Package Overview
Dependencies
Maintainers
5
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 25.0.0 to 25.1.0

24

build/lib/Prompt.js

@@ -8,4 +8,12 @@ 'use strict';

var _constants = require('../constants');
function _constants() {
const data = require('../constants');
_constants = function() {
return data;
};
return data;
}
function _defineProperty(obj, key, value) {

@@ -91,3 +99,3 @@ if (key in obj) {

switch (key) {
case _constants.KEYS.ENTER:
case _constants().KEYS.ENTER:
this._entering = false;

@@ -100,3 +108,3 @@

case _constants.KEYS.ESCAPE:
case _constants().KEYS.ESCAPE:
this._entering = false;

@@ -109,3 +117,3 @@

case _constants.KEYS.ARROW_DOWN:
case _constants().KEYS.ARROW_DOWN:
this._offset = Math.min(this._offset + 1, this._promptLength - 1);

@@ -117,3 +125,3 @@

case _constants.KEYS.ARROW_UP:
case _constants().KEYS.ARROW_UP:
this._offset = Math.max(this._offset - 1, -1);

@@ -125,4 +133,4 @@

case _constants.KEYS.ARROW_LEFT:
case _constants.KEYS.ARROW_RIGHT:
case _constants().KEYS.ARROW_LEFT:
case _constants().KEYS.ARROW_RIGHT:
break;

@@ -132,3 +140,3 @@

this._value =
key === _constants.KEYS.BACKSPACE
key === _constants().KEYS.BACKSPACE
? this._value.slice(0, -1)

@@ -135,0 +143,0 @@ : this._value + key;

{
"name": "jest-watcher",
"description": "Delightful JavaScript Testing.",
"version": "25.0.0",
"version": "25.1.0",
"main": "build/index.js",
"dependencies": {
"@jest/test-result": "^25.0.0",
"@jest/types": "^25.0.0",
"@types/yargs": "^13.0.0",
"@jest/test-result": "^25.1.0",
"@jest/types": "^25.1.0",
"ansi-escapes": "^4.2.1",
"chalk": "^2.0.1",
"jest-util": "^25.0.0",
"chalk": "^3.0.0",
"jest-util": "^25.1.0",
"string-length": "^3.1.0"

@@ -24,3 +23,3 @@ },

"engines": {
"node": ">= 8"
"node": ">= 8.3"
},

@@ -32,3 +31,3 @@ "homepage": "https://jestjs.io/",

},
"gitHead": "ff9269be05fd8316e95232198fce3463bf2f270e"
"gitHead": "170eee11d03b0ed5c60077982fdbc3bafd403638"
}
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