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

alis-request

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

alis-request - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

14

lib/index.js

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

if (err) {
callback(err);
return;
return callback(err);
}

@@ -64,3 +63,3 @@ callback(null, body);

function getBooks($) {
$('.article').each(function () {
return $('.article').each(function () {
ReadableStreamBooks.push($(this).text());

@@ -81,9 +80,7 @@ });

if (q.length === 0) {
ReadableStreamBooks.push(null);
return;
return ReadableStreamBooks.push(null);
}
fn(q[0], jar, function (err, page) {
if (err) {
console.log(err);
return;
return err;
}

@@ -94,4 +91,3 @@ var $ = _cheerio2.default.load(page);

if (nextPageUrl === 'undefined') {
ReadableStreamBooks.push(null);
return;
return ReadableStreamBooks.push(null);
}

@@ -98,0 +94,0 @@ var remainingQueue = q.slice(1);

{
"name": "alis-request",
"version": "1.0.4",
"version": "1.0.5",
"description": "Get books by year in alis library",

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

Sorry, the diff of this file is not supported yet

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