ioserver 2.1.0 → 2.1.1
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/dist/BaseClasses.d.ts +1 -1
- package/dist/BaseClasses.js +1 -1
- package/dist/IOServer.d.ts +1 -1
- package/dist/IOServer.js +2 -2
- package/dist/IOServerError.d.ts +1 -1
- package/dist/IOServerError.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +36 -35
package/dist/BaseClasses.d.ts
CHANGED
package/dist/BaseClasses.js
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* for Services, Controllers, Managers, Watchers, and Middlewares in the IOServer framework.
|
|
7
7
|
*
|
|
8
8
|
* @author Ben Mz <0x42en@users.noreply.github.com>
|
|
9
|
-
* @version 2.
|
|
9
|
+
* @version 2.1.1
|
|
10
10
|
* @since 1.0.0
|
|
11
11
|
*/
|
|
12
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
package/dist/IOServer.d.ts
CHANGED
package/dist/IOServer.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Services, Controllers, Managers, and Watchers.
|
|
6
6
|
*
|
|
7
7
|
* @author Ben Mz <0x42en@users.noreply.github.com>
|
|
8
|
-
* @version 2.
|
|
8
|
+
* @version 2.1.1
|
|
9
9
|
* @since 1.0.0
|
|
10
10
|
*/
|
|
11
11
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
@@ -697,7 +697,7 @@ class IOServer {
|
|
|
697
697
|
}
|
|
698
698
|
}
|
|
699
699
|
exports.IOServer = IOServer;
|
|
700
|
-
IOServer.VERSION = '2.1.
|
|
700
|
+
IOServer.VERSION = '2.1.1';
|
|
701
701
|
IOServer.DEFAULT_PORT = 8080;
|
|
702
702
|
IOServer.DEFAULT_HOST = 'localhost';
|
|
703
703
|
IOServer.LOG_LEVELS = [
|
package/dist/IOServerError.d.ts
CHANGED
package/dist/IOServerError.js
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,9 +1,31 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ioserver",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.1",
|
|
4
4
|
"description": "Damn simple Fastify & Socket.io server framework with TypeScript support",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
|
+
"scripts": {
|
|
8
|
+
"build": "tsc",
|
|
9
|
+
"build:watch": "tsc --watch",
|
|
10
|
+
"dev": "ts-node",
|
|
11
|
+
"dev:chat": "ts-node examples/chat-app/app.ts",
|
|
12
|
+
"dev:simple": "ts-node examples/simple-example.ts",
|
|
13
|
+
"test": "jest",
|
|
14
|
+
"test:watch": "jest --watch",
|
|
15
|
+
"test:coverage": "jest --coverage",
|
|
16
|
+
"test:unit": "jest --testPathPattern=unit",
|
|
17
|
+
"test:integration": "jest --testPathPattern=integration",
|
|
18
|
+
"test:e2e": "jest --testPathPattern=e2e",
|
|
19
|
+
"test:performance": "jest --testPathPattern=performance",
|
|
20
|
+
"lint": "eslint .",
|
|
21
|
+
"lint:fix": "eslint . --fix",
|
|
22
|
+
"docs:build": "cd docs && make html",
|
|
23
|
+
"docs:api": "typedoc --options typedoc.json",
|
|
24
|
+
"docs:serve": "cd docs/build/html && python -m http.server 8000",
|
|
25
|
+
"gpr-setup": "node scripts/gpr.js",
|
|
26
|
+
"gpr-restore": "node scripts/gpr-restore.js",
|
|
27
|
+
"prepublishOnly": "npm run build && npm run test"
|
|
28
|
+
},
|
|
7
29
|
"keywords": [
|
|
8
30
|
"socket.io",
|
|
9
31
|
"fastify",
|
|
@@ -33,49 +55,28 @@
|
|
|
33
55
|
},
|
|
34
56
|
"dependencies": {
|
|
35
57
|
"@fastify/cors": "^10.1.0",
|
|
36
|
-
"@fastify/sensible": "^6.0.
|
|
58
|
+
"@fastify/sensible": "^6.0.4",
|
|
37
59
|
"@fastify/static": "^9.0.0",
|
|
38
|
-
"fastify": "^5.
|
|
39
|
-
"socket.io": "^4.8.
|
|
60
|
+
"fastify": "^5.7.4",
|
|
61
|
+
"socket.io": "^4.8.3"
|
|
40
62
|
},
|
|
41
63
|
"devDependencies": {
|
|
42
|
-
"@eslint/js": "^9.
|
|
64
|
+
"@eslint/js": "^9.39.3",
|
|
43
65
|
"@types/jest": "^29.5.14",
|
|
44
|
-
"@types/node": "^22.
|
|
66
|
+
"@types/node": "^22.19.12",
|
|
45
67
|
"@types/supertest": "^6.0.3",
|
|
46
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
47
|
-
"@typescript-eslint/parser": "^8.
|
|
48
|
-
"eslint": "^9.
|
|
68
|
+
"@typescript-eslint/eslint-plugin": "^8.56.1",
|
|
69
|
+
"@typescript-eslint/parser": "^8.56.1",
|
|
70
|
+
"eslint": "^9.39.3",
|
|
49
71
|
"jest": "^29.7.0",
|
|
50
|
-
"socket.io-client": "^4.8.
|
|
51
|
-
"supertest": "^7.
|
|
52
|
-
"ts-jest": "^29.
|
|
72
|
+
"socket.io-client": "^4.8.3",
|
|
73
|
+
"supertest": "^7.2.2",
|
|
74
|
+
"ts-jest": "^29.4.6",
|
|
53
75
|
"ts-node": "^10.9.2",
|
|
54
|
-
"typedoc": "^0.28.
|
|
55
|
-
"typescript": "^5.
|
|
76
|
+
"typedoc": "^0.28.17",
|
|
77
|
+
"typescript": "^5.9.3"
|
|
56
78
|
},
|
|
57
79
|
"peerDependencies": {
|
|
58
80
|
"typescript": ">=5.0.0"
|
|
59
|
-
},
|
|
60
|
-
"scripts": {
|
|
61
|
-
"build": "tsc",
|
|
62
|
-
"build:watch": "tsc --watch",
|
|
63
|
-
"dev": "ts-node",
|
|
64
|
-
"dev:chat": "ts-node examples/chat-app/app.ts",
|
|
65
|
-
"dev:simple": "ts-node examples/simple-example.ts",
|
|
66
|
-
"test": "jest",
|
|
67
|
-
"test:watch": "jest --watch",
|
|
68
|
-
"test:coverage": "jest --coverage",
|
|
69
|
-
"test:unit": "jest --testPathPattern=unit",
|
|
70
|
-
"test:integration": "jest --testPathPattern=integration",
|
|
71
|
-
"test:e2e": "jest --testPathPattern=e2e",
|
|
72
|
-
"test:performance": "jest --testPathPattern=performance",
|
|
73
|
-
"lint": "eslint .",
|
|
74
|
-
"lint:fix": "eslint . --fix",
|
|
75
|
-
"docs:build": "cd docs && make html",
|
|
76
|
-
"docs:api": "typedoc --options typedoc.json",
|
|
77
|
-
"docs:serve": "cd docs/build/html && python -m http.server 8000",
|
|
78
|
-
"gpr-setup": "node scripts/gpr.js",
|
|
79
|
-
"gpr-restore": "node scripts/gpr-restore.js"
|
|
80
81
|
}
|
|
81
82
|
}
|