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

@teambit/toolbox.fs.progress-bar-file-extractor

Package Overview
Dependencies
Maintainers
18
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@teambit/toolbox.fs.progress-bar-file-extractor - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

package-tar/teambit-toolbox.fs.progress-bar-file-extractor-0.0.4.tgz

6

dist/progress-bar-file-extractor.js

@@ -67,8 +67,8 @@ "use strict";

const rate = processedBytes / elapsed;
const rateh = `${pretty_bytes_1.default(rate)}/s`;
const rateh = `${(0, pretty_bytes_1.default)(rate)}/s`;
const estimated = maxBytes / rate;
// const progress = this.done / this.total
const eta = estimated - elapsed;
const etaDate = date_fns_1.addSeconds(new Date(), eta);
const etah = date_fns_1.formatDistanceToNow(etaDate, { includeSeconds: true });
const etaDate = (0, date_fns_1.addSeconds)(new Date(), eta);
const etah = (0, date_fns_1.formatDistanceToNow)(etaDate, { includeSeconds: true });
bar.update(processedBytes, { speed: rateh, etah: etah });

@@ -75,0 +75,0 @@ }

{
"name": "@teambit/toolbox.fs.progress-bar-file-extractor",
"version": "0.0.3",
"version": "0.0.4",
"homepage": "https://bit.dev/teambit/toolbox/fs/progress-bar-file-extractor",

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

"name": "fs/progress-bar-file-extractor",
"version": "0.0.3"
"version": "0.0.4"
},

@@ -29,3 +29,3 @@ "dependencies": {

"peerDependencies": {},
"license": "SEE LICENSE IN LICENSE",
"license": "Apache-2.0",
"bit": {

@@ -32,0 +32,0 @@ "bindingPrefix": "@teambit",

@@ -12,10 +12,10 @@ {

"jsx": "react",
"allowJs": true,
"composite": true,
"declaration": true,
"sourceMap": true,
"skipLibCheck": true,
"outDir": "dist",
"moduleResolution": "node",
"esModuleInterop": true,
"outDir": "dist",
"allowJs": true,
"composite": true,
"rootDir": "."

@@ -22,0 +22,0 @@ },

@@ -24,2 +24,17 @@ declare module '*.module.css' {

declare module '*.css' {
const classes: { readonly [key: string]: string };
export default classes;
}
declare module '*.sass' {
const classes: { readonly [key: string]: string };
export default classes;
}
declare module '*.scss' {
const classes: { readonly [key: string]: string };
export default classes;
}
declare module '*.mdx' {

@@ -26,0 +41,0 @@ const component: any;

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