New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

unitlib

Package Overview
Dependencies
Maintainers
0
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

unitlib - npm Package Compare versions

Comparing version 0.9.0 to 0.9.1

dist/UnitSystem-BDOM-ALN.js

2

dist/float.d.ts

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc