From fb8bd657de9bac3a20520313d88ce556ab4f5caf Mon Sep 17 00:00:00 2001 From: rejas Date: Wed, 21 Apr 2021 08:49:06 +0200 Subject: [PATCH 1/4] Move weatherforecast mock data in better suited directory --- .../{unit/functions => configs/data}/weatherforecast_data.json | 0 tests/unit/functions/weatherforecast_spec.js | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename tests/{unit/functions => configs/data}/weatherforecast_data.json (100%) diff --git a/tests/unit/functions/weatherforecast_data.json b/tests/configs/data/weatherforecast_data.json similarity index 100% rename from tests/unit/functions/weatherforecast_data.json rename to tests/configs/data/weatherforecast_data.json diff --git a/tests/unit/functions/weatherforecast_spec.js b/tests/unit/functions/weatherforecast_spec.js index 42bd20d4..634bb488 100644 --- a/tests/unit/functions/weatherforecast_spec.js +++ b/tests/unit/functions/weatherforecast_spec.js @@ -1,7 +1,7 @@ /* eslint no-multi-spaces: 0 */ const expect = require("chai").expect; const moment = require("moment-timezone"); -const data = require("../functions/weatherforecast_data.json"); +const data = require("../../configs/data/weatherforecast_data.json"); describe("Functions module weatherforecast", function () { before(function () { From 8a52fde8fc62720d72568cedac9e7f7632acf399 Mon Sep 17 00:00:00 2001 From: veeck Date: Tue, 20 Apr 2021 08:55:59 +0200 Subject: [PATCH 2/4] Move codecov.yml into github dir to other configs --- codecov.yml => .github/codecov.yml | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename codecov.yml => .github/codecov.yml (100%) diff --git a/codecov.yml b/.github/codecov.yml similarity index 100% rename from codecov.yml rename to .github/codecov.yml From 649de694ed7e4df590d80b0262297f937df1046a Mon Sep 17 00:00:00 2001 From: rejas Date: Wed, 21 Apr 2021 08:52:50 +0200 Subject: [PATCH 3/4] Update CHANGELOG --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0362cff9..43cb7420 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -23,6 +23,7 @@ _This release is scheduled to be released on 2021-04-01._ - Use codecov in informational mode - Refactor code into es6 where possible (e.g. var -> let/const) - Use node v16 in github workflow (replacing node v10) +- Moved some files into better suited directories ### Removed From 8de6ebbbd133fa60619aa9064566fa3e8cb652da Mon Sep 17 00:00:00 2001 From: veeck Date: Sat, 24 Apr 2021 11:13:26 +0200 Subject: [PATCH 4/4] Update dependencies --- package-lock.json | 24 ++++++++++++------------ package.json | 6 +++--- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/package-lock.json b/package-lock.json index 55ea421c..1d5560da 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2229,9 +2229,9 @@ } }, "eslint": { - "version": "7.24.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-7.24.0.tgz", - "integrity": "sha512-k9gaHeHiFmGCDQ2rEfvULlSLruz6tgfA8DEn+rY9/oYPFFTlz55mM/Q/Rij1b2Y42jwZiK3lXvNTw6w6TXzcKQ==", + "version": "7.25.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-7.25.0.tgz", + "integrity": "sha512-TVpSovpvCNpLURIScDRB6g5CYu/ZFq9GfX2hLNIV4dSBKxIWojeDODvYl3t0k0VtMxYeR8OXPCFE5+oHMlGfhw==", "requires": { "@babel/code-frame": "7.12.11", "@eslint/eslintrc": "^0.4.0", @@ -2289,9 +2289,9 @@ "dev": true }, "eslint-plugin-jsdoc": { - "version": "32.3.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-32.3.0.tgz", - "integrity": "sha512-zyx7kajDK+tqS1bHuY5sapkad8P8KT0vdd/lE55j47VPG2MeenSYuIY/M/Pvmzq5g0+3JB+P3BJGUXmHxtuKPQ==", + "version": "32.3.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-32.3.1.tgz", + "integrity": "sha512-Xcbc8Cr79QveH+MndVwtZ3uafDdXyrsIkS8lP71Fhn5Qi1Lr8TU2QZNkMYIJSvmuLqDB5Jj/VVULMCvaBZBkvg==", "dev": true, "requires": { "comment-parser": "1.1.2", @@ -2304,9 +2304,9 @@ }, "dependencies": { "semver": { - "version": "7.3.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.4.tgz", - "integrity": "sha512-tCfb2WLjqFAtXn4KEdxIhalnRtoKFN7nAwj0B3ZXCbQloV2tq5eDbcTmT68JJD3nRJq24/XgxtQKFIpQdtvmVw==", + "version": "7.3.5", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz", + "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==", "dev": true, "requires": { "lru-cache": "^6.0.0" @@ -3168,9 +3168,9 @@ "dev": true }, "helmet": { - "version": "4.4.1", - "resolved": "https://registry.npmjs.org/helmet/-/helmet-4.4.1.tgz", - "integrity": "sha512-G8tp0wUMI7i8wkMk2xLcEvESg5PiCitFMYgGRc/PwULB0RVhTP5GFdxOwvJwp9XVha8CuS8mnhmE8I/8dx/pbw==" + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/helmet/-/helmet-4.5.0.tgz", + "integrity": "sha512-GfxdTaKarneWOpxmiVb/1YsY+fIwDOxVUGrvNEM1MC8W6Z2PREfkXiWF4XHQdvkyXwUTHuY4DRwB0uH/Q6BVyQ==" }, "hosted-git-info": { "version": "4.0.0", diff --git a/package.json b/package.json index 085ee4af..c20cac62 100644 --- a/package.json +++ b/package.json @@ -46,7 +46,7 @@ "chai": "^4.3.4", "chai-as-promised": "^7.1.1", "eslint-config-prettier": "^8.2.0", - "eslint-plugin-jsdoc": "^32.3.0", + "eslint-plugin-jsdoc": "^32.3.1", "eslint-plugin-prettier": "^3.4.0", "express-basic-auth": "^1.2.0", "husky": "^4.3.8", @@ -72,11 +72,11 @@ "colors": "^1.4.0", "console-stamp": "^3.0.2", "digest-fetch": "^1.1.6", - "eslint": "^7.24.0", + "eslint": "^7.25.0", "express": "^4.17.1", "express-ipfilter": "^1.2.0", "feedme": "^2.0.2", - "helmet": "^4.4.1", + "helmet": "^4.5.0", "iconv-lite": "^0.6.2", "module-alias": "^2.2.2", "moment": "^2.29.1",