@eso-status/service-alerts 1.0.5 → 1.0.6
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/connectors/ServiceAlertConnector.js +4 -2
- package/lib/index.js +1 -1
- package/package.json +17 -17
- package/.npmrc +0 -1
|
@@ -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,9 @@ var ServiceAlertConnector = /** @class */ (function () {
|
|
|
104
104
|
*/
|
|
105
105
|
ServiceAlertConnector.changeFilterContentForList = function (filteredContent) {
|
|
106
106
|
return filteredContent
|
|
107
|
-
.
|
|
107
|
+
.replace('<hr />', '<hr>')
|
|
108
|
+
.replace('<hr />\n', '<hr>')
|
|
109
|
+
.split('<hr>')
|
|
108
110
|
.filter(function (item) { return !item.includes(' '); });
|
|
109
111
|
};
|
|
110
112
|
/**
|
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.
|
|
3
|
+
"version": "1.0.6",
|
|
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": "
|
|
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.
|
|
46
|
-
"@types/jest": "29.
|
|
47
|
-
"@types/node": "
|
|
48
|
-
"@typescript-eslint/eslint-plugin": "
|
|
49
|
-
"@typescript-eslint/parser": "
|
|
50
|
-
"@typescript-eslint/typescript-estree": "
|
|
51
|
-
"eslint": "8.
|
|
45
|
+
"@eso-status/types": "1.0.6",
|
|
46
|
+
"@types/jest": "29.5.12",
|
|
47
|
+
"@types/node": "20.12.7",
|
|
48
|
+
"@typescript-eslint/eslint-plugin": "7.6.0",
|
|
49
|
+
"@typescript-eslint/parser": "7.6.0",
|
|
50
|
+
"@typescript-eslint/typescript-estree": "7.6.0",
|
|
51
|
+
"eslint": "8.57.0",
|
|
52
52
|
"eslint-config-airbnb-base": "15.0.0",
|
|
53
|
-
"eslint-plugin-import": "2.
|
|
54
|
-
"eslint-plugin-jest": "
|
|
55
|
-
"jest": "29.
|
|
56
|
-
"nodemon": "
|
|
57
|
-
"ts-jest": "29.
|
|
58
|
-
"typescript": "4.
|
|
53
|
+
"eslint-plugin-import": "2.29.1",
|
|
54
|
+
"eslint-plugin-jest": "28.2.0",
|
|
55
|
+
"jest": "29.7.0",
|
|
56
|
+
"nodemon": "3.1.0",
|
|
57
|
+
"ts-jest": "29.1.2",
|
|
58
|
+
"typescript": "5.4.5"
|
|
59
59
|
},
|
|
60
60
|
"dependencies": {
|
|
61
|
-
"axios": "1.
|
|
62
|
-
"moment": "2.
|
|
61
|
+
"axios": "1.6.8",
|
|
62
|
+
"moment": "2.30.1"
|
|
63
63
|
}
|
|
64
64
|
}
|
package/.npmrc
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
engine-strict=true
|