@eso-status/service-alerts 1.0.5 → 1.0.7

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.
@@ -14,7 +14,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
14
14
  function verb(n) { return function (v) { return step([n, v]); }; }
15
15
  function step(op) {
16
16
  if (f) throw new TypeError("Generator is already executing.");
17
- while (_) try {
17
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
18
18
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
19
19
  if (y = 0, t) op = [op[0] & 2, t.value];
20
20
  switch (op[0]) {
@@ -104,7 +104,7 @@ var ServiceAlertConnector = /** @class */ (function () {
104
104
  */
105
105
  ServiceAlertConnector.changeFilterContentForList = function (filteredContent) {
106
106
  return filteredContent
107
- .split('<hr />')
107
+ .split('<hr')
108
108
  .filter(function (item) { return !item.includes('&nbsp;'); });
109
109
  };
110
110
  /**
package/lib/index.js CHANGED
@@ -14,7 +14,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
14
14
  function verb(n) { return function (v) { return step([n, v]); }; }
15
15
  function step(op) {
16
16
  if (f) throw new TypeError("Generator is already executing.");
17
- while (_) try {
17
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
18
18
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
19
19
  if (y = 0, t) op = [op[0] & 2, t.value];
20
20
  switch (op[0]) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eso-status/service-alerts",
3
- "version": "1.0.5",
3
+ "version": "1.0.7",
4
4
  "description": "Library used to get servers status of The elders scrolls Online game with https://help.elderscrollsonline.com/app/answers/detail/a_id/4320",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {
@@ -29,7 +29,7 @@
29
29
  ],
30
30
  "engineStrict": true,
31
31
  "engines": {
32
- "node": "^10.18.0 || ^12.14.0 || >=14.15.0"
32
+ "node": ">=18.18.0 || >=20.0.0"
33
33
  },
34
34
  "repository": {
35
35
  "type": "git",
@@ -42,23 +42,23 @@
42
42
  },
43
43
  "homepage": "https://github.com/eso-status/service-alerts#readme",
44
44
  "devDependencies": {
45
- "@eso-status/types": "1.0.5",
46
- "@types/jest": "29.2.2",
47
- "@types/node": "18.11.9",
48
- "@typescript-eslint/eslint-plugin": "5.42.1",
49
- "@typescript-eslint/parser": "5.42.1",
50
- "@typescript-eslint/typescript-estree": "5.42.1",
51
- "eslint": "8.27.0",
45
+ "@eso-status/types": "1.0.6",
46
+ "@types/jest": "29.5.12",
47
+ "@types/node": "20.14.11",
48
+ "@typescript-eslint/eslint-plugin": "7.16.1",
49
+ "@typescript-eslint/parser": "7.16.1",
50
+ "@typescript-eslint/typescript-estree": "7.16.1",
51
+ "eslint": "8.57.0",
52
52
  "eslint-config-airbnb-base": "15.0.0",
53
- "eslint-plugin-import": "2.26.0",
54
- "eslint-plugin-jest": "27.1.5",
55
- "jest": "29.3.1",
56
- "nodemon": "2.0.20",
57
- "ts-jest": "29.0.3",
58
- "typescript": "4.8.4"
53
+ "eslint-plugin-import": "2.29.1",
54
+ "eslint-plugin-jest": "28.6.0",
55
+ "jest": "29.7.0",
56
+ "nodemon": "3.1.4",
57
+ "ts-jest": "29.2.3",
58
+ "typescript": "5.5.3"
59
59
  },
60
60
  "dependencies": {
61
- "axios": "1.1.3",
62
- "moment": "2.29.4"
61
+ "axios": "1.7.2",
62
+ "moment": "2.30.1"
63
63
  }
64
64
  }
package/.npmrc DELETED
@@ -1 +0,0 @@
1
- engine-strict=true