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

ipull

Package Overview
Dependencies
Maintainers
1
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ipull - npm Package Compare versions

Comparing version 3.0.5 to 3.0.6

1

dist/download/transfer-visualize/transfer-cli/loading-animation/base-loading-animation.d.ts

@@ -16,2 +16,3 @@ import UpdateManager from "stdout-update";

stop(): void;
private _processExit;
}

10

dist/download/transfer-visualize/transfer-cli/loading-animation/base-loading-animation.js

@@ -12,3 +12,3 @@ import UpdateManager from "stdout-update";

this.options = options;
this.stop = this.stop.bind(this);
this._processExit = this._processExit.bind(this);
}

@@ -19,3 +19,3 @@ _render() {

start() {
process.on("exit", this.stop);
process.on("SIGINT", this._processExit);
this.stdoutManager.hook();

@@ -30,6 +30,10 @@ this._intervalId = setInterval(this._render.bind(this), this.options.updateIntervalMs ?? DEFAULT_UPDATE_INTERVAL_MS);

this._intervalId = undefined;
process.off("exit", this.stop);
process.off("SIGINT", this._processExit);
}
}
_processExit() {
this.stop();
process.exit(0);
}
}
//# sourceMappingURL=base-loading-animation.js.map

@@ -30,4 +30,5 @@ import UpdateManager from "stdout-update";

stop(): void;
private _processExit;
updateStatues(statues: FormattedStatus[]): void;
protected _logUpdate(text: string): void;
}

@@ -34,12 +34,16 @@ import UpdateManager from "stdout-update";

});
this.stop = this.stop.bind(this);
this._processExit = this._processExit.bind(this);
}
start() {
this.stdoutManager.hook();
process.on("exit", this.stop);
process.on("SIGINT", this._processExit);
}
stop() {
this.stdoutManager.unhook(false);
process.off("exit", this.stop);
process.off("SIGINT", this._processExit);
}
_processExit() {
this.stop();
process.exit(0);
}
updateStatues(statues) {

@@ -46,0 +50,0 @@ if (this.myCLILevel !== TransferCli.activeCLILevel) {

{
"name": "ipull",
"version": "3.0.5",
"version": "3.0.6",
"description": "The only file downloader you'll ever need. For node.js and the browser, CLI and library for fast and reliable file downloads.",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

Sorry, the diff of this file is not supported yet

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