worldstate-emitter 2.1.0 → 2.1.1
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/handlers/RSS.js +1 -1
- package/handlers/Twitter.js +1 -0
- package/handlers/Worldstate.js +3 -1
- package/handlers/events/arrayLike.js +2 -1
- package/handlers/events/kuva.js +1 -0
- package/handlers/events/parse.js +2 -1
- package/index.js +0 -1
- package/package.json +4 -4
- package/utilities/Cache.js +2 -0
- package/utilities/WSCache.js +1 -0
- package/utilities/index.js +1 -0
package/handlers/RSS.js
CHANGED
package/handlers/Twitter.js
CHANGED
package/handlers/Worldstate.js
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import wsData from 'warframe-worldstate-data';
|
|
2
|
+
|
|
2
3
|
import WSCache from '../utilities/WSCache.js';
|
|
3
4
|
import { logger, lastUpdated } from '../utilities/index.js';
|
|
4
|
-
import parseNew from './events/parse.js';
|
|
5
5
|
import Cache from '../utilities/Cache.js';
|
|
6
6
|
|
|
7
|
+
import parseNew from './events/parse.js';
|
|
8
|
+
|
|
7
9
|
const { locales } = wsData;
|
|
8
10
|
|
|
9
11
|
const debugEvents = ['arbitration', 'kuva', 'nightwave'];
|
package/handlers/events/kuva.js
CHANGED
package/handlers/events/parse.js
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { lastUpdated } from '../../utilities/index.js';
|
|
2
|
+
|
|
1
3
|
import checkOverrides from './checkOverrides.js';
|
|
2
4
|
import kuvaProcessing from './kuva.js';
|
|
3
5
|
import arrayLike from './arrayLike.js';
|
|
@@ -5,7 +7,6 @@ import objectLike from './objectLike.js';
|
|
|
5
7
|
import nightwave from './nightwave.js';
|
|
6
8
|
import cycleLike from './cycleLike.js';
|
|
7
9
|
import * as eKeyOverrides from './eKeyOverrides.js';
|
|
8
|
-
import { lastUpdated } from '../../utilities/index.js';
|
|
9
10
|
|
|
10
11
|
/**
|
|
11
12
|
* @typedef {Object} Deps
|
package/index.js
CHANGED
|
@@ -3,7 +3,6 @@ import EventEmitter from 'node:events';
|
|
|
3
3
|
import RSS from './handlers/RSS.js';
|
|
4
4
|
import Worldstate from './handlers/Worldstate.js';
|
|
5
5
|
import Twitter from './handlers/Twitter.js';
|
|
6
|
-
|
|
7
6
|
import { logger } from './utilities/index.js';
|
|
8
7
|
|
|
9
8
|
export default class WorldstateEmitter extends EventEmitter {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "worldstate-emitter",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.1",
|
|
4
4
|
"description": "Event emitter for worldstate & other warframe events",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"coverage": "npm test && npm run report | coveralls",
|
|
11
11
|
"build:docs": "jsdoc -c jsdoc-config.json -d docs",
|
|
12
12
|
"dev": "nodemon test/tester.js",
|
|
13
|
-
"postinstall": "install-peerdeps @wfcd/eslint-config
|
|
13
|
+
"postinstall": "install-peerdeps @wfcd/eslint-config@latest -S",
|
|
14
14
|
"report": "c8 report --reporter=text-lcov",
|
|
15
15
|
"validate": "npm ls"
|
|
16
16
|
},
|
|
@@ -39,11 +39,11 @@
|
|
|
39
39
|
"twitter": "^1.7.1"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@wfcd/eslint-config": "
|
|
42
|
+
"@wfcd/eslint-config": "latest",
|
|
43
43
|
"c8": "^9.1.0",
|
|
44
44
|
"chai": "^4.3.4",
|
|
45
45
|
"coveralls": "^3.1.0",
|
|
46
|
-
"install-peerdeps": "^
|
|
46
|
+
"install-peerdeps": "^3.0.3",
|
|
47
47
|
"mocha": "^10.0.0",
|
|
48
48
|
"nodemon": "^3.0.3"
|
|
49
49
|
},
|
package/utilities/Cache.js
CHANGED
package/utilities/WSCache.js
CHANGED