@oliasoft-open-source/units 4.6.0 → 4.7.0-beta-1

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/dist/index.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var numbers_numbers = require('./units-B3mFL4mq.cjs');
3
+ var numbers_numbers = require('./units-BkI5zVBX.cjs');
4
4
  require('fraction.js');
5
5
 
6
6
 
package/dist/index.d.ts CHANGED
@@ -249,6 +249,7 @@ declare const UNITS_DESCRIPTION: {
249
249
  'Mm3/d': string;
250
250
  'STB/d': string;
251
251
  'Sm3/d': string;
252
+ 'Sm3/min': string;
252
253
  'MSm3/d': string;
253
254
  'SCF/STB': string;
254
255
  'Sm3/Sm3': string;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sources":["../src/constants.ts","../src/utils.ts","../src/numbers/display-number.ts","../src/rounding/rounding.ts","../src/comparison/comparison.ts"],"mappings":";;;;AAQA,cAAa,MAAM,EAAE,MAAM;AA+N3B,cAAa,SAAS,EAAE,MAAM;AAgL9B,cAAa,aAAa,EAAE,MAAM;AA8GlC,cAAa,iBAAiB,EAAE,MAAM;AA0gBtC,cAAa,gBAAgB,EAAE,MAAM;AAcrC,cAAa,YAAY,EAAE,MAAM;AAYjC,cAAa,wBAAwB,EAAE,MAAM;AAyK7C,cAAa,WAAW;AAaxB,cAAa,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8FnC,cAAa,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACjyC9B,iBAAgB,oBAAoB;AAkBpC,cAAa,UAAU;AAevB,iBAAgB,SAAS;AA6BzB,iBAAgB,UAAU;AAW1B,cAAa,YAAY;AAWzB,iBAAgB,SAAS;AAyBzB,iBAAgB,uBAAuB;AAwCvC,iBAAgB,QAAQ,4BAA4B,QAAQ,UAAU,GAAG;AA8BzE,iBAAgB,UAAU;AAsB1B,iBAAgB,WAAW;AAgD3B,iBAAgB,WAAW;AAwC3B,cAAa,iBAAiB;AAgB9B,iBAAgB,QAAQ;AAaxB,cAAa,cAAc;;ACjU3B,KAAK,oBAAoB;;;;;;;;;;AA6HzB,cAAa,aAAa,6EAEd,oBAAoB;AA0ChC,cAAa,oBAAoB,oEAErB,oBAAoB;;AC/JhC,cAAa,KAAK;AA4GlB,cAAa,gBAAgB;AA8C7B,cAAa,uBAAuB;AA0EpC,cAAa,gBAAgB;AA8C7B,cAAa,uBAAuB;AAuEpC,cAAa,YAAY;AA2CzB,cAAa,YAAY;;AClazB,KAAK,OAAO;UAAiB,OAAO;;AACpC,KAAK,GAAG,uBACQ,MAAM,qBACf,OAAO,eAAe,OAAO;AAGpC,KAAK,aAAa,GAAG,GAAG;;;;;AAyCxB,cAAa,SAAS,sFAGX,aAA2D;AAuEtE,cAAa,sBAAsB,sFAGxB,aAA2D;AAoBtE,cAAa,mBAAmB,sFAGrB,aAA2D;AAmBtE,cAAa,aAAa,6BAGf,aAA2D","names":[]}
1
+ {"version":3,"file":"index.d.ts","sources":["../src/constants.ts","../src/utils.ts","../src/numbers/display-number.ts","../src/rounding/rounding.ts","../src/comparison/comparison.ts"],"mappings":";;;;AAQA,cAAa,MAAM,EAAE,MAAM;AAgO3B,cAAa,SAAS,EAAE,MAAM;AAiM9B,cAAa,aAAa,EAAE,MAAM;AA8GlC,cAAa,iBAAiB,EAAE,MAAM;AA4gBtC,cAAa,gBAAgB,EAAE,MAAM;AAcrC,cAAa,YAAY,EAAE,MAAM;AAYjC,cAAa,wBAAwB,EAAE,MAAM;AA0K7C,cAAa,WAAW;AAaxB,cAAa,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8FnC,cAAa,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACtzC9B,iBAAgB,oBAAoB;AAkBpC,cAAa,UAAU;AAevB,iBAAgB,SAAS;AA6BzB,iBAAgB,UAAU;AAW1B,cAAa,YAAY;AAWzB,iBAAgB,SAAS;AAyBzB,iBAAgB,uBAAuB;AAwCvC,iBAAgB,QAAQ,4BAA4B,QAAQ,UAAU,GAAG;AA8BzE,iBAAgB,UAAU;AAsB1B,iBAAgB,WAAW;AAgD3B,iBAAgB,WAAW;AAwC3B,cAAa,iBAAiB;AAgB9B,iBAAgB,QAAQ;AAaxB,cAAa,cAAc;;ACjU3B,KAAK,oBAAoB;;;;;;;;;;AA6HzB,cAAa,aAAa,6EAEd,oBAAoB;AA0ChC,cAAa,oBAAoB,oEAErB,oBAAoB;;AC/JhC,cAAa,KAAK;AA4GlB,cAAa,gBAAgB;AA8C7B,cAAa,uBAAuB;AA0EpC,cAAa,gBAAgB;AA8C7B,cAAa,uBAAuB;AAuEpC,cAAa,YAAY;AA2CzB,cAAa,YAAY;;AClazB,KAAK,OAAO;UAAiB,OAAO;;AACpC,KAAK,GAAG,uBACQ,MAAM,qBACf,OAAO,eAAe,OAAO;AAGpC,KAAK,aAAa,GAAG,GAAG;;;;;AAyCxB,cAAa,SAAS,sFAGX,aAA2D;AAuEtE,cAAa,sBAAsB,sFAGxB,aAA2D;AAoBtE,cAAa,mBAAmB,sFAGrB,aAA2D;AAmBtE,cAAa,aAAa,6BAGf,aAA2D","names":[]}
package/dist/index.js CHANGED
@@ -1,2 +1,2 @@
1
- export { A as ALT_UNITS, D as DEPRECATED_UNITS, I as INTERMEDIATE_CONVERSIONS, K as KNOWN_CONVERSIONS, a as KNOWN_UNITS, L as LABELS, Q as QUANTITIES_DESCRIPTION, U as UNITS_DESCRIPTION, b as UNIT_ALIASES, c as UNIT_FROM_KEY, d as allNumbers, e as altUnitsList, f as asFraction, g as charCount, h as checkAndCleanDecimalComma, i as cleanNum, j as cleanNumStr, k as convertAndGetValue, l as convertAndGetValueStrict, m as convertSamePrecision, n as convertTable, o as displayNumber, p as displayNumberToFixed, q as formatNumber, r as fraction, s as getAltUnitsListByQuantity, t as getNumberOfDigitsToShow, u as getQuantities, v as getUnit, w as getUnitsForQuantity, x as getValue, y as isCloseTo, z as isCloseToOrGreaterThan, B as isCloseToOrLessThan, C as isDeepCloseTo, E as isEmptyValueWithUnit, F as isFraction, G as isNonNumerical, H as isNumeric, J as isScientificStringNum, M as isValidNum, N as isValueWithUnit, O as label, P as numFraction, R as round, S as roundByMagnitude, T as roundByMagnitudeToFixed, V as roundByRange, W as roundNumberWithLabel, X as roundToDecimalPrecision, Y as roundToFixed, Z as roundToPrecision, _ as showAltUnitsList, $ as split, a0 as stripLeadingZeros, a1 as to, a2 as toBase, a3 as toNum, a4 as toString, a5 as unitFromKey, a6 as unitFromQuantity, a7 as unum, a8 as unumWithUnit, a9 as validateAndClean, aa as validateNumber, ab as withPrettyUnitLabel, ac as withUnit } from './units-CkzKXyyy.js';
1
+ export { A as ALT_UNITS, D as DEPRECATED_UNITS, I as INTERMEDIATE_CONVERSIONS, K as KNOWN_CONVERSIONS, a as KNOWN_UNITS, L as LABELS, Q as QUANTITIES_DESCRIPTION, U as UNITS_DESCRIPTION, b as UNIT_ALIASES, c as UNIT_FROM_KEY, d as allNumbers, e as altUnitsList, f as asFraction, g as charCount, h as checkAndCleanDecimalComma, i as cleanNum, j as cleanNumStr, k as convertAndGetValue, l as convertAndGetValueStrict, m as convertSamePrecision, n as convertTable, o as displayNumber, p as displayNumberToFixed, q as formatNumber, r as fraction, s as getAltUnitsListByQuantity, t as getNumberOfDigitsToShow, u as getQuantities, v as getUnit, w as getUnitsForQuantity, x as getValue, y as isCloseTo, z as isCloseToOrGreaterThan, B as isCloseToOrLessThan, C as isDeepCloseTo, E as isEmptyValueWithUnit, F as isFraction, G as isNonNumerical, H as isNumeric, J as isScientificStringNum, M as isValidNum, N as isValueWithUnit, O as label, P as numFraction, R as round, S as roundByMagnitude, T as roundByMagnitudeToFixed, V as roundByRange, W as roundNumberWithLabel, X as roundToDecimalPrecision, Y as roundToFixed, Z as roundToPrecision, _ as showAltUnitsList, $ as split, a0 as stripLeadingZeros, a1 as to, a2 as toBase, a3 as toNum, a4 as toString, a5 as unitFromKey, a6 as unitFromQuantity, a7 as unum, a8 as unumWithUnit, a9 as validateAndClean, aa as validateNumber, ab as withPrettyUnitLabel, ac as withUnit } from './units-DNoJOeDf.js';
2
2
  import 'fraction.js';
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var numbers_numbers = require('../units-B3mFL4mq.cjs');
3
+ var numbers_numbers = require('../units-BkI5zVBX.cjs');
4
4
  require('fraction.js');
5
5
 
6
6
 
@@ -1,2 +1,2 @@
1
- export { J as isScientificStringNum, M as isValidNum, a3 as toNum, a4 as toString } from '../units-CkzKXyyy.js';
1
+ export { J as isScientificStringNum, M as isValidNum, a3 as toNum, a4 as toString } from '../units-DNoJOeDf.js';
2
2
  import 'fraction.js';
@@ -913,6 +913,7 @@ const LABELS = Object.freeze({
913
913
  "Mm3/d": "Mm\xB3/d",
914
914
  "STB/d": "STB/d",
915
915
  "Sm3/d": "Sm\xB3/d",
916
+ "Sm3/min": "Sm\xB3/min",
916
917
  "MSm3/d": "MSm\xB3/d",
917
918
  "SCF/STB": "SCF / STB",
918
919
  "Sm3/Sm3": "Sm\xB3 / Sm\xB3",
@@ -988,11 +989,12 @@ const ALT_UNITS = Object.freeze({
988
989
  "Mm3/d",
989
990
  "STB/d",
990
991
  "Sm3/d",
992
+ "Sm3/min",
991
993
  "MSm3/d",
992
994
  "SCF/d"
993
995
  ],
994
996
  blowoutGasFlowRate: ["MMSCFD", "Sm3/d", "MSm3/d", "SCF/d"],
995
- blowoutOilFlowRate: ["Sm3/d", "STB/d"],
997
+ blowoutOilFlowRate: ["Sm3/d", "Sm3/min", "STB/d"],
996
998
  deg: ["deg", "rad"],
997
999
  density: ["sg", "ppg", "kg/m3", "lbm/ft3", "g/cm3", "lb/ft3", "kPa/m"],
998
1000
  densityGas: ["Gsg", "Gppg", "Gkg/m3", "Glbm/ft3"],
@@ -1021,6 +1023,7 @@ const ALT_UNITS = Object.freeze({
1021
1023
  "MMSCFD",
1022
1024
  "STB/d",
1023
1025
  "Sm3/d",
1026
+ "Sm3/min",
1024
1027
  "MSm3/d",
1025
1028
  "SCF/d"
1026
1029
  ],
@@ -1054,8 +1057,22 @@ const ALT_UNITS = Object.freeze({
1054
1057
  ],
1055
1058
  pressurechange: ["bar", "psi", "Pa", "MPa", "kPa"],
1056
1059
  gasliftFlowRate: ["STB/d", "Sm3/d", "SCF/d"],
1057
- productionFlowRate: ["MMSCFD", "STB/d", "Sm3/d", "MSm3/d", "SCF/d"],
1058
- productionFlowRateOil: ["MMSCFD", "STB/d", "Sm3/d", "MSm3/d", "SCF/d"],
1060
+ productionFlowRate: [
1061
+ "MMSCFD",
1062
+ "STB/d",
1063
+ "Sm3/d",
1064
+ "Sm3/min",
1065
+ "MSm3/d",
1066
+ "SCF/d"
1067
+ ],
1068
+ productionFlowRateOil: [
1069
+ "MMSCFD",
1070
+ "STB/d",
1071
+ "Sm3/d",
1072
+ "Sm3/min",
1073
+ "MSm3/d",
1074
+ "SCF/d"
1075
+ ],
1059
1076
  productionFlowRateGas: ["MMSCFD", "STB/d", "Sm3/d", "MSm3/d", "SCF/d"],
1060
1077
  injectionFlowRate: [
1061
1078
  "lpm",
@@ -1065,10 +1082,11 @@ const ALT_UNITS = Object.freeze({
1065
1082
  "MMSCFD",
1066
1083
  "STB/d",
1067
1084
  "Sm3/d",
1085
+ "Sm3/min",
1068
1086
  "MSm3/d",
1069
1087
  "SCF/d"
1070
1088
  ],
1071
- pumpRate: ["lpm", "lps", "bpm", "m3/s", "ft3/s", "gpm"],
1089
+ pumpRate: ["lpm", "lps", "bpm", "m3/s", "Sm3/min", "ft3/s", "gpm"],
1072
1090
  rotationalSpeed: ["rpm", "Hz"],
1073
1091
  roughness: ["m", "microM", "in"],
1074
1092
  rpm: ["rpm", "Hz"],
@@ -1435,6 +1453,8 @@ const KNOWN_CONVERSIONS = Object.freeze({
1435
1453
  "m3/s|MMSCFD": (val) => val / 0.32774128,
1436
1454
  "m3/s|STB/d": (val) => val * 1346875e8 / 247854343,
1437
1455
  "m3/s|Sm3/d": (val) => val * C.day_to_second,
1456
+ "m3/s|Sm3/min": (val) => val * 60,
1457
+ "Sm3/min|m3/s": (val) => val / 60,
1438
1458
  "m3/s|MSm3/d": (val) => val / C.MSm3d_to_m3s,
1439
1459
  "m3/s|SCF/d": (val) => val * 3.0511872047366146e6,
1440
1460
  "ft3/s|m3/s": (val) => val * C.ft3_to_m3,
@@ -1850,6 +1870,7 @@ const INTERMEDIATE_CONVERSIONS = Object.freeze({
1850
1870
  "ft3/d": "m3/s",
1851
1871
  "STB/d": "m3/s",
1852
1872
  "Sm3/d": "m3/s",
1873
+ "Sm3/min": "m3/s",
1853
1874
  gpm: "m3/s",
1854
1875
  MMSCFD: "m3/s",
1855
1876
  "Mm3/d": "m3/d",
@@ -2169,6 +2190,7 @@ const UNITS_DESCRIPTION = {
2169
2190
  "Mm3/d": "Mega cubic meters per day",
2170
2191
  "STB/d": "Stock Tank Barrel per day",
2171
2192
  "Sm3/d": "Standard cubic meters per day",
2193
+ "Sm3/min": "Standard cubic meters per minute",
2172
2194
  "MSm3/d": "Mega standard cubic meters per day",
2173
2195
  "SCF/STB": "Standard Cubic Feet per Stock Tank Barrel",
2174
2196
  "Sm3/Sm3": "Standard cubic meters per Standard cubic meter",
@@ -2307,7 +2329,7 @@ function validate15(data, { instancePath = "", parentData, parentDataProperty, r
2307
2329
  validate15.errors = vErrors;
2308
2330
  return errors === 0;
2309
2331
  }
2310
- requireUcs2length().default;
2332
+ /*@__PURE__*/ requireUcs2length().default;
2311
2333
 
2312
2334
  const transformErrors = (errors) => {
2313
2335
  return errors?.map(({ message }) => message);
@@ -911,6 +911,7 @@ const LABELS = Object.freeze({
911
911
  "Mm3/d": "Mm\xB3/d",
912
912
  "STB/d": "STB/d",
913
913
  "Sm3/d": "Sm\xB3/d",
914
+ "Sm3/min": "Sm\xB3/min",
914
915
  "MSm3/d": "MSm\xB3/d",
915
916
  "SCF/STB": "SCF / STB",
916
917
  "Sm3/Sm3": "Sm\xB3 / Sm\xB3",
@@ -986,11 +987,12 @@ const ALT_UNITS = Object.freeze({
986
987
  "Mm3/d",
987
988
  "STB/d",
988
989
  "Sm3/d",
990
+ "Sm3/min",
989
991
  "MSm3/d",
990
992
  "SCF/d"
991
993
  ],
992
994
  blowoutGasFlowRate: ["MMSCFD", "Sm3/d", "MSm3/d", "SCF/d"],
993
- blowoutOilFlowRate: ["Sm3/d", "STB/d"],
995
+ blowoutOilFlowRate: ["Sm3/d", "Sm3/min", "STB/d"],
994
996
  deg: ["deg", "rad"],
995
997
  density: ["sg", "ppg", "kg/m3", "lbm/ft3", "g/cm3", "lb/ft3", "kPa/m"],
996
998
  densityGas: ["Gsg", "Gppg", "Gkg/m3", "Glbm/ft3"],
@@ -1019,6 +1021,7 @@ const ALT_UNITS = Object.freeze({
1019
1021
  "MMSCFD",
1020
1022
  "STB/d",
1021
1023
  "Sm3/d",
1024
+ "Sm3/min",
1022
1025
  "MSm3/d",
1023
1026
  "SCF/d"
1024
1027
  ],
@@ -1052,8 +1055,22 @@ const ALT_UNITS = Object.freeze({
1052
1055
  ],
1053
1056
  pressurechange: ["bar", "psi", "Pa", "MPa", "kPa"],
1054
1057
  gasliftFlowRate: ["STB/d", "Sm3/d", "SCF/d"],
1055
- productionFlowRate: ["MMSCFD", "STB/d", "Sm3/d", "MSm3/d", "SCF/d"],
1056
- productionFlowRateOil: ["MMSCFD", "STB/d", "Sm3/d", "MSm3/d", "SCF/d"],
1058
+ productionFlowRate: [
1059
+ "MMSCFD",
1060
+ "STB/d",
1061
+ "Sm3/d",
1062
+ "Sm3/min",
1063
+ "MSm3/d",
1064
+ "SCF/d"
1065
+ ],
1066
+ productionFlowRateOil: [
1067
+ "MMSCFD",
1068
+ "STB/d",
1069
+ "Sm3/d",
1070
+ "Sm3/min",
1071
+ "MSm3/d",
1072
+ "SCF/d"
1073
+ ],
1057
1074
  productionFlowRateGas: ["MMSCFD", "STB/d", "Sm3/d", "MSm3/d", "SCF/d"],
1058
1075
  injectionFlowRate: [
1059
1076
  "lpm",
@@ -1063,10 +1080,11 @@ const ALT_UNITS = Object.freeze({
1063
1080
  "MMSCFD",
1064
1081
  "STB/d",
1065
1082
  "Sm3/d",
1083
+ "Sm3/min",
1066
1084
  "MSm3/d",
1067
1085
  "SCF/d"
1068
1086
  ],
1069
- pumpRate: ["lpm", "lps", "bpm", "m3/s", "ft3/s", "gpm"],
1087
+ pumpRate: ["lpm", "lps", "bpm", "m3/s", "Sm3/min", "ft3/s", "gpm"],
1070
1088
  rotationalSpeed: ["rpm", "Hz"],
1071
1089
  roughness: ["m", "microM", "in"],
1072
1090
  rpm: ["rpm", "Hz"],
@@ -1433,6 +1451,8 @@ const KNOWN_CONVERSIONS = Object.freeze({
1433
1451
  "m3/s|MMSCFD": (val) => val / 0.32774128,
1434
1452
  "m3/s|STB/d": (val) => val * 1346875e8 / 247854343,
1435
1453
  "m3/s|Sm3/d": (val) => val * C.day_to_second,
1454
+ "m3/s|Sm3/min": (val) => val * 60,
1455
+ "Sm3/min|m3/s": (val) => val / 60,
1436
1456
  "m3/s|MSm3/d": (val) => val / C.MSm3d_to_m3s,
1437
1457
  "m3/s|SCF/d": (val) => val * 3.0511872047366146e6,
1438
1458
  "ft3/s|m3/s": (val) => val * C.ft3_to_m3,
@@ -1848,6 +1868,7 @@ const INTERMEDIATE_CONVERSIONS = Object.freeze({
1848
1868
  "ft3/d": "m3/s",
1849
1869
  "STB/d": "m3/s",
1850
1870
  "Sm3/d": "m3/s",
1871
+ "Sm3/min": "m3/s",
1851
1872
  gpm: "m3/s",
1852
1873
  MMSCFD: "m3/s",
1853
1874
  "Mm3/d": "m3/d",
@@ -2167,6 +2188,7 @@ const UNITS_DESCRIPTION = {
2167
2188
  "Mm3/d": "Mega cubic meters per day",
2168
2189
  "STB/d": "Stock Tank Barrel per day",
2169
2190
  "Sm3/d": "Standard cubic meters per day",
2191
+ "Sm3/min": "Standard cubic meters per minute",
2170
2192
  "MSm3/d": "Mega standard cubic meters per day",
2171
2193
  "SCF/STB": "Standard Cubic Feet per Stock Tank Barrel",
2172
2194
  "Sm3/Sm3": "Standard cubic meters per Standard cubic meter",
@@ -2305,7 +2327,7 @@ function validate15(data, { instancePath = "", parentData, parentDataProperty, r
2305
2327
  validate15.errors = vErrors;
2306
2328
  return errors === 0;
2307
2329
  }
2308
- requireUcs2length().default;
2330
+ /*@__PURE__*/ requireUcs2length().default;
2309
2331
 
2310
2332
  const transformErrors = (errors) => {
2311
2333
  return errors?.map(({ message }) => message);
package/dist/units.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var numbers_numbers = require('./units-B3mFL4mq.cjs');
3
+ var numbers_numbers = require('./units-BkI5zVBX.cjs');
4
4
  require('fraction.js');
5
5
 
6
6
 
package/dist/units.js CHANGED
@@ -1,2 +1,2 @@
1
- export { ad as EXP_NOTATION_RE, ae as SEPARATOR, e as altUnitsList, h as checkAndCleanDecimalComma, k as convertAndGetValue, l as convertAndGetValueStrict, m as convertSamePrecision, n as convertTable, s as getAltUnitsListByQuantity, u as getQuantities, v as getUnit, w as getUnitsForQuantity, x as getValue, N as isValueWithUnit, O as label, W as roundNumberWithLabel, _ as showAltUnitsList, $ as split, a1 as to, a2 as toBase, a5 as unitFromKey, a6 as unitFromQuantity, a7 as unum, a8 as unumWithUnit, a9 as validateAndClean, aa as validateNumber, ab as withPrettyUnitLabel, ac as withUnit } from './units-CkzKXyyy.js';
1
+ export { ad as EXP_NOTATION_RE, ae as SEPARATOR, e as altUnitsList, h as checkAndCleanDecimalComma, k as convertAndGetValue, l as convertAndGetValueStrict, m as convertSamePrecision, n as convertTable, s as getAltUnitsListByQuantity, u as getQuantities, v as getUnit, w as getUnitsForQuantity, x as getValue, N as isValueWithUnit, O as label, W as roundNumberWithLabel, _ as showAltUnitsList, $ as split, a1 as to, a2 as toBase, a5 as unitFromKey, a6 as unitFromQuantity, a7 as unum, a8 as unumWithUnit, a9 as validateAndClean, aa as validateNumber, ab as withPrettyUnitLabel, ac as withUnit } from './units-DNoJOeDf.js';
2
2
  import 'fraction.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oliasoft-open-source/units",
3
- "version": "4.6.0",
3
+ "version": "4.7.0-beta-1",
4
4
  "description": "Package for units management",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -39,25 +39,25 @@
39
39
  ]
40
40
  },
41
41
  "dependencies": {
42
- "fraction.js": "^5.2.1"
42
+ "fraction.js": "^5.3.4"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@prettier/plugin-oxc": "^0.1.3",
46
46
  "@types/jest": "^29.5.14",
47
- "@types/node": "^22.13.4",
48
- "ajv": "^8.17.1",
47
+ "@types/node": "^22.19.12",
48
+ "ajv": "^8.18.0",
49
49
  "ajv-errors": "^3.0.0",
50
50
  "ajv-keywords": "^5.1.0",
51
- "esbuild": "^0.25.0",
51
+ "esbuild": "^0.27.3",
52
52
  "husky": "^9.1.7",
53
53
  "jest": "^29.7.0",
54
- "lint-staged": "^15.4.3",
55
- "oxlint": "^1.39.0",
56
- "pkgroll": "^2.10.0",
57
- "prettier": "^3.7.4",
58
- "ts-jest": "^29.2.5",
59
- "tsx": "^4.19.3",
60
- "typescript": "^5.7.3"
54
+ "lint-staged": "^15.5.2",
55
+ "oxlint": "^1.50.0",
56
+ "pkgroll": "^2.26.3",
57
+ "prettier": "^3.8.1",
58
+ "ts-jest": "^29.4.6",
59
+ "tsx": "^4.21.0",
60
+ "typescript": "^5.9.3"
61
61
  },
62
62
  "prepublish": "tsc -p tsconfig.build.json",
63
63
  "scripts": {