@whatwg-node/node-fetch
Advanced tools
Comparing version 0.5.16-alpha-20240726002236-105dd434a11d1e455ea8f23481530c2ec4ca0aae to 0.5.16-alpha-20240726002534-08544b4b30b29fc48e4bbbfd5c951cf76d1d4c1f
@@ -5,4 +5,4 @@ "use strict"; | ||
const node_zlib_1 = require("node:zlib"); | ||
const TransformStream_1 = require("./TransformStream"); | ||
class PonyfillCompressionStream extends TransformStream_1.PonyfillTransformStream { | ||
const TransformStream_js_1 = require("./TransformStream.js"); | ||
class PonyfillCompressionStream extends TransformStream_js_1.PonyfillTransformStream { | ||
constructor(compressionFormat) { | ||
@@ -9,0 +9,0 @@ switch (compressionFormat) { |
import { createBrotliCompress, createDeflate, createDeflateRaw, createGzip } from 'node:zlib'; | ||
import { PonyfillTransformStream } from './TransformStream'; | ||
import { PonyfillTransformStream } from './TransformStream.js'; | ||
export class PonyfillCompressionStream extends PonyfillTransformStream { | ||
@@ -4,0 +4,0 @@ constructor(compressionFormat) { |
{ | ||
"name": "@whatwg-node/node-fetch", | ||
"version": "0.5.16-alpha-20240726002236-105dd434a11d1e455ea8f23481530c2ec4ca0aae", | ||
"version": "0.5.16-alpha-20240726002534-08544b4b30b29fc48e4bbbfd5c951cf76d1d4c1f", | ||
"description": "Fetch API implementation for Node", | ||
@@ -5,0 +5,0 @@ "sideEffects": false, |
@@ -1,2 +0,2 @@ | ||
import { PonyfillTransformStream } from './TransformStream'; | ||
import { PonyfillTransformStream } from './TransformStream.js'; | ||
export type PonyfillCompressionFormat = 'x-gzip' | 'gzip' | 'x-deflate' | 'deflate' | 'deflate-raw' | 'br'; | ||
@@ -3,0 +3,0 @@ export declare class PonyfillCompressionStream extends PonyfillTransformStream implements CompressionStream { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
196430