@whatwg-node/node-fetch 0.5.16-alpha-20240726002236-105dd434a11d1e455ea8f23481530c2ec4ca0aae → 0.5.16-alpha-20240726004108-8adff933962d02a33839b753303a32bfe30e12fc
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/cjs/CompressionStream.js
CHANGED
@@ -2,8 +2,8 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.PonyfillCompressionStream = void 0;
|
4
4
|
const node_zlib_1 = require("node:zlib");
|
5
|
-
const
|
6
|
-
class PonyfillCompressionStream extends
|
5
|
+
const TransformStream_js_1 = require("./TransformStream.js");
|
6
|
+
class PonyfillCompressionStream extends TransformStream_js_1.PonyfillTransformStream {
|
7
7
|
constructor(compressionFormat) {
|
8
8
|
switch (compressionFormat) {
|
9
9
|
case 'x-gzip':
|
package/esm/CompressionStream.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { createBrotliCompress, createDeflate, createDeflateRaw, createGzip } from 'node:zlib';
|
2
|
-
import { PonyfillTransformStream } from './TransformStream';
|
2
|
+
import { PonyfillTransformStream } from './TransformStream.js';
|
3
3
|
export class PonyfillCompressionStream extends PonyfillTransformStream {
|
4
4
|
constructor(compressionFormat) {
|
5
5
|
switch (compressionFormat) {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@whatwg-node/node-fetch",
|
3
|
-
"version": "0.5.16-alpha-
|
3
|
+
"version": "0.5.16-alpha-20240726004108-8adff933962d02a33839b753303a32bfe30e12fc",
|
4
4
|
"description": "Fetch API implementation for Node",
|
5
5
|
"sideEffects": false,
|
6
6
|
"dependencies": {
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { PonyfillTransformStream } from './TransformStream';
|
1
|
+
import { PonyfillTransformStream } from './TransformStream.cjs';
|
2
2
|
export type PonyfillCompressionFormat = 'x-gzip' | 'gzip' | 'x-deflate' | 'deflate' | 'deflate-raw' | 'br';
|
3
3
|
export declare class PonyfillCompressionStream extends PonyfillTransformStream implements CompressionStream {
|
4
4
|
constructor(compressionFormat: PonyfillCompressionFormat);
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { PonyfillTransformStream } from './TransformStream';
|
1
|
+
import { PonyfillTransformStream } from './TransformStream.js';
|
2
2
|
export type PonyfillCompressionFormat = 'x-gzip' | 'gzip' | 'x-deflate' | 'deflate' | 'deflate-raw' | 'br';
|
3
3
|
export declare class PonyfillCompressionStream extends PonyfillTransformStream implements CompressionStream {
|
4
4
|
constructor(compressionFormat: PonyfillCompressionFormat);
|