File: 09-buffer_from.diff

package info (click to toggle)
node-yarnpkg 1.13.0-1%2Bdeb10u1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 93,036 kB
  • sloc: sh: 323; makefile: 19
file content (14 lines) | stat: -rw-r--r-- 363 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Description: Patch away dependency on buffer-from
Forwarded: not-needed
Author: Paolo Greppi <paolo.greppi@libpf.com>

--- a/peek-stream/index.js
+++ b/peek-stream/index.js
@@ -1,6 +1,6 @@
 var duplexify = require('duplexify')
 var through = require('through2')
-var bufferFrom = require('buffer-from')
+var bufferFrom = Buffer.from
 
 var noop = function() {}