mirror of
https://github.com/hanzoai/core-js.git
synced 2026-09-24 16:58:15 +00:00
update dependencies
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
"main": "index.js",
|
||||
"types": "index.d.ts",
|
||||
"dependencies": {
|
||||
"browserslist": "^4.28.2"
|
||||
"browserslist": "^4.28.4"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=6.4.0"
|
||||
|
||||
@@ -5,7 +5,7 @@ var $Error = Error;
|
||||
var replace = uncurryThis(''.replace);
|
||||
|
||||
var TEST = (function (arg) { return String(new $Error(arg).stack); })('zxcasd');
|
||||
// eslint-disable-next-line redos/no-vulnerable, sonarjs/slow-regex -- safe
|
||||
// eslint-disable-next-line redos/no-vulnerable -- safe
|
||||
var V8_OR_CHAKRA_STACK_ENTRY = /\n\s*at [^:]*:[^\n]*/;
|
||||
var IS_V8_OR_CHAKRA_STACK = V8_OR_CHAKRA_STACK_ENTRY.test(TEST);
|
||||
|
||||
|
||||
@@ -719,6 +719,7 @@ URLState.prototype = {
|
||||
}
|
||||
} else {
|
||||
if (url.scheme === 'file' && !url.path.length && isWindowsDriveLetter(buffer)) {
|
||||
// eslint-disable-next-line max-depth -- ok
|
||||
if (url.host !== null && url.host !== '') url.host = '';
|
||||
buffer = charAt(buffer, 0) + ':'; // normalize windows drive letter
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user