@fileverse-dev/formulajs 4.4.11-mod-67 → 4.4.11-mod-69
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/lib/browser/formula.js +6377 -1408
- package/lib/browser/formula.min.js +2 -2
- package/lib/browser/formula.min.js.map +1 -1
- package/lib/cjs/index.cjs +4779 -794
- package/lib/esm/crypto-constants.mjs +4 -10
- package/lib/esm/index.mjs +4779 -794
- package/package.json +3 -2
- package/types/cjs/index.d.cts +93 -7
- package/types/esm/index.d.mts +93 -7
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fileverse-dev/formulajs",
|
|
3
|
-
"version": "4.4.11-mod-
|
|
3
|
+
"version": "4.4.11-mod-69",
|
|
4
4
|
"description": "JavaScript implementation of most Microsoft Excel formula functions",
|
|
5
5
|
"author": "Formulajs",
|
|
6
6
|
"publishConfig": {
|
|
@@ -63,7 +63,8 @@
|
|
|
63
63
|
"bessel": "^1.0.2",
|
|
64
64
|
"esbuild": "^0.25.4",
|
|
65
65
|
"js-sha3": "^0.9.3",
|
|
66
|
-
"jstat": "^1.9.6"
|
|
66
|
+
"jstat": "^1.9.6",
|
|
67
|
+
"zod": "^3.25.71"
|
|
67
68
|
},
|
|
68
69
|
"devDependencies": {
|
|
69
70
|
"@babel/preset-env": "^7.27.2",
|
package/types/cjs/index.d.cts
CHANGED
|
@@ -630,13 +630,21 @@ export function CODE(text: any): any;
|
|
|
630
630
|
export function COINGECKO(...args: any[]): Promise<{
|
|
631
631
|
message: string;
|
|
632
632
|
functionName: any;
|
|
633
|
-
type:
|
|
633
|
+
type: string;
|
|
634
|
+
apiKeyName?: undefined;
|
|
634
635
|
reason?: undefined;
|
|
635
636
|
} | {
|
|
636
|
-
message:
|
|
637
|
+
message: string;
|
|
637
638
|
functionName: any;
|
|
638
|
-
type:
|
|
639
|
+
type: string;
|
|
640
|
+
apiKeyName: any;
|
|
641
|
+
reason?: undefined;
|
|
642
|
+
} | {
|
|
643
|
+
message: string;
|
|
644
|
+
functionName: any;
|
|
645
|
+
type: string;
|
|
639
646
|
reason: any;
|
|
647
|
+
apiKeyName?: undefined;
|
|
640
648
|
} | {}[]>;
|
|
641
649
|
/**
|
|
642
650
|
* Returns the column number of a reference.
|
|
@@ -1117,7 +1125,25 @@ export function DEC2OCT(number: any, places: any): any;
|
|
|
1117
1125
|
* @returns
|
|
1118
1126
|
*/
|
|
1119
1127
|
export function DECIMAL(text: any, radix: any, ...args: any[]): any;
|
|
1120
|
-
export function DEFILLAMA(...args: any[]): Promise<
|
|
1128
|
+
export function DEFILLAMA(...args: any[]): Promise<{
|
|
1129
|
+
message: string;
|
|
1130
|
+
functionName: any;
|
|
1131
|
+
type: string;
|
|
1132
|
+
apiKeyName?: undefined;
|
|
1133
|
+
reason?: undefined;
|
|
1134
|
+
} | {
|
|
1135
|
+
message: string;
|
|
1136
|
+
functionName: any;
|
|
1137
|
+
type: string;
|
|
1138
|
+
apiKeyName: any;
|
|
1139
|
+
reason?: undefined;
|
|
1140
|
+
} | {
|
|
1141
|
+
message: string;
|
|
1142
|
+
functionName: any;
|
|
1143
|
+
type: string;
|
|
1144
|
+
reason: any;
|
|
1145
|
+
apiKeyName?: undefined;
|
|
1146
|
+
} | {}[]>;
|
|
1121
1147
|
/**
|
|
1122
1148
|
* Converts radians to degrees.
|
|
1123
1149
|
*
|
|
@@ -1483,7 +1509,27 @@ export function FACTDOUBLE(number: any): any;
|
|
|
1483
1509
|
* @returns
|
|
1484
1510
|
*/
|
|
1485
1511
|
export function FALSE(): boolean;
|
|
1486
|
-
export function FARCASTER(...args: any[]): Promise<
|
|
1512
|
+
export function FARCASTER(...args: any[]): Promise<{
|
|
1513
|
+
message: string;
|
|
1514
|
+
functionName: any;
|
|
1515
|
+
type: string;
|
|
1516
|
+
apiKeyName?: undefined;
|
|
1517
|
+
reason?: undefined;
|
|
1518
|
+
} | {
|
|
1519
|
+
message: string;
|
|
1520
|
+
functionName: any;
|
|
1521
|
+
type: string;
|
|
1522
|
+
apiKeyName: any;
|
|
1523
|
+
reason?: undefined;
|
|
1524
|
+
} | {
|
|
1525
|
+
message: string;
|
|
1526
|
+
functionName: any;
|
|
1527
|
+
type: string;
|
|
1528
|
+
reason: any;
|
|
1529
|
+
apiKeyName?: undefined;
|
|
1530
|
+
} | {
|
|
1531
|
+
platform: string;
|
|
1532
|
+
}[]>;
|
|
1487
1533
|
/**
|
|
1488
1534
|
* Returns the F probability distribution.
|
|
1489
1535
|
*
|
|
@@ -1542,7 +1588,27 @@ export namespace FINV { }
|
|
|
1542
1588
|
* @returns
|
|
1543
1589
|
*/
|
|
1544
1590
|
export function FINVRT(probability: any, deg_freedom1: any, deg_freedom2: any, ...args: any[]): any;
|
|
1545
|
-
export function FIREFLY(...args: any[]): Promise<
|
|
1591
|
+
export function FIREFLY(...args: any[]): Promise<{
|
|
1592
|
+
platform: any;
|
|
1593
|
+
}[] | {
|
|
1594
|
+
message: string;
|
|
1595
|
+
functionName: any;
|
|
1596
|
+
type: string;
|
|
1597
|
+
apiKeyName?: undefined;
|
|
1598
|
+
reason?: undefined;
|
|
1599
|
+
} | {
|
|
1600
|
+
message: string;
|
|
1601
|
+
functionName: any;
|
|
1602
|
+
type: string;
|
|
1603
|
+
apiKeyName: any;
|
|
1604
|
+
reason?: undefined;
|
|
1605
|
+
} | {
|
|
1606
|
+
message: string;
|
|
1607
|
+
functionName: any;
|
|
1608
|
+
type: string;
|
|
1609
|
+
reason: any;
|
|
1610
|
+
apiKeyName?: undefined;
|
|
1611
|
+
}>;
|
|
1546
1612
|
/**
|
|
1547
1613
|
* Returns the Fisher transformation.
|
|
1548
1614
|
*
|
|
@@ -2405,7 +2471,27 @@ export function LEFT(text: any, num_chars: any): any;
|
|
|
2405
2471
|
* @returns
|
|
2406
2472
|
*/
|
|
2407
2473
|
export function LEN(text: any, ...args: any[]): any;
|
|
2408
|
-
export function LENS(...args: any[]): Promise<
|
|
2474
|
+
export function LENS(...args: any[]): Promise<{
|
|
2475
|
+
message: string;
|
|
2476
|
+
functionName: any;
|
|
2477
|
+
type: string;
|
|
2478
|
+
apiKeyName?: undefined;
|
|
2479
|
+
reason?: undefined;
|
|
2480
|
+
} | {
|
|
2481
|
+
message: string;
|
|
2482
|
+
functionName: any;
|
|
2483
|
+
type: string;
|
|
2484
|
+
apiKeyName: any;
|
|
2485
|
+
reason?: undefined;
|
|
2486
|
+
} | {
|
|
2487
|
+
message: string;
|
|
2488
|
+
functionName: any;
|
|
2489
|
+
type: string;
|
|
2490
|
+
reason: any;
|
|
2491
|
+
apiKeyName?: undefined;
|
|
2492
|
+
} | {
|
|
2493
|
+
platform: string;
|
|
2494
|
+
}[]>;
|
|
2409
2495
|
/**
|
|
2410
2496
|
* Returns the parameters of a linear trend.
|
|
2411
2497
|
*
|
package/types/esm/index.d.mts
CHANGED
|
@@ -630,13 +630,21 @@ export function CODE(text: any): any;
|
|
|
630
630
|
export function COINGECKO(...args: any[]): Promise<{
|
|
631
631
|
message: string;
|
|
632
632
|
functionName: any;
|
|
633
|
-
type:
|
|
633
|
+
type: string;
|
|
634
|
+
apiKeyName?: undefined;
|
|
634
635
|
reason?: undefined;
|
|
635
636
|
} | {
|
|
636
|
-
message:
|
|
637
|
+
message: string;
|
|
637
638
|
functionName: any;
|
|
638
|
-
type:
|
|
639
|
+
type: string;
|
|
640
|
+
apiKeyName: any;
|
|
641
|
+
reason?: undefined;
|
|
642
|
+
} | {
|
|
643
|
+
message: string;
|
|
644
|
+
functionName: any;
|
|
645
|
+
type: string;
|
|
639
646
|
reason: any;
|
|
647
|
+
apiKeyName?: undefined;
|
|
640
648
|
} | {}[]>;
|
|
641
649
|
/**
|
|
642
650
|
* Returns the column number of a reference.
|
|
@@ -1117,7 +1125,25 @@ export function DEC2OCT(number: any, places: any): any;
|
|
|
1117
1125
|
* @returns
|
|
1118
1126
|
*/
|
|
1119
1127
|
export function DECIMAL(text: any, radix: any, ...args: any[]): any;
|
|
1120
|
-
export function DEFILLAMA(...args: any[]): Promise<
|
|
1128
|
+
export function DEFILLAMA(...args: any[]): Promise<{
|
|
1129
|
+
message: string;
|
|
1130
|
+
functionName: any;
|
|
1131
|
+
type: string;
|
|
1132
|
+
apiKeyName?: undefined;
|
|
1133
|
+
reason?: undefined;
|
|
1134
|
+
} | {
|
|
1135
|
+
message: string;
|
|
1136
|
+
functionName: any;
|
|
1137
|
+
type: string;
|
|
1138
|
+
apiKeyName: any;
|
|
1139
|
+
reason?: undefined;
|
|
1140
|
+
} | {
|
|
1141
|
+
message: string;
|
|
1142
|
+
functionName: any;
|
|
1143
|
+
type: string;
|
|
1144
|
+
reason: any;
|
|
1145
|
+
apiKeyName?: undefined;
|
|
1146
|
+
} | {}[]>;
|
|
1121
1147
|
/**
|
|
1122
1148
|
* Converts radians to degrees.
|
|
1123
1149
|
*
|
|
@@ -1483,7 +1509,27 @@ export function FACTDOUBLE(number: any): any;
|
|
|
1483
1509
|
* @returns
|
|
1484
1510
|
*/
|
|
1485
1511
|
export function FALSE(): boolean;
|
|
1486
|
-
export function FARCASTER(...args: any[]): Promise<
|
|
1512
|
+
export function FARCASTER(...args: any[]): Promise<{
|
|
1513
|
+
message: string;
|
|
1514
|
+
functionName: any;
|
|
1515
|
+
type: string;
|
|
1516
|
+
apiKeyName?: undefined;
|
|
1517
|
+
reason?: undefined;
|
|
1518
|
+
} | {
|
|
1519
|
+
message: string;
|
|
1520
|
+
functionName: any;
|
|
1521
|
+
type: string;
|
|
1522
|
+
apiKeyName: any;
|
|
1523
|
+
reason?: undefined;
|
|
1524
|
+
} | {
|
|
1525
|
+
message: string;
|
|
1526
|
+
functionName: any;
|
|
1527
|
+
type: string;
|
|
1528
|
+
reason: any;
|
|
1529
|
+
apiKeyName?: undefined;
|
|
1530
|
+
} | {
|
|
1531
|
+
platform: string;
|
|
1532
|
+
}[]>;
|
|
1487
1533
|
/**
|
|
1488
1534
|
* Returns the F probability distribution.
|
|
1489
1535
|
*
|
|
@@ -1542,7 +1588,27 @@ export namespace FINV { }
|
|
|
1542
1588
|
* @returns
|
|
1543
1589
|
*/
|
|
1544
1590
|
export function FINVRT(probability: any, deg_freedom1: any, deg_freedom2: any, ...args: any[]): any;
|
|
1545
|
-
export function FIREFLY(...args: any[]): Promise<
|
|
1591
|
+
export function FIREFLY(...args: any[]): Promise<{
|
|
1592
|
+
platform: any;
|
|
1593
|
+
}[] | {
|
|
1594
|
+
message: string;
|
|
1595
|
+
functionName: any;
|
|
1596
|
+
type: string;
|
|
1597
|
+
apiKeyName?: undefined;
|
|
1598
|
+
reason?: undefined;
|
|
1599
|
+
} | {
|
|
1600
|
+
message: string;
|
|
1601
|
+
functionName: any;
|
|
1602
|
+
type: string;
|
|
1603
|
+
apiKeyName: any;
|
|
1604
|
+
reason?: undefined;
|
|
1605
|
+
} | {
|
|
1606
|
+
message: string;
|
|
1607
|
+
functionName: any;
|
|
1608
|
+
type: string;
|
|
1609
|
+
reason: any;
|
|
1610
|
+
apiKeyName?: undefined;
|
|
1611
|
+
}>;
|
|
1546
1612
|
/**
|
|
1547
1613
|
* Returns the Fisher transformation.
|
|
1548
1614
|
*
|
|
@@ -2405,7 +2471,27 @@ export function LEFT(text: any, num_chars: any): any;
|
|
|
2405
2471
|
* @returns
|
|
2406
2472
|
*/
|
|
2407
2473
|
export function LEN(text: any, ...args: any[]): any;
|
|
2408
|
-
export function LENS(...args: any[]): Promise<
|
|
2474
|
+
export function LENS(...args: any[]): Promise<{
|
|
2475
|
+
message: string;
|
|
2476
|
+
functionName: any;
|
|
2477
|
+
type: string;
|
|
2478
|
+
apiKeyName?: undefined;
|
|
2479
|
+
reason?: undefined;
|
|
2480
|
+
} | {
|
|
2481
|
+
message: string;
|
|
2482
|
+
functionName: any;
|
|
2483
|
+
type: string;
|
|
2484
|
+
apiKeyName: any;
|
|
2485
|
+
reason?: undefined;
|
|
2486
|
+
} | {
|
|
2487
|
+
message: string;
|
|
2488
|
+
functionName: any;
|
|
2489
|
+
type: string;
|
|
2490
|
+
reason: any;
|
|
2491
|
+
apiKeyName?: undefined;
|
|
2492
|
+
} | {
|
|
2493
|
+
platform: string;
|
|
2494
|
+
}[]>;
|
|
2409
2495
|
/**
|
|
2410
2496
|
* Returns the parameters of a linear trend.
|
|
2411
2497
|
*
|