Comparing version 1.6.1 to 2.0.0
{ | ||
"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! |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
14373
14
0
7
224
1
+ Addedwindow-var@^1.0.11
+ Addedget-loc@2.0.6(transitive)
+ Addedget-win@1.0.1(transitive)
+ Addedwindow-var@1.0.11(transitive)
- Removedglobal@^4.3.1
- Removeddom-walk@0.1.2(transitive)
- Removedget-loc@1.0.0(transitive)
- Removedglobal@4.4.0(transitive)
- Removedmin-document@2.19.0(transitive)
- Removedprocess@0.11.10(transitive)
Updatedget-loc@^2.0.2