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

@standardnotes/analytics

Package Overview
Dependencies
Maintainers
6
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@standardnotes/analytics - npm Package Compare versions

Comparing version 1.17.1 to 1.17.2

4

dist/src/Infra/Redis/RedisAnalyticsStore.js

@@ -16,3 +16,3 @@ "use strict";

}
const periodKeys = this.periodKeyGenerator.getDiscretePeriodKeys(Period_1.Period.Last30Days);
const periodKeys = this.periodKeyGenerator.getDiscretePeriodKeys(period);
await this.redisClient.bitop('OR', `bitmap:action:${activity}:timespan:${periodKeys[0]}-${periodKeys[periodKeys.length - 1]}`, ...periodKeys.map((p) => `bitmap:action:${activity}:timespan:${p}`));

@@ -26,3 +26,3 @@ await this.redisClient.expire(`bitmap:action:${activity}:timespan:${periodKeys[0]}-${periodKeys[periodKeys.length - 1]}`, 3600);

}
const periodKeys = this.periodKeyGenerator.getDiscretePeriodKeys(Period_1.Period.Last30Days);
const periodKeys = this.periodKeyGenerator.getDiscretePeriodKeys(period);
const counts = [];

@@ -29,0 +29,0 @@ for (const periodKey of periodKeys) {

{
"name": "@standardnotes/analytics",
"version": "1.17.1",
"version": "1.17.2",
"engines": {

@@ -40,3 +40,3 @@ "node": ">=14.0.0 <17.0.0"

},
"gitHead": "917fad510a89f3c8eb28b5e42c8108168801d4a0"
"gitHead": "21d224da22f7b692b90c6f62f4b87d0c4c81a39b"
}
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