worldstate-emitter 2.2.2 → 2.2.4
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/.nvmrc +1 -1
- package/package.json +18 -25
- package/resources/rssFeeds.json +0 -15
- package/utilities/index.js +1 -3
package/.nvmrc
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
lts/
|
|
1
|
+
lts/jod
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "worldstate-emitter",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.4",
|
|
4
4
|
"description": "Event emitter for worldstate & other warframe events",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"warframe",
|
|
@@ -28,46 +28,39 @@
|
|
|
28
28
|
},
|
|
29
29
|
"scripts": {
|
|
30
30
|
"build:docs": "jsdoc -c jsdoc-config.json -d docs",
|
|
31
|
-
"coverage": "npm test && npm run report
|
|
31
|
+
"coverage": "npm test && npm run report && npx coveralls < coverage/lcov.info",
|
|
32
32
|
"dev": "nodemon test/tester.js",
|
|
33
33
|
"lint": "eslint .",
|
|
34
34
|
"lint:fix": "eslint . --fix",
|
|
35
35
|
"prepare": "husky && npx install-peerdeps @wfcd/eslint-config@latest -S",
|
|
36
36
|
"report": "c8 report --reporter=text-lcov > coverage/lcov.info",
|
|
37
|
-
"
|
|
38
|
-
"
|
|
37
|
+
"pretest": "npm i --no-save warframe-worldstate-data@^3 warframe-worldstate-parser@^5",
|
|
38
|
+
"test": "c8 mocha"
|
|
39
39
|
},
|
|
40
|
-
"pre-commit": [
|
|
41
|
-
"lint",
|
|
42
|
-
"validate",
|
|
43
|
-
"test"
|
|
44
|
-
],
|
|
45
40
|
"dependencies": {
|
|
46
|
-
"cron": "^4.
|
|
47
|
-
"rss-feed-emitter": "^3.2.
|
|
41
|
+
"cron": "^4.3.3",
|
|
42
|
+
"rss-feed-emitter": "^3.2.3",
|
|
48
43
|
"twitter": "^1.7.1"
|
|
49
44
|
},
|
|
50
45
|
"devDependencies": {
|
|
51
|
-
"@commitlint/cli": "^19.
|
|
52
|
-
"@commitlint/config-conventional": "^19.1
|
|
46
|
+
"@commitlint/cli": "^19.8.1",
|
|
47
|
+
"@commitlint/config-conventional": "^19.8.1",
|
|
53
48
|
"@wfcd/eslint-config": "latest",
|
|
54
|
-
"c8": "^10.1.
|
|
55
|
-
"chai": "^
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
"prettier": "^3.2.5"
|
|
49
|
+
"c8": "^10.1.3",
|
|
50
|
+
"chai": "^6.0.1",
|
|
51
|
+
"husky": "^9.1.7",
|
|
52
|
+
"install-peerdeps": "^3.0.7",
|
|
53
|
+
"lint-staged": "^16.1.5",
|
|
54
|
+
"mocha": "^11.7.1",
|
|
55
|
+
"nodemon": "^3.1.10",
|
|
56
|
+
"prettier": "^3.6.2"
|
|
63
57
|
},
|
|
64
58
|
"peerDependencies": {
|
|
65
59
|
"warframe-worldstate-data": "^3.x",
|
|
66
|
-
"warframe-worldstate-parser": "^
|
|
60
|
+
"warframe-worldstate-parser": "^5.x"
|
|
67
61
|
},
|
|
68
62
|
"optionalDependencies": {
|
|
69
|
-
"
|
|
70
|
-
"winston": "^3.3.3"
|
|
63
|
+
"winston": "^3.17.0"
|
|
71
64
|
},
|
|
72
65
|
"engines": {
|
|
73
66
|
"node": ">= 18.19.0"
|
package/resources/rssFeeds.json
CHANGED
|
@@ -9,21 +9,6 @@
|
|
|
9
9
|
"key": "forum.updates.pc",
|
|
10
10
|
"defaultAttach": "https://i.imgur.com/eY1NkzO.png"
|
|
11
11
|
},
|
|
12
|
-
{
|
|
13
|
-
"url": "https://forums.warframe.com/forum/152-ps4-update-notes.xml",
|
|
14
|
-
"key": "forum.updates.ps4",
|
|
15
|
-
"defaultAttach": "https://i.imgur.com/eY1NkzO.png"
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
"url": "https://forums.warframe.com/forum/253-xbox-one-update-notes.xml",
|
|
19
|
-
"key": "forum.updates.xb1",
|
|
20
|
-
"defaultAttach": "https://i.imgur.com/eY1NkzO.png"
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
"url": "https://forums.warframe.com/forum/1196-nintendo-switch-update-notes.xml",
|
|
24
|
-
"key": "forum.updates.switch",
|
|
25
|
-
"defaultAttach": "https://i.imgur.com/eY1NkzO.png"
|
|
26
|
-
},
|
|
27
12
|
{
|
|
28
13
|
"url": "https://forums.warframe.com/forum/170-announcements-events.xml",
|
|
29
14
|
"key": "forum.news",
|
package/utilities/index.js
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import 'colors';
|
|
2
|
-
|
|
3
1
|
import { transports, createLogger, format } from 'winston';
|
|
4
2
|
|
|
5
3
|
import { LOG_LEVEL } from './env.js';
|
|
@@ -9,7 +7,7 @@ try {
|
|
|
9
7
|
const { combine, label, printf, colorize } = format;
|
|
10
8
|
|
|
11
9
|
/* Logger setup */
|
|
12
|
-
const transport = new transports.Console(
|
|
10
|
+
const transport = new transports.Console();
|
|
13
11
|
const logFormat = printf((info) => `[${info.label}] ${info.level}: ${info.message}`);
|
|
14
12
|
tempLogger = createLogger({
|
|
15
13
|
format: combine(colorize(), label({ label: 'WS'.brightBlue }), logFormat),
|