Socket
Socket
Sign inDemoInstall

google-shopping-list

Package Overview
Dependencies
69
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.2 to 1.0.3

3

index.js

@@ -78,3 +78,4 @@ const puppeteer = require('puppeteer'),

allItems.forEach(res => items.push(res.innerHTML.trim())); // Must use a forEach as it is a nodeList not an array, convert to array
items.pop(); // Removes last element from array as it is not a list item
// If the end of array is the 'checked off' list item remove it
if(items[items.length - 1].includes("checked off")) items.pop();
return items;

@@ -81,0 +82,0 @@ }, SHOPPINGLIST_ITEMS) );

{
"name": "google-shopping-list",
"version": "1.0.2",
"version": "1.0.3",
"description": "Scrapes the shopping list from shoppinglist.google.com as Google does not seem to have an API for this.",

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

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