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

linen

Package Overview
Dependencies
Maintainers
1
Versions
89
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

linen - npm Package Compare versions

Comparing version 0.0.35 to 0.0.37

18

lib/collection.js

@@ -38,2 +38,3 @@ // Generated by CoffeeScript 1.6.2

this.on("remove", this._persistRemove);
this.on("reset", this._onReset);
}

@@ -186,3 +187,3 @@

Collection.prototype.fetch = asyngleton(true, function(callback) {
Collection.prototype.fetch = asyngleton(5, function(callback) {
this._fetching = [];

@@ -277,2 +278,17 @@ if (this._isStatic || (this.parent && !this.parent.__isCollection && !this.parent.data._id)) {

Collection.prototype._onReset = function(items) {
var item, _i, _len, _results;
_results = [];
for (_i = 0, _len = items.length; _i < _len; _i++) {
item = items[_i];
_results.push(this._persistInsert(item));
}
return _results;
};
/*
*/
Collection.prototype._persistInsert = function(item) {

@@ -279,0 +295,0 @@ var request,

2

lib/model.js

@@ -118,3 +118,3 @@ // Generated by CoffeeScript 1.6.2

LinenModel.prototype.fetch = asyngleton(true, function(next) {
LinenModel.prototype.fetch = asyngleton(1000 * 5, function(next) {
var request;

@@ -121,0 +121,0 @@

{
"name": "linen",
"version": "0.0.35",
"version": "0.0.37",
"description": "```javascript",

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

Sorry, the diff of this file is not supported yet

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