Socket
Socket
Sign inDemoInstall

@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.49 to 0.0.50

4

CHANGELOG.md

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

## 0.0.50 (2024-01-03)
**Note:** Version bump only for package @parca/utilities
## 0.0.49 (2023-12-14)

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

8

dist/time.js

@@ -99,11 +99,11 @@ // Copyright 2022 The Parca Authors

if (durationInSeconds <= getTotalSeconds({ minutes: 4 })) {
return 'H:mm:ss';
return 'HH:mm:ss';
}
if (durationInSeconds <= getTotalSeconds({ hours: 13 })) {
return 'H:mm';
return 'HH:mm';
}
if (durationInSeconds <= getTotalSeconds({ hours: 25 })) {
return 'H:mm d/M';
return 'HH:mm M/d';
}
return 'd/M';
return 'M/d';
};

@@ -110,0 +110,0 @@ export const getStepDuration = (start, end, stepCount = 1000) => {

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

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

},
"gitHead": "39726283538379788de22955a17768ebe2da2fec"
"gitHead": "4f536249850d27a79b365d3d796ca8ff692896d5"
}

@@ -142,11 +142,11 @@ // Copyright 2022 The Parca Authors

if (durationInSeconds <= getTotalSeconds({minutes: 4})) {
return 'H:mm:ss';
return 'HH:mm:ss';
}
if (durationInSeconds <= getTotalSeconds({hours: 13})) {
return 'H:mm';
return 'HH:mm';
}
if (durationInSeconds <= getTotalSeconds({hours: 25})) {
return 'H:mm d/M';
return 'HH:mm M/d';
}
return 'd/M';
return 'M/d';
};

@@ -153,0 +153,0 @@

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