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

node-red-contrib-twitter

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-red-contrib-twitter - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

2

package.json
{
"name": "node-red-contrib-twitter",
"version": "1.0.1",
"version": "1.0.2",
"description": "NodeRED nodes to wrap the v1.1 of the Twitter API",

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

@@ -34,10 +34,12 @@ var Twitter = require('twitter');

var payload = typeof msg.payload === 'object' ? msg.payload : {};
var attrs = ['q','geocode','lang','result_type','count','until','since_id','max_id','include_entities'];
for (var attr of attrs) {
if (n[attr]) {
msg.payload[attr] = n[attr];
payload[attr] = n[attr];
}
}
_internals.search(msg.payload, creds, function(err, result){
_internals.search(payload, creds, function(err, result){

@@ -44,0 +46,0 @@ msg.payload = result;

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