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

react-twitter-widgets

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-twitter-widgets - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0

7

dist/components/AbstractWidget.js

@@ -60,2 +60,9 @@ 'use strict';

$script.ready('twitter-widgets', function () {
if (!window.twttr) {
// If the script tag fails to load, scriptjs.ready() will still trigger.
// Let's avoid the JS exceptions when that happens.
console.error('Failure to load window.twttr, aborting load.');
return;
}
// Delete existing

@@ -62,0 +69,0 @@ _this2.removeChildren(widgetWrapper);

2

package.json
{
"name": "react-twitter-widgets",
"version": "1.1.0",
"version": "1.2.0",
"description": "Twitter widgets as React components",

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

@@ -29,2 +29,9 @@ import React from 'react'

$script.ready('twitter-widgets', () => {
if (!window.twttr) {
// If the script tag fails to load, scriptjs.ready() will still trigger.
// Let's avoid the JS exceptions when that happens.
console.error('Failure to load window.twttr, aborting load.');
return;
}
// Delete existing

@@ -31,0 +38,0 @@ this.removeChildren(widgetWrapper)

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