@pluv/platform-node 2.1.0 → 2.2.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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @pluv/platform-node@2.1.0 build /home/runner/work/pluv/pluv/packages/platform-node
2
+ > @pluv/platform-node@2.2.1 build /home/runner/work/pluv/pluv/packages/platform-node
3
3
  > tsup src/index.ts --format esm,cjs --dts
4
4
 
5
5
  CLI Building entry: src/index.ts
@@ -8,11 +8,11 @@
8
8
  CLI Target: es6
9
9
  ESM Build start
10
10
  CJS Build start
11
- CJS dist/index.js 11.33 KB
12
- CJS ⚡️ Build success in 52ms
13
- ESM dist/index.mjs 9.54 KB
14
- ESM ⚡️ Build success in 57ms
11
+ ESM dist/index.mjs 9.55 KB
12
+ ESM ⚡️ Build success in 68ms
13
+ CJS dist/index.js 11.34 KB
14
+ CJS ⚡️ Build success in 68ms
15
15
  DTS Build start
16
- DTS ⚡️ Build success in 5678ms
16
+ DTS ⚡️ Build success in 5565ms
17
17
  DTS dist/index.d.mts 6.50 KB
18
18
  DTS dist/index.d.ts 6.50 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # @pluv/platform-node
2
2
 
3
+ ## 2.2.1
4
+
5
+ ### Patch Changes
6
+
7
+ - @pluv/io@2.2.1
8
+ - @pluv/types@2.2.1
9
+
10
+ ## 2.2.0
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies [cb660cd]
15
+ - @pluv/io@2.2.0
16
+ - @pluv/types@2.2.0
17
+
3
18
  ## 2.1.0
4
19
 
5
20
  ### Patch Changes
package/dist/index.js CHANGED
@@ -358,7 +358,7 @@ var platformNode = (config = {}) => {
358
358
  crdt,
359
359
  debug,
360
360
  limits,
361
- platform: new NodePlatform(config)
361
+ platform: () => new NodePlatform(config)
362
362
  };
363
363
  };
364
364
  // Annotate the CommonJS export names for ESM import in node:
package/dist/index.mjs CHANGED
@@ -323,7 +323,7 @@ var platformNode = (config = {}) => {
323
323
  crdt,
324
324
  debug,
325
325
  limits,
326
- platform: new NodePlatform(config)
326
+ platform: () => new NodePlatform(config)
327
327
  };
328
328
  };
329
329
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pluv/platform-node",
3
- "version": "2.1.0",
3
+ "version": "2.2.1",
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.15.17",
20
+ "@types/node": "^22.15.18",
21
21
  "@types/ws": "^8.18.1",
22
22
  "path-to-regexp": "^8.2.0",
23
- "@pluv/io": "^2.1.0",
24
- "@pluv/types": "^2.1.0"
23
+ "@pluv/io": "^2.2.1",
24
+ "@pluv/types": "^2.2.1"
25
25
  },
26
26
  "devDependencies": {
27
27
  "eslint": "^9.26.0",
28
28
  "tsup": "^8.4.0",
29
29
  "typescript": "^5.8.3",
30
30
  "ws": "^8.18.2",
31
- "@pluv/tsconfig": "^2.1.0",
32
- "eslint-config-pluv": "^2.1.0"
31
+ "@pluv/tsconfig": "^2.2.1",
32
+ "eslint-config-pluv": "^2.2.1"
33
33
  },
34
34
  "peerDependencies": {
35
35
  "ws": "^8.0.0"
@@ -45,6 +45,6 @@ export const platformNode = <
45
45
  crdt,
46
46
  debug,
47
47
  limits,
48
- platform: new NodePlatform<IOAuthorize<TUser, TContext>, TMeta>(config),
48
+ platform: () => new NodePlatform<IOAuthorize<TUser, TContext>, TMeta>(config),
49
49
  };
50
50
  };