@oliasoft-open-source/units 4.3.2-beta-3 → 4.3.2-beta-4

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-D2XQjYwC.cjs');
3
+ var numbers = require('./units-BT1FvRiO.cjs');
4
4
  require('fraction.js');
5
5
 
6
6
 
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-BIJxbrYz.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-BZjqPJ7O.js';
2
2
  import 'fraction.js';
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var numbers = require('../units-D2XQjYwC.cjs');
3
+ var numbers = require('../units-BT1FvRiO.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-BIJxbrYz.js';
1
+ export { a1 as isScientificStringNum, a0 as isValidNum, _ as toNum, $ as toString } from '../units-BZjqPJ7O.js';
2
2
  import 'fraction.js';
@@ -1666,7 +1666,7 @@ const KNOWN_CONVERSIONS = Object.freeze({
1666
1666
  "m/s2|g": (val) => val / 9.81,
1667
1667
  // sensor magnetometer
1668
1668
  "Gs|nT": (val) => val * 1e5,
1669
- "nT/Gs": (val) => val / 1e5
1669
+ "nT|Gs": (val) => val / 1e5
1670
1670
  });
1671
1671
  const DEPRECATED_UNITS = Object.freeze({
1672
1672
  "N-m": "Nm",
@@ -1761,12 +1761,6 @@ const INTERMEDIATE_CONVERSIONS = Object.freeze({
1761
1761
  "m/min": "m/s",
1762
1762
  "m/h": "m/s",
1763
1763
  mph: "m/s",
1764
- // sensorAccelerometer
1765
- "g": "m/s2",
1766
- "m/s2": "g",
1767
- // sensorMagnetometer
1768
- "Gs": "nT",
1769
- "nT": "Gs",
1770
1764
  // FLOW RATE
1771
1765
  "ft3/s": "m3/s",
1772
1766
  lpm: "m3/s",
@@ -1664,7 +1664,7 @@ const KNOWN_CONVERSIONS = Object.freeze({
1664
1664
  "m/s2|g": (val) => val / 9.81,
1665
1665
  // sensor magnetometer
1666
1666
  "Gs|nT": (val) => val * 1e5,
1667
- "nT/Gs": (val) => val / 1e5
1667
+ "nT|Gs": (val) => val / 1e5
1668
1668
  });
1669
1669
  const DEPRECATED_UNITS = Object.freeze({
1670
1670
  "N-m": "Nm",
@@ -1759,12 +1759,6 @@ const INTERMEDIATE_CONVERSIONS = Object.freeze({
1759
1759
  "m/min": "m/s",
1760
1760
  "m/h": "m/s",
1761
1761
  mph: "m/s",
1762
- // sensorAccelerometer
1763
- "g": "m/s2",
1764
- "m/s2": "g",
1765
- // sensorMagnetometer
1766
- "Gs": "nT",
1767
- "nT": "Gs",
1768
1762
  // FLOW RATE
1769
1763
  "ft3/s": "m3/s",
1770
1764
  lpm: "m3/s",
package/dist/units.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var numbers = require('./units-D2XQjYwC.cjs');
3
+ var numbers = require('./units-BT1FvRiO.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-BIJxbrYz.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-BZjqPJ7O.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-3",
3
+ "version": "4.3.2-beta-4",
4
4
  "description": "Package for units management",
5
5
  "keywords": [],
6
6
  "license": "MIT",