Socket
Socket
Sign inDemoInstall

corva-convert-units

Package Overview
Dependencies
Maintainers
0
Versions
87
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

corva-convert-units - npm Package Compare versions

Comparing version 1.22.0 to 1.23.0

7

CHANGELOG.md
# Changelog
## [1.23.0](https://github.com/corva-ai/corva-convert-units/compare/v1.22.0...v1.23.0) (2024-08-28)
### Features
* **DRI-1301:** update tests, make code babel friendly ([#62](https://github.com/corva-ai/corva-convert-units/issues/62)) ([ff75e1d](https://github.com/corva-ai/corva-convert-units/commit/ff75e1d8532b4c8fae465c2a1ba3c53aa531944b))
## [1.22.0](https://github.com/corva-ai/corva-convert-units/compare/v1.21.0...v1.22.0) (2024-08-22)

@@ -4,0 +11,0 @@

2

lib/index.js

@@ -461,3 +461,3 @@ const unitBucketMapping = require('./definitions/unitBucketMapping');

const unitAliases = Object.entries(units).reduce((unitRes, [abbr, unit]) => {
for (const alias of unit.aliases ?? []) {
for (const alias of unit.aliases || []) {
unitRes[alias] = abbr;

@@ -464,0 +464,0 @@ }

{
"name": "corva-convert-units",
"version": "1.22.0",
"version": "1.23.0",
"description": "Convert between quantities in different units",

@@ -5,0 +5,0 @@ "main": "lib",

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