From b04e3c279e8dc6b090f3e2bfbd854fd0af3e9195 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 27 Apr 2023 12:38:17 -0700 Subject: [PATCH] deps: bump minipass from 4.2.7 to 5.0.0 (#220) * deps: bump minipass from 4.2.7 to 5.0.0 Bumps [minipass](https://github.com/isaacs/minipass) from 4.2.7 to 5.0.0. - [Release notes](https://github.com/isaacs/minipass/releases) - [Changelog](https://github.com/isaacs/minipass/blob/main/CHANGELOG.md) - [Commits](https://github.com/isaacs/minipass/compare/v4.2.7...v5.0.0) --- updated-dependencies: - dependency-name: minipass dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] * chore: fixup usage for minipass@5 --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: nlf --- lib/cache/entry.js | 2 +- lib/remote.js | 2 +- package.json | 2 +- test/fetch.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/cache/entry.js b/lib/cache/entry.js index 12e2fb2..4514109 100644 --- a/lib/cache/entry.js +++ b/lib/cache/entry.js @@ -1,5 +1,5 @@ const { Request, Response } = require('minipass-fetch') -const Minipass = require('minipass') +const { Minipass } = require('minipass') const MinipassFlush = require('minipass-flush') const cacache = require('cacache') const url = require('url') diff --git a/lib/remote.js b/lib/remote.js index 068c73a..bdbcc79 100644 --- a/lib/remote.js +++ b/lib/remote.js @@ -1,4 +1,4 @@ -const Minipass = require('minipass') +const { Minipass } = require('minipass') const fetch = require('minipass-fetch') const promiseRetry = require('promise-retry') const ssri = require('ssri') diff --git a/package.json b/package.json index c3d704f..1015f0f 100644 --- a/package.json +++ b/package.json @@ -40,7 +40,7 @@ "https-proxy-agent": "^5.0.0", "is-lambda": "^1.0.1", "lru-cache": "^7.7.1", - "minipass": "^4.0.0", + "minipass": "^5.0.0", "minipass-fetch": "^3.0.0", "minipass-flush": "^1.0.5", "minipass-pipeline": "^1.2.4", diff --git a/test/fetch.js b/test/fetch.js index 1f677ff..51b25e2 100644 --- a/test/fetch.js +++ b/test/fetch.js @@ -1,6 +1,6 @@ 'use strict' -const Minipass = require('minipass') +const { Minipass } = require('minipass') const t = require('tap') const nock = require('nock') const fetch = require('../lib/index.js')