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

vinli

Package Overview
Dependencies
Maintainers
2
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vinli - npm Package Compare versions

Comparing version 2.0.2 to 2.0.3

10

lib/client.js

@@ -141,5 +141,6 @@ var Hoek = require('hoek');

Client.prototype.getEntireStream = function(url, listName) {
return this.getRaw(url).then(function(data) {
var self = this;
return self.getRaw(url).then(function(data) {
if (data.meta.pagination.links.prior) {
return this.getEntireStream(data.meta.pagination.links.prior, listName).then(function(locs) {
return self.getEntireStream(data.meta.pagination.links.prior, listName).then(function(locs) {
return data[listName].concat(locs);

@@ -154,5 +155,6 @@ });

Client.prototype.getEntireLocationStream = function(url) {
return this.getRaw(url).then(function(data) {
var self = this;
return self.getRaw(url).then(function(data) {
if (data.meta.pagination.links.prior) {
return this.getEntireLocationStream(data.meta.pagination.links.prior).then(function(locs) {
return self.getEntireLocationStream(data.meta.pagination.links.prior).then(function(locs) {
return data.locations.features.concat(locs);

@@ -159,0 +161,0 @@ });

2

package.json
{
"name": "vinli",
"version": "2.0.2",
"version": "2.0.3",
"description": "Official Node.js SDK for interacting with the Vinli Platform",

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

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