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

youtube-video-element

Package Overview
Dependencies
Maintainers
3
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

youtube-video-element - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

2

package.json
{
"name": "youtube-video-element",
"version": "0.1.0",
"version": "0.1.1",
"description": "Custom element (web component) for the YouTube player.",

@@ -5,0 +5,0 @@ "type": "module",

@@ -8,3 +8,3 @@ // https://developers.google.com/youtube/iframe_api_reference

const MATCH_SRC =
/(?:youtu\.be\/|youtube\.com\/(?:embed\/|v\/|watch\?v=|watch\?.+&v=))((\w|-){11})/;
/(?:youtu\.be\/|youtube\.com\/(?:shorts\/|embed\/|v\/|watch\?v=|watch\?.+&v=))((\w|-){11})/;

@@ -11,0 +11,0 @@ const templateShadowDOM = document.createElement('template');

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