worldstate-emitter 2.0.0 → 2.0.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.
|
@@ -11,7 +11,7 @@ import { between, lastUpdated, fromNow } from '../../utilities/index.js';
|
|
|
11
11
|
* CylceData parser
|
|
12
12
|
* @param {CycleLike} cycleData data for parsing all cycles like this
|
|
13
13
|
* @param {Deps} deps dependencies for processing
|
|
14
|
-
* @returns {
|
|
14
|
+
* @returns {Object[]}
|
|
15
15
|
*/
|
|
16
16
|
export default (cycleData, deps) => {
|
|
17
17
|
const packet = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "worldstate-emitter",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.1",
|
|
4
4
|
"description": "Event emitter for worldstate & other warframe events",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"coveralls": "^3.1.0",
|
|
45
45
|
"install-peerdeps": "^2.0.3",
|
|
46
46
|
"mocha": "^10.0.0",
|
|
47
|
-
"nodemon": "^
|
|
47
|
+
"nodemon": "^3.0.3"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
50
|
"warframe-worldstate-data": "^1.x",
|
package/resources/rssFeeds.json
CHANGED
|
@@ -24,26 +24,6 @@
|
|
|
24
24
|
"key": "forum.updates.switch",
|
|
25
25
|
"defaultAttach": "https://i.imgur.com/eY1NkzO.png"
|
|
26
26
|
},
|
|
27
|
-
{
|
|
28
|
-
"url": "https://forums.warframe.com/forum/2-pc-announcements.xml",
|
|
29
|
-
"defaultAttach": "https://i.imgur.com/CNrsc7V.png",
|
|
30
|
-
"key": "forum.announcements.pc"
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
"url": "https://forums.warframe.com/forum/151-ps4-announcements.xml",
|
|
34
|
-
"defaultAttach": "https://i.imgur.com/CNrsc7V.png",
|
|
35
|
-
"key": "forum.announcements.ps4"
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
"url": "https://forums.warframe.com/forum/252-xbox-one-announcements.xml",
|
|
39
|
-
"defaultAttach": "https://i.imgur.com/CNrsc7V.png",
|
|
40
|
-
"key": "forum.announcements.xb1"
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
"url": "https://forums.warframe.com/forum/1198-nintendo-switch-announcements.xml",
|
|
44
|
-
"defaultAttach": "https://i.imgur.com/CNrsc7V.png",
|
|
45
|
-
"key": "forum.announcements.switch"
|
|
46
|
-
},
|
|
47
27
|
{
|
|
48
28
|
"url": "https://forums.warframe.com/forum/170-announcements-events.xml",
|
|
49
29
|
"key": "forum.news",
|
|
@@ -152,15 +132,6 @@
|
|
|
152
132
|
"icon_url": "https://content.invisioncic.com/Mwarframe/monthly_2016_05/Pablo.thumb.png.35bb0384ef7b88e807d55ffc31af0896.png"
|
|
153
133
|
}
|
|
154
134
|
},
|
|
155
|
-
{
|
|
156
|
-
"url": "https://forums.warframe.com/discover/1778.xml",
|
|
157
|
-
"key": "forum.staff.connor",
|
|
158
|
-
"author": {
|
|
159
|
-
"name": "[DE]Connor",
|
|
160
|
-
"url": "https://forums.warframe.com/profile/710227-deconnor/",
|
|
161
|
-
"icon_url": "https://content.invisioncic.com/Mwarframe/monthly_2017_02/nezha_watermarked_120_by_kevin_glint-d9zkt5n.thumb.jpg.c9519505f40a304bece8eb435eb99ddd.jpg"
|
|
162
|
-
}
|
|
163
|
-
},
|
|
164
135
|
{
|
|
165
136
|
"url": "https://forums.warframe.com/discover/1779.xml",
|
|
166
137
|
"key": "forum.staff.marcus",
|
|
@@ -169,23 +140,5 @@
|
|
|
169
140
|
"url": "https://forums.warframe.com/profile/3443485-demarcus/",
|
|
170
141
|
"icon_url": "https://content.invisioncic.com/Mwarframe/monthly_2018_01/5a55278d71caa_MarcusIIPrint.thumb.jpg.16cb689d778112333cffb6fe546b89ec.jpg"
|
|
171
142
|
}
|
|
172
|
-
},
|
|
173
|
-
{
|
|
174
|
-
"url": "https://forums.warframe.com/discover/1780.xml",
|
|
175
|
-
"key": "forum.staff.george",
|
|
176
|
-
"author": {
|
|
177
|
-
"name": "[DE]George",
|
|
178
|
-
"url": "https://forums.warframe.com/profile/138665-degeorge/",
|
|
179
|
-
"icon_url": "https://content.invisioncic.com/Mwarframe/monthly_2016_02/George_Forum_Photo.thumb.png.62acd07b2b2e40831eca57a0e230a2b2.png"
|
|
180
|
-
}
|
|
181
|
-
},
|
|
182
|
-
{
|
|
183
|
-
"url": "https://forums.warframe.com/discover/1781.xml",
|
|
184
|
-
"key": "forum.staff.bear",
|
|
185
|
-
"author": {
|
|
186
|
-
"name": "[DE]Bear",
|
|
187
|
-
"url": "https://forums.warframe.com/profile/1589-debear/",
|
|
188
|
-
"icon_url": "https://content.invisioncic.com/Mwarframe/monthly_2018_02/juggerdaddy.thumb.gif.85061b940143c7310801ce00337636ac.gif"
|
|
189
|
-
}
|
|
190
143
|
}
|
|
191
144
|
]
|
package/utilities/Cache.js
CHANGED
|
@@ -16,7 +16,7 @@ export default class CronCache extends EventEmitter {
|
|
|
16
16
|
return cache;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
-
constructor(/** @type string */ url, /** @type
|
|
19
|
+
constructor(/** @type string */ url, /** @type string */ pattern) {
|
|
20
20
|
super();
|
|
21
21
|
this.#url = url;
|
|
22
22
|
if (pattern) this.#pattern = pattern;
|