Socket
Socket
Sign inDemoInstall

cartoon-catch

Package Overview
Dependencies
21
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.1.1 to 2.1.2

4

dist/download.js

@@ -15,2 +15,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.downloadFile = exports.download = void 0;
const progress_1 = __importDefault(require("progress"));

@@ -54,2 +55,3 @@ const fs_1 = __importDefault(require("fs"));

}
exports.download = download;
function downloadFile(image, options, callback) {

@@ -109,2 +111,2 @@ const { timeout = 5000, gainInterval = 3000, againTimes = 0, headers = {} } = options || {};

}
exports.default = download;
exports.downloadFile = downloadFile;

@@ -17,3 +17,3 @@ "use strict";

const debug_1 = __importDefault(require("debug"));
const download_1 = __importDefault(require("./download"));
const download_1 = require("./download");
const helper_1 = require("./helper");

@@ -87,3 +87,3 @@ const log = debug_1.default.debug('debug');

}
yield download_1.default(arr, Object.assign({ title: fileName }, options.downloadOptions));
yield download_1.download(arr, Object.assign({ title: fileName }, options.downloadOptions));
}

@@ -90,0 +90,0 @@ else {

{
"name": "cartoon-catch",
"version": "2.1.1",
"version": "2.1.2",
"description": "cartoon-catch",

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

@@ -105,2 +105,5 @@ import Progress from 'progress'

export default download
export {
download,
downloadFile
}
import cheerio from 'cheerio'
import Debug from 'debug'
import download from './download'
import { download } from './download'
import { OptionsInterface } from './interface/main.interface'

@@ -6,0 +6,0 @@ import { isArray, getHost, getHtml } from './helper'

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc