New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

undici-types

Package Overview
Dependencies
Maintainers
2
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

undici-types - npm Package Compare versions

Comparing version 6.20.0 to 6.21.0

1

dispatcher.d.ts

@@ -247,2 +247,3 @@ import { URL } from 'url'

blob(): Promise<Blob>;
bytes(): Promise<Uint8Array>;
formData(): Promise<never>;

@@ -249,0 +250,0 @@ json(): Promise<unknown>;

2

package.json
{
"name": "undici-types",
"version": "6.20.0",
"version": "6.21.0",
"description": "A stand-alone types package for Undici",

@@ -5,0 +5,0 @@ "homepage": "https://undici.nodejs.org",

@@ -28,2 +28,7 @@ import { Readable } from "stream";

/** Consumes and returns the body as an Uint8Array
* https://fetch.spec.whatwg.org/#dom-body-bytes
*/
bytes(): Promise<Uint8Array>
/** Consumes and returns the body as an ArrayBuffer

@@ -30,0 +35,0 @@ * https://fetch.spec.whatwg.org/#dom-body-arraybuffer

@@ -70,2 +70,8 @@ // These types are not exported, and are only used internally

Stringify (V: any): string
/**
* Mark a value as uncloneable for Node.js.
* This is only effective in some newer Node.js versions.
*/
markAsUncloneable (V: any): void
}

@@ -72,0 +78,0 @@

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