dependfix 0.1.0 → 0.2.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/README.md +1 -1
- package/dist/bin.d.mts +1 -1
- package/dist/bin.mjs +2 -3
- package/dist/bin.mjs.map +1 -1
- package/dist/index.d.mts +818 -27
- package/dist/index.mjs +3 -4
- package/dist/index.mjs.map +1 -1
- package/dist/runner.mjs +7402 -0
- package/dist/runner.mjs.map +1 -0
- package/package.json +17 -15
- package/dist/bin.cjs +0 -14
- package/dist/bin.cjs.map +0 -1
- package/dist/bin.d.cts +0 -1
- package/dist/cli.cjs +0 -2812
- package/dist/cli.cjs.map +0 -1
- package/dist/cli.mjs +0 -2530
- package/dist/cli.mjs.map +0 -1
- package/dist/index.cjs +0 -76
- package/dist/index.cjs.map +0 -1
- package/dist/index.d.cts +0 -672
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dependfix",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "一个自动化修复 github security 告警的方案",
|
|
5
5
|
"author": "CaoMeiYouRen",
|
|
6
6
|
"license": "MIT",
|
|
@@ -20,14 +20,14 @@
|
|
|
20
20
|
"bugs": {
|
|
21
21
|
"url": "https://github.com/dependfix/dependfix/issues"
|
|
22
22
|
},
|
|
23
|
-
"main": "./dist/index.
|
|
23
|
+
"main": "./dist/index.mjs",
|
|
24
24
|
"module": "./dist/index.mjs",
|
|
25
25
|
"types": "./dist/index.d.mts",
|
|
26
26
|
"exports": {
|
|
27
27
|
".": {
|
|
28
28
|
"types": "./dist/index.d.mts",
|
|
29
29
|
"import": "./dist/index.mjs",
|
|
30
|
-
"
|
|
30
|
+
"default": "./dist/index.mjs"
|
|
31
31
|
},
|
|
32
32
|
"./package.json": "./package.json"
|
|
33
33
|
},
|
|
@@ -43,29 +43,31 @@
|
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@octokit/rest": "^22.0.1",
|
|
45
45
|
"citty": "^0.2.2",
|
|
46
|
-
"dayjs": "^1.11.
|
|
47
|
-
"dotenv": "^17.
|
|
48
|
-
"fs-extra": "^11.
|
|
46
|
+
"dayjs": "^1.11.21",
|
|
47
|
+
"dotenv": "^17.4.2",
|
|
48
|
+
"fs-extra": "^11.4.0",
|
|
49
49
|
"isomorphic-unfetch": "^4.0.2",
|
|
50
|
-
"lodash-es": "^4.
|
|
51
|
-
"p-queue": "^9.
|
|
50
|
+
"lodash-es": "^4.18.1",
|
|
51
|
+
"p-queue": "^9.3.3",
|
|
52
52
|
"tslib": "^2.8.1",
|
|
53
|
-
"yaml": "^2.
|
|
53
|
+
"yaml": "^2.9.0",
|
|
54
|
+
"zod": "^4.4.3",
|
|
54
55
|
"zx": "^8.8.5",
|
|
55
|
-
"@dependfix/core": "0.
|
|
56
|
+
"@dependfix/core": "0.2.0",
|
|
57
|
+
"@dependfix/skills": "0.1.0"
|
|
56
58
|
},
|
|
57
59
|
"devDependencies": {
|
|
58
|
-
"@octokit/request-error": "^
|
|
60
|
+
"@octokit/request-error": "^7.1.0",
|
|
59
61
|
"@types/debug": "^4.1.13",
|
|
60
62
|
"@types/fs-extra": "^11.0.4",
|
|
61
63
|
"@types/lodash-es": "^4.17.12",
|
|
62
|
-
"@types/node": "^
|
|
64
|
+
"@types/node": "^26.1.2",
|
|
63
65
|
"cross-env": "^10.0.0",
|
|
64
66
|
"debug": "^4.4.3",
|
|
65
|
-
"nock": "^14.0.
|
|
67
|
+
"nock": "^14.0.17",
|
|
66
68
|
"rimraf": "^6.1.3",
|
|
67
|
-
"tsdown": "^0.
|
|
68
|
-
"tsx": "^4.
|
|
69
|
+
"tsdown": "^0.22.14",
|
|
70
|
+
"tsx": "^4.23.1",
|
|
69
71
|
"typescript": "^5.9.3"
|
|
70
72
|
},
|
|
71
73
|
"scripts": {
|
package/dist/bin.cjs
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
const require_cli = require('./cli.cjs');
|
|
3
|
-
let citty = require("citty");
|
|
4
|
-
let _dependfix_core = require("@dependfix/core");
|
|
5
|
-
|
|
6
|
-
//#region src/bin.ts
|
|
7
|
-
(0, citty.runMain)(require_cli.dependfixCommand).catch((error) => {
|
|
8
|
-
const appError = (0, _dependfix_core.toAppError)(error, "CLI_EXECUTION_FAILED");
|
|
9
|
-
console.error(appError.message);
|
|
10
|
-
process.exitCode = 1;
|
|
11
|
-
});
|
|
12
|
-
|
|
13
|
-
//#endregion
|
|
14
|
-
//# sourceMappingURL=bin.cjs.map
|
package/dist/bin.cjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"bin.cjs","names":["dependfixCommand"],"sources":["../src/bin.ts"],"sourcesContent":["#!/usr/bin/env node\nimport { runMain } from 'citty'\nimport { toAppError } from '@dependfix/core'\nimport { dependfixCommand } from './cli'\n\nvoid runMain(dependfixCommand).catch((error: unknown) => {\n const appError = toAppError(error, 'CLI_EXECUTION_FAILED')\n console.error(appError.message)\n process.exitCode = 1\n})\n"],"mappings":";;;;;;mBAKaA,6BAAiB,CAAC,OAAO,UAAmB;CACrD,MAAM,2CAAsB,OAAO,uBAAuB;AAC1D,SAAQ,MAAM,SAAS,QAAQ;AAC/B,SAAQ,WAAW;EACrB"}
|
package/dist/bin.d.cts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { };
|