poet
Advanced tools
Comparing version 2.0.1 to 2.0.2
@@ -150,3 +150,3 @@ ## What is Poet? | ||
Built in helper methods are stored on the **Poet** instance's `helper` property. Used internally, and in the view locals, they can be used outside of **Poet** as well. | ||
Built in helper methods are stored on the **Poet** instance's `helpers` property. Used internally, and in the view locals, they can be used outside of **Poet** as well. | ||
@@ -153,0 +153,0 @@ * `getPosts(from, to)` - an array of reverse chronologically ordered post objects. May specify `from` and `to` based on their index, to limit which posts should be returned. |
@@ -183,2 +183,4 @@ var | ||
if (postTime - min > 0) { | ||
// Prevent setTimeout overflow when scheduling more than 24 days out. See https://github.com/jsantell/poet/issues/119 | ||
var delay = Math.min(postTime - min, Math.pow(2, 31) - 1); | ||
var future = setTimeout(function () { | ||
@@ -188,3 +190,3 @@ poet.watchers.forEach(function (watcher) { | ||
}); | ||
}, postTime - min); | ||
}, delay); | ||
@@ -194,2 +196,2 @@ poet.futures.push(future); | ||
}); | ||
} | ||
} |
{ | ||
"name": "poet", | ||
"description": "quick and easy blog module, using markdown, jade, whatever", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"main": "lib/poet", | ||
@@ -6,0 +6,0 @@ "dependencies": { |
@@ -25,12 +25,7 @@ Poet [![Build Status](https://travis-ci.org/jsantell/poet.png)](https://travis-ci.org/jsantell/poet) | ||
* [Yellow Pages Engineering](http://engineering.yp.com/) | ||
* [BryanPaluch.com](http://bryanpaluch.com) | ||
* [EffectiveIdea.com](http://effectiveidea.com) | ||
* [fictitious entry](http://fictitiousentry.com/) | ||
* [AndreasKlein.org](http://v7.andreasklein.org) | ||
* [Keyboardsurfer](kbsurfer.com) | ||
* [FightMagicRun](http://fightmagicrun.com/blog) | ||
* [Morgondag](http://morgondag.nu) | ||
* [Vemdel - Raspberry Hunt](http://vemdel-game.com) | ||
* [jobZETA](http://jobzeta.com) | ||
* [DevinYoungWeb.com](http://devinyoungweb.com) | ||
* [jessehuang.com](http://jessehuang.com) | ||
@@ -37,0 +32,0 @@ ## Installing |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
5481
0
487707
69