Socket
Socket
Sign inDemoInstall

acuter

Package Overview
Dependencies
54
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.1 to 1.0.2

prank.js

12

index.js

@@ -53,4 +53,3 @@ 'use strict';

}
var url = mediaURL;
return got(url).then(function (res) {
return got(mediaURL).then(function (res) {
var $ = cheerio.load(res.body);

@@ -69,4 +68,3 @@ return $('.AdaptiveMedia-singlePhoto .AdaptiveMedia-photoContainer img').attr('src') || null;

}
var url = getURL;
return got(url).then(function (res) {
return got(getURL).then(function (res) {
var $ = cheerio.load(res.body);

@@ -85,4 +83,3 @@ return matchRegEx(($('.PlayableMedia-player').attr('style'))) || null;

}
var url = getURL;
return got(url).then(function (res) {
return got(getURL).then(function (res) {
var $ = cheerio.load(res.body);

@@ -103,4 +100,3 @@ var getMediaLink = matchRegEx(($('.PlayableMedia-player').attr('style'))) || null;

}
var url = tweetURL;
return got(url).then(function (res) {
return got(tweetURL).then(function (res) {
var $ = cheerio.load(res.body);

@@ -107,0 +103,0 @@ var getMediaLink = matchRegEx(($('.PlayableMedia-player').attr('style'))) || null;

{
"name": "acuter",
"version": "1.0.1",
"version": "1.0.2",
"description": "NodeJS API for Twitter media",

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

@@ -27,2 +27,3 @@ <h1 align="center">

__Options :__ <br><code>__profile__ &nbsp;:&nbsp; username</code> <br> <code>__cover__ &nbsp;&nbsp;&nbsp;:&nbsp; username</code> <br> <code>__single__ &nbsp;&nbsp;:&nbsp; tweet's link</code> <br> <code>__preview__ &nbsp;:&nbsp; tweet's link</code> <br> <code>__gif__ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:&nbsp; tweet's link</code>
<br> <code>__vidPrev__ &nbsp;:&nbsp; tweet's link</code>

@@ -29,0 +30,0 @@ ## Usage

Sorry, the diff of this file is not supported yet

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