@modern-js/devtools-kit 2.58.2 → 2.59.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/dist/channel.js CHANGED
@@ -33,8 +33,8 @@ __export(channel_exports, {
33
33
  WebSocketChannel: () => WebSocketChannel
34
34
  });
35
35
  module.exports = __toCommonJS(channel_exports);
36
- var import_nanoid = require("nanoid");
37
36
  var flatted = __toESM(require("flatted"));
37
+ var import_nanoid = require("nanoid");
38
38
  var import_serializer = require("./serializer");
39
39
  class WebSocketChannel {
40
40
  static link(ws) {
package/dist/server.d.ts CHANGED
@@ -1,11 +1,11 @@
1
1
  import type { AppTools, IAppContext, UserConfig } from '@modern-js/app-tools';
2
- import type { RsbuildContext, NormalizedConfig as NormalizedBuilderConfig, RsbuildConfig, webpack, Rspack, WebpackConfig, RspackConfig } from '@modern-js/uni-builder';
3
2
  import type { NormalizedConfig } from '@modern-js/core';
4
- import type { RouteLegacy, NestedRouteForCli, PageRoute } from '@modern-js/types';
3
+ import type { NestedRouteForCli, PageRoute, RouteLegacy } from '@modern-js/types';
4
+ import type { NormalizedConfig as NormalizedBuilderConfig, RsbuildConfig, RsbuildContext, Rspack, RspackConfig, WebpackConfig, webpack } from '@modern-js/uni-builder';
5
5
  import type { Manifest } from '@rsdoctor/types';
6
- import type { StoragePresetConfig, StoragePresetContext, StoragePresetWithIdent } from './storage-preset';
7
- import type { ExportedServerState } from './state';
8
6
  import type { ClientDefinition } from './client';
7
+ import type { ExportedServerState } from './state';
8
+ import type { StoragePresetConfig, StoragePresetContext, StoragePresetWithIdent } from './storage-preset';
9
9
  export type BuilderContext = RsbuildContext;
10
10
  export type FrameworkConfig = UserConfig<AppTools>;
11
11
  export type TransformedFrameworkConfig = NormalizedConfig<AppTools>;
package/package.json CHANGED
@@ -21,7 +21,7 @@
21
21
  "modern",
22
22
  "modern.js"
23
23
  ],
24
- "version": "2.58.2",
24
+ "version": "2.59.0",
25
25
  "jsnext:source": "./src/index.ts",
26
26
  "types": "./dist/index.d.ts",
27
27
  "main": "./dist/index.js",
@@ -64,8 +64,8 @@
64
64
  "hookable": "^5.5.3",
65
65
  "ufo": "^1.3.0",
66
66
  "ws": "^8.13.0",
67
- "@modern-js/types": "2.58.2",
68
- "@modern-js/utils": "2.58.2"
67
+ "@modern-js/types": "2.59.0",
68
+ "@modern-js/utils": "2.59.0"
69
69
  },
70
70
  "devDependencies": {
71
71
  "@babel/core": "^7.24.7",
@@ -80,13 +80,13 @@
80
80
  "react": "~18.2.0",
81
81
  "type-fest": "^4.1.0",
82
82
  "typescript": "^5",
83
- "@modern-js/app-tools": "2.58.2",
84
- "@modern-js/types": "2.58.2",
85
- "@modern-js/core": "2.58.2",
86
- "@modern-js/module-tools": "2.58.2",
87
- "@modern-js/uni-builder": "2.58.2",
88
- "@scripts/build": "2.58.2",
89
- "@scripts/jest-config": "2.58.2"
83
+ "@modern-js/app-tools": "2.59.0",
84
+ "@modern-js/core": "2.59.0",
85
+ "@modern-js/module-tools": "2.59.0",
86
+ "@modern-js/types": "2.59.0",
87
+ "@modern-js/uni-builder": "2.59.0",
88
+ "@scripts/build": "2.59.0",
89
+ "@scripts/jest-config": "2.59.0"
90
90
  },
91
91
  "peerDependencies": {
92
92
  "react": "~18.2.0"