@rsdoctor/cli 1.5.7 → 1.5.8

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/utils.d.ts CHANGED
@@ -2,7 +2,7 @@ import { Ora } from 'ora';
2
2
  import { Command } from './types.js';
3
3
  import { Common } from '@rsdoctor/types';
4
4
  export declare function enhanceCommand<CMD extends string, Options, Result>(fn: Command<CMD, Options, Result>): Command<CMD, Options, Result>;
5
- export declare function fetchText(url: string): Promise<any>;
5
+ export declare function fetchText(url: string): Promise<string>;
6
6
  export declare function readFile(url: string, cwd: string): Promise<string>;
7
7
  export declare function loadJSON<T extends Common.PlainObject>(uri: string, cwd: string): Promise<T>;
8
8
  export declare function loadShardingFile(uri: string, cwd: string): Promise<string>;
@@ -0,0 +1 @@
1
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rsdoctor/cli",
3
- "version": "1.5.7",
3
+ "version": "1.5.8",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/web-infra-dev/rsdoctor",
@@ -26,20 +26,19 @@
26
26
  "type": "module",
27
27
  "dependencies": {
28
28
  "ora": "^5.4.1",
29
- "@rsdoctor/sdk": "1.5.7",
30
- "@rsdoctor/utils": "1.5.7",
31
- "@rsdoctor/types": "1.5.7",
32
- "@rsdoctor/graph": "1.5.7"
29
+ "@rsdoctor/sdk": "1.5.8",
30
+ "@rsdoctor/graph": "1.5.8",
31
+ "@rsdoctor/utils": "1.5.8",
32
+ "@rsdoctor/types": "1.5.8"
33
33
  },
34
34
  "devDependencies": {
35
35
  "cac": "^7.0.0",
36
36
  "typescript": "^5.9.2",
37
- "axios": "1.14.0",
38
37
  "picocolors": "^1.1.1",
39
- "@rsdoctor/client": "1.5.7"
38
+ "@rsdoctor/client": "1.5.8"
40
39
  },
41
40
  "peerDependencies": {
42
- "@rsdoctor/client": "1.5.7"
41
+ "@rsdoctor/client": "1.5.8"
43
42
  },
44
43
  "publishConfig": {
45
44
  "access": "public",
@@ -1,13 +0,0 @@
1
- /*!
2
- * mime-db
3
- * Copyright(c) 2014 Jonathan Ong
4
- * Copyright(c) 2015-2022 Douglas Christopher Wilson
5
- * MIT Licensed
6
- */
7
-
8
- /*!
9
- * mime-types
10
- * Copyright(c) 2014 Jonathan Ong
11
- * Copyright(c) 2015 Douglas Christopher Wilson
12
- * MIT Licensed
13
- */
@@ -1,13 +0,0 @@
1
- /*!
2
- * mime-db
3
- * Copyright(c) 2014 Jonathan Ong
4
- * Copyright(c) 2015-2022 Douglas Christopher Wilson
5
- * MIT Licensed
6
- */
7
-
8
- /*!
9
- * mime-types
10
- * Copyright(c) 2014 Jonathan Ong
11
- * Copyright(c) 2015 Douglas Christopher Wilson
12
- * MIT Licensed
13
- */
@@ -1,24 +0,0 @@
1
- var __webpack_modules__ = {}, __webpack_module_cache__ = {};
2
- function __webpack_require__(moduleId) {
3
- var cachedModule = __webpack_module_cache__[moduleId];
4
- if (void 0 !== cachedModule) return cachedModule.exports;
5
- var module = __webpack_module_cache__[moduleId] = {
6
- exports: {}
7
- };
8
- return __webpack_modules__[moduleId](module, module.exports, __webpack_require__), module.exports;
9
- }
10
- __webpack_require__.m = __webpack_modules__, __webpack_require__.d = (exports, definition)=>{
11
- for(var key in definition)__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key) && Object.defineProperty(exports, key, {
12
- enumerable: !0,
13
- get: definition[key]
14
- });
15
- }, __webpack_require__.add = function(modules) {
16
- Object.assign(__webpack_require__.m, modules);
17
- }, __webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop), __webpack_require__.r = (exports)=>{
18
- "u" > typeof Symbol && Symbol.toStringTag && Object.defineProperty(exports, Symbol.toStringTag, {
19
- value: 'Module'
20
- }), Object.defineProperty(exports, '__esModule', {
21
- value: !0
22
- });
23
- };
24
- export { __webpack_require__ };