set max engine versions to discourage use when native buffer encoding available
[squeep-base64url] / package.json
index a67962591be58c0fe1f2c71f01285dec79b592b3..3ac5db885613559e905eb8c6a6a88c1bc0a0e411 100644 (file)
@@ -1,7 +1,7 @@
 {
   "name": "@squeep/base64url",
   "version": "1.0.5",
-  "description": "Convert between base64 and base64url encodings.",
+  "description": "Convert between base64 and base64url encodings. (Deprecated as of nodejs 15.7.0 and 14.18.0 due to native support.)",
   "main": "index.js",
   "scripts": {
     "coverage": "nyc npm test",
@@ -23,7 +23,7 @@
     "base64"
   ],
   "engines": {
-    "node": ">=14"
+    "node": "^15 <15.7 || <14.18"
   },
   "author": "Justin Wind <jwind-npm@squeep.com>",
   "license": "ISC",