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

convert

Package Overview
Dependencies
Maintainers
1
Versions
89
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

convert - npm Package Compare versions

Comparing version 5.1.0 to 5.2.0

4

dist/index.d.ts

@@ -64,3 +64,3 @@ /**

*/
export declare type BestUnitsForUnit<U extends Unit, K extends BestKind = BestKind> = U & BestUnits<K>;
export declare type BestUnitsForUnit<U extends Unit, K extends BestKind = BestKind> = (Time | Length extends U ? Exclude<U, Time> : Time | 'm' extends U ? Exclude<U, 'm'> : U) & BestUnits<K>;

@@ -180,3 +180,3 @@ /**

*/
export declare type MeasuresByUnit<T extends Unit> = UnitsByMeasure<_MeasureKindByUnit<T>>;
export declare type MeasuresByUnit<T extends Unit> = UnitsByMeasure<_MeasureKindByUnit<T>> | (T extends 'm' ? Time : never) | (T extends Time ? 'm' : never);

@@ -183,0 +183,0 @@ /**

{
"name": "convert",
"version": "5.1.0",
"version": "5.2.0",
"description": "The smallest & fastest library for really easy, totally type-safe unit conversions in TypeScript & JavaScript",

@@ -68,3 +68,3 @@ "keywords": [

"@size-limit/preset-small-lib": "11.1.2",
"@swc/core": "1.4.17",
"@swc/core": "1.5.0",
"@tsconfig/node20": "20.1.4",

@@ -77,3 +77,3 @@ "@tsconfig/strictest": "2.0.5",

"just-install": "2.0.1",
"rollup": "4.16.4",
"rollup": "4.17.0",
"size-limit": "11.1.2",

@@ -89,3 +89,3 @@ "typedoc": "0.25.13",

"brotli": true,
"limit": "5.42 KB",
"limit": "5.46 KB",
"path": "./dist/index.js"

@@ -95,3 +95,3 @@ },

"gzip": true,
"limit": "6.83 KB",
"limit": "6.88 KB",
"path": "./dist/index.js"

@@ -101,3 +101,3 @@ },

"brotli": true,
"limit": "5.20 KB",
"limit": "5.22 KB",
"path": "./dist/index.mjs"

@@ -107,3 +107,3 @@ },

"gzip": true,
"limit": "6.59 KB",
"limit": "6.64 KB",
"path": "./dist/index.mjs"

@@ -110,0 +110,0 @@ }

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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