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

elastic-apm-node

Package Overview
Dependencies
Maintainers
2
Versions
163
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

elastic-apm-node - npm Package Compare versions

Comparing version 0.10.0 to 0.11.0

5

CHANGELOG.md

@@ -0,1 +1,6 @@

# 0.11.0 - 2018/1/11
* feat(\*): Set default stack trace limit to 50 frames (#171)
* feat(ws): add support for ws@4.x (#164)
* feat(errors): associate errors with active transaction
# 0.10.0 - 2018/1/3

@@ -2,0 +7,0 @@ * feat(express): auto-track errors (BREAKING CHANGE: removed express middleware) (#127)

1

lib/agent.js

@@ -180,2 +180,3 @@ 'use strict'

}
if (trans) error.transaction = {id: trans.id}

@@ -182,0 +183,0 @@ if (opts && opts.uncaught && error.exception) {

2

lib/config.js

@@ -29,3 +29,3 @@ 'use strict'

hostname: os.hostname(),
stackTraceLimit: Infinity,
stackTraceLimit: 50,
captureExceptions: true,

@@ -32,0 +32,0 @@ filterHttpHeaders: true,

@@ -14,3 +14,3 @@ 'use strict'

if (!semver.satisfies(version, '>=2 <4')) {
debug('bluebird version %s not suppoted - aborting...', version)
debug('bluebird version %s not supported - aborting...', version)
return bluebird

@@ -17,0 +17,0 @@ }

@@ -8,3 +8,3 @@ 'use strict'

if (!semver.satisfies(version, '^0.6.1') || typeof graphqlHTTP !== 'function') {
debug('express-graphql version %s not suppoted - aborting...', version)
debug('express-graphql version %s not supported - aborting...', version)
return graphqlHTTP

@@ -11,0 +11,0 @@ }

@@ -11,3 +11,3 @@ 'use strict'

if (!semver.satisfies(version, '^4.0.0')) {
debug('express version %s not suppoted - aborting...', version)
debug('express version %s not supported - aborting...', version)
return express

@@ -14,0 +14,0 @@ }

@@ -69,3 +69,3 @@ 'use strict'

} else {
debug('generic-pool version %s not suppoted - aborting...', version)
debug('generic-pool version %s not supported - aborting...', version)
}

@@ -72,0 +72,0 @@

@@ -14,3 +14,3 @@ 'use strict'

typeof graphql.execute !== 'function') {
debug('graphql version %s not suppoted - aborting...', version)
debug('graphql version %s not supported - aborting...', version)
return graphql

@@ -17,0 +17,0 @@ }

@@ -11,3 +11,3 @@ 'use strict'

if (!semver.satisfies(version, '>=9.0.0')) {
debug('hapi version %s not suppoted - aborting...', version)
debug('hapi version %s not supported - aborting...', version)
return hapi

@@ -14,0 +14,0 @@ }

@@ -9,3 +9,3 @@ 'use strict'

if (!semver.satisfies(version, '^2.0.0 || ^3.0.0')) {
debug('ioredis version %s not suppoted - aborting...', version)
debug('ioredis version %s not supported - aborting...', version)
return ioredis

@@ -12,0 +12,0 @@ }

@@ -9,3 +9,3 @@ 'use strict'

if (!semver.satisfies(version, '>=5.2.0 <8')) {
debug('koa-router version %s not suppoted - aborting...', version)
debug('koa-router version %s not supported - aborting...', version)
return Router

@@ -12,0 +12,0 @@ }

@@ -11,4 +11,4 @@ 'use strict'

module.exports = function (mongodb, agent, version) {
if (!semver.satisfies(version, '>=1.2.7 <3.0.0')) {
debug('mongodb-core version %s not suppoted - aborting...', version)
if (!semver.satisfies(version, '>=1.2.19 <3.0.0')) {
debug('mongodb-core version %s not supported - aborting...', version)
return mongodb

@@ -15,0 +15,0 @@ }

@@ -10,3 +10,3 @@ 'use strict'

if (!semver.satisfies(version, '^2.0.0')) {
debug('mysql version %s not suppoted - aborting...', version)
debug('mysql version %s not supported - aborting...', version)
return mysql

@@ -13,0 +13,0 @@ }

@@ -10,3 +10,3 @@ 'use strict'

if (!semver.satisfies(version, '>=4.0.0 <8.0.0')) {
debug('pg version %s not suppoted - aborting...', version)
debug('pg version %s not supported - aborting...', version)
return pg

@@ -13,0 +13,0 @@ }

@@ -9,3 +9,3 @@ 'use strict'

if (!semver.satisfies(version, '^2.0.0')) {
debug('redis version %s not suppoted - aborting...', version)
debug('redis version %s not supported - aborting...', version)
return redis

@@ -12,0 +12,0 @@ }

@@ -8,4 +8,4 @@ 'use strict'

module.exports = function (ws, agent, version) {
if (!semver.satisfies(version, '^1.0.0 || ^2.0.0 || ^3.0.0')) {
debug('ws version %s not suppoted - aborting...', version)
if (!semver.satisfies(version, '^1.0.0 || ^2.0.0 || ^3.0.0 || ^4.0.0')) {
debug('ws version %s not supported - aborting...', version)
return ws

@@ -12,0 +12,0 @@ }

@@ -22,5 +22,5 @@ 'use strict'

} else if (typeof msg === 'object' && msg !== null) {
// if `captureMessage` is passed an object instead of a string we expect
// it to be in the format of `{ message: '...', params: [] }` and it will
// be used as `param_message`.
// if `captureError` is passed an object instead of an error or a string we
// expect it to be in the format of `{ message: '...', params: [] }` and it
// will be used as `param_message`.
if (msg.message) {

@@ -27,0 +27,0 @@ error.log.message = util.format.apply(this, [msg.message].concat(msg.params))

@@ -177,10 +177,3 @@ 'use strict'

// TODO: Reconsider truncation limits
function truncFrames (frames) {
// max 300 stack frames
if (frames.length > 300) {
frames = frames.slice(0, 300)
}
// each line in stack trace must not exeed 1000 chars
frames.forEach(function (frame, i) {

@@ -187,0 +180,0 @@ if (frame.pre_context) frame.pre_context = truncEach(frame.pre_context, 1000)

{
"name": "elastic-apm-node",
"version": "0.10.0",
"version": "0.11.0",
"description": "The official Elastic APM agent for Node.js",

@@ -136,5 +136,5 @@ "main": "index.js",

"coordinates": [
56.0093252,
11.9592058
55.7774295,
12.5903627
]
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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