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

@newrelic/apollo-server-plugin

Package Overview
Dependencies
Maintainers
2
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@newrelic/apollo-server-plugin - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

20

lib/create-plugin.js

@@ -74,2 +74,7 @@ /*

if (!requestParent) {
logger.trace('No active segment found at query start. Not recording.')
return null
}
// We do not set to active here as batched queries will hit this

@@ -82,2 +87,8 @@ // back to back and we'd prefer those not nest with each-other.

)
if (!operationSegment) {
logger.trace('Operation segment was not created. Not recording.')
return null
}
operationSegment.start()

@@ -128,2 +139,11 @@

if (!resolverSegment) {
logger.trace(
'Resolver segment was not created (%s).',
formattedPath
)
return null
}
resolverSegment.start()

@@ -130,0 +150,0 @@ instrumentationApi.setActiveSegment(resolverSegment)

2

package.json
{
"name": "@newrelic/apollo-server-plugin",
"version": "0.1.1",
"version": "0.1.2",
"description": "Apollo Server plugin that adds New Relic Node.js agent instrumentation.",

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

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