New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@folklore/hooks

Package Overview
Dependencies
Maintainers
0
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@folklore/hooks - npm Package Compare versions

Comparing version 0.0.57 to 0.0.58

19

dist/cjs.js

@@ -79,11 +79,4 @@ 'use strict';

duration = 0,
autoplay = false,
muted: initialMuted = false,
start = 0,
controls = true,
queueAutoplayNext = false,
queueEnable = false,
sharingEnable = false,
uiLogo = false,
uiStartScreenInfo = true,
embedPlayerId = null,

@@ -172,12 +165,4 @@ onTimeUpdate: customOnTimeUpdate = null,

const playerParams = {
'autoplay-d': autoplay,
// muted,
startTime: start,
controls,
aspectRatio: 'inherit',
'queue-autoplay-next': queueAutoplayNext,
'queue-enable': queueEnable,
'sharing-enable': sharingEnable,
'ui-logo': uiLogo,
'ui-start-screen-info': uiStartScreenInfo
aspectRatio: 'inherit'
};

@@ -205,3 +190,3 @@ let player = currentPlayer;

playerElementRef.current = element;
}, [apiLoaded, elementHasChanged, videoId, width, height, autoplay, start, controls, queueAutoplayNext, queueEnable, sharingEnable, uiLogo, uiStartScreenInfo]);
}, [apiLoaded, elementHasChanged, videoId, width, height, start]);
react.useEffect(() => {

@@ -208,0 +193,0 @@ const {

@@ -68,11 +68,4 @@ import raf from 'raf';

duration = 0,
autoplay = false,
muted: initialMuted = false,
start = 0,
controls = true,
queueAutoplayNext = false,
queueEnable = false,
sharingEnable = false,
uiLogo = false,
uiStartScreenInfo = true,
embedPlayerId = null,

@@ -161,12 +154,4 @@ onTimeUpdate: customOnTimeUpdate = null,

const playerParams = {
'autoplay-d': autoplay,
// muted,
startTime: start,
controls,
aspectRatio: 'inherit',
'queue-autoplay-next': queueAutoplayNext,
'queue-enable': queueEnable,
'sharing-enable': sharingEnable,
'ui-logo': uiLogo,
'ui-start-screen-info': uiStartScreenInfo
aspectRatio: 'inherit'
};

@@ -194,3 +179,3 @@ let player = currentPlayer;

playerElementRef.current = element;
}, [apiLoaded, elementHasChanged, videoId, width, height, autoplay, start, controls, queueAutoplayNext, queueEnable, sharingEnable, uiLogo, uiStartScreenInfo]);
}, [apiLoaded, elementHasChanged, videoId, width, height, start]);
useEffect(() => {

@@ -197,0 +182,0 @@ const {

4

package.json
{
"name": "@folklore/hooks",
"version": "0.0.57",
"version": "0.0.58",
"description": "React hooks",

@@ -52,3 +52,3 @@ "keywords": [

},
"gitHead": "0afeed292591d823f72f5611a078f94c21321d2e",
"gitHead": "eec9d8318fc17f4a40396ee05e15bb93a48c40cc",
"dependencies": {

@@ -55,0 +55,0 @@ "@folklore/events": "^0.0.5",

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