@jupyterlab/coreutils
Advanced tools
Comparing version 1.0.4 to 1.0.5
@@ -89,11 +89,6 @@ "use strict"; | ||
function isLocal(url) { | ||
switch (parse(url).host) { | ||
case location.host: | ||
case '': | ||
return true; | ||
default: | ||
return false; | ||
} | ||
var _a = parse(url), host = _a.host, protocol = _a.protocol; | ||
return protocol !== 'data:' && host === location.host || host === ''; | ||
} | ||
URLExt.isLocal = isLocal; | ||
})(URLExt = exports.URLExt || (exports.URLExt = {})); |
{ | ||
"name": "@jupyterlab/coreutils", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "JupyterLab - Core Utilities", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/jupyterlab/jupyterlab", |
Sorry, the diff of this file is not supported yet
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
231942
3474