worldstate-emitter 2.2.3 → 2.2.5

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 CHANGED
@@ -1 +1 @@
1
- lts/iron
1
+ lts/jod
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "worldstate-emitter",
3
- "version": "2.2.3",
3
+ "version": "2.2.5",
4
4
  "description": "Event emitter for worldstate & other warframe events",
5
5
  "keywords": [
6
6
  "warframe",
@@ -12,10 +12,7 @@
12
12
  "bugs": {
13
13
  "url": "https://github.com/wfcd/worldstate-emitter/issues"
14
14
  },
15
- "repository": {
16
- "type": "git",
17
- "url": "git+https://github.com/wfcd/worldstate-emitter.git"
18
- },
15
+ "repository": "https://github.com/WFCD/worldstate-emitter",
19
16
  "license": "Apache-2.0",
20
17
  "author": "tobiah <tobiah@protonmail.com>",
21
18
  "type": "module",
@@ -28,48 +25,44 @@
28
25
  },
29
26
  "scripts": {
30
27
  "build:docs": "jsdoc -c jsdoc-config.json -d docs",
31
- "coverage": "npm test && npm run report | coveralls",
28
+ "coverage": "npm test && npm run report && npx coveralls < coverage/lcov.info",
32
29
  "dev": "nodemon test/tester.js",
33
30
  "lint": "eslint .",
34
31
  "lint:fix": "eslint . --fix",
35
32
  "prepare": "husky && npx install-peerdeps @wfcd/eslint-config@latest -S",
36
33
  "report": "c8 report --reporter=text-lcov > coverage/lcov.info",
37
- "test": "c8 mocha",
38
- "validate": "npm ls"
34
+ "pretest": "npm i --no-save warframe-worldstate-data@^3 warframe-worldstate-parser@^5",
35
+ "test": "c8 mocha"
39
36
  },
40
- "pre-commit": [
41
- "lint",
42
- "validate",
43
- "test"
44
- ],
45
37
  "dependencies": {
46
- "cron": "^4.0.0",
47
- "rss-feed-emitter": "^3.2.2",
38
+ "cron": "^4.3.3",
39
+ "rss-feed-emitter": "^3.2.3",
48
40
  "twitter": "^1.7.1"
49
41
  },
50
42
  "devDependencies": {
51
- "@commitlint/cli": "^19.2.1",
52
- "@commitlint/config-conventional": "^19.1.0",
43
+ "@commitlint/cli": "^20.0.0",
44
+ "@commitlint/config-conventional": "^20.0.0",
53
45
  "@wfcd/eslint-config": "latest",
54
- "c8": "^10.1.2",
55
- "chai": "^5.1.2",
56
- "coveralls": "^3.1.0",
57
- "husky": "^9.0.11",
58
- "install-peerdeps": "^3.0.3",
59
- "lint-staged": "^16.0.0",
60
- "mocha": "^11.0.1",
61
- "nodemon": "^3.0.3",
62
- "prettier": "^3.2.5"
46
+ "c8": "^10.1.3",
47
+ "chai": "^6.0.1",
48
+ "husky": "^9.1.7",
49
+ "install-peerdeps": "^3.0.7",
50
+ "lint-staged": "^16.1.5",
51
+ "mocha": "^11.7.1",
52
+ "nodemon": "^3.1.10",
53
+ "prettier": "^3.6.2"
63
54
  },
64
55
  "peerDependencies": {
65
56
  "warframe-worldstate-data": "^3.x",
66
- "warframe-worldstate-parser": "^4.x"
57
+ "warframe-worldstate-parser": "^5.x"
67
58
  },
68
59
  "optionalDependencies": {
69
- "colors": "^1.4.0",
70
- "winston": "^3.3.3"
60
+ "winston": "^3.17.0"
71
61
  },
72
62
  "engines": {
73
63
  "node": ">= 18.19.0"
64
+ },
65
+ "publishConfig": {
66
+ "provenance": true
74
67
  }
75
68
  }
@@ -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({ colorize: true });
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),