You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

jwplayer-video-element

Package Overview
Dependencies
Maintainers
2
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jwplayer-video-element - npm Package Compare versions

Comparing version

to
1.3.2

9

dist/cjs/react.js

@@ -68,2 +68,3 @@ "use client";

displayName,
defaultProps,
toAttributeName = defaultToAttributeName,

@@ -103,3 +104,8 @@ toAttributeValue = defaultToAttributeValue

if (attrName && IS_REACT_19_OR_NEWER) {
reactProps[attrName] = v;
const attrValueFromDefault = defaultToAttributeValue(v);
if (attrValue !== attrValueFromDefault) {
reactProps[attrName] = attrValue;
} else {
reactProps[attrName] = v;
}
}

@@ -150,2 +156,3 @@ }

return React2.createElement(tagName, {
...defaultProps,
...reactProps,

@@ -152,0 +159,0 @@ ref: React2.useCallback(

@@ -36,2 +36,3 @@ "use client";

displayName,
defaultProps,
toAttributeName = defaultToAttributeName,

@@ -71,3 +72,8 @@ toAttributeValue = defaultToAttributeValue

if (attrName && IS_REACT_19_OR_NEWER) {
reactProps[attrName] = v;
const attrValueFromDefault = defaultToAttributeValue(v);
if (attrValue !== attrValueFromDefault) {
reactProps[attrName] = attrValue;
} else {
reactProps[attrName] = v;
}
}

@@ -118,2 +124,3 @@ }

return React2.createElement(tagName, {
...defaultProps,
...reactProps,

@@ -120,0 +127,0 @@ ref: React2.useCallback(

4

package.json
{
"name": "jwplayer-video-element",
"version": "1.3.1",
"version": "1.3.2",
"description": "A custom element for the JW player with an API that matches the `<video>` API",

@@ -58,3 +58,3 @@ "author": "@muxinc",

"devDependencies": {
"build-react-wrapper": "^0.2.0",
"build-react-wrapper": "^0.2.1",
"npm-run-all": "^4.1.5",

@@ -61,0 +61,0 @@ "wet-run": "^1.2.5"