@modern-js/plugin-devtools 2.65.4 → 2.66.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.
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  import http from 'http';
3
2
  import type { Plugin } from '../types';
4
3
  declare global {
package/dist/runtime.d.ts CHANGED
@@ -1,2 +1 @@
1
- /// <reference lib="dom" />
2
1
  export {};
@@ -1,12 +1,11 @@
1
- /// <reference types="node" />
2
1
  import type { AppTools, AppToolsHooks, CliPlugin } from '@modern-js/app-tools';
3
2
  import type { BaseHooks } from '@modern-js/core';
4
3
  import type { DevtoolsContext, ServerManifest } from '@modern-js/devtools-kit/node';
5
- import type { ServerPlugin, ToThreads } from '@modern-js/server-core';
4
+ import type { ServerPluginLegacy, ToThreads } from '@modern-js/server-core';
6
5
  import type { RsbuildPluginAPI } from '@rsbuild/core';
7
6
  import type { Hookable } from 'hookable';
8
7
  export type CliPluginAPI = Parameters<NonNullable<CliPlugin<AppTools>['setup']>>[0];
9
- export type ServerPluginAPI = Parameters<NonNullable<ServerPlugin['setup']>>[0];
8
+ export type ServerPluginAPI = Parameters<NonNullable<ServerPluginLegacy['setup']>>[0];
10
9
  export type BufferLike = string | Buffer | DataView | number | ArrayBufferView | Uint8Array | ArrayBuffer | SharedArrayBuffer | ReadonlyArray<any> | ReadonlyArray<number> | {
11
10
  valueOf: () => ArrayBuffer;
12
11
  } | {
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  export declare const getRequire: () => NodeRequire;
3
2
  export declare const resolveModule: (id: string[] | string) => string | null;
4
3
  export declare const requireModule: (id: string[] | string) => any;
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  import type { IncomingMessage } from 'http';
3
2
  import WebSocket from 'ws';
4
3
  import type { BufferLike } from '../types';
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "2.65.4",
18
+ "version": "2.66.0",
19
19
  "jsnext:source": "./src/index.ts",
20
20
  "types": "./dist/index.d.ts",
21
21
  "main": "./dist/index.js",
@@ -56,29 +56,29 @@
56
56
  "ufo": "^1.3.0",
57
57
  "valtio": "^1.11.1",
58
58
  "ws": "^8.13.0",
59
- "@modern-js/devtools-client": "2.65.4",
60
- "@modern-js/devtools-kit": "2.65.4",
61
- "@modern-js/utils": "2.65.4"
59
+ "@modern-js/devtools-client": "2.66.0",
60
+ "@modern-js/devtools-kit": "2.66.0",
61
+ "@modern-js/utils": "2.66.0"
62
62
  },
63
63
  "devDependencies": {
64
- "@rsbuild/core": "1.2.18",
64
+ "@rsbuild/core": "1.2.19",
65
65
  "@swc/helpers": "0.5.13",
66
66
  "@types/node": "^14",
67
67
  "@types/react-devtools-inline": "^4.24.8",
68
68
  "@types/ws": "^8.5.5",
69
69
  "type-fest": "^4.1.0",
70
70
  "typescript": "^5",
71
- "@modern-js/app-tools": "2.65.4",
72
- "@modern-js/core": "2.65.4",
73
- "@modern-js/module-tools": "2.65.4",
74
- "@modern-js/runtime": "2.65.4",
75
- "@modern-js/server-core": "2.65.4",
76
- "@modern-js/types": "2.65.4",
77
- "@modern-js/uni-builder": "2.65.4",
78
- "@scripts/build": "2.65.4"
71
+ "@modern-js/app-tools": "2.66.0",
72
+ "@modern-js/core": "2.66.0",
73
+ "@modern-js/module-tools": "2.66.0",
74
+ "@modern-js/server-core": "2.66.0",
75
+ "@modern-js/runtime": "2.66.0",
76
+ "@modern-js/types": "2.66.0",
77
+ "@modern-js/uni-builder": "2.66.0",
78
+ "@scripts/build": "2.66.0"
79
79
  },
80
80
  "peerDependencies": {
81
- "@modern-js/runtime": "^2.65.4"
81
+ "@modern-js/runtime": "^2.66.0"
82
82
  },
83
83
  "peerDependenciesMeta": {
84
84
  "@modern-js/runtime": {
@@ -88,8 +88,7 @@
88
88
  "sideEffects": false,
89
89
  "publishConfig": {
90
90
  "registry": "https://registry.npmjs.org/",
91
- "access": "public",
92
- "provenance": true
91
+ "access": "public"
93
92
  },
94
93
  "scripts": {
95
94
  "new": "modern-lib new",