@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 CHANGED
@@ -142,3 +142,4 @@ ForumMessage.getData().then(function (data) {
142
142
  }
143
143
  ]
144
144
  ```
145
+
@@ -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.7",
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 lint && npm run build && npm run start",
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": "^12.22.0 || ^14.17.0 || >=16.10.0"
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.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.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.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.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.1.3",
62
- "moment": "2.29.4"
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