New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

@types/formdata

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/formdata - npm Package Compare versions

Comparing version
0.10.0
to
0.10.1
+2
-2
formdata/index.d.ts

@@ -11,4 +11,4 @@ // Type definitions for formdata 0.10

boundary?: string;
type?: string;
boundary?: string | undefined;
type?: string | undefined;

@@ -15,0 +15,0 @@ append(key: keyof any, value: unknown): Error | undefined;

{
"name": "@types/formdata",
"version": "0.10.0",
"version": "0.10.1",
"description": "TypeScript definitions for formdata",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/formdata",
"license": "MIT",

@@ -22,4 +23,4 @@ "contributors": [

"dependencies": {},
"typesPublisherContentHash": "b1733f4de6be566f53bdf10cc9c136063b0ba60cc9682adb12004b4f1a6effc5",
"typeScriptVersion": "3.0"
"typesPublisherContentHash": "7dafc218a0db7cfbb7ced7c630a166f054fd4761bff23686a1237f7d2929b11e",
"typeScriptVersion": "3.6"
}

@@ -9,5 +9,29 @@ # Installation

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/formdata.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/formdata/index.d.ts)
````ts
// Type definitions for formdata 0.10
// Project: https://github.com/node-file-api/FormData
// Definitions by: Ciarán Ingle <https://github.com/inglec-arista>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
import { EventEmitter } from 'events';
declare class FormData {
nodeChunkedEncoding: boolean;
boundary?: string | undefined;
type?: string | undefined;
append(key: keyof any, value: unknown): Error | undefined;
getContentType(): string;
serialize(intendedType?: string): EventEmitter | undefined;
setNodeChunkedEncoding(val: boolean): void;
}
export = FormData;
````
### Additional Details
* Last updated: Tue, 21 Jul 2020 20:30:27 GMT
* Last updated: Thu, 08 Jul 2021 12:01:48 GMT
* Dependencies: none

@@ -14,0 +38,0 @@ * Global values: none