@mohsen-azimi/tsz-dev 0.1.6 → 0.1.8

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 (110) hide show
  1. package/bin/tsz.js +80 -4
  2. package/bundler/package.json +1 -1
  3. package/bundler/tsz_wasm_bg.wasm +0 -0
  4. package/lib-assets/decorators.d.ts +382 -0
  5. package/lib-assets/decorators.legacy.d.ts +20 -0
  6. package/lib-assets/dom.asynciterable.d.ts +18 -0
  7. package/lib-assets/dom.d.ts +40771 -0
  8. package/lib-assets/dom.iterable.d.ts +18 -0
  9. package/lib-assets/es2015.collection.d.ts +145 -0
  10. package/lib-assets/es2015.core.d.ts +595 -0
  11. package/lib-assets/es2015.d.ts +26 -0
  12. package/lib-assets/es2015.generator.d.ts +75 -0
  13. package/lib-assets/es2015.iterable.d.ts +603 -0
  14. package/lib-assets/es2015.promise.d.ts +79 -0
  15. package/lib-assets/es2015.proxy.d.ts +126 -0
  16. package/lib-assets/es2015.reflect.d.ts +142 -0
  17. package/lib-assets/es2015.symbol.d.ts +44 -0
  18. package/lib-assets/es2015.symbol.wellknown.d.ts +324 -0
  19. package/lib-assets/es2016.array.include.d.ts +114 -0
  20. package/lib-assets/es2016.d.ts +19 -0
  21. package/lib-assets/es2016.full.d.ts +21 -0
  22. package/lib-assets/es2016.intl.d.ts +29 -0
  23. package/lib-assets/es2017.arraybuffer.d.ts +19 -0
  24. package/lib-assets/es2017.d.ts +24 -0
  25. package/lib-assets/es2017.date.d.ts +29 -0
  26. package/lib-assets/es2017.full.d.ts +21 -0
  27. package/lib-assets/es2017.intl.d.ts +42 -0
  28. package/lib-assets/es2017.object.d.ts +47 -0
  29. package/lib-assets/es2017.sharedmemory.d.ts +133 -0
  30. package/lib-assets/es2017.string.d.ts +43 -0
  31. package/lib-assets/es2017.typedarrays.d.ts +51 -0
  32. package/lib-assets/es2018.asyncgenerator.d.ts +75 -0
  33. package/lib-assets/es2018.asynciterable.d.ts +51 -0
  34. package/lib-assets/es2018.d.ts +22 -0
  35. package/lib-assets/es2018.full.d.ts +22 -0
  36. package/lib-assets/es2018.intl.d.ts +81 -0
  37. package/lib-assets/es2018.promise.d.ts +28 -0
  38. package/lib-assets/es2018.regexp.d.ts +35 -0
  39. package/lib-assets/es2019.array.d.ts +77 -0
  40. package/lib-assets/es2019.d.ts +22 -0
  41. package/lib-assets/es2019.full.d.ts +22 -0
  42. package/lib-assets/es2019.intl.d.ts +21 -0
  43. package/lib-assets/es2019.object.d.ts +31 -0
  44. package/lib-assets/es2019.string.d.ts +35 -0
  45. package/lib-assets/es2019.symbol.d.ts +22 -0
  46. package/lib-assets/es2020.bigint.d.ts +763 -0
  47. package/lib-assets/es2020.d.ts +25 -0
  48. package/lib-assets/es2020.date.d.ts +40 -0
  49. package/lib-assets/es2020.full.d.ts +22 -0
  50. package/lib-assets/es2020.intl.d.ts +472 -0
  51. package/lib-assets/es2020.number.d.ts +26 -0
  52. package/lib-assets/es2020.promise.d.ts +45 -0
  53. package/lib-assets/es2020.sharedmemory.d.ts +97 -0
  54. package/lib-assets/es2020.string.d.ts +42 -0
  55. package/lib-assets/es2020.symbol.wellknown.d.ts +39 -0
  56. package/lib-assets/es2021.d.ts +21 -0
  57. package/lib-assets/es2021.full.d.ts +22 -0
  58. package/lib-assets/es2021.intl.d.ts +164 -0
  59. package/lib-assets/es2021.promise.d.ts +46 -0
  60. package/lib-assets/es2021.string.d.ts +31 -0
  61. package/lib-assets/es2021.weakref.d.ts +76 -0
  62. package/lib-assets/es2022.array.d.ts +119 -0
  63. package/lib-assets/es2022.d.ts +23 -0
  64. package/lib-assets/es2022.error.d.ts +73 -0
  65. package/lib-assets/es2022.full.d.ts +22 -0
  66. package/lib-assets/es2022.intl.d.ts +143 -0
  67. package/lib-assets/es2022.object.d.ts +24 -0
  68. package/lib-assets/es2022.regexp.d.ts +37 -0
  69. package/lib-assets/es2022.string.d.ts +23 -0
  70. package/lib-assets/es2023.array.d.ts +922 -0
  71. package/lib-assets/es2023.collection.d.ts +19 -0
  72. package/lib-assets/es2023.d.ts +20 -0
  73. package/lib-assets/es2023.full.d.ts +22 -0
  74. package/lib-assets/es2023.intl.d.ts +54 -0
  75. package/lib-assets/es2024.arraybuffer.d.ts +63 -0
  76. package/lib-assets/es2024.collection.d.ts +29 -0
  77. package/lib-assets/es2024.d.ts +24 -0
  78. package/lib-assets/es2024.full.d.ts +22 -0
  79. package/lib-assets/es2024.object.d.ts +27 -0
  80. package/lib-assets/es2024.promise.d.ts +33 -0
  81. package/lib-assets/es2024.regexp.d.ts +23 -0
  82. package/lib-assets/es2024.sharedmemory.d.ts +66 -0
  83. package/lib-assets/es2024.string.d.ts +27 -0
  84. package/lib-assets/es5.d.ts +4599 -0
  85. package/lib-assets/es5.full.d.ts +20 -0
  86. package/lib-assets/es6.d.ts +21 -0
  87. package/lib-assets/esnext.array.d.ts +33 -0
  88. package/lib-assets/esnext.collection.d.ts +94 -0
  89. package/lib-assets/esnext.d.ts +28 -0
  90. package/lib-assets/esnext.decorators.d.ts +26 -0
  91. package/lib-assets/esnext.disposable.d.ts +191 -0
  92. package/lib-assets/esnext.error.d.ts +22 -0
  93. package/lib-assets/esnext.float16.d.ts +443 -0
  94. package/lib-assets/esnext.full.d.ts +22 -0
  95. package/lib-assets/esnext.intl.d.ts +19 -0
  96. package/lib-assets/esnext.iterator.d.ts +146 -0
  97. package/lib-assets/esnext.promise.d.ts +32 -0
  98. package/lib-assets/esnext.sharedmemory.d.ts +23 -0
  99. package/lib-assets/esnext.typedarrays.d.ts +90 -0
  100. package/lib-assets/lib_manifest.json +855 -0
  101. package/lib-assets/scripthost.d.ts +320 -0
  102. package/lib-assets/tsserverlibrary.d.ts +17 -0
  103. package/lib-assets/typescript.d.ts +11441 -0
  104. package/lib-assets/webworker.asynciterable.d.ts +18 -0
  105. package/lib-assets/webworker.d.ts +13768 -0
  106. package/lib-assets/webworker.importscripts.d.ts +21 -0
  107. package/lib-assets/webworker.iterable.d.ts +18 -0
  108. package/node/package.json +1 -1
  109. package/node/tsz_wasm_bg.wasm +0 -0
  110. package/package.json +2 -2
@@ -0,0 +1,23 @@
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
+ MERCHANTABILITY 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
+ interface Atomics {
18
+ /**
19
+ * Performs a finite-time microwait by signaling to the operating system or
20
+ * CPU that the current executing code is in a spin-wait loop.
21
+ */
22
+ pause(n?: number): void;
23
+ }
@@ -0,0 +1,90 @@
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
+ MERCHANTABILITY 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
+ interface Uint8Array<TArrayBuffer extends ArrayBufferLike> {
18
+ /**
19
+ * Converts the `Uint8Array` to a base64-encoded string.
20
+ * @param options If provided, sets the alphabet and padding behavior used.
21
+ * @returns A base64-encoded string.
22
+ */
23
+ toBase64(
24
+ options?: {
25
+ alphabet?: "base64" | "base64url" | undefined;
26
+ omitPadding?: boolean | undefined;
27
+ },
28
+ ): string;
29
+
30
+ /**
31
+ * Sets the `Uint8Array` from a base64-encoded string.
32
+ * @param string The base64-encoded string.
33
+ * @param options If provided, specifies the alphabet and handling of the last chunk.
34
+ * @returns An object containing the number of bytes read and written.
35
+ * @throws {SyntaxError} If the input string contains characters outside the specified alphabet, or if the last
36
+ * chunk is inconsistent with the `lastChunkHandling` option.
37
+ */
38
+ setFromBase64(
39
+ string: string,
40
+ options?: {
41
+ alphabet?: "base64" | "base64url" | undefined;
42
+ lastChunkHandling?: "loose" | "strict" | "stop-before-partial" | undefined;
43
+ },
44
+ ): {
45
+ read: number;
46
+ written: number;
47
+ };
48
+
49
+ /**
50
+ * Converts the `Uint8Array` to a base16-encoded string.
51
+ * @returns A base16-encoded string.
52
+ */
53
+ toHex(): string;
54
+
55
+ /**
56
+ * Sets the `Uint8Array` from a base16-encoded string.
57
+ * @param string The base16-encoded string.
58
+ * @returns An object containing the number of bytes read and written.
59
+ */
60
+ setFromHex(string: string): {
61
+ read: number;
62
+ written: number;
63
+ };
64
+ }
65
+
66
+ interface Uint8ArrayConstructor {
67
+ /**
68
+ * Creates a new `Uint8Array` from a base64-encoded string.
69
+ * @param string The base64-encoded string.
70
+ * @param options If provided, specifies the alphabet and handling of the last chunk.
71
+ * @returns A new `Uint8Array` instance.
72
+ * @throws {SyntaxError} If the input string contains characters outside the specified alphabet, or if the last
73
+ * chunk is inconsistent with the `lastChunkHandling` option.
74
+ */
75
+ fromBase64(
76
+ string: string,
77
+ options?: {
78
+ alphabet?: "base64" | "base64url" | undefined;
79
+ lastChunkHandling?: "loose" | "strict" | "stop-before-partial" | undefined;
80
+ },
81
+ ): Uint8Array<ArrayBuffer>;
82
+
83
+ /**
84
+ * Creates a new `Uint8Array` from a base16-encoded string.
85
+ * @returns A new `Uint8Array` instance.
86
+ */
87
+ fromHex(
88
+ string: string,
89
+ ): Uint8Array<ArrayBuffer>;
90
+ }