@eso-status/forum-message 1.0.6 → 1.0.8
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/README.md +1 -0
- package/lib/connectors/ForumMessageConnector.js +3 -2
- package/lib/index.js +1 -1
- package/package.json +17 -17
- package/.npmrc +0 -1
package/README.md
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]) {
|
|
@@ -212,7 +212,8 @@ var ForumMessageConnector = /** @class */ (function () {
|
|
|
212
212
|
return rawMessageSplit
|
|
213
213
|
.filter(function (item) { return item !== ''
|
|
214
214
|
&& !item.includes('Maintenance for the week')
|
|
215
|
-
&& !item.includes('No maintenance')
|
|
215
|
+
&& !item.includes('No maintenance')
|
|
216
|
+
&& !item.includes('PC/Mac: No NA megaserver maintenance'); })
|
|
216
217
|
.map(function (item) {
|
|
217
218
|
var line = item;
|
|
218
219
|
line = line.replace('\n', '');
|
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/forum-message",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.8",
|
|
4
4
|
"description": "Library used to get servers status of The elders scrolls Online game with https://forums.elderscrollsonline.com/ and https://forums.elderscrollsonline.com/en/categories/pts",
|
|
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/forum-message-dev#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
|