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

super-media-element

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

super-media-element - npm Package Compare versions

Comparing version 1.2.3 to 1.2.4

2

package.json
{
"name": "super-media-element",
"version": "1.2.3",
"version": "1.2.4",
"description": "Helps you create a custom element w/ a HTMLMediaElement API.",

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

@@ -58,3 +58,3 @@ /**

const template = document?.createElement('template');
const template = globalThis.document?.createElement('template');
if (template) {

@@ -433,4 +433,4 @@ template.innerHTML = `

export const SuperVideoElement = document && SuperMediaMixin(HTMLElement, { tag: 'video' });
export const SuperVideoElement = globalThis.document ? SuperMediaMixin(HTMLElement, { tag: 'video' }) : class {};
export const SuperAudioElement = document && SuperMediaMixin(HTMLElement, { tag: 'audio' });
export const SuperAudioElement = globalThis.document ? SuperMediaMixin(HTMLElement, { tag: 'audio' }) : class {};
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