Socket
Socket
Sign inDemoInstall

mini-url

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mini-url - npm Package Compare versions

Comparing version 1.6.1 to 2.0.0

dist/index.d.ts

48

package.json
{
"name": "mini-url",
"description": "Lightweight isomorphic url parser.",
"version": "1.6.1",
"version": "2.0.0",
"author": "Dylan Piercey <pierceydylan@gmail.com>",
"browser": {
"./src/index.js": "./src/browser.js"
"./dist/url/index.js": "./dist/url/browser.js"
},
"bugs": "https://github.com/DylanPiercey/mini-url/issues",
"dependencies": {
"get-loc": "^2.0.2",
"window-var": "^1.0.11"
},
"devDependencies": {
"jsdom": "^9.11.0",
"jsdom-global": "^2.1.1",
"mocha": "^3.0.2",
"snazzy": "^3.0.0",
"standard": "^6.0.8"
"@types/mocha": "^2.2.43",
"jsdom": "^11.3.0",
"jsdom-global": "^3.0.2",
"mocha": "^4.0.1",
"ts-node": "^3.3.0",
"tslint": "^5.7.0",
"typescript": "^2.5.3"
},
"files": [
"dist"
],
"homepage": "https://github.com/DylanPiercey/mini-url",
"keywords": [
"URL",
"isomorphic",
"mini",
"parse",
"resolve",
"isomorphic",
"mini",
"universal"

@@ -33,19 +42,8 @@ ],

"scripts": {
"lint": "standard --verbose | snazzy",
"test": "npm run lint && mocha ./test/**/*.test.js"
"build": "npm run lint && tsc",
"lint": "tslint -t codeFrame -c tslint.json '{src,test}/**/*.ts'",
"prepublish": "npm test",
"test": "npm run build && mocha -r ts-node/register ./test/**/*.test.ts"
},
"standard": {
"globals": [
"describe",
"it",
"before",
"beforeEach",
"after",
"afterEach"
]
},
"dependencies": {
"get-loc": "^1.0.0",
"global": "^4.3.1"
}
"types": "dist/index.d.ts"
}

@@ -9,15 +9,15 @@ <h1 align="center">

<a href="https://nodejs.org/api/documentation.html#documentation_stability_index">
<img src="https://img.shields.io/badge/stability-stable-brightgreen.svg?style=flat-square" alt="API stability"/>
<img src="https://img.shields.io/badge/stability-stable-brightgreen.svg" alt="API stability"/>
</a>
<!-- Standard -->
<a href="https://github.com/feross/standard">
<img src="https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square" alt="Standard"/>
<!-- TypeScript -->
<a href="http://typescriptlang.org">
<img src="https://img.shields.io/badge/%3C%2F%3E-typescript-blue.svg" alt="TypeScript"/>
</a>
<!-- NPM version -->
<a href="https://npmjs.org/package/mini-url">
<img src="https://img.shields.io/npm/v/mini-url.svg?style=flat-square" alt="NPM version"/>
<img src="https://img.shields.io/npm/v/mini-url.svg" alt="NPM version"/>
</a>
<!-- Downloads -->
<a href="https://npmjs.org/package/mini-url">
<img src="https://img.shields.io/npm/dm/mini-url.svg?style=flat-square" alt="Downloads"/>
<img src="https://img.shields.io/npm/dm/mini-url.svg" alt="Downloads"/>
</a>

@@ -65,4 +65,4 @@ </h1>

* Use `npm test` to run tests.
* Use `npm test` to build and run tests.
Please feel free to create a PR!
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