New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

natty-storage

Package Overview
Dependencies
Maintainers
2
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

natty-storage - npm Package Versions

2

2.3.0

Diff

Changelog

Source

v2.3.0 / 2019-02-02

  • 添加了index.d.ts文件,方便使用typescript的项目使用。
gnosaij
published 2.2.0 •

Changelog

Source

v2.2.0 / 2017-12-04

  • 添加data方法, 把指定的plain object对象设置为storage的值。
gnosaij
published 2.1.1 •

Changelog

Source

v2.1.1 / 2017-08-10

gnosaij
published 2.1.0 •

Changelog

Source

v2.1.0 / 2017-08-10

  • 添加nattyStorage.env方法。
  • 针对多级路径的取值性能做的进一步优化。多次调用storage.get('ni.hao.shi.jie')时,不会多次拆分path并递归取值。
alex-mm
published 2.0.2 •

gnosaij
published 2.0.1 •

Changelog

Source

v2.0.1 / 2017-03-17

  • natty-storage内部自动执行一次nattyStorage.clean()方法。
  • getasyncGet方法支持fallbackValue参数。
gnosaij
published 2.0.0 •

Changelog

Source

v2.0.0 / 2017-03-16

  • 删除了创建缓存对象时的async参数,现在一个缓存对象可以同时使用同步和异步方法。
  • 缓存对象添加了一套异步方法,asyncSetasyncSetasyncHasasyncRemoveasyncDestroy
  • 添加了nattyStorage.clean方法,用于清理因为untilduration的有效期而过期的数据。
  • 添加了nattyStorage.list方法,方便开发时调试。
  • 添加了nattyStorage.each方法,方便自定义处理所有缓存对象。
  • Gzip后的文件大小由2.5K降到2K
gnosaij
published 1.1.2 •

Changelog

Source

v1.1.2 / 2016-11-07

  • 修复Safari隐身模式下storage被禁用导致的异常。(@pfdgithub in #32)
gnosaij
published 1.1.1 •

Changelog

Source

v1.1.1 / 2016-06-30

  • nattyStorage.support对象添加variable值,解决和natty-fetch对接的完整性。
  • 删除多余的setGlobalgetGlobal静态方法。
gnosaij
published 1.1.0 •

Changelog

Source

v1.1.0 / 2016-06-29

  • nattyStorage的参数id修改为tag, 更达意。
2
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