owebjs 1.4.2 → 1.4.3
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/package.json +17 -10
- package/dist/uws_darwin_arm64_108.node +0 -0
- package/dist/uws_darwin_arm64_83.node +0 -0
- package/dist/uws_darwin_arm64_93.node +0 -0
- package/dist/uws_darwin_x64_108.node +0 -0
- package/dist/uws_darwin_x64_83.node +0 -0
- package/dist/uws_darwin_x64_93.node +0 -0
- package/dist/uws_linux_arm64_108.node +0 -0
- package/dist/uws_linux_arm64_83.node +0 -0
- package/dist/uws_linux_arm64_93.node +0 -0
- package/dist/uws_linux_x64_108.node +0 -0
- package/dist/uws_linux_x64_83.node +0 -0
- package/dist/uws_linux_x64_93.node +0 -0
- package/dist/uws_win32_x64_108.node +0 -0
- package/dist/uws_win32_x64_83.node +0 -0
- package/dist/uws_win32_x64_93.node +0 -0
- package/scripts/copyBinaries.js +0 -11
package/package.json
CHANGED
|
@@ -1,26 +1,29 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "owebjs",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.3",
|
|
4
4
|
"description": "A flexible and modern web framework built on top of Fastify",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
|
+
"publishConfig": {
|
|
8
|
+
"access": "public"
|
|
9
|
+
},
|
|
7
10
|
"exports": {
|
|
8
11
|
".": {
|
|
12
|
+
"types": "./dist/index.d.ts",
|
|
9
13
|
"import": "./dist/index.js",
|
|
10
|
-
"default": "./dist/index.js"
|
|
11
|
-
"types": "./dist/index.d.ts"
|
|
14
|
+
"default": "./dist/index.js"
|
|
12
15
|
},
|
|
13
16
|
"./dist/plugins": {
|
|
17
|
+
"types": "./dist/plugins/index.d.ts",
|
|
14
18
|
"import": "./dist/plugins/index.js",
|
|
15
|
-
"default": "./dist/plugins/index.js"
|
|
16
|
-
"types": "./dist/plugins/index.d.ts"
|
|
19
|
+
"default": "./dist/plugins/index.js"
|
|
17
20
|
}
|
|
18
21
|
},
|
|
19
22
|
"scripts": {
|
|
20
23
|
"start": "node .",
|
|
21
|
-
"build": "tsup
|
|
24
|
+
"build": "tsup",
|
|
22
25
|
"dev": "tsup && node .",
|
|
23
|
-
"test": "tsup && node
|
|
26
|
+
"test": "tsup && node test/index.js",
|
|
24
27
|
"format": "prettier --write . --ignore-path .gitignore"
|
|
25
28
|
},
|
|
26
29
|
"homepage": "https://github.com/owebjs/oweb",
|
|
@@ -38,9 +41,11 @@
|
|
|
38
41
|
"@babel/preset-typescript": "^7.27.1",
|
|
39
42
|
"@babel/traverse": "^7.28.0",
|
|
40
43
|
"@babel/types": "^7.28.2",
|
|
44
|
+
"@fastify/websocket": "^11.2.0",
|
|
41
45
|
"chalk": "^5.4.1",
|
|
42
46
|
"fastify": "4.23.2",
|
|
43
|
-
"path-to-regexp": "^8.2.0"
|
|
47
|
+
"path-to-regexp": "^8.2.0",
|
|
48
|
+
"uWebSockets.js": "github:uNetworking/uWebSockets.js#v20.49.0"
|
|
44
49
|
},
|
|
45
50
|
"devDependencies": {
|
|
46
51
|
"@fastify/multipart": "^8.1.0",
|
|
@@ -51,13 +56,15 @@
|
|
|
51
56
|
"prettier": "^3.0.3",
|
|
52
57
|
"tslib": "^2.6.2",
|
|
53
58
|
"tsup": "^8.5.0",
|
|
54
|
-
"typescript": "^5.2.2"
|
|
55
|
-
"uWebSockets.js": "github:uNetworking/uWebSockets.js#v20.10.0"
|
|
59
|
+
"typescript": "^5.2.2"
|
|
56
60
|
},
|
|
57
61
|
"type": "module",
|
|
58
62
|
"pnpm": {
|
|
59
63
|
"onlyBuiltDependencies": [
|
|
60
64
|
"esbuild"
|
|
61
65
|
]
|
|
66
|
+
},
|
|
67
|
+
"peerDependencies": {
|
|
68
|
+
"uWebSockets.js": "*"
|
|
62
69
|
}
|
|
63
70
|
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/scripts/copyBinaries.js
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import fs from 'node:fs';
|
|
2
|
-
import path from 'node:path';
|
|
3
|
-
|
|
4
|
-
for (const file of fs.readdirSync('node_modules/uWebSockets.js')) {
|
|
5
|
-
if (file.endsWith('.node')) {
|
|
6
|
-
fs.copyFileSync(
|
|
7
|
-
path.resolve('node_modules/uWebSockets.js/' + file),
|
|
8
|
-
path.resolve('dist/' + file),
|
|
9
|
-
);
|
|
10
|
-
}
|
|
11
|
-
}
|