@modern-js/devtools-kit 2.58.1 → 2.58.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/dist/channel.js +1 -1
- package/dist/promise.js +1 -1
- package/dist/runtime-globals.d.ts +2 -2
- package/dist/server.d.ts +4 -4
- package/dist/utils.d.ts +1 -1
- package/package.json +10 -10
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/promise.js
CHANGED
|
@@ -51,13 +51,13 @@ class PromiseStub {
|
|
|
51
51
|
stub.reject = reject;
|
|
52
52
|
return stub;
|
|
53
53
|
}
|
|
54
|
+
// biome-ignore lint/suspicious/noThenProperty: <explanation>
|
|
54
55
|
then(onfulfilled, onrejected) {
|
|
55
56
|
return this.promise.then(onfulfilled, onrejected);
|
|
56
57
|
}
|
|
57
58
|
catch(onrejected) {
|
|
58
59
|
return this.promise.catch(onrejected);
|
|
59
60
|
}
|
|
60
|
-
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
|
61
61
|
constructor() {
|
|
62
62
|
}
|
|
63
63
|
}
|
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 {
|
|
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/dist/utils.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ShortenAlias } from './client';
|
|
1
|
+
import type { ShortenAlias } from './client';
|
|
2
2
|
export declare function applyShortenAliases(resource: string, aliases?: ShortenAlias[]): string;
|
package/package.json
CHANGED
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"modern",
|
|
22
22
|
"modern.js"
|
|
23
23
|
],
|
|
24
|
-
"version": "2.58.
|
|
24
|
+
"version": "2.58.3",
|
|
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.
|
|
68
|
-
"@modern-js/utils": "2.58.
|
|
67
|
+
"@modern-js/types": "2.58.3",
|
|
68
|
+
"@modern-js/utils": "2.58.3"
|
|
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.
|
|
84
|
-
"@modern-js/
|
|
85
|
-
"@modern-js/
|
|
86
|
-
"@modern-js/
|
|
87
|
-
"@modern-js/uni-builder": "2.58.
|
|
88
|
-
"@scripts/build": "2.58.
|
|
89
|
-
"@scripts/jest-config": "2.58.
|
|
83
|
+
"@modern-js/app-tools": "2.58.3",
|
|
84
|
+
"@modern-js/core": "2.58.3",
|
|
85
|
+
"@modern-js/module-tools": "2.58.3",
|
|
86
|
+
"@modern-js/types": "2.58.3",
|
|
87
|
+
"@modern-js/uni-builder": "2.58.3",
|
|
88
|
+
"@scripts/build": "2.58.3",
|
|
89
|
+
"@scripts/jest-config": "2.58.3"
|
|
90
90
|
},
|
|
91
91
|
"peerDependencies": {
|
|
92
92
|
"react": "~18.2.0"
|