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

@types/media-typer

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/media-typer - npm Package Compare versions

Comparing version 0.3.1 to 0.3.2

2

media-typer v0.3/index.d.ts

@@ -12,3 +12,3 @@ // Type definitions for media-typer 0.3

subtype: string;
suffix?: string;
suffix?: string | undefined;
}
{
"name": "@types/media-typer",
"version": "0.3.1",
"version": "0.3.2",
"description": "TypeScript definitions for media-typer",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/media-typer",
"license": "MIT",

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

"dependencies": {},
"typesPublisherContentHash": "bd2f746eb7419ecceaa37371365d9de4fa322b348148f1d5e5c53d66caf21a14",
"typeScriptVersion": "2.9"
"typesPublisherContentHash": "fd0525d141202fbe6ae6c4a341453162d75619a007382970ab96ece451af8933",
"typeScriptVersion": "3.6"
}

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

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/media-typer/v0.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/media-typer/v0/index.d.ts)
````ts
// Type definitions for media-typer 0.3
// Project: https://github.com/jshttp/media-typer
// Definitions by: BendingBender <https://github.com/BendingBender>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
export function parse(mediaType: string): MediaType;
export function format(mediaTypeDescriptor: MediaType): string;
export interface MediaType {
type: string;
subtype: string;
suffix?: string | undefined;
}
````
### Additional Details
* Last updated: Tue, 12 May 2020 19:57:56 GMT
* Last updated: Tue, 06 Jul 2021 22:03:03 GMT
* Dependencies: none

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

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