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

fs-blob-store

Package Overview
Dependencies
Maintainers
2
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fs-blob-store - npm Package Compare versions

Comparing version 5.0.0 to 5.1.0

4

index.js

@@ -32,2 +32,3 @@ var mkdirp = require('mkdirp')

BlobStore.prototype.createWriteStream = function(opts, cb) {
if (typeof opts === 'string') opts = {key:opts}
if (opts.name && !opts.key) opts.key = opts.name

@@ -56,2 +57,3 @@

BlobStore.prototype.createReadStream = function(opts) {
if (typeof opts === 'string') opts = {key:opts}
var key = join(this.path, opts.key)

@@ -62,2 +64,3 @@ return fs.createReadStream(key, opts)

BlobStore.prototype.exists = function(opts, cb) {
if (typeof opts === 'string') opts = {key:opts}
var key = join(this.path, opts.key)

@@ -71,2 +74,3 @@ fs.stat(key, function(err, stat) {

BlobStore.prototype.remove = function(opts, cb) {
if (typeof opts === 'string') opts = {key:opts}
var key = join(this.path, opts.key)

@@ -73,0 +77,0 @@ fs.unlink(key, function(err) {

2

package.json
{
"name": "fs-blob-store",
"version": "5.0.0",
"version": "5.1.0",
"description": "blob store that stores blobs on the local file system",

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

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