New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

metascraper-video

Package Overview
Dependencies
Maintainers
1
Versions
260
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

metascraper-video - npm Package Compare versions

Comparing version 3.11.0 to 3.11.4

12

index.js

@@ -23,13 +23,15 @@ 'use strict'

const value = rule(htmlDom)
return fn(url, value)
return fn(value, url)
}
const wrap = createWrapper((url, value) => isUrl(value) && getUrl(url, value))
const wrap = createWrapper((value, url) => isUrl(value) && getUrl(url, value))
const wrapVideo = createWrapper((url, value) => {
const validator = (value, url) => {
if (!isUrl(value)) return false
const urlValue = getUrl(url, value)
return isVideoUrl(urlValue) && urlValue
})
}
const wrapVideo = createWrapper(validator)
/**

@@ -52,1 +54,3 @@ * Rules.

})
module.exports.validator = validator

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

"homepage": "https://metascraper.js.org",
"version": "3.11.0",
"version": "3.11.4",
"main": "index.js",

@@ -20,3 +20,3 @@ "author": {

"dependencies": {
"@metascraper/helpers": "^3.10.8",
"@metascraper/helpers": "^3.11.4",
"video-extensions": "~1.1.0"

@@ -23,0 +23,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