Comparing version 0.9.0 to 0.9.1
@@ -31,3 +31,3 @@ import { NumberFormatOptions, RoundingStrategy } from './types'; | ||
export declare function areApproximatelyEqual(a: number, b: number, thresholds?: ApproximateEqualityThreshold): boolean; | ||
export declare function formatFloat(n: number, { fancyUnicode, decimalPlaces, roundingStrategy, digitGroupLength, digitGroupSeparator, fractionalPartSeparator, }: NumberFormatOptions): string; | ||
export declare function formatFloat(n: number, { fancyUnicode, decimalPlaces, roundingStrategy, digitGroupLength, digitGroupSeparator, fractionalPartSeparator, allowNegativeZero, }: NumberFormatOptions): string; | ||
export declare function roundFloat(n: number, strategy: RoundingStrategy): number; |
@@ -1,3 +0,3 @@ | ||
import { T as h, Q as p, f as o } from "./UnitSystem-AlEZmQTi.js"; | ||
import { c as f, a as w, b, U as d, d as y, i as T, r as U } from "./UnitSystem-AlEZmQTi.js"; | ||
import { T as h, Q as p, f as o } from "./UnitSystem-BDOM-ALN.js"; | ||
import { c as f, a as w, b, U as d, d as y, i as T, r as U } from "./UnitSystem-BDOM-ALN.js"; | ||
class e { | ||
@@ -4,0 +4,0 @@ constructor(t, i) { |
import e from "fraction.js"; | ||
import { b as s } from "./UnitSystem-AlEZmQTi.js"; | ||
import { b as s } from "./UnitSystem-BDOM-ALN.js"; | ||
const n = { | ||
@@ -4,0 +4,0 @@ s: {}, |
@@ -22,2 +22,3 @@ import { default as Fraction } from 'fraction.js'; | ||
fancyUnicode?: boolean; | ||
allowNegativeZero?: boolean; | ||
fractionalPartSeparator?: string; | ||
@@ -24,0 +25,0 @@ decimalPlaces?: number; |
{ | ||
"name": "unitlib", | ||
"version": "0.9.0", | ||
"version": "0.9.1", | ||
"description": "A unit library", | ||
@@ -5,0 +5,0 @@ "type": "module", |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
40037
1052