Socket
Socket
Sign inDemoInstall

scrape-util

Package Overview
Dependencies
0
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.1 to 1.0.2

6

index.js

@@ -42,11 +42,7 @@ const path = require('path');

function getHTML(url, name, transform = $) {
function getHTML(url, transform = $) {
return () => {
console.log(`Retrieving ${name} content.`);
return request({
uri: url,
transform
}).then(data => {
console.log(`Retrieved ${name} content.`);
return data;
});

@@ -53,0 +49,0 @@ };

2

package.json
{
"name": "scrape-util",
"version": "1.0.1",
"version": "1.0.2",
"description": "Utilities to assist in scraping HTML pages in NodeJS.",

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

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc