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

media-helper

Package Overview
Dependencies
Maintainers
3
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

media-helper - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

7

media-helper.js

@@ -21,4 +21,3 @@ 'use strict'

return false
}
}
}

@@ -32,4 +31,4 @@

function isURL (str) {
const urlRegex = /^https?:\/\//i
return urlRegex.test(str)
var matcher = /^(?:\w+:)?\/\/([^\s\.]+\.\S{2}|localhost[\:?\d]*)\S*$/
return matcher.test(str)
}

@@ -36,0 +35,0 @@

{
"name": "media-helper",
"version": "1.0.4",
"version": "1.0.5",
"description": "A small module to help detecting and converting files through URL/file sytem",

@@ -5,0 +5,0 @@ "main": "media-helper.js",

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