Socket
Socket
Sign inDemoInstall

@tinyhttp/content-type

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tinyhttp/content-type - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

13

package.json
{
"name": "@tinyhttp/content-type",
"description": "content-type rewrite in TypeScript and ESM",
"version": "0.1.2",
"version": "0.1.3",
"repository": "https://github.com/tinyhttp/content-type.git",
"engines": {
"node": ">=12.x"
"node": ">=12.4"
},

@@ -21,2 +21,3 @@ "files": [

"@typescript-eslint/parser": "^6.7.2",
"c8": "^8.0.1",
"eslint": "^8.50.0",

@@ -30,5 +31,11 @@ "tsm": "^2.3.0",

},
"publishConfig": {
"access": "public"
},
"scripts": {
"build": "tsup src/index.ts --format esm --dts"
"build": "tsup src/index.ts --format esm --dts",
"test": "uvu -r tsm test",
"test:coverage": "c8 --include=src pnpm test",
"test:report": "c8 report --reporter=text-lcov > coverage.lcov"
}
}
# @tinyhttp/content-type
![Vulnerabilities](https://img.shields.io/snyk/vulnerabilities/npm/@tinyhttp/content-type.svg?style=flat-square)
[![Version](https://img.shields.io/npm/v/@tinyhttp/content-type.svg?style=flat-square)](https://npm.im/@tinyhttp/content-type)
[![Version][v-badge-url]][npm-url] [![Downloads][dl-badge-url]][npm-url] [![GitHub Workflow Status][gh-actions-img]][github-actions] [![Codecov][cov-badge-url]][cov-url]

@@ -76,1 +75,9 @@ > [`content-type`](https://github.com/jshttp/content-type) rewrite in TypeScript and ESM.

Throws a `TypeError` if the object contains an invalid type or parameter names.
[v-badge-url]: https://img.shields.io/npm/v/@tinyhttp/content-type.svg?style=for-the-badge&color=FF69B4&label=&logo=npm
[npm-url]: https://www.npmjs.com/package/@tinyhttp/content-type
[cov-badge-url]: https://img.shields.io/coveralls/github/tinyhttp/content-type?style=for-the-badge&color=FF69B4
[cov-url]: https://coveralls.io/github/tinyhttp/@tinyhttp/content-type
[dl-badge-url]: https://img.shields.io/npm/dt/@tinyhttp/content-type?style=for-the-badge&color=FF69B4
[github-actions]: https://github.com/tinyhttp/content-type/actions
[gh-actions-img]: https://img.shields.io/github/actions/workflow/status/tinyhttp/content-type/ci.yml?branch=master&style=for-the-badge&color=FF69B4&label=&logo=github
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