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.2 to 2.0.3

30

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

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

"devDependencies": {
"@types/mocha": "^2.2.43",
"@types/node": "^8.0.34",
"coveralls": "^3.0.0",
"husky": "^0.14.3",
"lint-staged": "^4.2.3",
"mocha": "^4.0.1",
"nyc": "^11.2.1",
"prettier": "^1.7.4",
"ts-node": "^3.3.0",
"tslint": "^5.7.0",
"tslint-config-prettier": "^1.5.0",
"typescript": "^2.5.3"

@@ -25,13 +35,23 @@ },

"license": "MIT",
"lint-staged": {
"*.ts": [
"prettier --write",
"tslint -t codeFrame -c tslint.json",
"git add"
]
},
"main": "dist/index.js",
"repository": {
"type": "git",
"url": "https://github.com/DylanPiercey/get-loc"
"url": "https://github.com/DylanPiercey/header-field"
},
"scripts": {
"build": "npm run lint && tsc",
"lint": "tslint -t codeFrame -c tslint.json 'src/**/*.ts'",
"prepublish": "npm run build"
"coveralls": "cat coverage/lcov.info | coveralls",
"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"
},
"types": "dist/index.d.ts"
}
<h1 align="center">
<!-- Logo -->
<br/>
get-loc
Get-Loc
<br/>

@@ -9,3 +9,3 @@

<a href="https://nodejs.org/api/documentation.html#documentation_stability_index">
<img src="https://img.shields.io/badge/stability-stable-brightgreen.svg" alt="API stability"/>
<img src="https://img.shields.io/badge/stability-stable-brightgreen.svg" alt="API Stability"/>
</a>

@@ -16,5 +16,17 @@ <!-- TypeScript -->

</a>
<!-- Prettier -->
<a href="https://github.com/prettier/prettier">
<img src="https://img.shields.io/badge/styled_with-prettier-ff69b4.svg" alt="Styled with prettier"/>
</a>
<!-- Travis build -->
<a href="https://travis-ci.org/DylanPiercey/get-loc">
<img src="https://img.shields.io/travis/DylanPiercey/get-loc.svg" alt="Build status"/>
</a>
<!-- Coveralls coverage -->
<a href="https://coveralls.io/github/DylanPiercey/get-loc">
<img src="https://img.shields.io/coveralls/DylanPiercey/get-loc.svg" alt="Test Coverage"/>
</a>
<!-- NPM version -->
<a href="https://npmjs.org/package/get-loc">
<img src="https://img.shields.io/npm/v/get-loc.svg" alt="NPM version"/>
<img src="https://img.shields.io/npm/v/get-loc.svg" alt="NPM Version"/>
</a>

@@ -25,2 +37,6 @@ <!-- Downloads -->

</a>
<!-- Size -->
<a href="https://npmjs.org/package/get-loc">
<img src="https://img.shields.io/badge/size-533b-green.svg" alt="Browser Bundle Size"/>
</a>
</h1>

@@ -27,0 +43,0 @@

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