Socket
Socket
Sign inDemoInstall

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.3 to 2.0.4

5

dist/index.js

@@ -10,7 +10,6 @@ "use strict";

var window = window_var_1.get();
return ((window.history && window.history.location)
|| window.location
|| { href: "" });
return ((window.history && window.history.location) ||
window.location || { href: "" });
}
exports.get = get;
//# sourceMappingURL=index.js.map

11

package.json
{
"name": "get-loc",
"description": "Gets the current location for an html document with polyfill and webworker support.",
"version": "2.0.3",
"version": "2.0.4",
"author": "Dylan Piercey <pierceydylan@gmail.com>",

@@ -47,10 +47,11 @@ "bugs": "https://github.com/DylanPiercey/get-loc/issues",

"scripts": {
"build": "tsc",
"coveralls": "cat coverage/lcov.info | coveralls",
"format-all": "find ./{src,test}/*.ts | xargs prettier --write",
"format-all": "find ./{src,test}/**/*.ts | xargs prettier --write",
"mocha": "mocha -r ts-node/register ./test/**/*.test.ts",
"precommit": "lint-staged && npm test",
"test": "nyc --extension=.ts --include=src/**/*.ts --reporter=html --reporter=text-summary npm run mocha",
"test-ci": "nyc --extension=.ts --include=src/**/*.ts --reporter=lcovonly --reporter=text-summary npm run mocha"
"precommit": "lint-staged && npm test && npm run build",
"test": "nyc --extension=.ts --include=src/**/*.ts --reporter=lcov --reporter=text-summary npm run mocha",
"test-ci": "nyc --extension=.ts --include=src/**/*.ts --reporter=lcovonly --reporter=text npm run mocha"
},
"types": "dist/index.d.ts"
}

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