warframe-worldstate-parser 2.23.1 → 2.23.2

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/lib/WorldEvent.js CHANGED
@@ -307,7 +307,7 @@ class WorldEvent extends WorldstateObject {
307
307
  lines.push(`${this.health}% Remaining`);
308
308
  }
309
309
 
310
- if (this.affiliatedWith) {
310
+ if (this.affiliatedWith && this.jobs) {
311
311
  lines.push(`${this.affiliatedWith} will reward you for performing `
312
312
  + `${this.jobs.map((job) => job.type).join(', ')} job${this.jobs.length > 1 ? 's' : ''}`);
313
313
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "warframe-worldstate-parser",
3
- "version": "2.23.1",
3
+ "version": "2.23.2",
4
4
  "description": "An Open parser for Warframe's Worldstate in Javascript",
5
5
  "types": "./types/main.d.ts",
6
6
  "main": "main.js",
@@ -24,11 +24,11 @@
24
24
  "eslint-config-airbnb-base": "^15.0.0",
25
25
  "eslint-plugin-import": "^2.20.1",
26
26
  "greenkeeper-lockfile": "^1.15.1",
27
- "mocha": "^9.0.2",
27
+ "mocha": "^10.0.0",
28
28
  "nyc": "^15.1.0",
29
29
  "precommit-hook": "^3.0.0",
30
- "rewire": "^5.0.0",
31
- "sinon": "^12.0.1",
30
+ "rewire": "^6.0.0",
31
+ "sinon": "^13.0.0",
32
32
  "sinon-chai": "^3.5.0",
33
33
  "typescript": "^4.0.5"
34
34
  },
@@ -1,5 +1,6 @@
1
1
  export = CambionCycle;
2
2
  declare class CambionCycle extends WorldstateObject {
3
+ active: string;
3
4
  /**
4
5
  * Get whether or not the event has expired
5
6
  * @returns {boolean}