From 14cfce9e390b316b07216aa7b03cdc4eb91d6447 Mon Sep 17 00:00:00 2001 From: Dustin Popp Date: Thu, 30 May 2024 16:37:05 -0500 Subject: [PATCH] build(deps): move unexposed types packages to dev dependencies The "file-type" and "isstream" types packages are not exposed in our public API and therefore, do not need to be in our list of production dependencies. This commit moves them to the list of development dependencies. Signed-off-by: Dustin Popp --- package-lock.json | 8 +++++--- package.json | 4 ++-- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 7ce5104d8..f1de20b62 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,8 +10,6 @@ "license": "Apache-2.0", "dependencies": { "@types/debug": "^4.1.12", - "@types/file-type": "~5.2.1", - "@types/isstream": "^0.1.0", "@types/node": "~10.14.19", "@types/tough-cookie": "^4.0.0", "axios": "1.6.8", @@ -36,6 +34,8 @@ "@semantic-release/changelog": "6.0.3", "@semantic-release/git": "10.0.1", "@types/extend": "^3.0.4", + "@types/file-type": "~5.2.1", + "@types/isstream": "^0.1.0", "@types/mime-types": "^2.1.4", "@typescript-eslint/eslint-plugin": "^5.47.0", "@typescript-eslint/parser": "^5.47.0", @@ -2818,6 +2818,7 @@ "version": "5.2.2", "resolved": "https://registry.npmjs.org/@types/file-type/-/file-type-5.2.2.tgz", "integrity": "sha512-GWtM4fyqfb+bec4ocpo51/y4x0b83Je+iA6eV131LT9wL0//G+1UgwbkMg7w61ceOwR+KkZXK00z44jrrNljWg==", + "dev": true, "dependencies": { "@types/node": "*" } @@ -2834,7 +2835,8 @@ "node_modules/@types/isstream": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/@types/isstream/-/isstream-0.1.2.tgz", - "integrity": "sha512-EE11Sn7gzHEF9FGkYHTkFpPuDEamLudLvaGnBciNgH55fTYboWZHINR6MP8+CfCOjPJX08l4teRrjCY11gz1CA==" + "integrity": "sha512-EE11Sn7gzHEF9FGkYHTkFpPuDEamLudLvaGnBciNgH55fTYboWZHINR6MP8+CfCOjPJX08l4teRrjCY11gz1CA==", + "dev": true }, "node_modules/@types/istanbul-lib-coverage": { "version": "2.0.6", diff --git a/package.json b/package.json index 4eb02bc9a..635bcd0cf 100644 --- a/package.json +++ b/package.json @@ -42,6 +42,8 @@ "@semantic-release/changelog": "6.0.3", "@semantic-release/git": "10.0.1", "@types/extend": "^3.0.4", + "@types/file-type": "~5.2.1", + "@types/isstream": "^0.1.0", "@types/mime-types": "^2.1.4", "@typescript-eslint/eslint-plugin": "^5.47.0", "@typescript-eslint/parser": "^5.47.0", @@ -64,8 +66,6 @@ }, "dependencies": { "@types/debug": "^4.1.12", - "@types/file-type": "~5.2.1", - "@types/isstream": "^0.1.0", "@types/node": "~10.14.19", "@types/tough-cookie": "^4.0.0", "axios": "1.6.8",