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

scrapq

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

scrapq - npm Package Compare versions

Comparing version 1.3.4 to 1.3.5

4

lib/index.ts

@@ -19,3 +19,3 @@ import { load } from "cheerio";

: $(selector.select, context).text();
return text;
return text || text.trim();
}

@@ -27,3 +27,3 @@ case "attr": {

const attr = el.attr(selector.attr);
return attr.trim();
return attr;
}

@@ -30,0 +30,0 @@ case "count": {

{
"name": "scrapq",
"version": "1.3.4",
"version": "1.3.5",
"description": "Lightweight Typescript library for scrapping html",

@@ -13,3 +13,4 @@ "main": "./dist/index.js",

"dist": "npm run test; npm run build; npm run build:web",
"build": "tsc && npm run build:web && npm run build:dts",
"build": "npm run build:node && npm run build:web && npm run build:dts",
"build:node": "tsc",
"build:web": "webpack --mode=production",

@@ -16,0 +17,0 @@ "build:dts": "dts-bundle --name scrapq --main ./dist/index.d.ts"

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