@lcap/nasl 3.11.2-beta.5 → 3.12.0-alpha.fix-type-1
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/out/generator/genBundleFiles.d.ts.map +1 -1
- package/out/generator/genBundleFiles.js +3 -5
- package/out/generator/genBundleFiles.js.map +1 -1
- package/out/generator/release-body/data.d.ts +2 -2
- package/out/generator/release-body/data.d.ts.map +1 -1
- package/out/generator/release-body/data.js +3 -2
- package/out/generator/release-body/data.js.map +1 -1
- package/out/generator/release-body/utils.d.ts.map +1 -1
- package/out/generator/release-body/utils.js +0 -1
- package/out/generator/release-body/utils.js.map +1 -1
- package/out/index.d.ts +1 -0
- package/out/index.d.ts.map +1 -1
- package/out/index.js +4 -1
- package/out/index.js.map +1 -1
- package/out/server/naslServer.d.ts.map +1 -1
- package/out/server/naslServer.js +21 -12
- package/out/server/naslServer.js.map +1 -1
- package/out/service/autofix/index.d.ts +10 -0
- package/out/service/autofix/index.d.ts.map +1 -0
- package/out/service/autofix/index.js +21 -0
- package/out/service/autofix/index.js.map +1 -0
- package/out/service/autofix/rules/rule-convert-incompatible-assignment-to-union.d.ts +3 -0
- package/out/service/autofix/rules/rule-convert-incompatible-assignment-to-union.d.ts.map +1 -0
- package/out/service/autofix/rules/rule-convert-incompatible-assignment-to-union.js +62 -0
- package/out/service/autofix/rules/rule-convert-incompatible-assignment-to-union.js.map +1 -0
- package/out/service/autofix/rules/rule-delete-bind-attribute-node.d.ts +3 -0
- package/out/service/autofix/rules/rule-delete-bind-attribute-node.d.ts.map +1 -0
- package/out/service/autofix/rules/rule-delete-bind-attribute-node.js +32 -0
- package/out/service/autofix/rules/rule-delete-bind-attribute-node.js.map +1 -0
- package/out/service/autofix/types.d.ts +14 -0
- package/out/service/autofix/types.d.ts.map +1 -0
- package/out/service/autofix/types.js +3 -0
- package/out/service/autofix/types.js.map +1 -0
- package/package.json +13 -21
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { Diagnostic } from '../../manager/diagnostic';
|
|
2
|
+
import type { AutoFixRule } from './types';
|
|
3
|
+
export type { AutoFixRule };
|
|
4
|
+
export declare const defaultAutoFixRuleSet: AutoFixRule[];
|
|
5
|
+
export declare const findSupportedRules: (diagnostic: Diagnostic, ruleset: AutoFixRule[]) => {
|
|
6
|
+
rule: AutoFixRule;
|
|
7
|
+
hint: string;
|
|
8
|
+
disabledForBatch: boolean;
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/service/autofix/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAG3D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAC3C,YAAY,EAAE,WAAW,EAAE,CAAC;AAE5B,eAAO,MAAM,qBAAqB,EAAE,WAAW,EAG9C,CAAC;AACF,eAAO,MAAM,kBAAkB,eAAgB,UAAU,WAAW,WAAW,EAAE;;;;CAShF,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.findSupportedRules = exports.defaultAutoFixRuleSet = void 0;
|
|
4
|
+
const rule_convert_incompatible_assignment_to_union_1 = require("./rules/rule-convert-incompatible-assignment-to-union");
|
|
5
|
+
const rule_delete_bind_attribute_node_1 = require("./rules/rule-delete-bind-attribute-node");
|
|
6
|
+
exports.defaultAutoFixRuleSet = [
|
|
7
|
+
rule_delete_bind_attribute_node_1.ruleDeleteBindAttributeNode,
|
|
8
|
+
rule_convert_incompatible_assignment_to_union_1.ruleConvertIncompatibleAssignmentToUnion,
|
|
9
|
+
];
|
|
10
|
+
const findSupportedRules = (diagnostic, ruleset) => {
|
|
11
|
+
let result = undefined;
|
|
12
|
+
for (const rule of ruleset) {
|
|
13
|
+
const temp = rule.isFixable(diagnostic);
|
|
14
|
+
if (temp) {
|
|
15
|
+
return { rule, hint: temp.hint, disabledForBatch: rule.disableForBatch };
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
return undefined;
|
|
19
|
+
};
|
|
20
|
+
exports.findSupportedRules = findSupportedRules;
|
|
21
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/service/autofix/index.ts"],"names":[],"mappings":";;;AACA,yHAAiH;AACjH,6FAAsF;AAIzE,QAAA,qBAAqB,GAAkB;IAClD,6DAA2B;IAC3B,wFAAwC;CACzC,CAAC;AACK,MAAM,kBAAkB,GAAG,CAAC,UAAsB,EAAE,OAAsB,EAAE,EAAE;IACnF,IAAI,MAAM,GAAG,SAAS,CAAC;IACvB,KAAK,MAAM,IAAI,IAAI,OAAO,EAAE,CAAC;QAC3B,MAAM,IAAI,GAAG,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC;QACxC,IAAI,IAAI,EAAE,CAAC;YACT,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,gBAAgB,EAAE,IAAI,CAAC,eAAe,EAAE,CAAC;QAC3E,CAAC;IACH,CAAC;IACD,OAAO,SAAS,CAAC;AACnB,CAAC,CAAC;AATW,QAAA,kBAAkB,sBAS7B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rule-convert-incompatible-assignment-to-union.d.ts","sourceRoot":"","sources":["../../../../src/service/autofix/rules/rule-convert-incompatible-assignment-to-union.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAkCvC,eAAO,MAAM,wCAAwC,EAAE,WA4BtD,CAAC"}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ruleConvertIncompatibleAssignmentToUnion = void 0;
|
|
4
|
+
const nasl_1 = require("@lcap/nasl");
|
|
5
|
+
const asserts_1 = require("@lcap/nasl-concepts/asserts");
|
|
6
|
+
const regex = /赋值:类型不一致!右边类型:(.*),左边类型:(.*)。/;
|
|
7
|
+
function resolveAssignmentTarget(node) {
|
|
8
|
+
const assignment = (0, asserts_1.isAssignment)(node) ? node : node.getAncestor('Assignment');
|
|
9
|
+
if ((0, asserts_1.isAssignment)(assignment) && assignment.left && assignment.right) {
|
|
10
|
+
for (const ctx of [node.getAncestor('SubLogic'), node.getAncestor('Logic')]) {
|
|
11
|
+
if (!ctx) {
|
|
12
|
+
continue;
|
|
13
|
+
}
|
|
14
|
+
// 去掉各种奇奇怪怪的逻辑,只处理普通的前端逻辑和服务端逻辑
|
|
15
|
+
if ((0, asserts_1.isLogic)(node) && node.concept !== 'Logic') {
|
|
16
|
+
continue;
|
|
17
|
+
}
|
|
18
|
+
const lhsAnnotation = assignment.left.typeAnnotation ?? assignment.left.__TypeAnnotation;
|
|
19
|
+
const rhsAnnotation = assignment.right.typeAnnotation ?? assignment.right.__TypeAnnotation;
|
|
20
|
+
if (ctx && lhsAnnotation && rhsAnnotation) {
|
|
21
|
+
const target = ctx.returns.find((x) => x.name === assignment.left.name) ??
|
|
22
|
+
ctx.variables.find((x) => x.name === assignment.left.name);
|
|
23
|
+
if (target) {
|
|
24
|
+
return {
|
|
25
|
+
target,
|
|
26
|
+
lhsAnnotation,
|
|
27
|
+
rhsAnnotation,
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
return null;
|
|
34
|
+
}
|
|
35
|
+
exports.ruleConvertIncompatibleAssignmentToUnion = {
|
|
36
|
+
title: '自动修复不兼容的赋值为联合类型',
|
|
37
|
+
disableForBatch: true,
|
|
38
|
+
isFixable: (diagnostic) => {
|
|
39
|
+
const res = diagnostic.message?.match(regex);
|
|
40
|
+
const ty1 = res?.[1];
|
|
41
|
+
const ty2 = res?.[2];
|
|
42
|
+
if (ty1 &&
|
|
43
|
+
ty2 &&
|
|
44
|
+
// @ts-expect-error 无方法的BaseNode类型
|
|
45
|
+
!!resolveAssignmentTarget(diagnostic.node)) {
|
|
46
|
+
return { hint: `一键设置为 “${ty1} 或 ${ty2}” 类型` };
|
|
47
|
+
}
|
|
48
|
+
return false;
|
|
49
|
+
},
|
|
50
|
+
commitFix: (node) => {
|
|
51
|
+
if (!node) {
|
|
52
|
+
return;
|
|
53
|
+
}
|
|
54
|
+
const resolved = resolveAssignmentTarget(node);
|
|
55
|
+
if (resolved) {
|
|
56
|
+
const { target, lhsAnnotation, rhsAnnotation } = resolved;
|
|
57
|
+
const resultTypeAnnotation = nasl_1.TypeAnnotation.createUnion(lhsAnnotation, rhsAnnotation);
|
|
58
|
+
target.update({ typeAnnotation: resultTypeAnnotation });
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
};
|
|
62
|
+
//# sourceMappingURL=rule-convert-incompatible-assignment-to-union.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rule-convert-incompatible-assignment-to-union.js","sourceRoot":"","sources":["../../../../src/service/autofix/rules/rule-convert-incompatible-assignment-to-union.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rule-delete-bind-attribute-node.d.ts","sourceRoot":"","sources":["../../../../src/service/autofix/rules/rule-delete-bind-attribute-node.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAKvC,eAAO,MAAM,2BAA2B,EAAE,WAyBzC,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ruleDeleteBindAttributeNode = void 0;
|
|
4
|
+
// 迁移自ide-essential
|
|
5
|
+
const nasl_concepts_1 = require("@lcap/nasl-concepts");
|
|
6
|
+
const asserts_1 = require("@lcap/nasl-concepts/asserts");
|
|
7
|
+
const supportFixErrorReg = /找不到\s(.*)\s上的\s(.*)。/;
|
|
8
|
+
exports.ruleDeleteBindAttributeNode = {
|
|
9
|
+
isFixable(diagnostic) {
|
|
10
|
+
const match = diagnostic.message?.match(supportFixErrorReg);
|
|
11
|
+
const node = diagnostic.node;
|
|
12
|
+
if (match && (0, asserts_1.isBindAttribute)(node)) {
|
|
13
|
+
const allNodesAPI = (0, nasl_concepts_1.getConfig)()?.allNodesAPI;
|
|
14
|
+
const element = node?.parentNode;
|
|
15
|
+
if ((0, asserts_1.isViewElement)(element)) {
|
|
16
|
+
const api = allNodesAPI?.[element.tag];
|
|
17
|
+
const prop = api?.props?.find((p) => p.name === node?.name);
|
|
18
|
+
if ((/.*(f|F)ield$/.test(node?.name) ||
|
|
19
|
+
// @ts-expect-error setter 类型不存在
|
|
20
|
+
prop?.setter?.concept === 'PropertySelectSetter') &&
|
|
21
|
+
typeof node.value === 'string') {
|
|
22
|
+
return {};
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
return false;
|
|
27
|
+
},
|
|
28
|
+
commitFix(node) {
|
|
29
|
+
return node.delete();
|
|
30
|
+
},
|
|
31
|
+
};
|
|
32
|
+
//# sourceMappingURL=rule-delete-bind-attribute-node.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rule-delete-bind-attribute-node.js","sourceRoot":"","sources":["../../../../src/service/autofix/rules/rule-delete-bind-attribute-node.ts"],"names":[],"mappings":";;;AAAA,mBAAmB;AACnB,uDAAgD;AAEhD,yDAA6E;AAE7E,MAAM,kBAAkB,GAAG,sBAAsB,CAAC;AAErC,QAAA,2BAA2B,GAAgB;IACtD,SAAS,CAAC,UAAU;QAClB,MAAM,KAAK,GAAG,UAAU,CAAC,OAAO,EAAE,KAAK,CAAC,kBAAkB,CAAC,CAAC;QAC5D,MAAM,IAAI,GAAG,UAAU,CAAC,IAAI,CAAC;QAC7B,IAAI,KAAK,IAAI,IAAA,yBAAe,EAAC,IAAI,CAAC,EAAE,CAAC;YACnC,MAAM,WAAW,GAAG,IAAA,yBAAS,GAAE,EAAE,WAAW,CAAC;YAC7C,MAAM,OAAO,GAAG,IAAI,EAAE,UAAU,CAAC;YACjC,IAAI,IAAA,uBAAa,EAAC,OAAO,CAAC,EAAE,CAAC;gBAC3B,MAAM,GAAG,GAAG,WAAW,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;gBACvC,MAAM,IAAI,GAAG,GAAG,EAAE,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,IAAI,EAAE,IAAI,CAAC,CAAC;gBAC5D,IACE,CAAC,cAAc,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC;oBAC9B,gCAAgC;oBAChC,IAAI,EAAE,MAAM,EAAE,OAAO,KAAK,sBAAsB,CAAC;oBACnD,OAAO,IAAI,CAAC,KAAK,KAAK,QAAQ,EAC9B,CAAC;oBACD,OAAO,EAAE,CAAC;gBACZ,CAAC;YACH,CAAC;QACH,CAAC;QACD,OAAO,KAAK,CAAC;IACf,CAAC;IACD,SAAS,CAAC,IAAI;QACZ,OAAO,IAAI,CAAC,MAAM,EAAE,CAAC;IACvB,CAAC;CACF,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Diagnostic } from '@lcap/nasl-types';
|
|
2
|
+
import { BaseNode } from '@lcap/nasl-concepts';
|
|
3
|
+
type Diagnostic = Diagnostic.Diagnostic;
|
|
4
|
+
export type Node = BaseNode;
|
|
5
|
+
export type AutoFixRule = {
|
|
6
|
+
title?: string;
|
|
7
|
+
isFixable: (diagnostic: Diagnostic) => {
|
|
8
|
+
hint?: string;
|
|
9
|
+
} | false;
|
|
10
|
+
commitFix: (node: Node) => void;
|
|
11
|
+
disableForBatch?: boolean;
|
|
12
|
+
};
|
|
13
|
+
export {};
|
|
14
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/service/autofix/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAE/C,KAAK,UAAU,GAAG,UAAU,CAAC,UAAU,CAAC;AACxC,MAAM,MAAM,IAAI,GAAG,QAAQ,CAAC;AAC5B,MAAM,MAAM,WAAW,GAAG;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,CAAC,UAAU,EAAE,UAAU,KAAK;QAAC,IAAI,CAAC,EAAE,MAAM,CAAA;KAAC,GAAG,KAAK,CAAC;IAC/D,SAAS,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,IAAI,CAAC;IAChC,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/service/autofix/types.ts"],"names":[],"mappings":""}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lcap/nasl",
|
|
3
3
|
"description": "NetEase Application Specific Language",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.12.0-alpha.fix-type-1",
|
|
5
5
|
"author": "Forrest <rainforest92@126.com>",
|
|
6
6
|
"main": "./out",
|
|
7
7
|
"types": "./out/index.d.ts",
|
|
@@ -18,16 +18,8 @@
|
|
|
18
18
|
"package.json"
|
|
19
19
|
],
|
|
20
20
|
"exports": {
|
|
21
|
-
"./*":
|
|
22
|
-
|
|
23
|
-
"types": "./out/*.d.ts",
|
|
24
|
-
"require": "./out/*"
|
|
25
|
-
},
|
|
26
|
-
".": {
|
|
27
|
-
"source": "./src/index.ts",
|
|
28
|
-
"types": "./out/index.d.ts",
|
|
29
|
-
"require": "./out/index.js"
|
|
30
|
-
}
|
|
21
|
+
"./*": "./out/*",
|
|
22
|
+
".": "./out/index.js"
|
|
31
23
|
},
|
|
32
24
|
"license": "MIT",
|
|
33
25
|
"keywords": [
|
|
@@ -71,16 +63,16 @@
|
|
|
71
63
|
"socket.io-client": "2.4.0",
|
|
72
64
|
"uuid": "8.3.2",
|
|
73
65
|
"vue-template-compiler": "2.6.14",
|
|
74
|
-
"@lcap/nasl-breakpoint": "3.
|
|
75
|
-
"@lcap/nasl-
|
|
76
|
-
"@lcap/nasl-language-server-core": "3.
|
|
77
|
-
"@lcap/nasl-
|
|
78
|
-
"@lcap/nasl-
|
|
79
|
-
"@lcap/nasl-
|
|
80
|
-
"@lcap/nasl-types": "3.
|
|
81
|
-
"@lcap/nasl-
|
|
82
|
-
"@lcap/nasl-unified-frontend-generator": "3.
|
|
83
|
-
"@lcap/nasl-
|
|
66
|
+
"@lcap/nasl-breakpoint": "3.12.0-alpha.fix-type-1",
|
|
67
|
+
"@lcap/nasl-log": "3.12.0-alpha.fix-type-1",
|
|
68
|
+
"@lcap/nasl-language-server-core": "3.12.0-alpha.fix-type-1",
|
|
69
|
+
"@lcap/nasl-sentry": "3.12.0-alpha.fix-type-1",
|
|
70
|
+
"@lcap/nasl-translator": "3.12.0-alpha.fix-type-1",
|
|
71
|
+
"@lcap/nasl-concepts": "3.12.0-alpha.fix-type-1",
|
|
72
|
+
"@lcap/nasl-types": "3.12.0-alpha.fix-type-1",
|
|
73
|
+
"@lcap/nasl-utils": "3.12.0-alpha.fix-type-1",
|
|
74
|
+
"@lcap/nasl-unified-frontend-generator": "3.12.0-alpha.fix-type-1",
|
|
75
|
+
"@lcap/nasl-typescript-worker": "3.12.0-alpha.fix-type-1"
|
|
84
76
|
},
|
|
85
77
|
"devDependencies": {
|
|
86
78
|
"@types/babel__core": "7.20.1",
|