Skip to content

Commit

Permalink
feat!: remove undcoumented cleanUrl export
Browse files Browse the repository at this point in the history
  • Loading branch information
lukekarrys committed Apr 15, 2024
1 parent cec3014 commit 79c7bed
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ const qs = require('querystring')
const url = require('url')
const zlib = require('minizlib')
const { Minipass } = require('minipass')
const { redact: cleanUrl } = require('@npmcli/redact')

const defaultOpts = require('./default-opts.js')

Expand Down Expand Up @@ -246,7 +245,3 @@ function getHeaders (uri, auth, opts) {

return headers
}

// export cleanUrl to avoid a breaking change
// TODO: next semver major remove this. Consumers should use @npmcli/redact instead
module.exports.cleanUrl = cleanUrl

0 comments on commit 79c7bed

Please sign in to comment.