arkanalyzer 1.0.93 → 1.0.95

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 (78) hide show
  1. package/lib/callgraph/algorithm/RapidTypeAnalysis.d.ts.map +1 -1
  2. package/lib/callgraph/algorithm/RapidTypeAnalysis.js +1 -2
  3. package/lib/core/base/Expr.d.ts +9 -0
  4. package/lib/core/base/Expr.d.ts.map +1 -1
  5. package/lib/core/base/Expr.js +10 -0
  6. package/lib/core/base/Stmt.d.ts +8 -0
  7. package/lib/core/base/Stmt.d.ts.map +1 -1
  8. package/lib/core/base/Stmt.js +25 -2
  9. package/lib/core/common/ArkIRTransformer.d.ts.map +1 -1
  10. package/lib/core/common/ArkIRTransformer.js +10 -9
  11. package/lib/core/common/ArkValueTransformer.d.ts +2 -0
  12. package/lib/core/common/ArkValueTransformer.d.ts.map +1 -1
  13. package/lib/core/common/ArkValueTransformer.js +40 -7
  14. package/lib/core/common/SdkUtils.d.ts.map +1 -1
  15. package/lib/core/common/SdkUtils.js +22 -6
  16. package/lib/core/common/StmtUseReplacer.d.ts +1 -0
  17. package/lib/core/common/StmtUseReplacer.d.ts.map +1 -1
  18. package/lib/core/common/StmtUseReplacer.js +9 -0
  19. package/lib/core/common/StringUtils.d.ts +10 -1
  20. package/lib/core/common/StringUtils.d.ts.map +1 -1
  21. package/lib/core/common/StringUtils.js +29 -16
  22. package/lib/core/graph/builder/CfgBuilder.d.ts +1 -0
  23. package/lib/core/graph/builder/CfgBuilder.d.ts.map +1 -1
  24. package/lib/core/graph/builder/CfgBuilder.js +16 -7
  25. package/lib/core/graph/builder/TrapBuilder.d.ts +27 -0
  26. package/lib/core/graph/builder/TrapBuilder.d.ts.map +1 -1
  27. package/lib/core/graph/builder/TrapBuilder.js +417 -62
  28. package/lib/core/model/ArkClass.d.ts.map +1 -1
  29. package/lib/core/model/ArkClass.js +1 -2
  30. package/lib/core/model/ArkExport.d.ts.map +1 -1
  31. package/lib/core/model/ArkExport.js +1 -2
  32. package/lib/core/model/ArkField.d.ts.map +1 -1
  33. package/lib/core/model/ArkField.js +1 -2
  34. package/lib/core/model/ArkFile.d.ts +12 -0
  35. package/lib/core/model/ArkFile.d.ts.map +1 -1
  36. package/lib/core/model/ArkFile.js +20 -0
  37. package/lib/core/model/ArkImport.d.ts.map +1 -1
  38. package/lib/core/model/ArkImport.js +1 -2
  39. package/lib/core/model/ArkMethod.d.ts.map +1 -1
  40. package/lib/core/model/ArkMethod.js +2 -3
  41. package/lib/core/model/ArkNamespace.d.ts.map +1 -1
  42. package/lib/core/model/ArkNamespace.js +2 -3
  43. package/lib/core/model/builder/ArkClassBuilder.js +3 -2
  44. package/package.json +1 -1
  45. package/lib/node_modules/ohos-typescript/README.OpenSource +0 -11
  46. package/lib/node_modules/ohos-typescript/README.md +0 -81
  47. package/lib/node_modules/ohos-typescript/SECURITY.md +0 -41
  48. package/lib/node_modules/ohos-typescript/ThirdPartyNoticeText.txt +0 -193
  49. package/lib/node_modules/ohos-typescript/bin/tsc +0 -2
  50. package/lib/node_modules/ohos-typescript/bin/tsserver +0 -2
  51. package/lib/node_modules/ohos-typescript/lib/README.md +0 -5
  52. package/lib/node_modules/ohos-typescript/lib/cancellationToken.js +0 -86
  53. package/lib/node_modules/ohos-typescript/lib/cs/diagnosticMessages.generated.json +0 -1880
  54. package/lib/node_modules/ohos-typescript/lib/de/diagnosticMessages.generated.json +0 -1880
  55. package/lib/node_modules/ohos-typescript/lib/es/diagnosticMessages.generated.json +0 -1880
  56. package/lib/node_modules/ohos-typescript/lib/fr/diagnosticMessages.generated.json +0 -1880
  57. package/lib/node_modules/ohos-typescript/lib/it/diagnosticMessages.generated.json +0 -1880
  58. package/lib/node_modules/ohos-typescript/lib/ja/diagnosticMessages.generated.json +0 -1880
  59. package/lib/node_modules/ohos-typescript/lib/ko/diagnosticMessages.generated.json +0 -1880
  60. package/lib/node_modules/ohos-typescript/lib/lib.dom.d.ts +0 -18505
  61. package/lib/node_modules/ohos-typescript/lib/lib.dom.iterable.d.ts +0 -341
  62. package/lib/node_modules/ohos-typescript/lib/lib.scripthost.d.ts +0 -327
  63. package/lib/node_modules/ohos-typescript/lib/lib.webworker.d.ts +0 -6192
  64. package/lib/node_modules/ohos-typescript/lib/lib.webworker.importscripts.d.ts +0 -26
  65. package/lib/node_modules/ohos-typescript/lib/lib.webworker.iterable.d.ts +0 -175
  66. package/lib/node_modules/ohos-typescript/lib/pl/diagnosticMessages.generated.json +0 -1880
  67. package/lib/node_modules/ohos-typescript/lib/pt-br/diagnosticMessages.generated.json +0 -1880
  68. package/lib/node_modules/ohos-typescript/lib/ru/diagnosticMessages.generated.json +0 -1880
  69. package/lib/node_modules/ohos-typescript/lib/tr/diagnosticMessages.generated.json +0 -1880
  70. package/lib/node_modules/ohos-typescript/lib/tsc.js +0 -114551
  71. package/lib/node_modules/ohos-typescript/lib/tsserver.js +0 -179691
  72. package/lib/node_modules/ohos-typescript/lib/tsserverlibrary.d.ts +0 -13648
  73. package/lib/node_modules/ohos-typescript/lib/tsserverlibrary.js +0 -178688
  74. package/lib/node_modules/ohos-typescript/lib/typesMap.json +0 -497
  75. package/lib/node_modules/ohos-typescript/lib/typingsInstaller.js +0 -39871
  76. package/lib/node_modules/ohos-typescript/lib/watchGuard.js +0 -49
  77. package/lib/node_modules/ohos-typescript/lib/zh-cn/diagnosticMessages.generated.json +0 -1880
  78. 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