Comparing version 10.1.2 to 10.1.3
@@ -7,3 +7,3 @@ { | ||
"repository": "http://github.com/apache/couchdb-nano", | ||
"version": "10.1.2", | ||
"version": "10.1.3", | ||
"author": "Apache CouchDB <dev@couchdb.apache.org> (http://couchdb.apache.org)", | ||
@@ -21,3 +21,3 @@ "keywords": [ | ||
"dependencies": { | ||
"axios": "^1.2.2", | ||
"axios": "^1.6.2", | ||
"qs": "^6.11.0", | ||
@@ -30,3 +30,3 @@ "node-abort-controller": "^3.0.1" | ||
"nock": "^13.2.9", | ||
"standard": "^17.0.0", | ||
"standard": "^17.1.0", | ||
"typescript": "^4.8.4" | ||
@@ -33,0 +33,0 @@ }, |
@@ -507,2 +507,12 @@ [![NPM](http://img.shields.io/npm/v/nano.svg?style=flat-square)](https://www.npmjs.com/package/nano) | ||
### nano.info([callback]) | ||
Fetch information about the CouchDB cluster: | ||
```js | ||
const info = await nano.info() | ||
``` | ||
The response is an object with [CouchDB cluster information](https://docs.couchdb.org/en/stable/intro/api.html#server). | ||
## Document functions | ||
@@ -591,5 +601,6 @@ | ||
```js | ||
const doclist = await alice.list().then((body) | ||
doclist.rows.forEach((doc) => { | ||
console.log(doc); | ||
const doclist = await alice.list().then((body)=>{ | ||
body.rows.forEach((doc) => { | ||
console.log(doc); | ||
}) | ||
}); | ||
@@ -596,0 +607,0 @@ ``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
181159
13
3120
1377
2
Updatedaxios@^1.6.2