@modern-js/devtools-kit 2.58.0 → 2.58.2

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/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
  }
@@ -1,5 +1,5 @@
1
- import { Hookable } from 'hookable';
2
- import { Tab } from './node';
1
+ import type { Hookable } from 'hookable';
2
+ import type { Tab } from './node';
3
3
  declare global {
4
4
  interface Window {
5
5
  [RUNTIME_GLOBALS]?: RuntimeGlobals;
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.0",
24
+ "version": "2.58.2",
25
25
  "jsnext:source": "./src/index.ts",
26
26
  "types": "./dist/index.d.ts",
27
27
  "main": "./dist/index.js",
@@ -56,16 +56,16 @@
56
56
  }
57
57
  },
58
58
  "dependencies": {
59
+ "@rsdoctor/types": "^0.2.4",
60
+ "@rsdoctor/utils": "^0.2.4",
59
61
  "birpc": "0.2.13",
62
+ "cookie-es": "^1.0.0",
63
+ "flatted": "^3.2.9",
60
64
  "hookable": "^5.5.3",
61
65
  "ufo": "^1.3.0",
62
- "flatted": "^3.2.9",
63
66
  "ws": "^8.13.0",
64
- "cookie-es": "^1.0.0",
65
- "@rsdoctor/types": "^0.2.4",
66
- "@rsdoctor/utils": "^0.2.4",
67
- "@modern-js/utils": "2.58.0",
68
- "@modern-js/types": "2.58.0"
67
+ "@modern-js/types": "2.58.2",
68
+ "@modern-js/utils": "2.58.2"
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/core": "2.58.0",
84
- "@modern-js/app-tools": "2.58.0",
85
- "@modern-js/module-tools": "2.58.0",
86
- "@modern-js/types": "2.58.0",
87
- "@scripts/build": "2.58.0",
88
- "@scripts/jest-config": "2.58.0",
89
- "@modern-js/uni-builder": "2.58.0"
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"
90
90
  },
91
91
  "peerDependencies": {
92
92
  "react": "~18.2.0"