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

reed

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

reed - npm Package Compare versions

Comparing version 0.9.3 to 0.9.4

25

lib/reed.js

@@ -471,2 +471,27 @@ var fs = require("fs"),

reed.all = function(callback) {
reed.list(function(err, titles) {
//create the series to load all posts asyncly in order.
var getAllPosts = [];
titles.forEach(function(title) {
getAllPosts.push(function(cb) {
reed.get(title, function(err, metadata, htmlContent) {
var post = {
title: title,
metadata: metadata,
htmlContent: htmlContent
};
cb(err, post);
});
});
});
//get all the posts.
async.series(getAllPosts, function(err, posts) {
callback(null, posts);
});
});
}
reed.refresh = function refresh() {

@@ -473,0 +498,0 @@ if (!readyCheck(refresh, arguments)) return;

2

package.json

@@ -7,3 +7,3 @@ {

"tags": [ "redis", "blog" ],
"version": "0.9.3",
"version": "0.9.4",
"homepage": "http://www.agnos.is/",

@@ -10,0 +10,0 @@ "repository": {

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