pouchdb-ajax
Advanced tools
Comparing version 6.1.2 to 6.2.0
@@ -186,3 +186,3 @@ import { assign, clone } from 'pouchdb-utils'; | ||
clearTimeout(timer); | ||
if(xhr.readyState !== 4) { | ||
if (xhr.readyState !== 4) { | ||
timer = setTimeout(timeoutReq, options.timeout); | ||
@@ -223,3 +223,3 @@ } | ||
err = JSON.parse(xhr.response); | ||
} catch(e) {} | ||
} catch (e) {} | ||
} | ||
@@ -226,0 +226,0 @@ err.status = xhr.status; |
@@ -190,3 +190,3 @@ 'use strict'; | ||
clearTimeout(timer); | ||
if(xhr.readyState !== 4) { | ||
if (xhr.readyState !== 4) { | ||
timer = setTimeout(timeoutReq, options.timeout); | ||
@@ -227,3 +227,3 @@ } | ||
err = JSON.parse(xhr.response); | ||
} catch(e) {} | ||
} catch (e) {} | ||
} | ||
@@ -230,0 +230,0 @@ err.status = xhr.status; |
{ | ||
"name": "pouchdb-ajax", | ||
"version": "6.1.2", | ||
"version": "6.2.0", | ||
"description": "PouchDB's ajax() method.", | ||
@@ -17,7 +17,7 @@ "main": "./lib/index.js", | ||
"buffer-from": "0.1.1", | ||
"pouchdb-binary-utils": "6.1.2", | ||
"pouchdb-errors": "6.1.2", | ||
"pouchdb-promise": "6.1.2", | ||
"pouchdb-utils": "6.1.2", | ||
"request": "2.79.0" | ||
"pouchdb-binary-utils": "6.2.0", | ||
"pouchdb-errors": "6.2.0", | ||
"pouchdb-promise": "6.2.0", | ||
"pouchdb-utils": "6.2.0", | ||
"request": "2.80.0" | ||
}, | ||
@@ -24,0 +24,0 @@ "files": [ |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
37544
+ Addedajv@4.11.8(transitive)
+ Addedcall-bind@1.0.7(transitive)
+ Addedcaseless@0.12.0(transitive)
+ Addedco@4.6.0(transitive)
+ Addeddefine-data-property@1.1.4(transitive)
+ Addedes-define-property@1.0.0(transitive)
+ Addedes-errors@1.3.0(transitive)
+ Addedfunction-bind@1.1.2(transitive)
+ Addedget-intrinsic@1.2.4(transitive)
+ Addedgopd@1.0.1(transitive)
+ Addedhar-schema@1.0.5(transitive)
+ Addedhar-validator@4.2.1(transitive)
+ Addedhas-property-descriptors@1.0.2(transitive)
+ Addedhas-proto@1.0.3(transitive)
+ Addedhasown@2.0.2(transitive)
+ Addedisarray@2.0.5(transitive)
+ Addedjson-stable-stringify@1.1.1(transitive)
+ Addedjsonify@0.0.1(transitive)
+ Addedlie@3.1.1(transitive)
+ Addedobject-keys@1.1.1(transitive)
+ Addedperformance-now@0.2.0(transitive)
+ Addedpouchdb-binary-utils@6.2.0(transitive)
+ Addedpouchdb-collections@6.2.0(transitive)
+ Addedpouchdb-errors@6.2.0(transitive)
+ Addedpouchdb-promise@6.2.0(transitive)
+ Addedpouchdb-utils@6.2.0(transitive)
+ Addedrequest@2.80.0(transitive)
+ Addedset-function-length@1.2.2(transitive)
- Removedansi-regex@2.1.1(transitive)
- Removedansi-styles@2.2.1(transitive)
- Removedcaseless@0.11.0(transitive)
- Removedchalk@1.1.3(transitive)
- Removedcommander@2.20.3(transitive)
- Removeddebug@2.6.0(transitive)
- Removedescape-string-regexp@1.0.5(transitive)
- Removedgenerate-function@2.3.1(transitive)
- Removedgenerate-object-property@1.2.0(transitive)
- Removedhar-validator@2.0.6(transitive)
- Removedhas-ansi@2.0.0(transitive)
- Removedis-my-ip-valid@1.0.1(transitive)
- Removedis-my-json-valid@2.20.6(transitive)
- Removedis-property@1.0.2(transitive)
- Removedjsonpointer@5.0.1(transitive)
- Removedlie@3.1.0(transitive)
- Removedms@0.7.2(transitive)
- Removedpinkie@2.0.4(transitive)
- Removedpinkie-promise@2.0.1(transitive)
- Removedpouchdb-binary-utils@6.1.2(transitive)
- Removedpouchdb-collections@6.1.2(transitive)
- Removedpouchdb-errors@6.1.2(transitive)
- Removedpouchdb-promise@6.1.2(transitive)
- Removedpouchdb-utils@6.1.2(transitive)
- Removedrequest@2.79.0(transitive)
- Removedstrip-ansi@3.0.1(transitive)
- Removedsupports-color@2.0.0(transitive)
- Removedxtend@4.0.2(transitive)
Updatedpouchdb-binary-utils@6.2.0
Updatedpouchdb-errors@6.2.0
Updatedpouchdb-promise@6.2.0
Updatedpouchdb-utils@6.2.0
Updatedrequest@2.80.0