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

stillframe

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

stillframe - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

20

lib/index.js

@@ -65,2 +65,3 @@ 'use strict';

var hash = hasher.sha1({
engineId: engineId,
request: request,

@@ -104,3 +105,3 @@ options: options

// callback with a snapshot
if (typeof callback === 'function')
if (typeof callback === 'function') {
callback(null, {

@@ -110,2 +111,3 @@ status: entry[0],

});
}

@@ -178,18 +180,20 @@ // cache is complete

writeStream = self.store.save(hash, timestamp, m, ttl);
readStream.pipe(writeStream);
writeStream.on('error', error);
switchboard.pipe(writeStream);
// pipe to the switchboard
readStream.pipe(switchboard);
})
// resolve the cache manifest entry
.on('finish', function() {
if (!err) self.resolve(hash, timestamp, function(err) {
if (err) switchboard.emit('error', err);
// resolve the cache manifest entry
readStream.on('finish', function() {
if (!err) self.resolve(hash, timestamp, function(err) {
if (err) error(err);
});
});
});
// callback with a snapshot
if (typeof callback === 'function') return callback(null, {
if (typeof callback === 'function') callback(null, {
status: 'pending',

@@ -196,0 +200,0 @@ created: timestamp

2

package.json
{
"name": "stillframe",
"version": "1.0.0",
"version": "1.0.1",
"description": "A simple distributed url-to-whatever framework.",

@@ -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