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

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 27.2.4 to 27.2.5

26

build/lib/Prompt.js

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

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

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

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

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

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

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

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

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

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

@@ -133,7 +125,7 @@

case _constants().KEYS.ARROW_LEFT:
case _constants().KEYS.ARROW_RIGHT:
case _constants.KEYS.ARROW_LEFT:
case _constants.KEYS.ARROW_RIGHT:
break;
case _constants().KEYS.CONTROL_U:
case _constants.KEYS.CONTROL_U:
this._value = '';

@@ -149,3 +141,3 @@ this._offset = -1;

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

@@ -152,0 +144,0 @@ : this._value + key;

{
"name": "jest-watcher",
"description": "Delightful JavaScript Testing.",
"version": "27.2.4",
"version": "27.2.5",
"main": "./build/index.js",

@@ -12,8 +12,8 @@ "types": "./build/index.d.ts",

"dependencies": {
"@jest/test-result": "^27.2.4",
"@jest/types": "^27.2.4",
"@jest/test-result": "^27.2.5",
"@jest/types": "^27.2.5",
"@types/node": "*",
"ansi-escapes": "^4.2.1",
"chalk": "^4.0.0",
"jest-util": "^27.2.4",
"jest-util": "^27.2.5",
"string-length": "^4.0.1"

@@ -37,3 +37,3 @@ },

},
"gitHead": "5886f6c4d681aa9fc9bfc2517efd2b7f6035a4cd"
"gitHead": "251b8014e8e3ac8da2fca88b5a1bc401f3b92326"
}
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