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

@f5devcentral/atg-storage

Package Overview
Dependencies
Maintainers
17
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@f5devcentral/atg-storage - npm Package Compare versions

Comparing version 1.3.0 to 1.3.1

10

CHANGELOG.md

@@ -8,7 +8,11 @@ # Changelog

## [1.3.0]
## [1.3.1] - 2022-3-11
## Fixed
- StorageDataGroup: Speed up persist() by removing unused write cache logic
## [1.3.0] - 2022-1-18
## Changed
- Always save data to data group on write in StorageDataGroup
## [1.2.0]
## [1.2.0] - 2022-1-7
## Added

@@ -19,3 +23,3 @@ - clearCache method

## [1.1.0] - 2020-5-6
## [1.1.0] - 2021-5-6
## Added

@@ -22,0 +26,0 @@ - Add StorageJsonFile storage backend to persist on disk using JSON

{
"name": "@f5devcentral/atg-storage",
"version": "1.3.0",
"version": "1.3.1",
"author": "F5 Networks",

@@ -5,0 +5,0 @@ "license": "Apache-2.0",

@@ -382,19 +382,2 @@ 'use strict';

return Promise.resolve()
.then(() => {
if (this.cache) {
return Promise.resolve()
.then(() => this._getRecords())
.then((records) => {
if (records.length === 0) {
this._ready = false;
}
return Promise.resolve(records);
})
.then(records => updateDataGroup(this.path, records))
.then(() => {
this.cache = {};
});
}
return Promise.resolve();
})
.then(() => new Promise((resolve, reject) => {

@@ -401,0 +384,0 @@ const req = http.request(opts, (res) => {

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