updated npm modules
This commit is contained in:
5
node_modules/parseurl/HISTORY.md
generated
vendored
5
node_modules/parseurl/HISTORY.md
generated
vendored
@@ -1,3 +1,8 @@
|
||||
1.3.3 / 2019-04-15
|
||||
==================
|
||||
|
||||
* Fix Node.js 0.8 return value inconsistencies
|
||||
|
||||
1.3.2 / 2017-09-09
|
||||
==================
|
||||
|
||||
|
||||
91
node_modules/parseurl/README.md
generated
vendored
91
node_modules/parseurl/README.md
generated
vendored
@@ -1,8 +1,8 @@
|
||||
# parseurl
|
||||
|
||||
[![NPM Version][npm-image]][npm-url]
|
||||
[![NPM Downloads][downloads-image]][downloads-url]
|
||||
[![Node.js Version][node-version-image]][node-version-url]
|
||||
[![NPM Version][npm-version-image]][npm-url]
|
||||
[![NPM Downloads][npm-downloads-image]][npm-url]
|
||||
[![Node.js Version][node-image]][node-url]
|
||||
[![Build Status][travis-image]][travis-url]
|
||||
[![Test Coverage][coveralls-image]][coveralls-url]
|
||||
|
||||
@@ -44,81 +44,90 @@ does not change will return a cached parsed object, rather than parsing again.
|
||||
```bash
|
||||
$ npm run-script bench
|
||||
|
||||
> parseurl@1.3.2 bench nodejs-parseurl
|
||||
> parseurl@1.3.3 bench nodejs-parseurl
|
||||
> node benchmark/index.js
|
||||
|
||||
http_parser@2.7.0
|
||||
node@4.8.4
|
||||
v8@4.5.103.47
|
||||
uv@1.9.1
|
||||
http_parser@2.8.0
|
||||
node@10.6.0
|
||||
v8@6.7.288.46-node.13
|
||||
uv@1.21.0
|
||||
zlib@1.2.11
|
||||
ares@1.10.1-DEV
|
||||
icu@56.1
|
||||
modules@46
|
||||
openssl@1.0.2k
|
||||
ares@1.14.0
|
||||
modules@64
|
||||
nghttp2@1.32.0
|
||||
napi@3
|
||||
openssl@1.1.0h
|
||||
icu@61.1
|
||||
unicode@10.0
|
||||
cldr@33.0
|
||||
tz@2018c
|
||||
|
||||
> node benchmark/fullurl.js
|
||||
|
||||
Parsing URL "http://localhost:8888/foo/bar?user=tj&pet=fluffy"
|
||||
|
||||
3 tests completed.
|
||||
4 tests completed.
|
||||
|
||||
fasturl x 1,246,766 ops/sec ±0.74% (188 runs sampled)
|
||||
nativeurl x 91,536 ops/sec ±0.54% (189 runs sampled)
|
||||
parseurl x 90,645 ops/sec ±0.38% (189 runs sampled)
|
||||
fasturl x 2,207,842 ops/sec ±3.76% (184 runs sampled)
|
||||
nativeurl - legacy x 507,180 ops/sec ±0.82% (191 runs sampled)
|
||||
nativeurl - whatwg x 290,044 ops/sec ±1.96% (189 runs sampled)
|
||||
parseurl x 488,907 ops/sec ±2.13% (192 runs sampled)
|
||||
|
||||
> node benchmark/pathquery.js
|
||||
|
||||
Parsing URL "/foo/bar?user=tj&pet=fluffy"
|
||||
|
||||
3 tests completed.
|
||||
4 tests completed.
|
||||
|
||||
fasturl x 2,077,650 ops/sec ±0.69% (186 runs sampled)
|
||||
nativeurl x 638,669 ops/sec ±0.67% (189 runs sampled)
|
||||
parseurl x 2,431,842 ops/sec ±0.71% (189 runs sampled)
|
||||
fasturl x 3,812,564 ops/sec ±3.15% (188 runs sampled)
|
||||
nativeurl - legacy x 2,651,631 ops/sec ±1.68% (189 runs sampled)
|
||||
nativeurl - whatwg x 161,837 ops/sec ±2.26% (189 runs sampled)
|
||||
parseurl x 4,166,338 ops/sec ±2.23% (184 runs sampled)
|
||||
|
||||
> node benchmark/samerequest.js
|
||||
|
||||
Parsing URL "/foo/bar?user=tj&pet=fluffy" on same request object
|
||||
|
||||
3 tests completed.
|
||||
4 tests completed.
|
||||
|
||||
fasturl x 2,135,391 ops/sec ±0.69% (188 runs sampled)
|
||||
nativeurl x 672,809 ops/sec ±3.83% (186 runs sampled)
|
||||
parseurl x 11,604,947 ops/sec ±0.70% (189 runs sampled)
|
||||
fasturl x 3,821,651 ops/sec ±2.42% (185 runs sampled)
|
||||
nativeurl - legacy x 2,651,162 ops/sec ±1.90% (187 runs sampled)
|
||||
nativeurl - whatwg x 175,166 ops/sec ±1.44% (188 runs sampled)
|
||||
parseurl x 14,912,606 ops/sec ±3.59% (183 runs sampled)
|
||||
|
||||
> node benchmark/simplepath.js
|
||||
|
||||
Parsing URL "/foo/bar"
|
||||
|
||||
3 tests completed.
|
||||
4 tests completed.
|
||||
|
||||
fasturl x 4,961,391 ops/sec ±0.97% (186 runs sampled)
|
||||
nativeurl x 914,931 ops/sec ±0.83% (186 runs sampled)
|
||||
parseurl x 7,559,196 ops/sec ±0.66% (188 runs sampled)
|
||||
fasturl x 12,421,765 ops/sec ±2.04% (191 runs sampled)
|
||||
nativeurl - legacy x 7,546,036 ops/sec ±1.41% (188 runs sampled)
|
||||
nativeurl - whatwg x 198,843 ops/sec ±1.83% (189 runs sampled)
|
||||
parseurl x 24,244,006 ops/sec ±0.51% (194 runs sampled)
|
||||
|
||||
> node benchmark/slash.js
|
||||
|
||||
Parsing URL "/"
|
||||
|
||||
3 tests completed.
|
||||
4 tests completed.
|
||||
|
||||
fasturl x 4,053,379 ops/sec ±0.91% (187 runs sampled)
|
||||
nativeurl x 963,999 ops/sec ±0.58% (189 runs sampled)
|
||||
parseurl x 11,516,143 ops/sec ±0.58% (188 runs sampled)
|
||||
fasturl x 17,159,456 ops/sec ±3.25% (188 runs sampled)
|
||||
nativeurl - legacy x 11,635,097 ops/sec ±3.79% (184 runs sampled)
|
||||
nativeurl - whatwg x 240,693 ops/sec ±0.83% (189 runs sampled)
|
||||
parseurl x 42,279,067 ops/sec ±0.55% (190 runs sampled)
|
||||
```
|
||||
|
||||
## License
|
||||
|
||||
[MIT](LICENSE)
|
||||
|
||||
[npm-image]: https://img.shields.io/npm/v/parseurl.svg
|
||||
[npm-url]: https://npmjs.org/package/parseurl
|
||||
[node-version-image]: https://img.shields.io/node/v/parseurl.svg
|
||||
[node-version-url]: https://nodejs.org/en/download/
|
||||
[travis-image]: https://img.shields.io/travis/pillarjs/parseurl/master.svg
|
||||
[travis-url]: https://travis-ci.org/pillarjs/parseurl
|
||||
[coveralls-image]: https://img.shields.io/coveralls/pillarjs/parseurl/master.svg
|
||||
[coveralls-image]: https://badgen.net/coveralls/c/github/pillarjs/parseurl/master
|
||||
[coveralls-url]: https://coveralls.io/r/pillarjs/parseurl?branch=master
|
||||
[downloads-image]: https://img.shields.io/npm/dm/parseurl.svg
|
||||
[downloads-url]: https://npmjs.org/package/parseurl
|
||||
[node-image]: https://badgen.net/npm/node/parseurl
|
||||
[node-url]: https://nodejs.org/en/download
|
||||
[npm-downloads-image]: https://badgen.net/npm/dm/parseurl
|
||||
[npm-url]: https://npmjs.org/package/parseurl
|
||||
[npm-version-image]: https://badgen.net/npm/v/parseurl
|
||||
[travis-image]: https://badgen.net/travis/pillarjs/parseurl/master
|
||||
[travis-url]: https://travis-ci.org/pillarjs/parseurl
|
||||
|
||||
8
node_modules/parseurl/index.js
generated
vendored
8
node_modules/parseurl/index.js
generated
vendored
@@ -128,11 +128,15 @@ function fastparse (str) {
|
||||
var url = Url !== undefined
|
||||
? new Url()
|
||||
: {}
|
||||
|
||||
url.path = str
|
||||
url.href = str
|
||||
url.pathname = pathname
|
||||
url.query = query
|
||||
url.search = search
|
||||
|
||||
if (search !== null) {
|
||||
url.query = query
|
||||
url.search = search
|
||||
}
|
||||
|
||||
return url
|
||||
}
|
||||
|
||||
34
node_modules/parseurl/package.json
generated
vendored
34
node_modules/parseurl/package.json
generated
vendored
@@ -1,19 +1,19 @@
|
||||
{
|
||||
"_from": "parseurl@~1.3.2",
|
||||
"_id": "parseurl@1.3.2",
|
||||
"_from": "parseurl@~1.3.3",
|
||||
"_id": "parseurl@1.3.3",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha1-/CidTtiZMRlGDBViUyYs3I3mW/M=",
|
||||
"_integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==",
|
||||
"_location": "/parseurl",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "range",
|
||||
"registry": true,
|
||||
"raw": "parseurl@~1.3.2",
|
||||
"raw": "parseurl@~1.3.3",
|
||||
"name": "parseurl",
|
||||
"escapedName": "parseurl",
|
||||
"rawSpec": "~1.3.2",
|
||||
"rawSpec": "~1.3.3",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "~1.3.2"
|
||||
"fetchSpec": "~1.3.3"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/express",
|
||||
@@ -21,9 +21,9 @@
|
||||
"/serve-index",
|
||||
"/serve-static"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.2.tgz",
|
||||
"_shasum": "fc289d4ed8993119460c156253262cdc8de65bf3",
|
||||
"_spec": "parseurl@~1.3.2",
|
||||
"_resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz",
|
||||
"_shasum": "9da19e7bee8d12dff0513ed5b76957793bc2e8d4",
|
||||
"_spec": "parseurl@~1.3.3",
|
||||
"_where": "C:\\xampp\\htdocs\\w4rpservices\\node_modules\\express",
|
||||
"bugs": {
|
||||
"url": "https://github.com/pillarjs/parseurl/issues"
|
||||
@@ -45,15 +45,15 @@
|
||||
"devDependencies": {
|
||||
"beautify-benchmark": "0.2.4",
|
||||
"benchmark": "2.1.4",
|
||||
"eslint": "3.19.0",
|
||||
"eslint-config-standard": "10.2.1",
|
||||
"eslint-plugin-import": "2.7.0",
|
||||
"eslint-plugin-node": "5.1.1",
|
||||
"eslint-plugin-promise": "3.5.0",
|
||||
"eslint-plugin-standard": "3.0.1",
|
||||
"eslint": "5.16.0",
|
||||
"eslint-config-standard": "12.0.0",
|
||||
"eslint-plugin-import": "2.17.1",
|
||||
"eslint-plugin-node": "7.0.1",
|
||||
"eslint-plugin-promise": "4.1.1",
|
||||
"eslint-plugin-standard": "4.0.0",
|
||||
"fast-url-parser": "1.1.3",
|
||||
"istanbul": "0.4.5",
|
||||
"mocha": "2.5.3"
|
||||
"mocha": "6.1.3"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 0.8"
|
||||
@@ -78,5 +78,5 @@
|
||||
"test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --check-leaks --reporter dot test/",
|
||||
"test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --check-leaks --reporter spec test/"
|
||||
},
|
||||
"version": "1.3.2"
|
||||
"version": "1.3.3"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user