Skip to content

Commit

Permalink
fix(deps): update dependency @netlify/eslint-config-node to ^3.3.10 (#…
Browse files Browse the repository at this point in the history
…3736)

* chore(deps): update dependency @netlify/eslint-config-node to ^3.3.10

* chore: fix linting

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: ehmicky <ehmicky@users.noreply.github.com>
Co-authored-by: ehmicky <ehmicky@gmail.com>
  • Loading branch information
4 people authored Dec 1, 2021
1 parent 4274cb8 commit 1ceeff5
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 14 deletions.
14 changes: 7 additions & 7 deletions npm-shrinkwrap.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@
"@babel/preset-react": "^7.12.13",
"@commitlint/cli": "^15.0.0",
"@commitlint/config-conventional": "^15.0.0",
"@netlify/eslint-config-node": "^3.3.9",
"@netlify/eslint-config-node": "^3.3.10",
"@oclif/dev-cli": "^1.23.1",
"@oclif/test": "^1.2.5",
"ava": "^3.15.0",
Expand Down
2 changes: 0 additions & 2 deletions src/lib/http-agent.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
const { URL } = require('url')

const { HttpsProxyAgent } = require('https-proxy-agent')
const waitPort = require('wait-port')

Expand Down
1 change: 0 additions & 1 deletion src/utils/command.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
const process = require('process')
const { URL } = require('url')

const resolveConfig = require('@netlify/config')
const { flags: flagsLib } = require('@oclif/command')
Expand Down
1 change: 0 additions & 1 deletion src/utils/proxy.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ const { Buffer } = require('buffer')
const http = require('http')
const https = require('https')
const path = require('path')
const { URL, URLSearchParams } = require('url')

const contentType = require('content-type')
const cookie = require('cookie')
Expand Down
3 changes: 1 addition & 2 deletions src/utils/rules-proxy.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
const path = require('path')
const url = require('url')

const chokidar = require('chokidar')
const cookie = require('cookie')
Expand Down Expand Up @@ -64,7 +63,7 @@ const createRewriter = async function ({ configPath, distDir, jwtRoleClaim, jwtS

return async function rewriter(req) {
const matcherFunc = await getMatcher()
const reqUrl = new url.URL(
const reqUrl = new URL(
req.url,
`${req.protocol || (req.headers.scheme && `${req.headers.scheme}:`) || 'http:'}//${
req.hostname || req.headers.host
Expand Down

1 comment on commit 1ceeff5

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📊 Benchmark results

Package size: 363 MB

Please sign in to comment.