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

fwk

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fwk - npm Package Compare versions

Comparing version 0.1.19 to 1.0.1

lib/factory.js

6

lib/cache.js

@@ -34,3 +34,3 @@ // Copyright Teleportd

* evict: evict,
* timeout: ... }, cb); // cb(err, value)
* timeout: 2000 }, cb); // cb(err, value)
*

@@ -162,7 +162,7 @@ * These are the `getter` params:

* @param key to identify the cached value
* @param options {getter, timeout}
* @param options {getter, evict, timeout}
* getter: closure for getting the value to be cached
* evict: called when the value is evicted
* (the one passed when getter is used)
* timeout: absolute time to invalidate the value
* timeout: delay before invalidating the value
* @param cb(err, value) the async callback to retrieve the value

@@ -169,0 +169,0 @@ */

@@ -32,2 +32,4 @@ // Copyright Teleportd

var cfg = require("./cfg.js");
var factory = require("./factory.js");
var async = require('async');

@@ -49,3 +51,3 @@ exports.method = base.method;

exports.mplex = mplex.mplex;
exports.async = async;

@@ -57,1 +59,4 @@ exports.populateConfig = cfg.populateConfig;

exports.b64decode = b64.b64decode;
exports.factory = factory.factory;
exports.factory_expose = factory.factory_expose;
{
"name": "fwk",
"version": "0.1.19",
"version": "1.0.1",
"description": "Simple JS framework for node.js",

@@ -13,3 +13,4 @@ "keywords": ["fwk", "node"],

"dependencies": {
"should": "0.6.x"
"should": "0.6.x",
"async": "0.1.x"
},

@@ -16,0 +17,0 @@ "main" : "./lib/fwk",

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