Updating NPM dependencies
This commit is contained in:
2
node_modules/jest-haste-map/build/lib/isRegExpSupported.js
generated
vendored
2
node_modules/jest-haste-map/build/lib/isRegExpSupported.js
generated
vendored
@@ -16,7 +16,7 @@ function isRegExpSupported(value) {
|
||||
// eslint-disable-next-line no-new
|
||||
new RegExp(value);
|
||||
return true;
|
||||
} catch (e) {
|
||||
} catch {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user