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

@metascraper/helpers

Package Overview
Dependencies
Maintainers
1
Versions
234
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@metascraper/helpers - npm Package Compare versions

Comparing version 3.3.0 to 3.4.1

4

index.js

@@ -7,4 +7,4 @@ 'use strict'

const sanetizeUrl = require('normalize-url')
const { flow, isString } = require('lodash')
const smartquotes = require('smartquotes')
const { flow, isNil } = require('lodash')
const toTitle = require('to-title-case')

@@ -14,3 +14,3 @@ const urlRegex = require('url-regex')

const isUrl = (url, {relative = true} = {}) => {
if (isNil(url)) return false
if (!isString(url)) return false
if (!relative) return urlRegex().test(url)

@@ -17,0 +17,0 @@ return isRelativeUrl(url) || urlRegex().test(url)

@@ -5,3 +5,3 @@ {

"homepage": "https://metascraper.js.org",
"version": "3.3.0",
"version": "3.4.1",
"main": "src/index.js",

@@ -8,0 +8,0 @@ "author": {

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