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.10.7 to 3.10.8

8

index.js
'use strict'
const condenseWhitespace = require('condense-whitespace')
const { trim, flow, isEmpty } = require('lodash')
const condenseWhitespace = require('condense-whitespace')
const isRelativeUrl = require('is-relative-url')

@@ -25,7 +25,3 @@ const { resolve: resolveUrl } = require('url')

const getAbsoluteUrl = (baseUrl, relativePath = '') => (
isRelativeUrl(relativePath)
? resolveUrl(baseUrl, relativePath)
: relativePath
)
const getAbsoluteUrl = (baseUrl, relativePath = '') => resolveUrl(baseUrl, relativePath)

@@ -32,0 +28,0 @@ const getUrl = (baseUrl, relativePath, opts) => (

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

"homepage": "https://metascraper.js.org",
"version": "3.10.7",
"version": "3.10.8",
"main": "src/index.js",

@@ -22,4 +22,4 @@ "author": {

"is-relative-url": "~2.0.0",
"lodash": "~4.17.4",
"normalize-url": "~2.0.0",
"lodash": "~4.17.10",
"normalize-url": "github:microlinkhq/normalize-url",
"smartquotes": "~2.3.1",

@@ -26,0 +26,0 @@ "to-title-case": "~1.0.0",

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