Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

get-loc

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

get-loc - npm Package Compare versions

Comparing version 2.0.5 to 2.0.6

4

dist/index.js
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc