@eso-status/forum-message 1.0.7 → 1.0.9
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 +2 -2
- package/lib/index.js +1 -1
- package/package.json +19 -18
- 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]) {
|
|
@@ -195,7 +195,7 @@ var ForumMessageConnector = /** @class */ (function () {
|
|
|
195
195
|
ForumMessageConnector.splitRawMessage = function (mergedRawMessage) {
|
|
196
196
|
var list = [];
|
|
197
197
|
mergedRawMessage.split('<br />').forEach(function (item) {
|
|
198
|
-
list.push.apply(list, item.split('<br
|
|
198
|
+
list.push.apply(list, item.split('<br/>'));
|
|
199
199
|
});
|
|
200
200
|
return list;
|
|
201
201
|
};
|
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.9",
|
|
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": {
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"build": "rm -R -f lib/* && tsc",
|
|
11
11
|
"test": "jest",
|
|
12
12
|
"start": "node .",
|
|
13
|
-
"dev": "npm run
|
|
13
|
+
"dev": "npm run build && npm run start",
|
|
14
14
|
"dev:test": "npm run lint && npm run build && npm run test",
|
|
15
15
|
"watch": "nodemon --exec npm run dev",
|
|
16
16
|
"watch:test": "nodemon --exec npm run dev:test"
|
|
@@ -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,24 @@
|
|
|
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
|
-
"
|
|
61
|
+
"axios": "1.6.8",
|
|
62
|
+
"fs": "^0.0.1-security",
|
|
63
|
+
"moment": "2.30.1"
|
|
63
64
|
}
|
|
64
65
|
}
|
package/.npmrc
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
engine-strict=true
|