A big commit with a bunch of node modules so I could run puppeteer for Walmart. Added some todos and Headway's templates.

This commit is contained in:
Norm Rasmussen
2024-02-28 17:13:10 -05:00
parent dbcdfc8472
commit 1184fe0cd1
1107 changed files with 76526 additions and 8934 deletions

View File

@ -34,7 +34,7 @@ exports.decodePax = function decodePax (buf) {
while (buf.length) {
let i = 0
while (i < buf.length && buf[i] !== 32) i++
const len = parseInt(buf.subarray(0, i).toString(), 10)
const len = parseInt(b4a.toString(buf.subarray(0, i)), 10)
if (!len) return result
const b = b4a.toString(buf.subarray(i + 1, len - 1))
@ -304,7 +304,7 @@ function decodeOct (val, offset, length) {
const end = clamp(indexOf(val, 32, offset, val.length), val.length, val.length)
while (offset < end && val[offset] === 0) offset++
if (end === offset) return 0
return parseInt(val.subarray(offset, end).toString(), 8)
return parseInt(b4a.toString(val.subarray(offset, end)), 8)
}
}

View File

@ -1,6 +1,6 @@
{
"name": "tar-stream",
"version": "3.1.6",
"version": "3.1.7",
"description": "tar-stream is a streaming tar parser and generator and nothing else. It operates purely using streams which means you can easily extract/parse tarballs without ever hitting the file system.",
"main": "index.js",
"files": [