@oliasoft-open-source/units 4.3.2-beta-4 → 4.4.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 = require('./units-BT1FvRiO.cjs');
3
+ var numbers = require('./units-DjB-_Xo0.cjs');
4
4
  require('fraction.js');
5
5
 
6
6
 
package/dist/index.d.ts CHANGED
@@ -309,6 +309,9 @@ declare const UNITS_DESCRIPTION: {
309
309
  'mm3/m': string;
310
310
  '1/GPa': string;
311
311
  lps: string;
312
+ nT: string;
313
+ Gs: string;
314
+ g: string;
312
315
  };
313
316
 
314
317
  declare function isEmptyValueWithUnit(val: string | number): boolean;
package/dist/index.js CHANGED
@@ -1,2 +1,2 @@
1
- export { a3 as ALT_UNITS, a7 as DEPRECATED_UNITS, a9 as INTERMEDIATE_CONVERSIONS, a6 as KNOWN_CONVERSIONS, aa as KNOWN_UNITS, a4 as LABELS, ab as QUANTITIES_DESCRIPTION, ac as UNITS_DESCRIPTION, a8 as UNIT_ALIASES, a5 as UNIT_FROM_KEY, O as allNumbers, i as altUnitsList, W as asFraction, S as charCount, c as checkAndCleanDecimalComma, Z as cleanNum, Y as cleanNumStr, q as convertAndGetValue, x as convertAndGetValueStrict, p as convertSamePrecision, j as convertTable, Q as displayNumber, R as displayNumberToFixed, P as formatNumber, U as fraction, g as getAltUnitsListByQuantity, T as getNumberOfDigitsToShow, b as getQuantities, o as getUnit, a as getUnitsForQuantity, n as getValue, H as isCloseTo, K as isCloseToOrGreaterThan, J as isCloseToOrLessThan, I as isDeepCloseTo, N as isEmptyValueWithUnit, V as isFraction, M as isNonNumerical, L as isNumeric, a1 as isScientificStringNum, a0 as isValidNum, m as isValueWithUnit, l as label, X as numFraction, A as round, E as roundByMagnitude, F as roundByMagnitudeToFixed, G as roundByRange, r as roundNumberWithLabel, D as roundToDecimalPrecision, B as roundToFixed, C as roundToPrecision, s as showAltUnitsList, e as split, a2 as stripLeadingZeros, t as to, h as toBase, _ as toNum, $ as toString, u as unitFromKey, d as unitFromQuantity, f as unum, k as unumWithUnit, v as validateAndClean, z as validateNumber, y as withPrettyUnitLabel, w as withUnit } from './units-BZjqPJ7O.js';
1
+ export { a3 as ALT_UNITS, a7 as DEPRECATED_UNITS, a9 as INTERMEDIATE_CONVERSIONS, a6 as KNOWN_CONVERSIONS, aa as KNOWN_UNITS, a4 as LABELS, ab as QUANTITIES_DESCRIPTION, ac as UNITS_DESCRIPTION, a8 as UNIT_ALIASES, a5 as UNIT_FROM_KEY, O as allNumbers, i as altUnitsList, W as asFraction, S as charCount, c as checkAndCleanDecimalComma, Z as cleanNum, Y as cleanNumStr, q as convertAndGetValue, x as convertAndGetValueStrict, p as convertSamePrecision, j as convertTable, Q as displayNumber, R as displayNumberToFixed, P as formatNumber, U as fraction, g as getAltUnitsListByQuantity, T as getNumberOfDigitsToShow, b as getQuantities, o as getUnit, a as getUnitsForQuantity, n as getValue, H as isCloseTo, K as isCloseToOrGreaterThan, J as isCloseToOrLessThan, I as isDeepCloseTo, N as isEmptyValueWithUnit, V as isFraction, M as isNonNumerical, L as isNumeric, a1 as isScientificStringNum, a0 as isValidNum, m as isValueWithUnit, l as label, X as numFraction, A as round, E as roundByMagnitude, F as roundByMagnitudeToFixed, G as roundByRange, r as roundNumberWithLabel, D as roundToDecimalPrecision, B as roundToFixed, C as roundToPrecision, s as showAltUnitsList, e as split, a2 as stripLeadingZeros, t as to, h as toBase, _ as toNum, $ as toString, u as unitFromKey, d as unitFromQuantity, f as unum, k as unumWithUnit, v as validateAndClean, z as validateNumber, y as withPrettyUnitLabel, w as withUnit } from './units-BRjJM7rE.js';
2
2
  import 'fraction.js';
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var numbers = require('../units-BT1FvRiO.cjs');
3
+ var numbers = require('../units-DjB-_Xo0.cjs');
4
4
  require('fraction.js');
5
5
 
6
6
 
@@ -1,2 +1,2 @@
1
- export { a1 as isScientificStringNum, a0 as isValidNum, _ as toNum, $ as toString } from '../units-BZjqPJ7O.js';
1
+ export { a1 as isScientificStringNum, a0 as isValidNum, _ as toNum, $ as toString } from '../units-BRjJM7rE.js';
2
2
  import 'fraction.js';
@@ -2143,7 +2143,10 @@ const UNITS_DESCRIPTION = {
2143
2143
  "m3/m": "Cubic meters per meter",
2144
2144
  "mm3/m": "Cubic millimeters per meter",
2145
2145
  "1/GPa": "Inverse gigapascal",
2146
- lps: "Liters per second"
2146
+ lps: "Liters per second",
2147
+ nT: "nanoTesla",
2148
+ Gs: "Gauss",
2149
+ g: "g force"
2147
2150
  };
2148
2151
 
2149
2152
  var ucs2length = {};
@@ -2145,7 +2145,10 @@ const UNITS_DESCRIPTION = {
2145
2145
  "m3/m": "Cubic meters per meter",
2146
2146
  "mm3/m": "Cubic millimeters per meter",
2147
2147
  "1/GPa": "Inverse gigapascal",
2148
- lps: "Liters per second"
2148
+ lps: "Liters per second",
2149
+ nT: "nanoTesla",
2150
+ Gs: "Gauss",
2151
+ g: "g force"
2149
2152
  };
2150
2153
 
2151
2154
  var ucs2length = {};
package/dist/units.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var numbers = require('./units-BT1FvRiO.cjs');
3
+ var numbers = require('./units-DjB-_Xo0.cjs');
4
4
  require('fraction.js');
5
5
 
6
6
 
package/dist/units.js CHANGED
@@ -1,2 +1,2 @@
1
- export { ae as EXP_NOTATION_RE, ad as SEPARATOR, i as altUnitsList, c as checkAndCleanDecimalComma, q as convertAndGetValue, x as convertAndGetValueStrict, p as convertSamePrecision, j as convertTable, g as getAltUnitsListByQuantity, b as getQuantities, o as getUnit, a as getUnitsForQuantity, n as getValue, m as isValueWithUnit, l as label, r as roundNumberWithLabel, s as showAltUnitsList, e as split, t as to, h as toBase, u as unitFromKey, d as unitFromQuantity, f as unum, k as unumWithUnit, v as validateAndClean, z as validateNumber, y as withPrettyUnitLabel, w as withUnit } from './units-BZjqPJ7O.js';
1
+ export { ae as EXP_NOTATION_RE, ad as SEPARATOR, i as altUnitsList, c as checkAndCleanDecimalComma, q as convertAndGetValue, x as convertAndGetValueStrict, p as convertSamePrecision, j as convertTable, g as getAltUnitsListByQuantity, b as getQuantities, o as getUnit, a as getUnitsForQuantity, n as getValue, m as isValueWithUnit, l as label, r as roundNumberWithLabel, s as showAltUnitsList, e as split, t as to, h as toBase, u as unitFromKey, d as unitFromQuantity, f as unum, k as unumWithUnit, v as validateAndClean, z as validateNumber, y as withPrettyUnitLabel, w as withUnit } from './units-BRjJM7rE.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.3.2-beta-4",
3
+ "version": "4.4.0-beta-1",
4
4
  "description": "Package for units management",
5
5
  "keywords": [],
6
6
  "license": "MIT",