Socket
Socket
Sign inDemoInstall

url-lib

Package Overview
Dependencies
0
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.2 to 3.0.0

lib/cjs/__tests__/formatQuery.spec.js

10

CHANGELOG.md

@@ -0,1 +1,11 @@

# CHANGELOG
## v3 (and higher)
The changelog is automatically updated using [`semantic-release`](https://github.com/semantic-release/semantic-release)! You can view all changes on the [releases page](https://github.com/benmvp/benmvp-cli/releases).
## v2.0.2 (May 24, 2016)
- [patch] `dist/` folder now includes unminified files
- [dev-ops] Adding additional & renaming existing npm scripts
## v2.0.0 (April 6, 2016)

@@ -2,0 +12,0 @@ - [major] `url-lib` now requires [additional ES5 features](./#polyfills-needed-to-support-older-browsers)

56

package.json
{
"name": "url-lib",
"version": "2.0.2",
"version": "3.0.0",
"description": "A simple, lightweight string utility for Node and browsers that supports serializing and parsing URLs and query strings.",
"main": "./index.js",
"scripts": {
"build": "npm run gzip",
"dist": "npm run dist:core && npm run dist:all",
"dist:all": "mkdir -p dist && cat index.js getCacheDefeatStr.js parseUrl.js > dist/url-lib.js",
"dist:core": "mkdir -p dist && cp index.js dist/url-lib-core.js",
"gzip": "npm run gzip:core && npm run gzip:all",
"gzip:all": "npm run minify:all && gzip -c dist/url-lib.min.js > dist/url-lib.min.js.gz",
"gzip:core": "npm run minify:core && gzip -c dist/url-lib-core.min.js > dist/url-lib-core.min.js.gz",
"minify": "npm run minify:core && npm run minify:all",
"minify:all": "npm run dist:all && uglifyjs --compress --mangle --output dist/url-lib.min.js dist/url-lib.js",
"minify:core": "npm run dist:core && uglifyjs --compress --mangle --comments --output dist/url-lib-core.min.js dist/url-lib-core.js",
"lint": "eslint .",
"test": "mocha tests/*.js",
"test:watch": "mocha -w tests/*.js",
"test-coverage": "istanbul cover _mocha -- -R spec tests/*.js",
"test-coverage:ci": "istanbul cover _mocha --report lcovonly -- -R spec tests/*.js",
"validate": "npm run lint && npm run test",
"validate:ci": "npm run lint && npm run test-coverage:ci",
"preversion": "npm run validate",
"version": "npm run build && git add -A dist",
"postversion": "git push && git push --tags",
"release:patch": "npm version patch --message 'Patch release v%s' && npm publish",
"release:minor": "npm version minor --message 'Minor release v%s' && npm publish",
"release:major": "npm version major --message 'Major release v%s' && npm publish"
},
"main": "lib/cjs/index.js",
"module": "lib/esm/index.js",
"jsnext:main": "lib/esm/index.js",
"types": "lib/types/index.d.ts",
"files": [
"lib/"
],
"repository": {

@@ -50,18 +31,13 @@ "type": "git",

"homepage": "https://github.com/benmvp/url-lib#readme",
"scripts": {
"start": "benmvp start",
"test": "benmvp test",
"build": "benmvp build"
},
"devDependencies": {
"chai": "^3.5.0",
"coveralls": "^2.11.9",
"eslint": "^2.4.0",
"eslint-config-benmvp": "^2.0.0",
"istanbul": "^0.4.2",
"mocha": "^2.4.5",
"pre-commit": "^1.1.2",
"uglify-js": "^2.6.2"
"@benmvp/cli": "^2.0.0"
},
"engines": {
"node": ">=0.10"
},
"pre-commit": [
"validate"
]
"node": ">= 8"
}
}
SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc