bdy 1.8.22-dev → 1.8.35-dev

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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bdy",
3
3
  "preferGlobal": false,
4
- "version": "1.8.22-dev",
4
+ "version": "1.8.35-dev",
5
5
  "type": "commonjs",
6
6
  "license": "MIT",
7
7
  "scripts": {
@@ -155,7 +155,7 @@ class TunnelHttp extends events_1.default {
155
155
  return tmp;
156
156
  }
157
157
  getPath() {
158
- const { pathname, search } = URL.parse(this.req.url, 'http://a.b');
158
+ const { pathname, search } = new URL(this.req.url, 'http://a.b');
159
159
  let path = pathname;
160
160
  if (search)
161
161
  path += search;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bdy",
3
3
  "preferGlobal": false,
4
- "version": "1.8.22-dev",
4
+ "version": "1.8.35-dev",
5
5
  "type": "commonjs",
6
6
  "license": "MIT",
7
7
  "scripts": {