@tsonic/js 10.0.41 → 10.0.43
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/__internal/extensions/index.d.ts +13 -4
- package/bindings.json +61 -13
- package/globals.d.ts +11 -1
- package/index/bindings.json +1392 -487
- package/index/internal/index.d.ts +37 -3
- package/index.d.ts +8 -0
- package/package.json +3 -3
|
@@ -688,7 +688,15 @@ export abstract class Globals$instance {
|
|
|
688
688
|
static encodeURI(uri: string): string;
|
|
689
689
|
static encodeURIComponent(component: string): string;
|
|
690
690
|
static isFinite(value: double): boolean;
|
|
691
|
+
static isFinite(value: int): boolean;
|
|
692
|
+
static isFinite(value: long): boolean;
|
|
693
|
+
static isFinite(value: Nullable_1<System_Internal.Int32>): boolean;
|
|
694
|
+
static isFinite(value: Nullable_1<System_Internal.Int64>): boolean;
|
|
691
695
|
static isNaN(value: double): boolean;
|
|
696
|
+
static isNaN(value: int): boolean;
|
|
697
|
+
static isNaN(value: long): boolean;
|
|
698
|
+
static isNaN(value: Nullable_1<System_Internal.Int32>): boolean;
|
|
699
|
+
static isNaN(value: Nullable_1<System_Internal.Int64>): boolean;
|
|
692
700
|
static Number(value: unknown): double;
|
|
693
701
|
static parseFloat(str: string): double;
|
|
694
702
|
static parseInt(str: string, radix?: Nullable_1<System_Internal.Int32>): double;
|
|
@@ -780,13 +788,39 @@ export abstract class Number$instance {
|
|
|
780
788
|
static readonly NaN: double;
|
|
781
789
|
static readonly EPSILON: double;
|
|
782
790
|
static isFinite(value: double): boolean;
|
|
791
|
+
static isFinite(value: int): boolean;
|
|
792
|
+
static isFinite(value: long): boolean;
|
|
793
|
+
static isFinite(value: Nullable_1<System_Internal.Int32>): boolean;
|
|
794
|
+
static isFinite(value: Nullable_1<System_Internal.Int64>): boolean;
|
|
783
795
|
static isInteger(value: double): boolean;
|
|
796
|
+
static isInteger(value: int): boolean;
|
|
797
|
+
static isInteger(value: long): boolean;
|
|
798
|
+
static isInteger(value: Nullable_1<System_Internal.Int32>): boolean;
|
|
799
|
+
static isInteger(value: Nullable_1<System_Internal.Int64>): boolean;
|
|
784
800
|
static isNaN(value: double): boolean;
|
|
801
|
+
static isNaN(value: int): boolean;
|
|
802
|
+
static isNaN(value: long): boolean;
|
|
803
|
+
static isNaN(value: Nullable_1<System_Internal.Int32>): boolean;
|
|
804
|
+
static isNaN(value: Nullable_1<System_Internal.Int64>): boolean;
|
|
785
805
|
static isSafeInteger(value: double): boolean;
|
|
806
|
+
static isSafeInteger(value: int): boolean;
|
|
807
|
+
static isSafeInteger(value: long): boolean;
|
|
808
|
+
static isSafeInteger(value: Nullable_1<System_Internal.Int32>): boolean;
|
|
809
|
+
static isSafeInteger(value: Nullable_1<System_Internal.Int64>): boolean;
|
|
786
810
|
static parseFloat(str: string): double;
|
|
787
811
|
static parseInt(str: string, radix?: Nullable_1<System_Internal.Int32>): double;
|
|
788
812
|
static toString(value: double): string;
|
|
813
|
+
static toString(value: int): string;
|
|
814
|
+
static toString(value: long): string;
|
|
815
|
+
static toString(value: Nullable_1<System_Internal.Double>): string;
|
|
816
|
+
static toString(value: Nullable_1<System_Internal.Int32>): string;
|
|
817
|
+
static toString(value: Nullable_1<System_Internal.Int64>): string;
|
|
789
818
|
static valueOf(value: double): double;
|
|
819
|
+
static valueOf(value: int): int;
|
|
820
|
+
static valueOf(value: long): long;
|
|
821
|
+
static valueOf(value: Nullable_1<System_Internal.Double>): Nullable_1<System_Internal.Double>;
|
|
822
|
+
static valueOf(value: Nullable_1<System_Internal.Int32>): Nullable_1<System_Internal.Int32>;
|
|
823
|
+
static valueOf(value: Nullable_1<System_Internal.Int64>): Nullable_1<System_Internal.Int64>;
|
|
790
824
|
}
|
|
791
825
|
|
|
792
826
|
|
|
@@ -824,8 +858,8 @@ export abstract class String$instance {
|
|
|
824
858
|
static lastIndexOf(str: string, searchString: string, position?: Nullable_1<System_Internal.Int32>): int;
|
|
825
859
|
static length(str: string): int;
|
|
826
860
|
static localeCompare(str: string, compareString: string): int;
|
|
827
|
-
static match(str: string, pattern: string):
|
|
828
|
-
static matchAll(str: string, pattern: string):
|
|
861
|
+
static match(str: string, pattern: string): string[] | undefined;
|
|
862
|
+
static matchAll(str: string, pattern: string): string[][];
|
|
829
863
|
static normalize(str: string, form?: string): string;
|
|
830
864
|
static padEnd(str: string, targetLength: int, padString?: string): string;
|
|
831
865
|
static padStart(str: string, targetLength: int, padString?: string): string;
|
|
@@ -835,7 +869,7 @@ export abstract class String$instance {
|
|
|
835
869
|
static replaceAll(str: string, search: string, replacement: string): string;
|
|
836
870
|
static search(str: string, pattern: string): int;
|
|
837
871
|
static slice(str: string, start: int, end?: Nullable_1<System_Internal.Int32>): string;
|
|
838
|
-
static split(str: string, separator: string, limit?: Nullable_1<System_Internal.Int32>):
|
|
872
|
+
static split(str: string, separator: string, limit?: Nullable_1<System_Internal.Int32>): string[];
|
|
839
873
|
static startsWith(str: string, searchString: string): boolean;
|
|
840
874
|
static substr(str: string, start: int, length?: Nullable_1<System_Internal.Int32>): string;
|
|
841
875
|
static substring(str: string, start: int, end?: Nullable_1<System_Internal.Int32>): string;
|
package/index.d.ts
CHANGED
|
@@ -60,7 +60,15 @@ export declare function decodeURIComponent(component: string): string;
|
|
|
60
60
|
export declare function encodeURI(uri: string): string;
|
|
61
61
|
export declare function encodeURIComponent(component: string): string;
|
|
62
62
|
export declare function isFinite(value: double): boolean;
|
|
63
|
+
export declare function isFinite(value: int): boolean;
|
|
64
|
+
export declare function isFinite(value: Nullable<int>): boolean;
|
|
65
|
+
export declare function isFinite(value: long): boolean;
|
|
66
|
+
export declare function isFinite(value: Nullable<long>): boolean;
|
|
63
67
|
export declare function isNaN(value: double): boolean;
|
|
68
|
+
export declare function isNaN(value: int): boolean;
|
|
69
|
+
export declare function isNaN(value: Nullable<int>): boolean;
|
|
70
|
+
export declare function isNaN(value: long): boolean;
|
|
71
|
+
export declare function isNaN(value: Nullable<long>): boolean;
|
|
64
72
|
export declare function Number(value: unknown): double;
|
|
65
73
|
export declare function parseFloat(str: string): double;
|
|
66
74
|
export declare function parseInt(str: string, radix?: Nullable<int>): double;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tsonic/js",
|
|
3
|
-
"version": "10.0.
|
|
3
|
+
"version": "10.0.43",
|
|
4
4
|
"description": "TypeScript type definitions for JavaScript Runtime (JSRuntime) library",
|
|
5
5
|
"main": "index.d.ts",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"url": "https://github.com/tsoniclang/js.git"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@tsonic/dotnet": "10.0.
|
|
36
|
-
"@tsonic/core": "10.0.
|
|
35
|
+
"@tsonic/dotnet": "10.0.39",
|
|
36
|
+
"@tsonic/core": "10.0.39"
|
|
37
37
|
}
|
|
38
38
|
}
|