Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@whatwg-node/node-fetch

Package Overview
Dependencies
Maintainers
1
Versions
509
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@whatwg-node/node-fetch - npm Package Compare versions

Comparing version 0.5.16-alpha-20240726002236-105dd434a11d1e455ea8f23481530c2ec4ca0aae to 0.5.16-alpha-20240726002534-08544b4b30b29fc48e4bbbfd5c951cf76d1d4c1f

4

cjs/CompressionStream.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc