@iobroker/repochecker 3.5.7 → 3.5.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/lib/common.js +4 -4
- package/package.json +1 -1
package/README.md
CHANGED
package/lib/common.js
CHANGED
|
@@ -8,6 +8,10 @@ const fs = require('node:fs/promises');
|
|
|
8
8
|
const compareVersions = require('compare-versions');
|
|
9
9
|
const semverValid = require('semver/functions/valid');
|
|
10
10
|
|
|
11
|
+
let gDebug = false;
|
|
12
|
+
let gInfo = true;
|
|
13
|
+
let gLocal = false;
|
|
14
|
+
|
|
11
15
|
// disable axios caching
|
|
12
16
|
axios.defaults.headers.common = {
|
|
13
17
|
'Cache-Control': 'no-cache',
|
|
@@ -21,10 +25,6 @@ if (process.env.OWN_GITHUB_TOKEN) {
|
|
|
21
25
|
axios.defaults.headers.common['Authorization'] = `Bearer ${process.env.OWN_GITHUB_TOKEN}`;
|
|
22
26
|
}
|
|
23
27
|
|
|
24
|
-
let gDebug = false;
|
|
25
|
-
let gInfo = true;
|
|
26
|
-
let gLocal = false;
|
|
27
|
-
|
|
28
28
|
// function log(msg) {
|
|
29
29
|
// console.log(`${msg}`);
|
|
30
30
|
// }
|
package/package.json
CHANGED