arkanalyzer 1.0.92 → 1.0.94

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.
Files changed (67) hide show
  1. package/lib/callgraph/algorithm/AbstractAnalysis.d.ts +6 -0
  2. package/lib/callgraph/algorithm/AbstractAnalysis.d.ts.map +1 -1
  3. package/lib/callgraph/algorithm/AbstractAnalysis.js +17 -8
  4. package/lib/callgraph/algorithm/ClassHierarchyAnalysis.d.ts +1 -0
  5. package/lib/callgraph/algorithm/ClassHierarchyAnalysis.d.ts.map +1 -1
  6. package/lib/callgraph/algorithm/ClassHierarchyAnalysis.js +9 -3
  7. package/lib/callgraph/algorithm/RapidTypeAnalysis.d.ts +147 -0
  8. package/lib/callgraph/algorithm/RapidTypeAnalysis.d.ts.map +1 -1
  9. package/lib/callgraph/algorithm/RapidTypeAnalysis.js +802 -76
  10. package/lib/callgraph/model/CallGraph.d.ts +1 -0
  11. package/lib/callgraph/model/CallGraph.d.ts.map +1 -1
  12. package/lib/callgraph/model/CallGraph.js +4 -0
  13. package/lib/callgraph/model/CallSite.d.ts +88 -1
  14. package/lib/callgraph/model/CallSite.d.ts.map +1 -1
  15. package/lib/callgraph/model/CallSite.js +58 -4
  16. package/lib/core/common/ArkIRTransformer.d.ts.map +1 -1
  17. package/lib/core/common/ArkIRTransformer.js +1 -1
  18. package/lib/core/common/ArkValueTransformer.d.ts.map +1 -1
  19. package/lib/core/common/ArkValueTransformer.js +3 -1
  20. package/lib/core/common/IRInference.js +2 -2
  21. package/lib/core/common/SdkUtils.d.ts.map +1 -1
  22. package/lib/core/common/SdkUtils.js +22 -6
  23. package/lib/core/common/TypeInference.d.ts.map +1 -1
  24. package/lib/core/common/TypeInference.js +3 -0
  25. package/lib/core/graph/builder/SwitchBuilder.d.ts.map +1 -1
  26. package/lib/core/graph/builder/SwitchBuilder.js +11 -1
  27. package/lib/core/model/builder/ArkClassBuilder.js +7 -6
  28. package/lib/core/model/builder/ArkMethodBuilder.d.ts +2 -1
  29. package/lib/core/model/builder/ArkMethodBuilder.d.ts.map +1 -1
  30. package/lib/core/model/builder/ArkMethodBuilder.js +5 -1
  31. package/lib/frontend/cppFrontend/graph/builder/SwitchBuilder.d.ts.map +1 -1
  32. package/lib/frontend/cppFrontend/graph/builder/SwitchBuilder.js +11 -1
  33. package/package.json +1 -1
  34. package/lib/node_modules/ohos-typescript/README.OpenSource +0 -11
  35. package/lib/node_modules/ohos-typescript/README.md +0 -81
  36. package/lib/node_modules/ohos-typescript/SECURITY.md +0 -41
  37. package/lib/node_modules/ohos-typescript/ThirdPartyNoticeText.txt +0 -193
  38. package/lib/node_modules/ohos-typescript/bin/tsc +0 -2
  39. package/lib/node_modules/ohos-typescript/bin/tsserver +0 -2
  40. package/lib/node_modules/ohos-typescript/lib/README.md +0 -5
  41. package/lib/node_modules/ohos-typescript/lib/cancellationToken.js +0 -86
  42. package/lib/node_modules/ohos-typescript/lib/cs/diagnosticMessages.generated.json +0 -1880
  43. package/lib/node_modules/ohos-typescript/lib/de/diagnosticMessages.generated.json +0 -1880
  44. package/lib/node_modules/ohos-typescript/lib/es/diagnosticMessages.generated.json +0 -1880
  45. package/lib/node_modules/ohos-typescript/lib/fr/diagnosticMessages.generated.json +0 -1880
  46. package/lib/node_modules/ohos-typescript/lib/it/diagnosticMessages.generated.json +0 -1880
  47. package/lib/node_modules/ohos-typescript/lib/ja/diagnosticMessages.generated.json +0 -1880
  48. package/lib/node_modules/ohos-typescript/lib/ko/diagnosticMessages.generated.json +0 -1880
  49. package/lib/node_modules/ohos-typescript/lib/lib.dom.d.ts +0 -18505
  50. package/lib/node_modules/ohos-typescript/lib/lib.dom.iterable.d.ts +0 -341
  51. package/lib/node_modules/ohos-typescript/lib/lib.scripthost.d.ts +0 -327
  52. package/lib/node_modules/ohos-typescript/lib/lib.webworker.d.ts +0 -6192
  53. package/lib/node_modules/ohos-typescript/lib/lib.webworker.importscripts.d.ts +0 -26
  54. package/lib/node_modules/ohos-typescript/lib/lib.webworker.iterable.d.ts +0 -175
  55. package/lib/node_modules/ohos-typescript/lib/pl/diagnosticMessages.generated.json +0 -1880
  56. package/lib/node_modules/ohos-typescript/lib/pt-br/diagnosticMessages.generated.json +0 -1880
  57. package/lib/node_modules/ohos-typescript/lib/ru/diagnosticMessages.generated.json +0 -1880
  58. package/lib/node_modules/ohos-typescript/lib/tr/diagnosticMessages.generated.json +0 -1880
  59. package/lib/node_modules/ohos-typescript/lib/tsc.js +0 -114551
  60. package/lib/node_modules/ohos-typescript/lib/tsserver.js +0 -179691
  61. package/lib/node_modules/ohos-typescript/lib/tsserverlibrary.d.ts +0 -13648
  62. package/lib/node_modules/ohos-typescript/lib/tsserverlibrary.js +0 -178688
  63. package/lib/node_modules/ohos-typescript/lib/typesMap.json +0 -497
  64. package/lib/node_modules/ohos-typescript/lib/typingsInstaller.js +0 -39871
  65. package/lib/node_modules/ohos-typescript/lib/watchGuard.js +0 -49
  66. package/lib/node_modules/ohos-typescript/lib/zh-cn/diagnosticMessages.generated.json +0 -1880
  67. package/lib/node_modules/ohos-typescript/lib/zh-tw/diagnosticMessages.generated.json +0 -1880
@@ -1,49 +0,0 @@
1
- /*! *****************************************************************************
2
- Copyright (c) Microsoft Corporation. All rights reserved.
3
- Licensed under the Apache License, Version 2.0 (the "License"); you may not use
4
- this file except in compliance with the License. You may obtain a copy of the
5
- License at http://www.apache.org/licenses/LICENSE-2.0
6
-
7
- THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
8
- KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
9
- WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
10
- MERCHANTABLITY OR NON-INFRINGEMENT.
11
-
12
- See the Apache Version 2.0 License for specific language governing permissions
13
- and limitations under the License.
14
- ***************************************************************************** */
15
-
16
-
17
- "use strict";
18
- var __create = Object.create;
19
- var __defProp = Object.defineProperty;
20
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
21
- var __getOwnPropNames = Object.getOwnPropertyNames;
22
- var __getProtoOf = Object.getPrototypeOf;
23
- var __hasOwnProp = Object.prototype.hasOwnProperty;
24
- var __copyProps = (to, from, except, desc) => {
25
- if (from && typeof from === "object" || typeof from === "function") {
26
- for (let key of __getOwnPropNames(from))
27
- if (!__hasOwnProp.call(to, key) && key !== except)
28
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
29
- }
30
- return to;
31
- };
32
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
33
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
34
- mod
35
- ));
36
-
37
- // src/watchGuard/watchGuard.ts
38
- var fs = __toESM(require("fs"));
39
- if (process.argv.length < 3) {
40
- process.exit(1);
41
- }
42
- var directoryName = process.argv[2];
43
- try {
44
- const watcher = fs.watch(directoryName, { recursive: true }, () => ({}));
45
- watcher.close();
46
- } catch (e) {
47
- }
48
- process.exit(0);
49
- //# sourceMappingURL=watchGuard.js.map