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.
@@ -5,7 +5,7 @@
5
5
  * for Services, Controllers, Managers, Watchers, and Middlewares in the IOServer framework.
6
6
  *
7
7
  * @author Ben Mz <0x42en@users.noreply.github.com>
8
- * @version 2.0.6
8
+ * @version 2.1.1
9
9
  * @since 1.0.0
10
10
  */
11
11
  import { AppHandle } from './IOServer';
@@ -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.0.6
9
+ * @version 2.1.1
10
10
  * @since 1.0.0
11
11
  */
12
12
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -4,7 +4,7 @@
4
4
  * Services, Controllers, Managers, and Watchers.
5
5
  *
6
6
  * @author Ben Mz <0x42en@users.noreply.github.com>
7
- * @version 2.0.6
7
+ * @version 2.1.1
8
8
  * @since 1.0.0
9
9
  */
10
10
  import { FastifyInstance } from 'fastify';
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.0.6
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.0';
700
+ IOServer.VERSION = '2.1.1';
701
701
  IOServer.DEFAULT_PORT = 8080;
702
702
  IOServer.DEFAULT_HOST = 'localhost';
703
703
  IOServer.LOG_LEVELS = [
@@ -6,7 +6,7 @@
6
6
  * and API error responses.
7
7
  *
8
8
  * @author Ben Mz <0x42en@users.noreply.github.com>
9
- * @version 2.0.6
9
+ * @version 2.1.1
10
10
  * @since 1.0.0
11
11
  */
12
12
  /**
@@ -7,7 +7,7 @@
7
7
  * and API error responses.
8
8
  *
9
9
  * @author Ben Mz <0x42en@users.noreply.github.com>
10
- * @version 2.0.6
10
+ * @version 2.1.1
11
11
  * @since 1.0.0
12
12
  */
13
13
  Object.defineProperty(exports, "__esModule", { value: true });
package/dist/index.d.ts CHANGED
@@ -12,7 +12,7 @@
12
12
  * - Production-ready with security best practices
13
13
  *
14
14
  * @author Ben Mz <0x42en@users.noreply.github.com>
15
- * @version 2.0.6
15
+ * @version 2.1.1
16
16
  * @since 1.0.0
17
17
  *
18
18
  * @example
package/dist/index.js CHANGED
@@ -13,7 +13,7 @@
13
13
  * - Production-ready with security best practices
14
14
  *
15
15
  * @author Ben Mz <0x42en@users.noreply.github.com>
16
- * @version 2.0.6
16
+ * @version 2.1.1
17
17
  * @since 1.0.0
18
18
  *
19
19
  * @example
package/package.json CHANGED
@@ -1,9 +1,31 @@
1
1
  {
2
2
  "name": "ioserver",
3
- "version": "2.1.0",
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.3",
58
+ "@fastify/sensible": "^6.0.4",
37
59
  "@fastify/static": "^9.0.0",
38
- "fastify": "^5.3.3",
39
- "socket.io": "^4.8.1"
60
+ "fastify": "^5.7.4",
61
+ "socket.io": "^4.8.3"
40
62
  },
41
63
  "devDependencies": {
42
- "@eslint/js": "^9.28.0",
64
+ "@eslint/js": "^9.39.3",
43
65
  "@types/jest": "^29.5.14",
44
- "@types/node": "^22.15.30",
66
+ "@types/node": "^22.19.12",
45
67
  "@types/supertest": "^6.0.3",
46
- "@typescript-eslint/eslint-plugin": "^8.33.1",
47
- "@typescript-eslint/parser": "^8.33.1",
48
- "eslint": "^9.28.0",
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.1",
51
- "supertest": "^7.1.1",
52
- "ts-jest": "^29.3.4",
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.5",
55
- "typescript": "^5.8.3"
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
  }