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

cartoon-catch

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cartoon-catch - npm Package Compare versions

Comparing version 2.1.2 to 2.1.3

2

dist/helper/index.js

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

exports.getHost = getHost;
function getHtml(pageUrl, options) {
function getHtml(pageUrl, options = {}) {
return __awaiter(this, void 0, void 0, function* () {

@@ -54,0 +54,0 @@ return yield node_fetch_1.default(pageUrl, {

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

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

@@ -21,3 +21,3 @@ import nodeFetch from 'node-fetch'

async function getHtml(pageUrl: string, options: getHtmlInterface): Promise<string|null> {
async function getHtml(pageUrl: string, options: getHtmlInterface = {}): Promise<string|null> {
return await nodeFetch(pageUrl, {

@@ -24,0 +24,0 @@ method: 'get',

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