@instana/shared-metrics
Advanced tools
Comparing version 1.137.0 to 1.137.1
{ | ||
"name": "@instana/shared-metrics", | ||
"version": "1.137.0", | ||
"version": "1.137.1", | ||
"description": "Internal metrics plug-in package for Node.js monitoring with Instana", | ||
@@ -29,3 +29,3 @@ "author": { | ||
"test": "npm run test:mocha", | ||
"test:mocha": "mocha --sort --reporter mocha-multi --reporter-options spec=-,xunit=../../test-results/shared-metrics/results.xml $(find test -iname '*test.js' -not -path '*node_modules*')", | ||
"test:mocha": "echo \"******* Files to be tested:\n $CI_SHARED_METRICS_TEST_FILES\" && mocha --sort --reporter mocha-multi --reporter-options spec=-,xunit=../../test-results/shared-metrics/results.xml ${CI_SHARED_METRICS_TEST_FILES:=$(find test -iname '*test.js' -not -path '*node_modules*')} test/globalHooks_test.js", | ||
"test:debug": "WITH_STDOUT=true npm run test:mocha", | ||
@@ -56,2 +56,10 @@ "lint": "eslint src test", | ||
"email": "gebhardt@us.ibm.com" | ||
}, | ||
{ | ||
"name": "Willian Carvalho", | ||
"email": "willian.carvalho@instana.com" | ||
}, | ||
{ | ||
"name": "Katharina Irrgang", | ||
"email": "katharina.irrgang@instana.com" | ||
} | ||
@@ -64,7 +72,8 @@ ], | ||
"dependencies": { | ||
"@instana/core": "1.137.0", | ||
"@instana/core": "1.137.1", | ||
"detect-libc": "^1.0.3", | ||
"event-loop-lag": "^1.4.0", | ||
"recursive-copy": "^2.0.13", | ||
"tar": "^5.0.11" | ||
"semver": "7.3.3", | ||
"tar": "^6.1.11" | ||
}, | ||
@@ -84,3 +93,3 @@ "devDependencies": { | ||
}, | ||
"gitHead": "1435dbfe13b7091ce08b688b185616b9f6b73061" | ||
"gitHead": "3245c3c62510c75760763669a4834c789e75fa91" | ||
} |
@@ -40,3 +40,4 @@ /* | ||
weakCallbackProcessing: 0, | ||
gcPause: 0 | ||
gcPause: 0, | ||
statsSupported: false | ||
}; | ||
@@ -43,0 +44,0 @@ |
@@ -50,3 +50,5 @@ /* | ||
} | ||
return {}; | ||
return { | ||
statsSupported: false | ||
}; | ||
} |
@@ -14,4 +14,4 @@ /* | ||
const os = require('os'); | ||
const semver = require('semver'); | ||
const path = require('path'); | ||
const tar = require('tar'); | ||
const detectLibc = require('detect-libc'); | ||
@@ -175,2 +175,16 @@ | ||
/** | ||
* tar@6 has dropped support for Node < 10 | ||
* It might work to require tar@6 or to execute commands with tar@6 and Node < 10, | ||
* but we don't want to risk that a customers application fails - especially if tar@6 adds | ||
* breaking changes. We decided to disallow this feature. | ||
*/ | ||
if (semver.lt(process.version, '10.0.0')) { | ||
logger.info(`Skipped copying precompiled version for ${opts.nativeModuleName} ${label} with Node < 10.`); | ||
callback(false); | ||
return; | ||
} | ||
const tar = require('tar'); | ||
tar | ||
@@ -208,6 +222,6 @@ .x({ | ||
// caching on multiple levels (for example, package.json locations and package.json contents). If Node.js | ||
// has tried unsuccessfully to load a module or read a package.json from a particular path, it will remember | ||
// and not try to load anything from that path again (a `false` will be put into the cache for that cache | ||
// key). Instead, we force a new path, by adding precompiled to the module path and use the absolute path to | ||
// the module to load it. | ||
// has tried unsuccessfully to load a module or read a package.json from a particular path, | ||
// it will remember and not try to load anything from that path again (a `false` will be | ||
// put into the cache for that cache key). Instead, we force a new path, by adding precompiled | ||
// to the module path and use the absolute path to the module to load it. | ||
opts.loadFrom = targetDir; | ||
@@ -214,0 +228,0 @@ callback(true); |
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
630617
49
1455
8
+ Addedsemver@7.3.3
+ Added@instana/core@1.137.1(transitive)
+ Addedchownr@2.0.0(transitive)
+ Addedlru-cache@4.1.5(transitive)
+ Addedminipass@5.0.0(transitive)
+ Addedmkdirp@1.0.4(transitive)
+ Addedpseudomap@1.0.2(transitive)
+ Addedsemver@7.3.3(transitive)
+ Addedtar@6.2.1(transitive)
+ Addedyallist@2.1.2(transitive)
- Removed@instana/core@1.137.0(transitive)
- Removedchownr@1.1.4(transitive)
- Removedsemver@7.3.5(transitive)
- Removedtar@5.0.11(transitive)
Updated@instana/core@1.137.1
Updatedtar@^6.1.11