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

mirax-player

Package Overview
Dependencies
Maintainers
1
Versions
144
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mirax-player - npm Package Compare versions

Comparing version 1.1.4-beta.3 to 1.1.4-beta.4

11

dist/progressColor.js
const progressColor = (color) => {
const styleElement = document.createElement('style');
styleElement.textContent = `.progress-bar::-webkit-progress-value { background-color: ${color}; }`;
document.head.appendChild(styleElement);
return styleElement;
const injectProgress = document.createElement('style');
injectProgress.textContent = `.progress-bar::-webkit-progress-value { background-color: ${color}; }`;
document.head.appendChild(injectProgress);
return injectProgress;
};
export default progressColor;
export default progressColor;

@@ -1,2 +0,2 @@

export const progressFrame = (color) => {
const progressFrame = (color) => {
const injectFrame = document.createElement('style');

@@ -7,2 +7,3 @@ injectFrame.textContent = `.progress-bar::-webkit-progress-bar { background-color: ${color}; }`;

};
export default progressFrame;

@@ -12,4 +12,5 @@ //index.js - This is your package's entry point

// Re-export the progressColor function as both default and named export
// Re-export the function as both default and named export
export { default as progressColor } from './dist/progressColor';
export { default as progressFrame } from './dist/progressFrame';

@@ -16,0 +17,0 @@

{
"name": "mirax-player",
"version": "1.1.4-beta.3",
"version": "1.1.4-beta.4",
"description": "A simple video player for react",

@@ -5,0 +5,0 @@ "main": "index.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