Comparing version 2.0.5 to 2.0.6
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
// Better global support (for web/service workers)≥ | ||
var window_var_1 = require("window-var"); | ||
var get_win_1 = require("get-win"); | ||
/** | ||
@@ -9,3 +9,3 @@ * Finds the location object, checking for polyfill and falling back to empty object. | ||
function get() { | ||
var window = window_var_1.get(); | ||
var window = get_win_1.get(); | ||
return ((window.history && window.history.location) || | ||
@@ -12,0 +12,0 @@ window.location || { href: "" }); |
{ | ||
"name": "get-loc", | ||
"description": "Gets the current location for an html document with polyfill and webworker support.", | ||
"version": "2.0.5", | ||
"version": "2.0.6", | ||
"author": "Dylan Piercey <pierceydylan@gmail.com>", | ||
"bugs": "https://github.com/DylanPiercey/get-loc/issues", | ||
"dependencies": { | ||
"window-var": "^1.0.11" | ||
"get-win": "^1.0.0" | ||
}, | ||
@@ -10,0 +10,0 @@ "devDependencies": { |
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
4535
+ Addedget-win@^1.0.0
+ Addedget-win@1.0.1(transitive)
- Removedwindow-var@^1.0.11
- Removedwindow-var@1.0.11(transitive)