新增调试信息

This commit is contained in:
2025-10-27 22:15:25 +08:00
parent ae62457d8c
commit 04642cb2f0
5479 changed files with 683397 additions and 3450 deletions
+3
View File
@@ -0,0 +1,3 @@
var wrap = require('./wrap.js');
var ro = wrap(); // can't write to `ro` and muck up internal state
ro.pipe(process.stdout);
+8
View File
@@ -0,0 +1,8 @@
var through = require('through2');
var readonly = require('../');
module.exports = function () {
var stream = through();
stream.end('wooooo\n');
return readonly(stream);
};