Socket
Socket
Sign inDemoInstall

best-scheduled-tweets

Package Overview
Dependencies
102
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.4.11 to 1.5.0

2

package.json
{
"name": "best-scheduled-tweets",
"version": "1.4.11",
"version": "1.5.0",
"description": "An opinionated library to extract the best links from scheduled tweets from a given Twitter account using Hootsuite and Facebook",

@@ -5,0 +5,0 @@ "repository": {

@@ -10,5 +10,3 @@ import { coalesce } from 'object-path';

const result = links.map((link) => {
const defaultImage = `https://placeholdit.imgix.net/~text?txtsize=60&bg=ffd300&txtclr=0000000%26text%3Dblog&txt=${encodeURIComponent(
link.metadata.host,
)}&w=500&h=240`;
const defaultImage = 'https://placeimg.com/500/240/tech';
const image = coalesce(link.metadata, ['ogImage', 'twitterImageSrc'], defaultImage);

@@ -15,0 +13,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc