jest-watch-typeahead 3.0.0 → 3.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/file_name_plugin/prompt.js +1 -1
- package/build/lib/utils.js +2 -2
- package/build/test_name_plugin/prompt.js +1 -1
- package/filename.js +0 -1
- package/package.json +16 -15
- package/testname.js +0 -1
package/build/lib/utils.js
CHANGED
@@ -48,7 +48,7 @@ export const highlight = (rawPath, filePath, pattern) => {
|
|
48
48
|
let regexp;
|
49
49
|
try {
|
50
50
|
regexp = new RegExp(pattern, 'i');
|
51
|
-
} catch
|
51
|
+
} catch {
|
52
52
|
return chalk.dim(filePath);
|
53
53
|
}
|
54
54
|
const strippedRawPath = stripAnsi(rawPath);
|
@@ -75,7 +75,7 @@ export const formatTestNameByPattern = (testName, pattern, width) => {
|
|
75
75
|
let regexp;
|
76
76
|
try {
|
77
77
|
regexp = new RegExp(pattern, 'i');
|
78
|
-
} catch
|
78
|
+
} catch {
|
79
79
|
return chalk.dim(inlineTestName);
|
80
80
|
}
|
81
81
|
const match = inlineTestName.match(regexp);
|
package/filename.js
CHANGED
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "jest-watch-typeahead",
|
3
|
-
"version": "3.0.
|
3
|
+
"version": "3.0.1",
|
4
4
|
"main": "build/index.js",
|
5
5
|
"exports": {
|
6
6
|
".": "./build/index.js",
|
@@ -29,15 +29,15 @@
|
|
29
29
|
"build": "babel --extensions .js,.ts src -d build && rimraf --glob 'build/**/*.test.{js,ts},integration' 'build/**/__tests__' build/test_utils",
|
30
30
|
"prepack": "yarn build",
|
31
31
|
"format": "prettier --write \"**/*.js\" \"**/*.md\" \"**/*.ts\"",
|
32
|
-
"typecheck": "
|
32
|
+
"typecheck": "tsc -p ."
|
33
33
|
},
|
34
34
|
"dependencies": {
|
35
|
-
"ansi-escapes": "^
|
35
|
+
"ansi-escapes": "^7.0.0",
|
36
36
|
"chalk": "^5.2.0",
|
37
37
|
"jest-regex-util": "^30.0.0",
|
38
38
|
"jest-watcher": "^30.0.0",
|
39
39
|
"slash": "^5.0.0",
|
40
|
-
"string-length": "^
|
40
|
+
"string-length": "^6.0.0",
|
41
41
|
"strip-ansi": "^7.0.1"
|
42
42
|
},
|
43
43
|
"devDependencies": {
|
@@ -45,29 +45,30 @@
|
|
45
45
|
"@babel/core": "^7.9.6",
|
46
46
|
"@babel/preset-env": "^7.9.6",
|
47
47
|
"@babel/preset-typescript": "^7.10.4",
|
48
|
+
"@eslint/js": "^9.29.0",
|
48
49
|
"@jest/globals": "^30.0.0",
|
49
50
|
"@jest/types": "^30.0.0",
|
50
51
|
"@semantic-release/changelog": "^6.0.1",
|
51
52
|
"@semantic-release/git": "^10.0.1",
|
52
53
|
"@types/node": "^18.19.111",
|
53
|
-
"@typescript-eslint/eslint-plugin": "^5.0.0",
|
54
|
-
"@typescript-eslint/parser": "^5.0.0",
|
55
54
|
"babel-jest": "^30.0.0",
|
56
55
|
"babel-plugin-add-import-extension": "^1.6.0",
|
57
56
|
"cross-env": "^7.0.3",
|
58
|
-
"eslint": "^
|
59
|
-
"eslint-config-airbnb-base": "^15.0.0",
|
57
|
+
"eslint": "^9.0.0",
|
60
58
|
"eslint-config-prettier": "^10.0.0",
|
61
|
-
"eslint-
|
62
|
-
"eslint-plugin-
|
59
|
+
"eslint-import-resolver-typescript": "^4.4.3",
|
60
|
+
"eslint-plugin-import-x": "^4.15.2",
|
61
|
+
"eslint-plugin-jest": "^29.0.0",
|
63
62
|
"eslint-plugin-prettier": "^5.0.1",
|
63
|
+
"globals": "^16.2.0",
|
64
64
|
"jest": "^30.0.0",
|
65
|
-
"jest-serializer-ansi-escapes": "^
|
65
|
+
"jest-serializer-ansi-escapes": "^4.0.0",
|
66
66
|
"prettier": "^3.1.0",
|
67
|
-
"rimraf": "^
|
67
|
+
"rimraf": "^6.0.1",
|
68
68
|
"semantic-release": "^24.0.0",
|
69
69
|
"semver": "^7.3.5",
|
70
|
-
"typescript": "^5.0.4"
|
70
|
+
"typescript": "^5.0.4",
|
71
|
+
"typescript-eslint": "^8.0.0"
|
71
72
|
},
|
72
73
|
"peerDependencies": {
|
73
74
|
"jest": "^30.0.0"
|
@@ -106,8 +107,8 @@
|
|
106
107
|
"@semantic-release/github"
|
107
108
|
]
|
108
109
|
},
|
109
|
-
"packageManager": "yarn@
|
110
|
+
"packageManager": "yarn@4.9.2",
|
110
111
|
"resolutions": {
|
111
|
-
"ansi-escapes/type-fest": "^
|
112
|
+
"ansi-escapes/type-fest": "^4.0.0"
|
112
113
|
}
|
113
114
|
}
|
package/testname.js
CHANGED