arkanalyzer 1.0.93 → 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 (42) 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/common/ArkValueTransformer.d.ts.map +1 -1
  4. package/lib/core/common/ArkValueTransformer.js +3 -1
  5. package/lib/core/common/SdkUtils.d.ts.map +1 -1
  6. package/lib/core/common/SdkUtils.js +22 -6
  7. package/lib/core/model/builder/ArkClassBuilder.js +3 -2
  8. package/package.json +1 -1
  9. package/lib/node_modules/ohos-typescript/README.OpenSource +0 -11
  10. package/lib/node_modules/ohos-typescript/README.md +0 -81
  11. package/lib/node_modules/ohos-typescript/SECURITY.md +0 -41
  12. package/lib/node_modules/ohos-typescript/ThirdPartyNoticeText.txt +0 -193
  13. package/lib/node_modules/ohos-typescript/bin/tsc +0 -2
  14. package/lib/node_modules/ohos-typescript/bin/tsserver +0 -2
  15. package/lib/node_modules/ohos-typescript/lib/README.md +0 -5
  16. package/lib/node_modules/ohos-typescript/lib/cancellationToken.js +0 -86
  17. package/lib/node_modules/ohos-typescript/lib/cs/diagnosticMessages.generated.json +0 -1880
  18. package/lib/node_modules/ohos-typescript/lib/de/diagnosticMessages.generated.json +0 -1880
  19. package/lib/node_modules/ohos-typescript/lib/es/diagnosticMessages.generated.json +0 -1880
  20. package/lib/node_modules/ohos-typescript/lib/fr/diagnosticMessages.generated.json +0 -1880
  21. package/lib/node_modules/ohos-typescript/lib/it/diagnosticMessages.generated.json +0 -1880
  22. package/lib/node_modules/ohos-typescript/lib/ja/diagnosticMessages.generated.json +0 -1880
  23. package/lib/node_modules/ohos-typescript/lib/ko/diagnosticMessages.generated.json +0 -1880
  24. package/lib/node_modules/ohos-typescript/lib/lib.dom.d.ts +0 -18505
  25. package/lib/node_modules/ohos-typescript/lib/lib.dom.iterable.d.ts +0 -341
  26. package/lib/node_modules/ohos-typescript/lib/lib.scripthost.d.ts +0 -327
  27. package/lib/node_modules/ohos-typescript/lib/lib.webworker.d.ts +0 -6192
  28. package/lib/node_modules/ohos-typescript/lib/lib.webworker.importscripts.d.ts +0 -26
  29. package/lib/node_modules/ohos-typescript/lib/lib.webworker.iterable.d.ts +0 -175
  30. package/lib/node_modules/ohos-typescript/lib/pl/diagnosticMessages.generated.json +0 -1880
  31. package/lib/node_modules/ohos-typescript/lib/pt-br/diagnosticMessages.generated.json +0 -1880
  32. package/lib/node_modules/ohos-typescript/lib/ru/diagnosticMessages.generated.json +0 -1880
  33. package/lib/node_modules/ohos-typescript/lib/tr/diagnosticMessages.generated.json +0 -1880
  34. package/lib/node_modules/ohos-typescript/lib/tsc.js +0 -114551
  35. package/lib/node_modules/ohos-typescript/lib/tsserver.js +0 -179691
  36. package/lib/node_modules/ohos-typescript/lib/tsserverlibrary.d.ts +0 -13648
  37. package/lib/node_modules/ohos-typescript/lib/tsserverlibrary.js +0 -178688
  38. package/lib/node_modules/ohos-typescript/lib/typesMap.json +0 -497
  39. package/lib/node_modules/ohos-typescript/lib/typingsInstaller.js +0 -39871
  40. package/lib/node_modules/ohos-typescript/lib/watchGuard.js +0 -49
  41. package/lib/node_modules/ohos-typescript/lib/zh-cn/diagnosticMessages.generated.json +0 -1880
  42. package/lib/node_modules/ohos-typescript/lib/zh-tw/diagnosticMessages.generated.json +0 -1880
@@ -1,26 +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
-
18
- /// <reference no-default-lib="true"/>
19
-
20
-
21
-
22
- /////////////////////////////
23
- /// WorkerGlobalScope APIs
24
- /////////////////////////////
25
- // These are only available in a Web Worker
26
- declare function importScripts(...urls: string[]): void;
@@ -1,175 +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
-
18
- /// <reference no-default-lib="true"/>
19
-
20
-
21
- /////////////////////////////
22
- /// Worker Iterable APIs
23
- /////////////////////////////
24
-
25
- interface Cache {
26
- addAll(requests: Iterable<RequestInfo>): Promise<void>;
27
- }
28
-
29
- interface CanvasPath {
30
- roundRect(x: number, y: number, w: number, h: number, radii?: number | DOMPointInit | Iterable<number | DOMPointInit>): void;
31
- }
32
-
33
- interface CanvasPathDrawingStyles {
34
- setLineDash(segments: Iterable<number>): void;
35
- }
36
-
37
- interface DOMStringList {
38
- [Symbol.iterator](): IterableIterator<string>;
39
- }
40
-
41
- interface FileList {
42
- [Symbol.iterator](): IterableIterator<File>;
43
- }
44
-
45
- interface FontFaceSet extends Set<FontFace> {
46
- }
47
-
48
- interface FormData {
49
- [Symbol.iterator](): IterableIterator<[string, FormDataEntryValue]>;
50
- /** Returns an array of key, value pairs for every entry in the list. */
51
- entries(): IterableIterator<[string, FormDataEntryValue]>;
52
- /** Returns a list of keys in the list. */
53
- keys(): IterableIterator<string>;
54
- /** Returns a list of values in the list. */
55
- values(): IterableIterator<FormDataEntryValue>;
56
- }
57
-
58
- interface Headers {
59
- [Symbol.iterator](): IterableIterator<[string, string]>;
60
- /** Returns an iterator allowing to go through all key/value pairs contained in this object. */
61
- entries(): IterableIterator<[string, string]>;
62
- /** Returns an iterator allowing to go through all keys of the key/value pairs contained in this object. */
63
- keys(): IterableIterator<string>;
64
- /** Returns an iterator allowing to go through all values of the key/value pairs contained in this object. */
65
- values(): IterableIterator<string>;
66
- }
67
-
68
- interface IDBDatabase {
69
- /** Returns a new transaction with the given mode ("readonly" or "readwrite") and scope which can be a single object store name or an array of names. */
70
- transaction(storeNames: string | Iterable<string>, mode?: IDBTransactionMode, options?: IDBTransactionOptions): IDBTransaction;
71
- }
72
-
73
- interface IDBObjectStore {
74
- /**
75
- * Creates a new index in store with the given name, keyPath and options and returns a new IDBIndex. If the keyPath and options define constraints that cannot be satisfied with the data already in store the upgrade transaction will abort with a "ConstraintError" DOMException.
76
- *
77
- * Throws an "InvalidStateError" DOMException if not called within an upgrade transaction.
78
- */
79
- createIndex(name: string, keyPath: string | Iterable<string>, options?: IDBIndexParameters): IDBIndex;
80
- }
81
-
82
- interface MessageEvent<T = any> {
83
- /** @deprecated */
84
- initMessageEvent(type: string, bubbles?: boolean, cancelable?: boolean, data?: any, origin?: string, lastEventId?: string, source?: MessageEventSource | null, ports?: Iterable<MessagePort>): void;
85
- }
86
-
87
- interface SubtleCrypto {
88
- deriveKey(algorithm: AlgorithmIdentifier | EcdhKeyDeriveParams | HkdfParams | Pbkdf2Params, baseKey: CryptoKey, derivedKeyType: AlgorithmIdentifier | AesDerivedKeyParams | HmacImportParams | HkdfParams | Pbkdf2Params, extractable: boolean, keyUsages: Iterable<KeyUsage>): Promise<CryptoKey>;
89
- generateKey(algorithm: RsaHashedKeyGenParams | EcKeyGenParams, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKeyPair>;
90
- generateKey(algorithm: AesKeyGenParams | HmacKeyGenParams | Pbkdf2Params, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKey>;
91
- generateKey(algorithm: AlgorithmIdentifier, extractable: boolean, keyUsages: Iterable<KeyUsage>): Promise<CryptoKeyPair | CryptoKey>;
92
- importKey(format: "jwk", keyData: JsonWebKey, algorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKey>;
93
- importKey(format: Exclude<KeyFormat, "jwk">, keyData: BufferSource, algorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm, extractable: boolean, keyUsages: Iterable<KeyUsage>): Promise<CryptoKey>;
94
- unwrapKey(format: KeyFormat, wrappedKey: BufferSource, unwrappingKey: CryptoKey, unwrapAlgorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesGcmParams, unwrappedKeyAlgorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm, extractable: boolean, keyUsages: Iterable<KeyUsage>): Promise<CryptoKey>;
95
- }
96
-
97
- interface URLSearchParams {
98
- [Symbol.iterator](): IterableIterator<[string, string]>;
99
- /** Returns an array of key, value pairs for every entry in the search params. */
100
- entries(): IterableIterator<[string, string]>;
101
- /** Returns a list of keys in the search params. */
102
- keys(): IterableIterator<string>;
103
- /** Returns a list of values in the search params. */
104
- values(): IterableIterator<string>;
105
- }
106
-
107
- interface WEBGL_draw_buffers {
108
- drawBuffersWEBGL(buffers: Iterable<GLenum>): void;
109
- }
110
-
111
- interface WEBGL_multi_draw {
112
- multiDrawArraysInstancedWEBGL(mode: GLenum, firstsList: Int32Array | Iterable<GLint>, firstsOffset: GLuint, countsList: Int32Array | Iterable<GLsizei>, countsOffset: GLuint, instanceCountsList: Int32Array | Iterable<GLsizei>, instanceCountsOffset: GLuint, drawcount: GLsizei): void;
113
- multiDrawArraysWEBGL(mode: GLenum, firstsList: Int32Array | Iterable<GLint>, firstsOffset: GLuint, countsList: Int32Array | Iterable<GLsizei>, countsOffset: GLuint, drawcount: GLsizei): void;
114
- multiDrawElementsInstancedWEBGL(mode: GLenum, countsList: Int32Array | Iterable<GLsizei>, countsOffset: GLuint, type: GLenum, offsetsList: Int32Array | Iterable<GLsizei>, offsetsOffset: GLuint, instanceCountsList: Int32Array | Iterable<GLsizei>, instanceCountsOffset: GLuint, drawcount: GLsizei): void;
115
- multiDrawElementsWEBGL(mode: GLenum, countsList: Int32Array | Iterable<GLsizei>, countsOffset: GLuint, type: GLenum, offsetsList: Int32Array | Iterable<GLsizei>, offsetsOffset: GLuint, drawcount: GLsizei): void;
116
- }
117
-
118
- interface WebGL2RenderingContextBase {
119
- clearBufferfv(buffer: GLenum, drawbuffer: GLint, values: Iterable<GLfloat>, srcOffset?: GLuint): void;
120
- clearBufferiv(buffer: GLenum, drawbuffer: GLint, values: Iterable<GLint>, srcOffset?: GLuint): void;
121
- clearBufferuiv(buffer: GLenum, drawbuffer: GLint, values: Iterable<GLuint>, srcOffset?: GLuint): void;
122
- drawBuffers(buffers: Iterable<GLenum>): void;
123
- getActiveUniforms(program: WebGLProgram, uniformIndices: Iterable<GLuint>, pname: GLenum): any;
124
- getUniformIndices(program: WebGLProgram, uniformNames: Iterable<string>): Iterable<GLuint> | null;
125
- invalidateFramebuffer(target: GLenum, attachments: Iterable<GLenum>): void;
126
- invalidateSubFramebuffer(target: GLenum, attachments: Iterable<GLenum>, x: GLint, y: GLint, width: GLsizei, height: GLsizei): void;
127
- transformFeedbackVaryings(program: WebGLProgram, varyings: Iterable<string>, bufferMode: GLenum): void;
128
- uniform1uiv(location: WebGLUniformLocation | null, data: Iterable<GLuint>, srcOffset?: GLuint, srcLength?: GLuint): void;
129
- uniform2uiv(location: WebGLUniformLocation | null, data: Iterable<GLuint>, srcOffset?: GLuint, srcLength?: GLuint): void;
130
- uniform3uiv(location: WebGLUniformLocation | null, data: Iterable<GLuint>, srcOffset?: GLuint, srcLength?: GLuint): void;
131
- uniform4uiv(location: WebGLUniformLocation | null, data: Iterable<GLuint>, srcOffset?: GLuint, srcLength?: GLuint): void;
132
- uniformMatrix2x3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;
133
- uniformMatrix2x4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;
134
- uniformMatrix3x2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;
135
- uniformMatrix3x4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;
136
- uniformMatrix4x2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;
137
- uniformMatrix4x3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;
138
- vertexAttribI4iv(index: GLuint, values: Iterable<GLint>): void;
139
- vertexAttribI4uiv(index: GLuint, values: Iterable<GLuint>): void;
140
- }
141
-
142
- interface WebGL2RenderingContextOverloads {
143
- uniform1fv(location: WebGLUniformLocation | null, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;
144
- uniform1iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?: GLuint, srcLength?: GLuint): void;
145
- uniform2fv(location: WebGLUniformLocation | null, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;
146
- uniform2iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?: GLuint, srcLength?: GLuint): void;
147
- uniform3fv(location: WebGLUniformLocation | null, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;
148
- uniform3iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?: GLuint, srcLength?: GLuint): void;
149
- uniform4fv(location: WebGLUniformLocation | null, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;
150
- uniform4iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?: GLuint, srcLength?: GLuint): void;
151
- uniformMatrix2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;
152
- uniformMatrix3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;
153
- uniformMatrix4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: GLuint, srcLength?: GLuint): void;
154
- }
155
-
156
- interface WebGLRenderingContextBase {
157
- vertexAttrib1fv(index: GLuint, values: Iterable<GLfloat>): void;
158
- vertexAttrib2fv(index: GLuint, values: Iterable<GLfloat>): void;
159
- vertexAttrib3fv(index: GLuint, values: Iterable<GLfloat>): void;
160
- vertexAttrib4fv(index: GLuint, values: Iterable<GLfloat>): void;
161
- }
162
-
163
- interface WebGLRenderingContextOverloads {
164
- uniform1fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;
165
- uniform1iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;
166
- uniform2fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;
167
- uniform2iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;
168
- uniform3fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;
169
- uniform3iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;
170
- uniform4fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;
171
- uniform4iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;
172
- uniformMatrix2fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: Iterable<GLfloat>): void;
173
- uniformMatrix3fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: Iterable<GLfloat>): void;
174
- uniformMatrix4fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: Iterable<GLfloat>): void;
175
- }