Upakovka v Electron.JS no po staroy sborke cherez .cjs

This commit is contained in:
Neyra
2026-02-10 19:19:41 +08:00
parent 8e9b7201ed
commit a1bba1d3d1
442 changed files with 19825 additions and 47462 deletions

10
node_modules/minizlib/README.md generated vendored
View File

@@ -9,7 +9,7 @@ This module was created to serve the needs of
Brotli is supported in versions of node with a Brotli binding.
## How does this differ from the streams in `require('zlib')`?
## How does this differ from the streams in `'node:zlib'`?
First, there are no convenience methods to compress or decompress a
buffer. If you want those, use the built-in `zlib` module. This is
@@ -41,13 +41,17 @@ provided by that class.
- Unzip
- BrotliCompress (Node v10 and higher)
- BrotliDecompress (Node v10 and higher)
- ZstdCompress (Node v22.15 and higher)
- ZstdDecompress (Node v22.15 and higher)
## USAGE
```js
const zlib = require('minizlib')
import { BrotliDecompress } from 'minizlib'
// or: const BrotliDecompress = require('minizlib')
const input = sourceOfCompressedData()
const decode = new zlib.BrotliDecompress()
const decode = new BrotliDecompress()
const output = whereToWriteTheDecodedData()
input.pipe(decode).pipe(output)
```