@pluv/platform-node 0.26.0 → 0.28.0
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/.turbo/turbo-build.log +6 -6
- package/CHANGELOG.md +16 -0
- package/dist/index.mjs +4 -4
- package/package.json +8 -8
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
|
|
2
|
-
> @pluv/platform-node@0.
|
|
2
|
+
> @pluv/platform-node@0.28.0 build /home/runner/work/pluv/pluv/packages/platform-node
|
|
3
3
|
> tsup src/index.ts --format esm,cjs --dts
|
|
4
4
|
|
|
5
5
|
[34mCLI[39m Building entry: src/index.ts
|
|
6
6
|
[34mCLI[39m Using tsconfig: tsconfig.json
|
|
7
|
-
[34mCLI[39m tsup v8.
|
|
7
|
+
[34mCLI[39m tsup v8.3.0
|
|
8
8
|
[34mCLI[39m Target: es6
|
|
9
9
|
[34mESM[39m Build start
|
|
10
10
|
[34mCJS[39m Build start
|
|
11
|
-
[32mESM[39m [1mdist/index.mjs [22m[32m7.
|
|
12
|
-
[32mESM[39m ⚡️ Build success in
|
|
11
|
+
[32mESM[39m [1mdist/index.mjs [22m[32m7.42 KB[39m
|
|
12
|
+
[32mESM[39m ⚡️ Build success in 92ms
|
|
13
13
|
[32mCJS[39m [1mdist/index.js [22m[32m9.27 KB[39m
|
|
14
|
-
[32mCJS[39m ⚡️ Build success in
|
|
14
|
+
[32mCJS[39m ⚡️ Build success in 93ms
|
|
15
15
|
[34mDTS[39m Build start
|
|
16
|
-
[32mDTS[39m ⚡️ Build success in
|
|
16
|
+
[32mDTS[39m ⚡️ Build success in 4580ms
|
|
17
17
|
[32mDTS[39m [1mdist/index.d.mts [22m[32m3.60 KB[39m
|
|
18
18
|
[32mDTS[39m [1mdist/index.d.ts [22m[32m3.60 KB[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @pluv/platform-node
|
|
2
2
|
|
|
3
|
+
## 0.28.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- @pluv/io@0.28.0
|
|
8
|
+
- @pluv/types@0.28.0
|
|
9
|
+
|
|
10
|
+
## 0.27.0
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies [19ed36c]
|
|
15
|
+
- Updated dependencies [e309b0b]
|
|
16
|
+
- @pluv/io@0.27.0
|
|
17
|
+
- @pluv/types@0.27.0
|
|
18
|
+
|
|
3
19
|
## 0.26.0
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
package/dist/index.mjs
CHANGED
|
@@ -20,7 +20,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20
20
|
};
|
|
21
21
|
|
|
22
22
|
// src/createPluvHandler.ts
|
|
23
|
-
import Url from "url";
|
|
23
|
+
import Url from "node:url";
|
|
24
24
|
import { match } from "path-to-regexp";
|
|
25
25
|
import { Server as WsServer } from "ws";
|
|
26
26
|
var handle = (ws) => ({
|
|
@@ -122,12 +122,12 @@ var createPluvHandler = (config) => {
|
|
|
122
122
|
|
|
123
123
|
// src/NodePlatform.ts
|
|
124
124
|
import { AbstractPlatform } from "@pluv/io";
|
|
125
|
-
import crypto2 from "crypto";
|
|
126
|
-
import { TextDecoder } from "util";
|
|
125
|
+
import crypto2 from "node:crypto";
|
|
126
|
+
import { TextDecoder } from "node:util";
|
|
127
127
|
|
|
128
128
|
// src/NodeWebSocket.ts
|
|
129
129
|
import { AbstractWebSocket } from "@pluv/io";
|
|
130
|
-
import crypto from "crypto";
|
|
130
|
+
import crypto from "node:crypto";
|
|
131
131
|
var NodeWebSocket = class extends AbstractWebSocket {
|
|
132
132
|
set presence(presence) {
|
|
133
133
|
this._state.presence = presence;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pluv/platform-node",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.28.0",
|
|
4
4
|
"description": "@pluv/io adapter for node.js",
|
|
5
5
|
"author": "leedavidcs",
|
|
6
6
|
"license": "MIT",
|
|
@@ -17,19 +17,19 @@
|
|
|
17
17
|
"access": "public"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@types/node": "^22.5.
|
|
20
|
+
"@types/node": "^22.5.5",
|
|
21
21
|
"@types/ws": "^8.5.12",
|
|
22
22
|
"path-to-regexp": "^7.1.0",
|
|
23
|
-
"@pluv/io": "^0.
|
|
24
|
-
"@pluv/types": "^0.
|
|
23
|
+
"@pluv/io": "^0.28.0",
|
|
24
|
+
"@pluv/types": "^0.28.0"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"eslint": "^8.57.0",
|
|
28
|
-
"tsup": "^8.
|
|
29
|
-
"typescript": "^5.
|
|
28
|
+
"tsup": "^8.3.0",
|
|
29
|
+
"typescript": "^5.6.2",
|
|
30
30
|
"ws": "^8.18.0",
|
|
31
|
-
"@pluv/tsconfig": "^0.
|
|
32
|
-
"eslint-config-pluv": "^0.
|
|
31
|
+
"@pluv/tsconfig": "^0.28.0",
|
|
32
|
+
"eslint-config-pluv": "^0.28.0"
|
|
33
33
|
},
|
|
34
34
|
"peerDependencies": {
|
|
35
35
|
"ws": "^8.0.0"
|