Socket
Socket
Sign inDemoInstall

form-data

Package Overview
Dependencies
Maintainers
4
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

form-data - npm Package Compare versions

Comparing version 3.0.0 to 3.0.1

Readme.md

1

index.d.ts

@@ -39,2 +39,3 @@ // Definitions by: Carlos Ballesteros Velasco <https://github.com/soywiz>

getBuffer(): Buffer;
setBoundary(boundary: string): void;
getBoundary(): string;

@@ -41,0 +42,0 @@ getLength(callback: (err: Error | null, length: number) => void): void;

@@ -308,2 +308,6 @@ var CombinedStream = require('combined-stream');

FormData.prototype.setBoundary = function(boundary) {
this._boundary = boundary;
};
FormData.prototype.getBoundary = function() {

@@ -310,0 +314,0 @@ if (!this._boundary) {

2

package.json

@@ -5,3 +5,3 @@ {

"description": "A library to create readable \"multipart/form-data\" streams. Can be used to submit forms and file uploads to other web applications.",
"version": "3.0.0",
"version": "3.0.1",
"repository": {

@@ -8,0 +8,0 @@ "type": "git",

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