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

electron-dl-manager

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

electron-dl-manager - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

2

package.json
{
"name": "electron-dl-manager",
"version": "1.0.1",
"version": "1.0.2",
"description": "A library for implementing file downloads in Electron with 'save as' dialog and id support.",

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

@@ -96,3 +96,3 @@ # Electron File Download Manager

manager.download({
downloadId = manager.download({
window: browserWindow,

@@ -103,4 +103,2 @@ url,

onDownloadStarted: async ({ id, item, resolvedFilename }) => {
downloadId = id;
// Send the download id back to the renderer along

@@ -138,2 +136,5 @@ // with some other data

});
// Pause the download
manager.pauseDownload(downloadId);
});

@@ -165,6 +166,6 @@ ```

Starts a file download.
Starts a file download. Returns the `id` of the download.
```typescript
download(params: DownloadParams): void
download(params: DownloadParams): string
```

@@ -171,0 +172,0 @@

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