@honeybadger-io/js 6.16.2 → 6.16.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1455,7 +1455,7 @@ var Client = /** @class */ (function () {
1455
1455
  this.__notifier = {
1456
1456
  name: '@honeybadger-io/core',
1457
1457
  url: 'https://github.com/honeybadger-io/honeybadger-js/tree/master/packages/core',
1458
- version: '6.16.2'
1458
+ version: '6.16.4'
1459
1459
  };
1460
1460
  this.config = __assign(__assign({}, defaults_1.CONFIG), opts);
1461
1461
  this.__initStore();
@@ -1473,7 +1473,7 @@ var Client = /** @class */ (function () {
1473
1473
  this.__notifier = {
1474
1474
  name: '@honeybadger-io/core',
1475
1475
  url: 'https://github.com/honeybadger-io/honeybadger-js/tree/master/packages/core',
1476
- version: '6.16.2'
1476
+ version: '6.16.4'
1477
1477
  };
1478
1478
  this.config = __assign$1(__assign$1({}, defaults_1.CONFIG), opts);
1479
1479
  this.__initStore();
@@ -2883,12 +2883,14 @@ function fullUrl(req) {
2883
2883
  var address = connection && connection.address();
2884
2884
  // @ts-ignore The old @types/node incorrectly defines `address` as string|Address
2885
2885
  var port = address ? address.port : undefined;
2886
- // @ts-ignore
2887
2886
  return url_1$1.default.format({
2888
2887
  protocol: req.protocol,
2889
2888
  hostname: req.hostname,
2890
2889
  port: port,
2891
2890
  pathname: req.path,
2891
+ // Express types `query` as `ParsedQs`, which permits arbitrarily nested objects, while
2892
+ // `url.format` accepts `ParsedUrlQueryInput`. The two agree for the flat values a real
2893
+ // query string produces, and `format` stringifies anything deeper either way.
2892
2894
  query: req.query
2893
2895
  });
2894
2896
  }
@@ -3989,7 +3991,7 @@ client.CheckInsClient = CheckInsClient;
3989
3991
  var NOTIFIER = {
3990
3992
  name: '@honeybadger-io/js',
3991
3993
  url: 'https://github.com/honeybadger-io/honeybadger-js/tree/master/packages/js',
3992
- version: '6.16.2'
3994
+ version: '6.16.4'
3993
3995
  };
3994
3996
  var userAgent = function () {
3995
3997
  return "Honeybadger JS Server Client ".concat(NOTIFIER.version, ", ").concat(os_1.default.version(), "; ").concat(os_1.default.platform());