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.7 to 1.31.8

10

lib/util/spmconfig.js

@@ -14,3 +14,3 @@ /*

var util = require('util')
var RC = require('rc-yaml')
var RC = require('rc-yaml-2')
var spmDefaultConfig = {

@@ -34,3 +34,3 @@ tokens: {

console: process.env.SPM_LOG_TO_CONSOLE || false,
maxfiles: Number(process.env.SPM_LOG_MAX_FILES) || '2',
maxfiles: Number(process.env.SPM_LOG_MAX_FILES) || '2',
maxsize: Number(process.env.SPM_LOG_MAX_FILE_SIZE) || '524288',

@@ -44,3 +44,3 @@ filename: process.env.SPM_LOG_FILE_PREFIX || 'spm',

var rc = new RC(appType, spmDefaultConfig)
util._extend (this, rc)
util._extend(this, rc)
this.rcFlat = flatten(this)

@@ -51,5 +51,5 @@ return this

SpmConfig.prototype.get = function (key) {
return this.rcFlat [key]
return this.rcFlat[key]
}
module.exports = new SpmConfig(process.env.SPM_AGENT_APP_TYPE||'spmagent')
module.exports = new SpmConfig(process.env.SPM_AGENT_APP_TYPE || 'spmagent')
{
"name": "spm-agent",
"version": "1.31.7",
"version": "1.31.8",
"description": "Node.js agent framework for SPM by Sematext",

@@ -49,3 +49,3 @@ "main": "lib/index.js",

"nedb": "^1.8.0",
"rc-yaml": "^1.0.0",
"rc-yaml-2": "^1.0.0",
"request": "^2.79.0",

@@ -52,0 +52,0 @@ "winston": "^2.3.1"

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