From fb9399783205257863c2fab1bd2e428483a21808 Mon Sep 17 00:00:00 2001 From: Robert Kieffer Date: Sun, 17 Dec 2023 07:38:18 -0800 Subject: [PATCH 1/4] chore: vscode settings --- .vscode/settings.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index f2d4538..f00295a 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,6 +1,6 @@ { "editor.formatOnSave": true, "editor.codeActionsOnSave": { - "source.organizeImports": true + "source.organizeImports": "explicit" } } \ No newline at end of file From c150f9be4e7286bb263085fc21f4778b527b7866 Mon Sep 17 00:00:00 2001 From: Robert Kieffer Date: Sun, 17 Dec 2023 07:39:30 -0800 Subject: [PATCH 2/4] fix: update mime-score version, fixes #297 --- package-lock.json | 7 ++++--- package.json | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index be5e3c6..7900f14 100644 --- a/package-lock.json +++ b/package-lock.json @@ -21,7 +21,7 @@ "@typescript-eslint/eslint-plugin": "6.6.0", "@typescript-eslint/parser": "6.6.0", "chalk": "5.3.0", - "mime-score": "2.0.3", + "mime-score": "2.0.4", "mime-types": "2.1.35", "prettier": "3.0.3", "runmd": "1.3.9", @@ -2342,12 +2342,13 @@ } }, "node_modules/mime-score": { - "version": "2.0.3", + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/mime-score/-/mime-score-2.0.4.tgz", + "integrity": "sha512-8L4TUnElJSWVkeVJEdhJYmL+5ceyUcw+d6B2Zic12kFF264+AGS2CKszryI/Uz8vP93k9RE09rKwJnSLAn32jA==", "dev": true, "funding": [ "https://github.com/sponsors/broofa" ], - "license": "MIT", "bin": { "mime-score": "dist/cli.js" } diff --git a/package.json b/package.json index a3421fd..92a28db 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ "@typescript-eslint/eslint-plugin": "6.6.0", "@typescript-eslint/parser": "6.6.0", "chalk": "5.3.0", - "mime-score": "2.0.3", + "mime-score": "2.0.4", "mime-types": "2.1.35", "prettier": "3.0.3", "runmd": "1.3.9", From 1892dd40789c9a82feba5490e402cca4cec4b1d9 Mon Sep 17 00:00:00 2001 From: Robert Kieffer Date: Sun, 17 Dec 2023 07:43:14 -0800 Subject: [PATCH 3/4] chore: remove prepare script --- package.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/package.json b/package.json index 92a28db..09d1772 100644 --- a/package.json +++ b/package.json @@ -48,8 +48,7 @@ "build:watch": "npm run build:clean && tsc --watch", "lint": "prettier -c .", "lint:fix": "prettier -w .", - "prepare": "npm run build", - "prepublishOnly": "npm run build && npm run build:types", + "prepublishOnly": "npm run build && npm run build:types && npm test", "release": "# `standard-version --dry-run --prerelease` is the command you're after", "test": "node --test && ./test/exports_test.sh", "test:watch": "clear && node --enable-source-maps --test --watch test" From 20a96e894232e345a14ae0f500254343688a87c7 Mon Sep 17 00:00:00 2001 From: Robert Kieffer Date: Sun, 17 Dec 2023 07:44:11 -0800 Subject: [PATCH 4/4] chore(release): 4.0.1 --- CHANGELOG.md | 7 +++++++ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f20e842..261096e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,13 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +### [4.0.1](https://github.com/broofa/mime/compare/v4.0.0-beta.1...v4.0.1) (2023-12-17) + + +### Bug Fixes + +* update mime-score version, fixes [#297](https://github.com/broofa/mime/issues/297) ([c150f9b](https://github.com/broofa/mime/commit/c150f9be4e7286bb263085fc21f4778b527b7866)) + ## [4.0.0](https://github.com/broofa/mime/compare/v4.0.0-beta.1...v4.0.0) (2023-11-29) ## [4.0.0-beta.1](https://github.com/broofa/mime/compare/v4.0.0-beta.0...v4.0.0-beta.1) (2023-09-14) diff --git a/package-lock.json b/package-lock.json index 7900f14..dce0be9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "mime", - "version": "4.0.0", + "version": "4.0.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "mime", - "version": "4.0.0", + "version": "4.0.1", "funding": [ "https://github.com/sponsors/broofa" ], diff --git a/package.json b/package.json index 09d1772..fd2125d 100644 --- a/package.json +++ b/package.json @@ -66,7 +66,7 @@ "url": "https://github.com/broofa/mime", "type": "git" }, - "version": "4.0.0", + "version": "4.0.1", "funding": [ "https://github.com/sponsors/broofa" ]