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

block-cache

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

block-cache - npm Package Versions

2.0.0

Diff

Changelog

Source

2.0.0 (2018-03-06)

Features

  • api: Added disconnect api that allows the disconnection of a Cache instance from its fs (f87135e)
  • api: Exposed DEFAULT_CACHE_SIZE (10MB) in a tested fashion (c2f6dbd)
  • api: New option prefix on Cache allows reuse of underlying lru-cache. (2862257)
  • freeze: file pointers created through Cache.open and Cache.openSync are frozen now. (e5a00ce)
  • freeze: Using defineProperties for CachedFile properties to make sure that the instances are freezable. (f3222c1)
  • sandbox: Sandboxing the Cache to make sure users of Cache can not access/modify the filesystem. (ac90063)

BREAKING CHANGES

  • sandbox: The documented method Cached.fd and Cached.prefix were giving informations about the implementation details and they have been removed.

<a name="1.0.0"></a>

leichtgewicht
published 1.0.0 •

Changelog

Source

1.0.0 (2018-03-05)

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