diff --git a/node_modules/ejs-render-remote/ejs-render-remote.js b/node_modules/ejs-render-remote/ejs-render-remote.js index 0871aff..dc7684d 100644 --- a/node_modules/ejs-render-remote/ejs-render-remote.js +++ b/node_modules/ejs-render-remote/ejs-render-remote.js @@ -14,12 +14,6 @@ //if the template is already cached, return it and we are done if (templateFn) { - //but first check if there is still a getter function for this template in the cache - //if yes, remove it so we clean up a bit - if (ejs.cache.remove && ejs.cache.get('getFnFor' + templateUrl)) { - ejs.cache.remove('getFnFor' + templateUrl); - } - return templateFn(data); } else { //if the template is not cached, we need to get it and render it later once we have it. remember: this happens only if the template is not already cached @@ -41,6 +35,11 @@ filename: templateUrl } )); + + //clean up the getFnFor + if (ejs.cache.remove && ejs.cache.get('getFnFor' + templateUrl)) { + ejs.cache.remove('getFnFor' + templateUrl); + } }); return ''; diff --git a/node_modules/ejs-render-remote/package.json b/node_modules/ejs-render-remote/package.json index ecc011f..6cf1914 100644 --- a/node_modules/ejs-render-remote/package.json +++ b/node_modules/ejs-render-remote/package.json @@ -1,27 +1,28 @@ { - "_from": "ejs-render-remote@^1.0.3", - "_id": "ejs-render-remote@1.0.3", + "_from": "ejs-render-remote@1.0.4", + "_id": "ejs-render-remote@1.0.4", "_inBundle": false, - "_integrity": "sha512-5Tj0RGLQvBlpZdT1y1F/k7S4ayv9/WkljL/T2PiTJSh5NT4mgm2G+kPXYorfZyb4pomMqDc1vSo+VbLaaLHACg==", + "_integrity": "sha512-3DvdLYDVIIM7qNBUAIfxJjkhmfq8vg36Cqh0nQSqEz17DEaPELLjxYTjfFOYgvirUN4o+Fla2ulBsEnK+5MnTg==", "_location": "/ejs-render-remote", "_phantomChildren": {}, "_requested": { - "type": "range", + "type": "version", "registry": true, - "raw": "ejs-render-remote@^1.0.3", + "raw": "ejs-render-remote@1.0.4", "name": "ejs-render-remote", "escapedName": "ejs-render-remote", - "rawSpec": "^1.0.3", + "rawSpec": "1.0.4", "saveSpec": null, - "fetchSpec": "^1.0.3" + "fetchSpec": "1.0.4" }, "_requiredBy": [ + "#USER", "/" ], - "_resolved": "https://registry.npmjs.org/ejs-render-remote/-/ejs-render-remote-1.0.3.tgz", - "_shasum": "425ae3451c557bfddf4fcc7e790545338068a865", - "_spec": "ejs-render-remote@^1.0.3", - "_where": "F:\\projects\\vanillajs-seed", + "_resolved": "https://registry.npmjs.org/ejs-render-remote/-/ejs-render-remote-1.0.4.tgz", + "_shasum": "68556c9ebceb5bb4b5a74fb06a20cd3e4a834890", + "_spec": "ejs-render-remote@1.0.4", + "_where": "F:\\projects\\p\\vanillajs-seed", "author": { "name": "s2", "email": "s2@31337.it" @@ -41,5 +42,5 @@ "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, - "version": "1.0.3" + "version": "1.0.4" } diff --git a/node_modules/mime-db/HISTORY.md b/node_modules/mime-db/HISTORY.md index 577194c..a4a0a68 100644 --- a/node_modules/mime-db/HISTORY.md +++ b/node_modules/mime-db/HISTORY.md @@ -1,3 +1,9 @@ +1.39.0 / 2019-04-04 +=================== + + * Add extensions `.siv` and `.sieve` to `application/sieve` + * Add new upstream MIME types + 1.38.0 / 2019-02-04 =================== diff --git a/node_modules/mime-db/db.json b/node_modules/mime-db/db.json index ba4db79..2cc4313 100644 --- a/node_modules/mime-db/db.json +++ b/node_modules/mime-db/db.json @@ -102,6 +102,18 @@ "compressible": true, "extensions": ["atomsvc"] }, + "application/atsc-dwd+xml": { + "source": "iana", + "compressible": true + }, + "application/atsc-held+xml": { + "source": "iana", + "compressible": true + }, + "application/atsc-rsat+xml": { + "source": "iana", + "compressible": true + }, "application/atxml": { "source": "iana" }, @@ -801,6 +813,10 @@ "application/mikey": { "source": "iana" }, + "application/mmt-aei+xml": { + "source": "iana", + "compressible": true + }, "application/mmt-usd+xml": { "source": "iana", "compressible": true @@ -939,6 +955,9 @@ "source": "apache", "extensions": ["onetoc","onetoc2","onetmp","onepkg"] }, + "application/oscore": { + "source": "iana" + }, "application/oxps": { "source": "iana", "extensions": ["oxps"] @@ -1314,7 +1333,8 @@ "extensions": ["shf"] }, "application/sieve": { - "source": "iana" + "source": "iana", + "extensions": ["siv","sieve"] }, "application/simple-filter+xml": { "source": "iana", @@ -6552,6 +6572,10 @@ "compressible": false, "extensions": ["jpx","jpf"] }, + "image/jxr": { + "source": "iana", + "extensions": ["jxr"] + }, "image/ktx": { "source": "iana", "extensions": ["ktx"] diff --git a/node_modules/mime-db/package.json b/node_modules/mime-db/package.json index b284e0d..5bec61b 100644 --- a/node_modules/mime-db/package.json +++ b/node_modules/mime-db/package.json @@ -1,27 +1,27 @@ { - "_from": "mime-db@~1.38.0", - "_id": "mime-db@1.38.0", + "_from": "mime-db@~1.39.0", + "_id": "mime-db@1.39.0", "_inBundle": false, - "_integrity": "sha512-bqVioMFFzc2awcdJZIzR3HjZFX20QhilVS7hytkKrv7xFAn8bM1gzc/FOX2awLISvWe0PV8ptFKcon+wZ5qYkg==", + "_integrity": "sha512-DTsrw/iWVvwHH+9Otxccdyy0Tgiil6TWK/xhfARJZF/QFhwOgZgOIvA2/VIGpM8U7Q8z5nDmdDWC6tuVMJNibw==", "_location": "/mime-db", "_phantomChildren": {}, "_requested": { "type": "range", "registry": true, - "raw": "mime-db@~1.38.0", + "raw": "mime-db@~1.39.0", "name": "mime-db", "escapedName": "mime-db", - "rawSpec": "~1.38.0", + "rawSpec": "~1.39.0", "saveSpec": null, - "fetchSpec": "~1.38.0" + "fetchSpec": "~1.39.0" }, "_requiredBy": [ "/mime-types" ], - "_resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.38.0.tgz", - "_shasum": "1a2aab16da9eb167b49c6e4df2d9c68d63d8e2ad", - "_spec": "mime-db@~1.38.0", - "_where": "F:\\projects\\vanillajs-seed\\node_modules\\mime-types", + "_resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.39.0.tgz", + "_shasum": "f95a20275742f7d2ad0429acfe40f4233543780e", + "_spec": "mime-db@~1.39.0", + "_where": "F:\\projects\\p\\vanillajs-seed\\node_modules\\mime-types", "bugs": { "url": "https://github.com/jshttp/mime-db/issues" }, @@ -45,19 +45,19 @@ "deprecated": false, "description": "Media Type Database", "devDependencies": { - "bluebird": "3.5.3", + "bluebird": "3.5.4", "co": "4.6.0", "cogent": "1.0.1", "csv-parse": "3.2.0", - "eslint": "5.13.0", + "eslint": "5.16.0", "eslint-config-standard": "12.0.0", "eslint-plugin-import": "2.16.0", "eslint-plugin-node": "7.0.1", - "eslint-plugin-promise": "4.0.1", + "eslint-plugin-promise": "4.1.1", "eslint-plugin-standard": "4.0.0", "gnode": "0.1.2", - "mocha": "5.2.0", - "nyc": "13.2.0", + "mocha": "6.0.2", + "nyc": "13.3.0", "raw-body": "2.3.3", "stream-to-array": "2.3.0" }, @@ -97,5 +97,5 @@ "update": "npm run fetch && npm run build", "version": "node scripts/version-history.js && git add HISTORY.md" }, - "version": "1.38.0" + "version": "1.39.0" } diff --git a/node_modules/mime-types/HISTORY.md b/node_modules/mime-types/HISTORY.md index 133399b..90b480e 100644 --- a/node_modules/mime-types/HISTORY.md +++ b/node_modules/mime-types/HISTORY.md @@ -1,3 +1,10 @@ +2.1.23 / 2019-04-17 +=================== + + * deps: mime-db@~1.39.0 + - Add extensions `.siv` and `.sieve` to `application/sieve` + - Add new upstream MIME types + 2.1.22 / 2019-02-14 =================== diff --git a/node_modules/mime-types/package.json b/node_modules/mime-types/package.json index 53b6dc6..0f73178 100644 --- a/node_modules/mime-types/package.json +++ b/node_modules/mime-types/package.json @@ -1,8 +1,8 @@ { "_from": "mime-types@~2.1.19", - "_id": "mime-types@2.1.22", + "_id": "mime-types@2.1.23", "_inBundle": false, - "_integrity": "sha512-aGl6TZGnhm/li6F7yx82bJiBZwgiEa4Hf6CNr8YO+r5UHr53tSTYZb102zyU50DOWWKeOv0uQLRL0/9EiKWCog==", + "_integrity": "sha512-ROk/m+gMVSrRxTkMlaQOvFmFmYDc7sZgrjjM76abqmd2Cc5fCV7jAMA5XUccEtJ3cYiYdgixUVI+fApc2LkXlw==", "_location": "/mime-types", "_phantomChildren": {}, "_requested": { @@ -19,10 +19,10 @@ "/form-data", "/request" ], - "_resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.22.tgz", - "_shasum": "fe6b355a190926ab7698c9a0556a11199b2199bd", + "_resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.23.tgz", + "_shasum": "d4eacd87de99348a6858fe1e479aad877388d977", "_spec": "mime-types@~2.1.19", - "_where": "F:\\projects\\vanillajs-seed\\node_modules\\request", + "_where": "F:\\projects\\p\\vanillajs-seed\\node_modules\\request", "bugs": { "url": "https://github.com/jshttp/mime-types/issues" }, @@ -44,19 +44,19 @@ } ], "dependencies": { - "mime-db": "~1.38.0" + "mime-db": "~1.39.0" }, "deprecated": false, "description": "The ultimate javascript content-type utility.", "devDependencies": { - "eslint": "5.13.0", + "eslint": "5.16.0", "eslint-config-standard": "12.0.0", - "eslint-plugin-import": "2.16.0", - "eslint-plugin-node": "7.0.1", - "eslint-plugin-promise": "4.0.1", + "eslint-plugin-import": "2.17.2", + "eslint-plugin-node": "8.0.1", + "eslint-plugin-promise": "4.1.1", "eslint-plugin-standard": "4.0.0", - "mocha": "5.2.0", - "nyc": "13.3.0" + "mocha": "6.1.3", + "nyc": "14.0.0" }, "engines": { "node": ">= 0.6" @@ -83,5 +83,5 @@ "test-cov": "nyc --reporter=html --reporter=text npm test", "test-travis": "nyc --reporter=text npm test" }, - "version": "2.1.22" + "version": "2.1.23" } diff --git a/node_modules/minifyfromhtml/README.md b/node_modules/minifyfromhtml/README.md index caee765..72e432f 100644 --- a/node_modules/minifyfromhtml/README.md +++ b/node_modules/minifyfromhtml/README.md @@ -67,7 +67,11 @@ minifyfromhtml --js=dist.js --css=dist.css < index.html ``` => ``` -css/mywidget.css -> dist.css -js/jquery.js -> dist.js -js/spectacularwidget.js -> dist.js +some.css -> dist.css +app.css -> dist.css +somelib.js -> dist.js +someotherlib.js -> dist.js +awesomelib.js -> dist.js +spectacularlib.js -> dist.js +app.js -> dist.js ``` diff --git a/node_modules/minifyfromhtml/package.json b/node_modules/minifyfromhtml/package.json index 7edd901..a23ebef 100644 --- a/node_modules/minifyfromhtml/package.json +++ b/node_modules/minifyfromhtml/package.json @@ -1,27 +1,28 @@ { - "_from": "minifyfromhtml@^1.1.2", - "_id": "minifyfromhtml@1.1.2", + "_from": "minifyfromhtml@1.1.3", + "_id": "minifyfromhtml@1.1.3", "_inBundle": false, - "_integrity": "sha512-lHspI3e/Kklji6zWkrodevxtw0hDDUfk9L+GJ8V0G0oMIzt6HKQwfWYsWHMnKSyY4mqRL4GRytXKVEM7Aw6lPw==", + "_integrity": "sha512-qYwHERSQmGZfh4A+l0n0adX2WulYN2bLSZBGBMmx5tXz6AW7jbVSx0/iq9HCd8h8+K2OZw1RdV1fiYHY4YlyUw==", "_location": "/minifyfromhtml", "_phantomChildren": {}, "_requested": { - "type": "range", + "type": "version", "registry": true, - "raw": "minifyfromhtml@^1.1.2", + "raw": "minifyfromhtml@1.1.3", "name": "minifyfromhtml", "escapedName": "minifyfromhtml", - "rawSpec": "^1.1.2", + "rawSpec": "1.1.3", "saveSpec": null, - "fetchSpec": "^1.1.2" + "fetchSpec": "1.1.3" }, "_requiredBy": [ - "#DEV:/" + "#DEV:/", + "#USER" ], - "_resolved": "https://registry.npmjs.org/minifyfromhtml/-/minifyfromhtml-1.1.2.tgz", - "_shasum": "ce4d4d7e0f9a19d08e35d27c231bd6d2cf491b5f", - "_spec": "minifyfromhtml@^1.1.2", - "_where": "F:\\projects\\vanillajs-seed", + "_resolved": "https://registry.npmjs.org/minifyfromhtml/-/minifyfromhtml-1.1.3.tgz", + "_shasum": "fa771813d5cb616d327b15d8e823a96eaf738039", + "_spec": "minifyfromhtml@1.1.3", + "_where": "F:\\projects\\p\\vanillajs-seed", "author": "", "bin": { "minifyfromhtml": "./minifyfromhtml.js" @@ -48,5 +49,5 @@ "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, - "version": "1.1.2" + "version": "1.1.3" } diff --git a/package-lock.json b/package-lock.json index 4023888..654d22f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -256,9 +256,9 @@ "integrity": "sha512-0xy4A/twfrRCnkhfk8ErDi5DqdAsAqeGxht4xkCUrsvhhbQNs7E+4jV0CN7+NKIY0aHE72+XvqtBIXzD31ZbXQ==" }, "ejs-render-remote": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/ejs-render-remote/-/ejs-render-remote-1.0.3.tgz", - "integrity": "sha512-5Tj0RGLQvBlpZdT1y1F/k7S4ayv9/WkljL/T2PiTJSh5NT4mgm2G+kPXYorfZyb4pomMqDc1vSo+VbLaaLHACg==" + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/ejs-render-remote/-/ejs-render-remote-1.0.4.tgz", + "integrity": "sha512-3DvdLYDVIIM7qNBUAIfxJjkhmfq8vg36Cqh0nQSqEz17DEaPELLjxYTjfFOYgvirUN4o+Fla2ulBsEnK+5MnTg==" }, "es6-promise": { "version": "4.2.6", @@ -557,18 +557,18 @@ "dev": true }, "mime-db": { - "version": "1.38.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.38.0.tgz", - "integrity": "sha512-bqVioMFFzc2awcdJZIzR3HjZFX20QhilVS7hytkKrv7xFAn8bM1gzc/FOX2awLISvWe0PV8ptFKcon+wZ5qYkg==", + "version": "1.39.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.39.0.tgz", + "integrity": "sha512-DTsrw/iWVvwHH+9Otxccdyy0Tgiil6TWK/xhfARJZF/QFhwOgZgOIvA2/VIGpM8U7Q8z5nDmdDWC6tuVMJNibw==", "dev": true }, "mime-types": { - "version": "2.1.22", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.22.tgz", - "integrity": "sha512-aGl6TZGnhm/li6F7yx82bJiBZwgiEa4Hf6CNr8YO+r5UHr53tSTYZb102zyU50DOWWKeOv0uQLRL0/9EiKWCog==", + "version": "2.1.23", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.23.tgz", + "integrity": "sha512-ROk/m+gMVSrRxTkMlaQOvFmFmYDc7sZgrjjM76abqmd2Cc5fCV7jAMA5XUccEtJ3cYiYdgixUVI+fApc2LkXlw==", "dev": true, "requires": { - "mime-db": "~1.38.0" + "mime-db": "~1.39.0" } }, "minify": { @@ -587,9 +587,9 @@ } }, "minifyfromhtml": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/minifyfromhtml/-/minifyfromhtml-1.1.2.tgz", - "integrity": "sha512-lHspI3e/Kklji6zWkrodevxtw0hDDUfk9L+GJ8V0G0oMIzt6HKQwfWYsWHMnKSyY4mqRL4GRytXKVEM7Aw6lPw==", + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/minifyfromhtml/-/minifyfromhtml-1.1.3.tgz", + "integrity": "sha512-qYwHERSQmGZfh4A+l0n0adX2WulYN2bLSZBGBMmx5tXz6AW7jbVSx0/iq9HCd8h8+K2OZw1RdV1fiYHY4YlyUw==", "dev": true, "requires": { "jsdom": "^14.0.0", diff --git a/package.json b/package.json index bb8e97e..0e70476 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "dependencies": { "bootstrap": "^4.3.1", "ejs": "^2.6.1", - "ejs-render-remote": "^1.0.3", + "ejs-render-remote": "^1.0.4", "es6-promise": "^4.2.6", "i18next": "^15.0.9", "i18next-browser-languagedetector": "^3.0.1", @@ -22,6 +22,6 @@ "popper.js": "^1.15.0" }, "devDependencies": { - "minifyfromhtml": "^1.1.2" + "minifyfromhtml": "^1.1.3" } }