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

spm-agent

Package Overview
Dependencies
Maintainers
3
Versions
93
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

spm-agent - npm Package Compare versions

Comparing version 1.31.12 to 1.31.13

.npmignore

6

lib/sender/spmsender.js

@@ -19,3 +19,3 @@ /*

*
* - Old records are deleted when DB file reaches 50 MB (only last hour is kept)
* - Old records are deleted when DB file reaches 100 MB (records older than 12 hours)
* @type {request|exports}

@@ -340,4 +340,4 @@ */

if (!err) {
if (fsStat.size >= (config.maxDbSize || 1024 * 1024 * 10)) {
db.remove({ts: {$lt: new Date().getTime() - (1000 * 60 * 60)}}, function (err, numRemoved) {
if (fsStat.size >= (config.maxDbSize || 1024 * 1024 * 100)) {
db.remove({ts: {$lt: new Date().getTime() - (1000 * 60 * 60 * 12)}}, function (err, numRemoved) {
try {

@@ -344,0 +344,0 @@ if (err) {

@@ -54,3 +54,3 @@ /*

},
maxDbSize: Number(process.env.SPM_MAX_DB_SIZE) || 1024 * 1024 * 24,
maxDbSize: Number(process.env.SPM_MAX_DB_SIZE) || 1024 * 1024 * 100,
agentsToLoad: [],

@@ -57,0 +57,0 @@ maxDataPoints: Number(process.env.SPM_MAX_DATAPOINTS) || 90,

{
"name": "spm-agent",
"version": "1.31.12",
"version": "1.31.13",
"description": "Node.js agent framework for SPM by Sematext",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

Sorry, the diff of this file is not supported yet

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