From 80bd5778236ba0d48b48871e8ff0d023fe311daf Mon Sep 17 00:00:00 2001 From: Timo Hocker Date: Thu, 30 Jan 2020 10:51:05 +0100 Subject: [PATCH] update --- index.js | 3 +++ jenkins.js | 2 ++ package.json | 3 +++ test/main.js | 2 ++ test/root.sub/all-root.sub.js | 2 ++ test/root.sub/delete-root.sub.js | 2 ++ test/root.sub/get-root.sub.js | 2 ++ test/root.sub/not-root.sub.js | 2 ++ test/root.sub/post-root.sub.js | 2 ++ test/root.sub/put-root.sub.js | 2 ++ test/root/all-root.js | 2 ++ test/root/delete-root.js | 2 ++ test/root/get-root.js | 2 ++ test/root/not-root.js | 2 ++ test/root/post-root.js | 2 ++ test/root/put-root.js | 2 ++ test/sub/all-sub.js | 2 ++ test/sub/all-sub.root.js | 2 ++ test/sub/delete-sub.js | 2 ++ test/sub/get-sub.js | 2 ++ test/sub/get-sub.lv1.lv2.lv3.js | 2 ++ test/sub/not-sub.js | 2 ++ test/sub/post-sub.js | 2 ++ test/sub/put-sub.js | 2 ++ 24 files changed, 50 insertions(+) diff --git a/index.js b/index.js index de82640..e3a9751 100644 --- a/index.js +++ b/index.js @@ -1,5 +1,8 @@ /* eslint-disable no-console */ /* eslint-disable no-sync */ + +'use strict'; + const fs = require ('fs'); const path = require ('path'); diff --git a/jenkins.js b/jenkins.js index c5e4547..94b6a1f 100644 --- a/jenkins.js +++ b/jenkins.js @@ -1,3 +1,5 @@ +'use strict'; + const fs = require ('fs'); const pkg = JSON.parse (fs.readFileSync ('package.json', 'utf-8')); diff --git a/package.json b/package.json index 7dfef6d..38a6884 100644 --- a/package.json +++ b/package.json @@ -16,6 +16,9 @@ ], "author": "Timo Hocker", "license": "BSD-3-Clause", + "engines" : { + "node" : ">=10.0.0" + }, "devDependencies": { "@scode/eslint-config": "^1.2.7", "chai": "^4.2.0", diff --git a/test/main.js b/test/main.js index 710408d..a28a961 100644 --- a/test/main.js +++ b/test/main.js @@ -1,3 +1,5 @@ +'use strict'; + const { describe, it, beforeEach: before_each } = require ('mocha'); const { expect } = require ('chai'); diff --git a/test/root.sub/all-root.sub.js b/test/root.sub/all-root.sub.js index aaf5fb8..da546e2 100644 --- a/test/root.sub/all-root.sub.js +++ b/test/root.sub/all-root.sub.js @@ -1,3 +1,5 @@ +'use strict'; + module.exports = () => { // dummy endpoint: do nothing }; diff --git a/test/root.sub/delete-root.sub.js b/test/root.sub/delete-root.sub.js index aaf5fb8..da546e2 100644 --- a/test/root.sub/delete-root.sub.js +++ b/test/root.sub/delete-root.sub.js @@ -1,3 +1,5 @@ +'use strict'; + module.exports = () => { // dummy endpoint: do nothing }; diff --git a/test/root.sub/get-root.sub.js b/test/root.sub/get-root.sub.js index aaf5fb8..da546e2 100644 --- a/test/root.sub/get-root.sub.js +++ b/test/root.sub/get-root.sub.js @@ -1,3 +1,5 @@ +'use strict'; + module.exports = () => { // dummy endpoint: do nothing }; diff --git a/test/root.sub/not-root.sub.js b/test/root.sub/not-root.sub.js index aaf5fb8..da546e2 100644 --- a/test/root.sub/not-root.sub.js +++ b/test/root.sub/not-root.sub.js @@ -1,3 +1,5 @@ +'use strict'; + module.exports = () => { // dummy endpoint: do nothing }; diff --git a/test/root.sub/post-root.sub.js b/test/root.sub/post-root.sub.js index aaf5fb8..da546e2 100644 --- a/test/root.sub/post-root.sub.js +++ b/test/root.sub/post-root.sub.js @@ -1,3 +1,5 @@ +'use strict'; + module.exports = () => { // dummy endpoint: do nothing }; diff --git a/test/root.sub/put-root.sub.js b/test/root.sub/put-root.sub.js index aaf5fb8..da546e2 100644 --- a/test/root.sub/put-root.sub.js +++ b/test/root.sub/put-root.sub.js @@ -1,3 +1,5 @@ +'use strict'; + module.exports = () => { // dummy endpoint: do nothing }; diff --git a/test/root/all-root.js b/test/root/all-root.js index aaf5fb8..da546e2 100644 --- a/test/root/all-root.js +++ b/test/root/all-root.js @@ -1,3 +1,5 @@ +'use strict'; + module.exports = () => { // dummy endpoint: do nothing }; diff --git a/test/root/delete-root.js b/test/root/delete-root.js index aaf5fb8..da546e2 100644 --- a/test/root/delete-root.js +++ b/test/root/delete-root.js @@ -1,3 +1,5 @@ +'use strict'; + module.exports = () => { // dummy endpoint: do nothing }; diff --git a/test/root/get-root.js b/test/root/get-root.js index aaf5fb8..da546e2 100644 --- a/test/root/get-root.js +++ b/test/root/get-root.js @@ -1,3 +1,5 @@ +'use strict'; + module.exports = () => { // dummy endpoint: do nothing }; diff --git a/test/root/not-root.js b/test/root/not-root.js index aaf5fb8..da546e2 100644 --- a/test/root/not-root.js +++ b/test/root/not-root.js @@ -1,3 +1,5 @@ +'use strict'; + module.exports = () => { // dummy endpoint: do nothing }; diff --git a/test/root/post-root.js b/test/root/post-root.js index aaf5fb8..da546e2 100644 --- a/test/root/post-root.js +++ b/test/root/post-root.js @@ -1,3 +1,5 @@ +'use strict'; + module.exports = () => { // dummy endpoint: do nothing }; diff --git a/test/root/put-root.js b/test/root/put-root.js index aaf5fb8..da546e2 100644 --- a/test/root/put-root.js +++ b/test/root/put-root.js @@ -1,3 +1,5 @@ +'use strict'; + module.exports = () => { // dummy endpoint: do nothing }; diff --git a/test/sub/all-sub.js b/test/sub/all-sub.js index aaf5fb8..da546e2 100644 --- a/test/sub/all-sub.js +++ b/test/sub/all-sub.js @@ -1,3 +1,5 @@ +'use strict'; + module.exports = () => { // dummy endpoint: do nothing }; diff --git a/test/sub/all-sub.root.js b/test/sub/all-sub.root.js index aaf5fb8..da546e2 100644 --- a/test/sub/all-sub.root.js +++ b/test/sub/all-sub.root.js @@ -1,3 +1,5 @@ +'use strict'; + module.exports = () => { // dummy endpoint: do nothing }; diff --git a/test/sub/delete-sub.js b/test/sub/delete-sub.js index aaf5fb8..da546e2 100644 --- a/test/sub/delete-sub.js +++ b/test/sub/delete-sub.js @@ -1,3 +1,5 @@ +'use strict'; + module.exports = () => { // dummy endpoint: do nothing }; diff --git a/test/sub/get-sub.js b/test/sub/get-sub.js index aaf5fb8..da546e2 100644 --- a/test/sub/get-sub.js +++ b/test/sub/get-sub.js @@ -1,3 +1,5 @@ +'use strict'; + module.exports = () => { // dummy endpoint: do nothing }; diff --git a/test/sub/get-sub.lv1.lv2.lv3.js b/test/sub/get-sub.lv1.lv2.lv3.js index aaf5fb8..da546e2 100644 --- a/test/sub/get-sub.lv1.lv2.lv3.js +++ b/test/sub/get-sub.lv1.lv2.lv3.js @@ -1,3 +1,5 @@ +'use strict'; + module.exports = () => { // dummy endpoint: do nothing }; diff --git a/test/sub/not-sub.js b/test/sub/not-sub.js index aaf5fb8..da546e2 100644 --- a/test/sub/not-sub.js +++ b/test/sub/not-sub.js @@ -1,3 +1,5 @@ +'use strict'; + module.exports = () => { // dummy endpoint: do nothing }; diff --git a/test/sub/post-sub.js b/test/sub/post-sub.js index aaf5fb8..da546e2 100644 --- a/test/sub/post-sub.js +++ b/test/sub/post-sub.js @@ -1,3 +1,5 @@ +'use strict'; + module.exports = () => { // dummy endpoint: do nothing }; diff --git a/test/sub/put-sub.js b/test/sub/put-sub.js index aaf5fb8..da546e2 100644 --- a/test/sub/put-sub.js +++ b/test/sub/put-sub.js @@ -1,3 +1,5 @@ +'use strict'; + module.exports = () => { // dummy endpoint: do nothing };