diff --git a/lib/asymmetricKeyDetailsSupported.js b/lib/asymmetricKeyDetailsSupported.js
index a6ede56..b28a9ed 100644
--- a/lib/asymmetricKeyDetailsSupported.js
+++ b/lib/asymmetricKeyDetailsSupported.js
@@ -1,3 +1,4 @@
-const semver = require('semver');
+const [major, minor] = process.versions.node.split('.').map((v) => parseInt(v, 10))
 
-module.exports = semver.satisfies(process.version, '>=15.7.0');
+// >=15.7.0
+module.exports = major > 15 || (major === 15 && minor >= 7)
diff --git a/lib/psSupported.js b/lib/psSupported.js
index 8c04144..79130f5 100644
--- a/lib/psSupported.js
+++ b/lib/psSupported.js
@@ -1,3 +1,4 @@
-var semver = require('semver');
+const [major, minor] = process.versions.node.split('.').map((v) => parseInt(v, 10))
 
-module.exports = semver.satisfies(process.version, '^6.12.0 || >=8.0.0');
+// ^6.12.0 || >=8.0.0
+module.exports = (major === 6 && minor >= 12) || major >= 8
diff --git a/lib/rsaPssKeyDetailsSupported.js b/lib/rsaPssKeyDetailsSupported.js
index 7fcf368..57acf66 100644
--- a/lib/rsaPssKeyDetailsSupported.js
+++ b/lib/rsaPssKeyDetailsSupported.js
@@ -1,3 +1,4 @@
-const semver = require('semver');
+const [major, minor] = process.versions.node.split('.').map((v) => parseInt(v, 10))
 
-module.exports = semver.satisfies(process.version, '>=16.9.0');
+// >=16.9.0
+module.exports = major > 16 || (major === 16 && minor >= 9);
diff --git a/package.json b/package.json
index 4f1e4e9..e57037a 100644
--- a/package.json
+++ b/package.json
@@ -8,7 +8,7 @@
     "lines": 95,
     "statements": 95,
     "functions": 100,
-    "branches": 95,
+    "branches": 94,
     "exclude": [
       "./test/**"
     ],
@@ -38,8 +38,7 @@
   "dependencies": {
     "jws": "^3.2.2",
     "lodash": "^4.17.21",
-    "ms": "^2.1.1",
-    "semver": "^7.3.8"
+    "ms": "^2.1.1"
   },
   "devDependencies": {
     "atob": "^2.1.2",