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

cloudant-follow

Package Overview
Dependencies
Maintainers
4
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cloudant-follow - npm Package Compare versions

Comparing version 0.18.3-SNAPSHOT.3 to 0.18.3-SNAPSHOT.4

8

lib/feed.js

@@ -101,3 +101,3 @@ // Copyright © 2017, 2018 IBM Corp. All rights reserved.

if (typeof opts === 'string') {
opts = { 'db': opts };
opts = { db: opts };
}

@@ -167,3 +167,3 @@

var uri = self.is_db_updates ? self.db.replace(/\/_db_updates$/, '') : self.db;
var req = { 'uri': uri, 'headers': headers };
var req = { uri: uri, headers: headers };

@@ -684,3 +684,3 @@ req = self.httpAgent(req, db_response);

var req = lib.JDUP({ 'query': self.query_params });
var req = lib.JDUP({ query: self.query_params });
var filter_args;

@@ -783,3 +783,3 @@

module.exports = { 'Feed': Feed };
module.exports = { Feed: Feed };

@@ -786,0 +786,0 @@ /*

@@ -28,4 +28,4 @@ // Copyright © 2017 IBM Corp. All rights reserved.

var timeouts = {
'setTimeout': setTimeout,
'clearTimeout': clearTimeout
setTimeout: setTimeout,
clearTimeout: clearTimeout
};

@@ -48,10 +48,10 @@

return {
'trace': noop,
'debug': debug('follow:' + name + ':debug'),
'info': debug('follow:' + name + ':info'),
'warn': debug('follow:' + name + ':warn'),
'error': debug('follow:' + name + ':error'),
'fatal': debug('follow:' + name + ':fatal'),
'level': { 'level': 0, 'levelStr': 'noop' },
'setLevel': noop
trace: noop,
debug: debug('follow:' + name + ':debug'),
info: debug('follow:' + name + ':info'),
warn: debug('follow:' + name + ':warn'),
error: debug('follow:' + name + ':error'),
fatal: debug('follow:' + name + ':fatal'),
level: { level: 0, levelStr: 'noop' },
setLevel: noop
};

@@ -62,2 +62,2 @@ }

exports.log4js = { 'getLogger': getLogger };
exports.log4js = { getLogger: getLogger };

@@ -24,7 +24,7 @@ // Copyright © 2017 IBM Corp. All rights reserved.

var DEFS = {
'longpoll_header': '{"results":[',
'log_level': process.env.follow_log_level || 'info'
longpoll_header: '{"results":[',
log_level: process.env.follow_log_level || 'info'
};
module.exports = { 'Changes': Changes };
module.exports = { Changes: Changes };

@@ -142,3 +142,3 @@ util.inherits(Changes, stream);

self.log.debug('write: ' + util.inspect({ 'data': data, 'buf': buf }));
self.log.debug('write: ' + util.inspect({ data: data, buf: buf }));

@@ -188,3 +188,3 @@ // Buf could have 0, 1, or many JSON objects in it.

if (self.feed === 'longpoll') {
var changes = [ DEFS.longpoll_header ].concat(self.buf).join('');
var changes = [DEFS.longpoll_header].concat(self.buf).join('');
try {

@@ -191,0 +191,0 @@ changes = JSON.parse(changes) || {};

{
"name": "cloudant-follow",
"version": "0.18.3-SNAPSHOT.3",
"version": "0.18.3-SNAPSHOT.4",
"author": {

@@ -34,3 +34,3 @@ "name": "IBM Cloudant",

"eslint-config-semistandard": "^13.0.0",
"eslint-config-standard": "^12.0.0",
"eslint-config-standard": "^13.0.1",
"eslint-plugin-header": "^2.0.0",

@@ -37,0 +37,0 @@ "eslint-plugin-import": "^2.2.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