Skip to content

Commit

Permalink
build(deps-dev): replace standard with neostandard
Browse files Browse the repository at this point in the history
  • Loading branch information
Fdawgs committed Dec 8, 2024
1 parent 05a7f8b commit 11ee5a9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Parse HTTP Content-Type header according to RFC 7231
[![NPM version](https://img.shields.io/npm/v/fast-content-type-parse.svg?style=flat)](https://www.npmjs.com/package/fast-content-type-parse)
[![NPM downloads](https://img.shields.io/npm/dm/fast-content-type-parse.svg?style=flat)](https://www.npmjs.com/package/fast-content-type-parse)
[![CI](https://github.com/fastify/fast-content-type-parse/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/fastify/fast-content-type-parse/actions/workflows/ci.yml)
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://standardjs.com/)
[![neostandard javascript style](https://img.shields.io/badge/code_style-neostandard-brightgreen?style=flat)](https://github.com/neostandard/neostandard)
[![Security Responsible Disclosure](https://img.shields.io/badge/Security-Responsible%20Disclosure-yellow.svg)](https://github.com/fastify/.github/blob/main/SECURITY.md)

</div>
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"types": "./types/index.d.ts",
"scripts": {
"benchmark": "node benchmarks/simple.js && node benchmarks/simple-ows.js && node benchmarks/with-param.js && node benchmarks/with-param-quoted.js",
"lint": "standard",
"lint:fix": "standard --fix",
"lint": "eslint",
"lint:fix": "eslint --fix",
"test": "npm run test:unit && npm run test:typescript",
"test:typescript": "tsd",
"test:unit": "tap"
Expand All @@ -32,7 +32,7 @@
"benchmark": "^2.1.4",
"busboy": "^1.6.0",
"content-type": "^1.0.4",
"standard": "^17.0.0",
"neostandard": "^0.11.9",
"tap": "^19.2.5",
"tsd": "^0.31.0"
},
Expand Down
8 changes: 4 additions & 4 deletions types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ interface FastContentTypeParse {

declare namespace fastContentTypeParse {

export function parse(header: string): ContentType;
export function safeParse(header: string): ContentType;
export const defaultContentType: ContentType;
export function parse (header: string): ContentType
export function safeParse (header: string): ContentType
export const defaultContentType: ContentType

const fastContentTypeParse: FastContentTypeParse
export { fastContentTypeParse as default }
}

export = fastContentTypeParse
export = fastContentTypeParse

0 comments on commit 11ee5a9

Please sign in to comment.