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

@types/content-type

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/content-type - npm Package Compare versions

Comparing version 1.1.6 to 1.1.7

6

content-type/index.d.ts

@@ -1,7 +0,1 @@

// Type definitions for content-type 1.1
// Project: https://github.com/jshttp/content-type
// Definitions by: Hiroki Horiuchi <https://github.com/horiuchi>
// BendingBender <https://github.com/BendingBender>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
export function parse(input: RequestLike | ResponseLike | string): ParsedMediaType;

@@ -8,0 +2,0 @@ export function format(obj: MediaType): string;

14

content-type/package.json
{
"name": "@types/content-type",
"version": "1.1.6",
"version": "1.1.7",
"description": "TypeScript definitions for content-type",

@@ -10,9 +10,9 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/content-type",

"name": "Hiroki Horiuchi",
"url": "https://github.com/horiuchi",
"githubUsername": "horiuchi"
"githubUsername": "horiuchi",
"url": "https://github.com/horiuchi"
},
{
"name": "BendingBender",
"url": "https://github.com/BendingBender",
"githubUsername": "BendingBender"
"githubUsername": "BendingBender",
"url": "https://github.com/BendingBender"
}

@@ -29,4 +29,4 @@ ],

"dependencies": {},
"typesPublisherContentHash": "bdd17cc904c544da99f40e55263fd4fb90d243022c4f47045637de1977e245e5",
"typeScriptVersion": "4.3"
"typesPublisherContentHash": "9e394d9f7172dd5c949d9da972c7d71449809fd34e21681d4e9fa3d209891f6a",
"typeScriptVersion": "4.5"
}

@@ -11,8 +11,2 @@ # Installation

````ts
// Type definitions for content-type 1.1
// Project: https://github.com/jshttp/content-type
// Definitions by: Hiroki Horiuchi <https://github.com/horiuchi>
// BendingBender <https://github.com/BendingBender>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
export function parse(input: RequestLike | ResponseLike | string): ParsedMediaType;

@@ -42,7 +36,6 @@ export function format(obj: MediaType): string;

### Additional Details
* Last updated: Mon, 04 Sep 2023 15:41:09 GMT
* Last updated: Wed, 18 Oct 2023 00:05:18 GMT
* Dependencies: none
* Global values: none
# Credits
These definitions were written by [Hiroki Horiuchi](https://github.com/horiuchi), and [BendingBender](https://github.com/BendingBender).
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