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

@newrelic/test-utilities

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@newrelic/test-utilities - npm Package Compare versions

Comparing version 8.3.0 to 8.4.0

10

lib/agent.js

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

const configurator = require(newRelicLoc + '/lib/config')
const InstrumentationTracker = require(newRelicLoc + '/lib/instrumentation-tracker')
const shimmer = require(newRelicLoc + '/lib/shimmer')

@@ -160,3 +161,10 @@

shimmer.debug = false
shimmer.registeredInstrumentations = Object.create(null)
if (
Object.prototype.toString.call(shimmer.registeredInstrumentations) ===
'[object InstrumentationTracker]'
) {
shimmer.registeredInstrumentations = new InstrumentationTracker()
} else {
shimmer.registeredInstrumentations = Object.create(null)
}

@@ -163,0 +171,0 @@ testUtil.removeListenerByName(process, 'uncaughtException', '__NR_uncaughtExceptionHandler')

4

package.json
{
"name": "@newrelic/test-utilities",
"version": "8.3.0",
"version": "8.4.0",
"description": "Test library for New Relic instrumentation modules.",

@@ -48,3 +48,3 @@ "main": "index.js",

"lockfile-lint": "^4.9.6",
"newrelic": "^11.0.0",
"newrelic": "^11.14.0",
"prettier": "^2.3.2",

@@ -51,0 +51,0 @@ "sinon": "^11.1.1",

@@ -231,3 +231,3 @@ <a href="https://opensource.newrelic.com/oss-category/#community-project"><picture><source media="(prefers-color-scheme: dark)" srcset="https://github.com/newrelic/opensource-website/raw/main/src/images/categories/dark/Community_Project.png"><source media="(prefers-color-scheme: light)" srcset="https://github.com/newrelic/opensource-website/raw/main/src/images/categories/Community_Project.png"><img alt="New Relic Open Source community project banner." src="https://github.com/newrelic/opensource-website/raw/main/src/images/categories/Community_Project.png"></picture></a>

If you believe you have found a security vulnerability in this project or any of New Relic's products or websites, we welcome and greatly appreciate you reporting it to New Relic through [HackerOne](https://hackerone.com/newrelic).
If you believe you have found a security vulnerability in this project or any of New Relic's products or websites, we welcome and greatly appreciate you reporting it to New Relic through [Hacour bug bounty program](https://docs.newrelic.com/docs/security/security-privacy/information-security/report-security-vulnerabilities/).

@@ -234,0 +234,0 @@ If you would like to contribute to this project, review [these guidelines](./CONTRIBUTING.md).

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