Rocky_Mountain_Vending/.pnpm-store/v10/files/7e/c30fdddeb8d17948550678afdf8af59eeccf54280422ca0f91f37c58d6a05289764acf042fec6cd4fe4c52227bf1648bc95e0e94cc2c790a9547370e6af1d3
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
Next.js website for Rocky Mountain Vending company featuring:
- Product catalog with Stripe integration
- Service areas and parts pages
- Admin dashboard with Clerk authentication
- SEO optimized pages with JSON-LD structured data

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 16:22:15 -07:00

38 lines
1 KiB
Text

import { Transform } from "node:stream";
import { createNotImplementedError } from "../../../../_internal/utils.mjs";
export class ZlibCompress extends Transform {
__unenv__ = true;
bytesRead = 0;
bytesWritten = 0;
constructor(opts) {
super(opts);
throw createNotImplementedError("zlib is not implemented yet!");
}
close(callback) {
if (typeof callback === "function") {
callback();
}
}
flush(kind, callback) {
if (typeof callback === "function") {
callback();
}
}
}
export class ZLibDecompress extends ZlibCompress {}
export function notImplementedCompress(format) {
const fn = function(_buf, arg2, arg3) {
const cb = typeof arg2 === "function" ? arg2 : arg3;
const err = new Error(`[unenv] zlib ${format} compression not supported.`);
if (typeof cb === "function") {
cb(err, Buffer.from(""));
} else {
throw err;
}
};
return Object.assign(fn, { __promisify__: (buffer, options) => {
return new Promise((resolve, reject) => {
fn(buffer, options, (err, result) => err ? reject(err) : resolve(result));
});
} });
}