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

@transloadit/prettier-bytes

Package Overview
Dependencies
Maintainers
6
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@transloadit/prettier-bytes - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

2

dist/prettierBytes.d.ts

@@ -1,1 +0,1 @@

export default function prettierBytes(num: $TSFixMe): string;
export default function prettierBytes(num: number): string;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
function prettierBytes(num) {
if (typeof num !== 'number' || isNaN(num)) {
if (typeof num !== 'number' || Number.isNaN(num)) {
throw new TypeError(`Expected a number, got ${typeof num}`);

@@ -6,0 +6,0 @@ }

{
"name": "@transloadit/prettier-bytes",
"license": "MIT",
"version": "0.1.2",
"version": "0.1.3",
"publishConfig": {

@@ -23,6 +23,6 @@ "access": "public"

"scripts": {
"tsc": "tsc",
"tsc": "tsc --build --clean && tsc --build",
"test": "echo \"Error: run tests from root\" && exit 1"
},
"gitHead": "5c487499031f01adcc6869b3a0b7a4ac3d7d21c0"
"gitHead": "b9159b6f037336d9325656c35b9b15023d5c1ce7"
}

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