@newrelic/test-utilities
Advanced tools
Comparing version 7.1.0 to 7.1.1
@@ -13,2 +13,3 @@ #! /user/bin/env node | ||
const cp = require('child_process') | ||
const semver = require('semver') | ||
@@ -105,3 +106,4 @@ // +) Exit codes greater than zero mean the test failed. | ||
const loaderPath = path.resolve(process.env.NR_LOADER) | ||
args = ['--loader', loaderPath, testFile] | ||
const loaderArg = semver.lt(process.version, '18.0.0') ? '--experimental-loader' : '--loader' | ||
args = [loaderArg, loaderPath, testFile] | ||
} | ||
@@ -108,0 +110,0 @@ |
{ | ||
"name": "@newrelic/test-utilities", | ||
"version": "7.1.0", | ||
"version": "7.1.1", | ||
"description": "Test library for New Relic instrumentation modules.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
89943
2072