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

react-lite-youtube-embed

Package Overview
Dependencies
Maintainers
1
Versions
120
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-lite-youtube-embed - npm Package Compare versions

Comparing version 2.2.1 to 2.2.2

2

dist/index.d.ts

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

declare type imgResolution = "default" | "mqdefault" | "hqdefault" | "sddefault" | "maxresdefault";
export declare type imgResolution = "default" | "mqdefault" | "hqdefault" | "sddefault" | "maxresdefault";
interface LiteYouTube {

@@ -3,0 +3,0 @@ announce?: string;

/**
* react-lite-youtube-embed v2.2.1
* react-lite-youtube-embed v2.2.2
* https://github.com/ibrahimcesar/react-lite-youtube-embed.git

@@ -80,5 +80,9 @@ *

return;
onIframeAdded();
setIframe(true);
};
React.useEffect(function () {
if (iframe) {
onIframeAdded();
}
}, [iframe]);
return (React.createElement(React.Fragment, null,

@@ -85,0 +89,0 @@ React.createElement("link", { rel: "preload", href: posterUrl, as: "image" }),

/**
* react-lite-youtube-embed v2.2.1
* react-lite-youtube-embed v2.2.2
* https://github.com/ibrahimcesar/react-lite-youtube-embed.git

@@ -102,5 +102,9 @@ *

return;
onIframeAdded();
setIframe(true);
};
React__namespace.useEffect(function () {
if (iframe) {
onIframeAdded();
}
}, [iframe]);
return (React__namespace.createElement(React__namespace.Fragment, null,

@@ -107,0 +111,0 @@ React__namespace.createElement("link", { rel: "preload", href: posterUrl, as: "image" }),

{
"name": "react-lite-youtube-embed",
"version": "2.2.1",
"version": "2.2.2",
"description": "A private by default, faster and cleaner YouTube embed component for React applications",

@@ -5,0 +5,0 @@ "main": "dist/index.jsx",

@@ -6,6 +6,7 @@ <div align="center">

[![TypeScript](https://badges.frapsoft.com/typescript/code/typescript.svg?v=101)](https://github.com/ellerbrock/typescript-badges/)
[![TypeScript](https://badges.frapsoft.com/typescript/code/typescript.svg?v=101)](https://www.typescriptlang.org/)
[![Version](https://img.shields.io/npm/v/react-lite-youtube-embed?label=latest%20version)](https://www.npmjs.com/package/react-lite-youtube-embed)&nbsp; &nbsp;[![License](https://badgen.net/github/license/ibrahimcesar/react-lite-youtube-embed)](./LICENSE)&nbsp; &nbsp;![GitHub issues by-label](https://img.shields.io/github/issues/ibrahimcesar/react-lite-youtube-embed/bug)
[![Version](https://img.shields.io/npm/v/react-lite-youtube-embed?label=latest%20version)](https://www.npmjs.com/package/react-lite-youtube-embed)&nbsp; &nbsp;&nbsp; &nbsp;![Total Downloads](https://img.shields.io/npm/dt/react-lite-youtube-embed?color=%23FF0000&logo=npm)&nbsp; &nbsp;&nbsp; &nbsp;[![License](https://badgen.net/github/license/ibrahimcesar/react-lite-youtube-embed)](./LICENSE)&nbsp; &nbsp; &nbsp;![GitHub issues by-label](https://img.shields.io/github/issues/ibrahimcesar/react-lite-youtube-embed/bug)
<p>Developed in πŸ‡§πŸ‡· <span role="img" aria-label="Flag for Brazil">Brazil</p>

@@ -17,3 +18,3 @@

## [View Demo](https://react-lite-youtube-embed.ibrahimcesar.cloud/)
## [View Demo](https://main.d36j4m8wacytqv.amplifyapp.com)

@@ -20,0 +21,0 @@ </div>

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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