This is an automated email from the ASF dual-hosted git repository.

glynnbird pushed a commit to branch 10.1.0
in repository https://gitbox.apache.org/repos/asf/couchdb-nano.git

commit 383098f829a402e3859cad4f1fd019eeb786040c
Author: Glynn Bird <[email protected]>
AuthorDate: Thu Nov 3 10:32:43 2022 +0000

    bump all dependencies to latest versions
---
 lib/nano.js       |   4 +-
 package-lock.json | 112 +++++++++++++++++++++++++++++++++++++++---------------
 package.json      |   8 ++--
 3 files changed, 87 insertions(+), 37 deletions(-)

diff --git a/lib/nano.js b/lib/nano.js
index f05c67e..e5c1499 100644
--- a/lib/nano.js
+++ b/lib/nano.js
@@ -10,7 +10,7 @@
 // License for the specific language governing permissions and limitations 
under
 // the License.
 
-const { HttpsCookieAgent, HttpCookieAgent } = require('http-cookie-agent')
+const { HttpsCookieAgent, HttpCookieAgent } = require('http-cookie-agent/http')
 const { URL } = require('url')
 const assert = require('assert')
 const querystring = require('qs')
@@ -372,7 +372,7 @@ module.exports = exports = function dbScope (cfg) {
     req.params = req.qs
     delete req.qs
     req.paramsSerializer = {
-      serialize:  (params) => querystring.stringify(params, {arrayFormat: 
'brackets'})
+      serialize: (params) => querystring.stringify(params, { arrayFormat: 
'brackets' })
     }
     req.data = req.body
     delete req.body
diff --git a/package-lock.json b/package-lock.json
index 574408f..fb1495f 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -9,11 +9,11 @@
       "version": "10.1.0",
       "license": "Apache-2.0",
       "dependencies": {
-        "@types/tough-cookie": "^4.0.0",
+        "@types/tough-cookie": "^4.0.2",
         "axios": "^1.1.3",
-        "http-cookie-agent": "^1.0.5",
+        "http-cookie-agent": "^4.0.2",
         "qs": "^6.11.0",
-        "tough-cookie": "^4.0.0"
+        "tough-cookie": "^4.1.2"
       },
       "devDependencies": {
         "@types/node": "^18.11.9",
@@ -1230,9 +1230,9 @@
       "dev": true
     },
     "node_modules/@types/tough-cookie": {
-      "version": "4.0.0",
-      "resolved": 
"https://registry.npmjs.org/@types/tough-cookie/-/tough-cookie-4.0.0.tgz";,
-      "integrity": 
"sha512-I99sngh224D0M7XgW1s120zxCt3VYQ3IQsuw3P3jbq5GG4yc79+ZjyKznyOGIQrflfylLgcfekeZW/vk0yng6A=="
+      "version": "4.0.2",
+      "resolved": 
"https://registry.npmjs.org/@types/tough-cookie/-/tough-cookie-4.0.2.tgz";,
+      "integrity": 
"sha512-Q5vtl1W5ue16D+nIaW8JWebSSraJVlK+EthKn7e7UcD4KWsaSJ8BqGPXNaPghgtcn/fhvrN17Tv8ksUsQpiplw=="
     },
     "node_modules/@types/yargs": {
       "version": "17.0.13",
@@ -3017,17 +3017,27 @@
       "dev": true
     },
     "node_modules/http-cookie-agent": {
-      "version": "1.0.5",
-      "resolved": 
"https://registry.npmjs.org/http-cookie-agent/-/http-cookie-agent-1.0.5.tgz";,
-      "integrity": 
"sha512-X8QM/rGPu/cb7A37uNLuz+PZfkmlQ9PycDD+/QsmqICXBd9grKWdWKMzg/BDkzxIbV+P/FYTsKZn08KcXgbLsQ==",
+      "version": "4.0.2",
+      "resolved": 
"https://registry.npmjs.org/http-cookie-agent/-/http-cookie-agent-4.0.2.tgz";,
+      "integrity": 
"sha512-noTmxdH5CuytTnLj/Qv3Z84e/YFq8yLXAw3pqIYZ25Edhb9pQErIAC+ednw40Cic6Le/h9ryph5/TqsvkOaUCw==",
       "dependencies": {
         "agent-base": "^6.0.2"
       },
       "engines": {
-        "node": ">=12.19.0 <13.0.0 || >=14.5.0"
+        "node": ">=14.18.0 <15.0.0 || >=16.0.0"
       },
       "peerDependencies": {
-        "tough-cookie": "^4.0.0"
+        "deasync": "^0.1.26",
+        "tough-cookie": "^4.0.0",
+        "undici": "^5.1.1"
+      },
+      "peerDependenciesMeta": {
+        "deasync": {
+          "optional": true
+        },
+        "undici": {
+          "optional": true
+        }
       }
     },
     "node_modules/human-signals": {
@@ -4878,6 +4888,11 @@
         "url": "https://github.com/sponsors/ljharb";
       }
     },
+    "node_modules/querystringify": {
+      "version": "2.2.0",
+      "resolved": 
"https://registry.npmjs.org/querystringify/-/querystringify-2.2.0.tgz";,
+      "integrity": 
"sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ=="
+    },
     "node_modules/queue-microtask": {
       "version": "1.2.3",
       "resolved": 
"https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz";,
@@ -4942,6 +4957,11 @@
         "node": ">=0.10.0"
       }
     },
+    "node_modules/requires-port": {
+      "version": "1.0.0",
+      "resolved": 
"https://registry.npmjs.org/requires-port/-/requires-port-1.0.0.tgz";,
+      "integrity": 
"sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ=="
+    },
     "node_modules/resolve": {
       "version": "1.22.1",
       "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.1.tgz";,
@@ -5405,13 +5425,14 @@
       }
     },
     "node_modules/tough-cookie": {
-      "version": "4.0.0",
-      "resolved": 
"https://registry.npmjs.org/tough-cookie/-/tough-cookie-4.0.0.tgz";,
-      "integrity": 
"sha512-tHdtEpQCMrc1YLrMaqXXcj6AxhYi/xgit6mZu1+EDWUn+qhUf8wMQoFIy9NXuq23zAwtcB0t/MjACGR18pcRbg==",
+      "version": "4.1.2",
+      "resolved": 
"https://registry.npmjs.org/tough-cookie/-/tough-cookie-4.1.2.tgz";,
+      "integrity": 
"sha512-G9fqXWoYFZgTc2z8Q5zaHy/vJMjm+WV0AkAeHxVCQiEB1b+dGvWzFW6QV07cY5jQ5gRkeid2qIkzkxUnmoQZUQ==",
       "dependencies": {
         "psl": "^1.1.33",
         "punycode": "^2.1.1",
-        "universalify": "^0.1.2"
+        "universalify": "^0.2.0",
+        "url-parse": "^1.5.3"
       },
       "engines": {
         "node": ">=6"
@@ -5512,9 +5533,9 @@
       }
     },
     "node_modules/universalify": {
-      "version": "0.1.2",
-      "resolved": 
"https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz";,
-      "integrity": 
"sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==",
+      "version": "0.2.0",
+      "resolved": 
"https://registry.npmjs.org/universalify/-/universalify-0.2.0.tgz";,
+      "integrity": 
"sha512-CJ1QgKmNg3CwvAv/kOFmtnEN05f0D/cn9QntgNOQlQF9dgvVTHj3t+8JPdjqawCHk7V/KA+fbUqzZ9XWhcqPUg==",
       "engines": {
         "node": ">= 4.0.0"
       }
@@ -5554,6 +5575,15 @@
         "punycode": "^2.1.0"
       }
     },
+    "node_modules/url-parse": {
+      "version": "1.5.10",
+      "resolved": 
"https://registry.npmjs.org/url-parse/-/url-parse-1.5.10.tgz";,
+      "integrity": 
"sha512-WypcfiRhfeUP9vvF0j6rw0J3hrWrw6iZv3+22h6iRMJ/8z1Tj6XfLP4DsUix5MhMPnXpiHDoKyoZ/bdCkwBCiQ==",
+      "dependencies": {
+        "querystringify": "^2.1.1",
+        "requires-port": "^1.0.0"
+      }
+    },
     "node_modules/v8-to-istanbul": {
       "version": "9.0.1",
       "resolved": 
"https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-9.0.1.tgz";,
@@ -6659,9 +6689,9 @@
       "dev": true
     },
     "@types/tough-cookie": {
-      "version": "4.0.0",
-      "resolved": 
"https://registry.npmjs.org/@types/tough-cookie/-/tough-cookie-4.0.0.tgz";,
-      "integrity": 
"sha512-I99sngh224D0M7XgW1s120zxCt3VYQ3IQsuw3P3jbq5GG4yc79+ZjyKznyOGIQrflfylLgcfekeZW/vk0yng6A=="
+      "version": "4.0.2",
+      "resolved": 
"https://registry.npmjs.org/@types/tough-cookie/-/tough-cookie-4.0.2.tgz";,
+      "integrity": 
"sha512-Q5vtl1W5ue16D+nIaW8JWebSSraJVlK+EthKn7e7UcD4KWsaSJ8BqGPXNaPghgtcn/fhvrN17Tv8ksUsQpiplw=="
     },
     "@types/yargs": {
       "version": "17.0.13",
@@ -7942,9 +7972,9 @@
       "dev": true
     },
     "http-cookie-agent": {
-      "version": "1.0.5",
-      "resolved": 
"https://registry.npmjs.org/http-cookie-agent/-/http-cookie-agent-1.0.5.tgz";,
-      "integrity": 
"sha512-X8QM/rGPu/cb7A37uNLuz+PZfkmlQ9PycDD+/QsmqICXBd9grKWdWKMzg/BDkzxIbV+P/FYTsKZn08KcXgbLsQ==",
+      "version": "4.0.2",
+      "resolved": 
"https://registry.npmjs.org/http-cookie-agent/-/http-cookie-agent-4.0.2.tgz";,
+      "integrity": 
"sha512-noTmxdH5CuytTnLj/Qv3Z84e/YFq8yLXAw3pqIYZ25Edhb9pQErIAC+ednw40Cic6Le/h9ryph5/TqsvkOaUCw==",
       "requires": {
         "agent-base": "^6.0.2"
       }
@@ -9325,6 +9355,11 @@
         "side-channel": "^1.0.4"
       }
     },
+    "querystringify": {
+      "version": "2.2.0",
+      "resolved": 
"https://registry.npmjs.org/querystringify/-/querystringify-2.2.0.tgz";,
+      "integrity": 
"sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ=="
+    },
     "queue-microtask": {
       "version": "1.2.3",
       "resolved": 
"https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz";,
@@ -9360,6 +9395,11 @@
       "integrity": 
"sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==",
       "dev": true
     },
+    "requires-port": {
+      "version": "1.0.0",
+      "resolved": 
"https://registry.npmjs.org/requires-port/-/requires-port-1.0.0.tgz";,
+      "integrity": 
"sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ=="
+    },
     "resolve": {
       "version": "1.22.1",
       "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.1.tgz";,
@@ -9675,13 +9715,14 @@
       }
     },
     "tough-cookie": {
-      "version": "4.0.0",
-      "resolved": 
"https://registry.npmjs.org/tough-cookie/-/tough-cookie-4.0.0.tgz";,
-      "integrity": 
"sha512-tHdtEpQCMrc1YLrMaqXXcj6AxhYi/xgit6mZu1+EDWUn+qhUf8wMQoFIy9NXuq23zAwtcB0t/MjACGR18pcRbg==",
+      "version": "4.1.2",
+      "resolved": 
"https://registry.npmjs.org/tough-cookie/-/tough-cookie-4.1.2.tgz";,
+      "integrity": 
"sha512-G9fqXWoYFZgTc2z8Q5zaHy/vJMjm+WV0AkAeHxVCQiEB1b+dGvWzFW6QV07cY5jQ5gRkeid2qIkzkxUnmoQZUQ==",
       "requires": {
         "psl": "^1.1.33",
         "punycode": "^2.1.1",
-        "universalify": "^0.1.2"
+        "universalify": "^0.2.0",
+        "url-parse": "^1.5.3"
       }
     },
     "tsconfig-paths": {
@@ -9753,9 +9794,9 @@
       }
     },
     "universalify": {
-      "version": "0.1.2",
-      "resolved": 
"https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz";,
-      "integrity": 
"sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg=="
+      "version": "0.2.0",
+      "resolved": 
"https://registry.npmjs.org/universalify/-/universalify-0.2.0.tgz";,
+      "integrity": 
"sha512-CJ1QgKmNg3CwvAv/kOFmtnEN05f0D/cn9QntgNOQlQF9dgvVTHj3t+8JPdjqawCHk7V/KA+fbUqzZ9XWhcqPUg=="
     },
     "update-browserslist-db": {
       "version": "1.0.10",
@@ -9776,6 +9817,15 @@
         "punycode": "^2.1.0"
       }
     },
+    "url-parse": {
+      "version": "1.5.10",
+      "resolved": 
"https://registry.npmjs.org/url-parse/-/url-parse-1.5.10.tgz";,
+      "integrity": 
"sha512-WypcfiRhfeUP9vvF0j6rw0J3hrWrw6iZv3+22h6iRMJ/8z1Tj6XfLP4DsUix5MhMPnXpiHDoKyoZ/bdCkwBCiQ==",
+      "requires": {
+        "querystringify": "^2.1.1",
+        "requires-port": "^1.0.0"
+      }
+    },
     "v8-to-istanbul": {
       "version": "9.0.1",
       "resolved": 
"https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-9.0.1.tgz";,
diff --git a/package.json b/package.json
index 3a5d1c1..3aec989 100644
--- a/package.json
+++ b/package.json
@@ -17,11 +17,11 @@
     "database"
   ],
   "dependencies": {
-    "http-cookie-agent": "^1.0.5",
-    "@types/tough-cookie": "^4.0.0",
+    "http-cookie-agent": "^4.0.2",
+    "@types/tough-cookie": "^4.0.2",
     "axios": "^1.1.3",
     "qs": "^6.11.0",
-    "tough-cookie": "^4.0.0"
+    "tough-cookie": "^4.1.2"
   },
   "devDependencies": {
     "@types/node": "^18.11.9",
@@ -33,7 +33,7 @@
   "scripts": {
     "standard": "standard --fix",
     "test": "standard && tsc lib/nano.d.ts && npm run jest",
-    "jest": "jest test/* --coverage --env node --bail 1"
+    "jest": "jest test/* --coverage --env node"
   },
   "main": "./lib/nano.js",
   "types": "./lib/nano.d.ts",

Reply via email to