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

@instana/shared-metrics

Package Overview
Dependencies
Maintainers
7
Versions
190
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@instana/shared-metrics - npm Package Compare versions

Comparing version 1.137.0 to 1.137.1

CHANGELOG.md

19

package.json
{
"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);

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