diff --git a/package.json b/package.json index f238672a833..4cd2dd7eee4 100644 --- a/package.json +++ b/package.json @@ -96,7 +96,7 @@ "module-details-from-path": "^1.0.3", "msgpack-lite": "^0.1.26", "opentracing": ">=0.12.1", - "path-to-regexp": "^0.1.2", + "path-to-regexp": "^0.1.10", "pprof-format": "^2.1.0", "protobufjs": "^7.2.5", "retry": "^0.13.1", diff --git a/packages/datadog-instrumentations/src/microgateway-core.js b/packages/datadog-instrumentations/src/microgateway-core.js index 553fc402606..f96a769ae85 100644 --- a/packages/datadog-instrumentations/src/microgateway-core.js +++ b/packages/datadog-instrumentations/src/microgateway-core.js @@ -8,7 +8,9 @@ const routeChannel = channel('apm:microgateway-core:request:route') const errorChannel = channel('apm:microgateway-core:request:error') const name = 'microgateway-core' -const versions = ['>=2.1'] + +// TODO Remove " <=3.0.0" when "volos-util-apigee" module is fixed +const versions = ['>=2.1 <=3.0.0'] const requestResources = new WeakMap() function wrapConfigProxyFactory (configProxyFactory) { diff --git a/yarn.lock b/yarn.lock index fbce91a1590..7557a5e4ea4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3654,11 +3654,16 @@ path-parse@^1.0.7: resolved "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz" integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw== -path-to-regexp@0.1.7, path-to-regexp@^0.1.2: +path-to-regexp@0.1.7: version "0.1.7" resolved "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz" integrity sha512-5DFkuoqlv1uYQKxy8omFBeJPQcdoE07Kv2sferDCrAq1ohOU+MSDswDIbnx3YAM60qIOnYa53wBhXW0EbMonrQ== +path-to-regexp@^0.1.10: + version "0.1.10" + resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-0.1.10.tgz#67e9108c5c0551b9e5326064387de4763c4d5f8b" + integrity sha512-7lf7qcQidTku0Gu3YDPc8DJ1q7OOucfa/BSsIwjuh56VU7katFvuM8hULfkwB3Fns/rsVF7PwPKVw1sl5KQS9w== + path-to-regexp@^1.7.0: version "1.8.0" resolved "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-1.8.0.tgz"