jest-watcher
Advanced tools
Comparing version 27.2.4 to 27.2.5
@@ -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" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
26697
798
Updated@jest/test-result@^27.2.5
Updated@jest/types@^27.2.5
Updatedjest-util@^27.2.5