Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@parca/utilities

Package Overview
Dependencies
Maintainers
4
Versions
81
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@parca/utilities - npm Package Compare versions

Comparing version 0.0.20 to 0.0.21

4

CHANGELOG.md

@@ -6,2 +6,6 @@ # Change Log

## 0.0.21 (2023-07-18)
**Note:** Version bump only for package @parca/utilities
## 0.0.20 (2023-07-14)

@@ -8,0 +12,0 @@

5

dist/index.js

@@ -51,6 +51,7 @@ // Copyright 2022 The Parca Authors

const absoluteNum = isBigInt ? abs(num) : Math.abs(num);
const format = Object.values(knownValueFormatters[unit]);
if (format === undefined || format === null) {
const formatter = knownValueFormatters[unit];
if (formatter == null) {
return num.toString();
}
const format = Object.values(formatter);
const rx = /\.0+$|(\.[0-9]*[1-9])0+$/;

@@ -57,0 +58,0 @@ let i;

{
"name": "@parca/utilities",
"version": "0.0.20",
"version": "0.0.21",
"description": "A set of reusable functions for Parca",

@@ -24,3 +24,3 @@ "main": "dist/index.js",

},
"gitHead": "6598149618b644783f5d638b6a913026cb8adc25"
"gitHead": "5b9b807afe165992f1f7ef3440cf7d29fccfc67f"
}

@@ -74,10 +74,7 @@ // Copyright 2022 The Parca Authors

const absoluteNum = isBigInt ? abs(num) : Math.abs(num);
const format: Unit[] = Object.values(
knownValueFormatters[unit as keyof typeof knownValueFormatters]
);
if (format === undefined || format === null) {
const formatter = knownValueFormatters[unit as keyof typeof knownValueFormatters];
if (formatter == null) {
return num.toString();
}
const format: Unit[] = Object.values(formatter);
const rx = /\.0+$|(\.[0-9]*[1-9])0+$/;

@@ -84,0 +81,0 @@ let i: number;

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