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

happn-db-provider-loki

Package Overview
Dependencies
Maintainers
0
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

happn-db-provider-loki - npm Package Compare versions

Comparing version 1.3.1-prerelease-1 to 1.3.1

11

index.js

@@ -0,1 +1,2 @@

const prettyBytes = require('pretty-bytes');
const LokiArchiveDataProvider = require('./archived');

@@ -640,3 +641,3 @@

}
this.logger.debug('Snapshot Started - Current DB Size ', currentSize);
this.logger.debug('Snapshot Started - Current DB Size ', prettyBytes(currentSize));
this.snapshot((e) => {

@@ -728,3 +729,5 @@ if (e) {

this.logger.error(`fsync to file ${this.settings.filename} failed`, e);
callback(errorSyncing);
fs.close(fd, (errorClosing) => {
callback(errorSyncing ?? errorClosing);
});
return;

@@ -735,3 +738,3 @@ }

}
callback(null);
fs.close(fd, callback);
});

@@ -841,3 +844,3 @@ });

this.copyTempDataToMain(callback);
this.logger.debug('Snapshot Complete - New DB Size ', this.baselineFileSize);
this.logger.debug('Snapshot Complete - New DB Size ', prettyBytes(this.baselineFileSize));
});

@@ -844,0 +847,0 @@ }

{
"name": "happn-db-provider-loki",
"version": "1.3.1-prerelease-1",
"version": "1.3.1",
"description": "Loki data provider for happn",

@@ -14,8 +14,9 @@ "scripts": {

"adm-zip": "^0.5.9",
"happn-commons": "1.6.0-prerelease-2",
"lokijs": "^1.5.12"
"happn-commons": "1.5.1",
"lokijs": "^1.5.12",
"pretty-bytes": "^5.6.0"
},
"devDependencies": {
"happn-commons-test": "1.2.3-prerelease-3"
"happn-commons-test": "1.2.2"
}
}

@@ -62,3 +62,3 @@ 1.0.0 2022-03-01

-----------------
- feat: fixed mesh_gst paths in happner-2
- feat: fixed mesh_gst paths in happner-2

@@ -69,9 +69,5 @@ 1.3.0 2024-03-27

1.3.1 2023-09-29
1.3.1 2024-07-16
-----------------
- dep: updated happn commons
- fix: fsync not releasing file handles
1.3.0 2024-03-27
-----------------
- feat: loki provider has new file-size compaction threshold
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