updated npm modules

This commit is contained in:
2019-05-20 20:43:45 -05:00
parent 2319197b81
commit f166b72b7d
1113 changed files with 8758 additions and 12227 deletions

5
node_modules/negotiator/HISTORY.md generated vendored
View File

@@ -1,3 +1,8 @@
0.6.2 / 2019-04-29
==================
* Fix sorting charset, encoding, and language with extra parameters
0.6.1 / 2016-05-02
==================

View File

@@ -58,8 +58,8 @@ function parseCharset(str, i) {
var q = 1;
if (match[2]) {
var params = match[2].split(';')
for (var i = 0; i < params.length; i ++) {
var p = params[i].trim().split('=');
for (var j = 0; j < params.length; j++) {
var p = params[j].trim().split('=');
if (p[0] === 'q') {
q = parseFloat(p[1]);
break;

View File

@@ -74,8 +74,8 @@ function parseEncoding(str, i) {
var q = 1;
if (match[2]) {
var params = match[2].split(';');
for (var i = 0; i < params.length; i ++) {
var p = params[i].trim().split('=');
for (var j = 0; j < params.length; j++) {
var p = params[j].trim().split('=');
if (p[0] === 'q') {
q = parseFloat(p[1]);
break;

View File

@@ -32,10 +32,10 @@ function parseAcceptLanguage(accept) {
var accepts = accept.split(',');
for (var i = 0, j = 0; i < accepts.length; i++) {
var langauge = parseLanguage(accepts[i].trim(), i);
var language = parseLanguage(accepts[i].trim(), i);
if (langauge) {
accepts[j++] = langauge;
if (language) {
accepts[j++] = language;
}
}
@@ -55,16 +55,16 @@ function parseLanguage(str, i) {
if (!match) return null;
var prefix = match[1],
suffix = match[2],
full = prefix;
suffix = match[2],
full = prefix;
if (suffix) full += "-" + suffix;
var q = 1;
if (match[3]) {
var params = match[3].split(';')
for (var i = 0; i < params.length; i ++) {
var p = params[i].split('=');
for (var j = 0; j < params.length; j++) {
var p = params[j].split('=');
if (p[0] === 'q') q = parseFloat(p[1]);
}
}

31
node_modules/negotiator/package.json generated vendored
View File

@@ -1,26 +1,26 @@
{
"_from": "negotiator@0.6.1",
"_id": "negotiator@0.6.1",
"_from": "negotiator@0.6.2",
"_id": "negotiator@0.6.2",
"_inBundle": false,
"_integrity": "sha1-KzJxhOiZIQEXeyhWP7XnECrNDKk=",
"_integrity": "sha512-hZXc7K2e+PgeI1eDBe/10Ard4ekbfrrqG8Ep+8Jmf4JID2bNg7NvCPOZN+kfF574pFQI7mum2AUqDidoKqcTOw==",
"_location": "/negotiator",
"_phantomChildren": {},
"_requested": {
"type": "version",
"registry": true,
"raw": "negotiator@0.6.1",
"raw": "negotiator@0.6.2",
"name": "negotiator",
"escapedName": "negotiator",
"rawSpec": "0.6.1",
"rawSpec": "0.6.2",
"saveSpec": null,
"fetchSpec": "0.6.1"
"fetchSpec": "0.6.2"
},
"_requiredBy": [
"/accepts"
],
"_resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.1.tgz",
"_shasum": "2b327184e8992101177b28563fb5e7102acd0ca9",
"_spec": "negotiator@0.6.1",
"_resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.2.tgz",
"_shasum": "feacf7ccf525a77ae9634436a64883ffeca346fb",
"_spec": "negotiator@0.6.2",
"_where": "C:\\xampp\\htdocs\\w4rpservices\\node_modules\\accepts",
"bugs": {
"url": "https://github.com/jshttp/negotiator/issues"
@@ -44,8 +44,10 @@
"deprecated": false,
"description": "HTTP content negotiation",
"devDependencies": {
"istanbul": "0.4.3",
"mocha": "~1.21.5"
"eslint": "5.16.0",
"eslint-plugin-markdown": "1.0.0",
"mocha": "6.1.4",
"nyc": "14.0.0"
},
"engines": {
"node": ">= 0.6"
@@ -73,9 +75,10 @@
"url": "git+https://github.com/jshttp/negotiator.git"
},
"scripts": {
"lint": "eslint --plugin markdown --ext js,md .",
"test": "mocha --reporter spec --check-leaks --bail test/",
"test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/",
"test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/"
"test-cov": "nyc --reporter=html --reporter=text npm test",
"test-travis": "nyc --reporter=text npm test"
},
"version": "0.6.1"
"version": "0.6.2"
}