File: 0005-Forward-port-minizlib-to-Minipass-5.0.0.patch

package info (click to toggle)
node-minipass 5.0.0%2B~cs13.3.24-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,348 kB
  • sloc: javascript: 9,187; sh: 33; makefile: 5
file content (36 lines) | stat: -rw-r--r-- 1,123 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
From: =?utf-8?q?Bastien_Roucari=C3=A8s?= <rouca@debian.org>
Date: Sun, 28 Jul 2024 23:08:55 +0000
Subject: Forward port minizlib to Minipass 5.0.0

Forwarded: not-needed
---
 minizlib/index.js     | 2 +-
 minizlib/package.json | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/minizlib/index.js b/minizlib/index.js
index fbaf69e..38f1cd9 100644
--- a/minizlib/index.js
+++ b/minizlib/index.js
@@ -5,7 +5,7 @@ const Buffer = require('buffer').Buffer
 const realZlib = require('zlib')
 
 const constants = exports.constants = require('./constants.js')
-const Minipass = require('minipass')
+const { Minipass } = require('minipass')
 
 const OriginalBufferConcat = Buffer.concat
 
diff --git a/minizlib/package.json b/minizlib/package.json
index 98825a5..dcb8af9 100644
--- a/minizlib/package.json
+++ b/minizlib/package.json
@@ -4,7 +4,7 @@
   "description": "A small fast zlib stream built on [minipass](http://npm.im/minipass) and Node.js's zlib binding.",
   "main": "index.js",
   "dependencies": {
-    "minipass": "^3.0.0",
+    "minipass": "^5.0.0",
     "yallist": "^4.0.0"
   },
   "scripts": {