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

thank-you-tweet-button-001

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

thank-you-tweet-button-001 - npm Package Compare versions

Comparing version 3.0.3 to 3.0.4

2

dist/cjs/TweetButton.js

@@ -17,3 +17,3 @@ "use strict";

function TweetButton(props) {
var tweetURL = "https://twitter.com/intent/tweet?text=Thank+you,+%40oluwatobiss.+Your+book+helped+me+create,+test,+and+publish+".concat(props.number && props.number > 1 ? props.number : "an", "+NPM+").concat(props.number && props.number > 1 ? "packages" : "package", ".%0A%0AMy+Favorite:+").concat(props.bestNPMPackage, "%0A%0ABook's+Rating:+").concat(props.rating, "-star+rating!+").concat(generateStarIcons(props.rating), "+%0A%0ACreating%20NPM%20Package:%20React%20TypeScript%20Guide%0A%0Ahttps%3A%2F%2Famzn.to/3qxnEdF");
var tweetURL = "https://twitter.com/intent/tweet?text=Thank+you,+%40oluwatobiss.+Your+book+helped+me+create,+test,+and+publish+".concat(props.number && props.number > 1 ? props.number : "an", "+NPM+").concat(props.number && props.number > 1 ? "packages" : "package", ".%0A%0AMy+Favorite:+").concat(props.bestNPMPackage, "%0A%0ABook's+Rating:+").concat(props.rating, "-star+rating!+").concat(generateStarIcons(props.rating), "+%0A%0ACreating%20NPM%20Package:%20React%20TypeScript%20Guide%0A%0Ahttps%3A%2F%2Famzn.to/3R1M0XU");
return props.rating && props.bestNPMPackage ? (react_1.default.createElement("section", { className: "tweet-btn-container" },

@@ -20,0 +20,0 @@ react_1.default.createElement("a", { className: "tweet-button", href: tweetURL, target: "_blank" }, "Post a thank you message"))) : (react_1.default.createElement("div", { style: {

@@ -12,3 +12,3 @@ import React from "react";

export default function TweetButton(props) {
var tweetURL = "https://twitter.com/intent/tweet?text=Thank+you,+%40oluwatobiss.+Your+book+helped+me+create,+test,+and+publish+".concat(props.number && props.number > 1 ? props.number : "an", "+NPM+").concat(props.number && props.number > 1 ? "packages" : "package", ".%0A%0AMy+Favorite:+").concat(props.bestNPMPackage, "%0A%0ABook's+Rating:+").concat(props.rating, "-star+rating!+").concat(generateStarIcons(props.rating), "+%0A%0ACreating%20NPM%20Package:%20React%20TypeScript%20Guide%0A%0Ahttps%3A%2F%2Famzn.to/3qxnEdF");
var tweetURL = "https://twitter.com/intent/tweet?text=Thank+you,+%40oluwatobiss.+Your+book+helped+me+create,+test,+and+publish+".concat(props.number && props.number > 1 ? props.number : "an", "+NPM+").concat(props.number && props.number > 1 ? "packages" : "package", ".%0A%0AMy+Favorite:+").concat(props.bestNPMPackage, "%0A%0ABook's+Rating:+").concat(props.rating, "-star+rating!+").concat(generateStarIcons(props.rating), "+%0A%0ACreating%20NPM%20Package:%20React%20TypeScript%20Guide%0A%0Ahttps%3A%2F%2Famzn.to/3R1M0XU");
return props.rating && props.bestNPMPackage ? (React.createElement("section", { className: "tweet-btn-container" },

@@ -15,0 +15,0 @@ React.createElement("a", { className: "tweet-button", href: tweetURL, target: "_blank" }, "Post a thank you message"))) : (React.createElement("div", { style: {

{
"name": "thank-you-tweet-button-001",
"version": "3.0.3",
"version": "3.0.4",
"description": "Easy-to-use tweet button for saying thank you to @oluwatobiss.",

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

> **Note**
>
> This package is a project in the [Creating NPM Package book](https://amzn.to/3n5pMHt).
> This package is a project in the [Creating NPM Package book](https://amzn.to/3R1M0XU).

@@ -28,3 +28,3 @@ # Thank You Tweet Button 001

```
npm install @codesweetly/react-youtube-playlist
npm install thank-you-tweet-button-001
```

@@ -35,3 +35,3 @@

```
yarn add @codesweetly/react-youtube-playlist
yarn add thank-you-tweet-button-001
```

@@ -42,3 +42,3 @@

```
pnpm add @codesweetly/react-youtube-playlist
pnpm add thank-you-tweet-button-001
```

@@ -45,0 +45,0 @@

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