@instana/core
Advanced tools
Comparing version 1.68.3 to 1.68.4
{ | ||
"name": "@instana/core", | ||
"version": "1.68.3", | ||
"version": "1.68.4", | ||
"description": "Core library for Instana's Node.js packages", | ||
@@ -100,2 +100,6 @@ "main": "src/index.js", | ||
"email": "osasu.eboh@jet.com" | ||
}, | ||
{ | ||
"name": "Jonathan Samines", | ||
"email": "jn.samines@gmail.com" | ||
} | ||
@@ -125,3 +129,3 @@ ], | ||
}, | ||
"gitHead": "fc2d673a99079f09c5ce63f0de24649d9715da1a" | ||
"gitHead": "ec37ac1bef979908babd8bc267ab6cb3f2228a1c" | ||
} |
'use strict'; | ||
var instrument = require('cls-bluebird'); | ||
var requireHook = require('../../../util/requireHook'); | ||
@@ -19,3 +20,3 @@ var cls = require('../../cls'); | ||
function patchBluebird(bluebirdModule) { | ||
require('cls-bluebird')(cls.ns, bluebirdModule); | ||
instrument(cls.ns, bluebirdModule); | ||
} |
@@ -28,3 +28,3 @@ 'use strict'; | ||
// otherwise we would run our instrumentation code twice (once for https.request and once for http.request). | ||
if (semver.gte(process.versions.node, '9.0.0')) { | ||
if (semver.gte(process.versions.node, '9.0.0') || process.versions.node === '8.9.0') { | ||
instrument(coreHttpsModule); | ||
@@ -31,0 +31,0 @@ } |
281662
77
6575