Comparing version 0.0.3 to 0.0.4
24
index.js
@@ -41,3 +41,7 @@ const langs = ["tr", "en"]; | ||
return this.adapter.get(db); | ||
try { | ||
return this.adapter.get(db); | ||
} catch(err) { | ||
return undefined; | ||
} | ||
@@ -52,3 +56,7 @@ } | ||
return this.adapter.get(db); | ||
try { | ||
return this.adapter.get(db); | ||
} catch(err) { | ||
return undefined; | ||
} | ||
@@ -63,3 +71,7 @@ } | ||
return this.adapter.get(db) ? true : false; | ||
try { | ||
return this.adapter.get(db) ? true : false; | ||
} catch(err) { | ||
return false; | ||
} | ||
@@ -74,3 +86,7 @@ } | ||
return this.adapter.delete(db); | ||
try { | ||
return this.adapter.delete(db); | ||
} catch (err) { | ||
return false; | ||
} | ||
@@ -77,0 +93,0 @@ } |
{ | ||
"name": "croxydb", | ||
"version": "0.0.3", | ||
"author": { | ||
"name": "CroxyTheDev" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/CroxyTheDev/croxydb/issues" | ||
}, | ||
"bundleDependencies": false, | ||
"deprecated": false, | ||
"description": "a JSON/YAML/LocalStorage database module", | ||
"main": "index.js", | ||
"homepage": "https://github.com/CroxyTheDev/croxydb#readme", | ||
"keywords": [ | ||
@@ -23,3 +29,5 @@ "croxy", | ||
], | ||
"bundleDependencies": false, | ||
"license": "MIT", | ||
"main": "index.js", | ||
"name": "croxydb", | ||
"repository": { | ||
@@ -29,4 +37,3 @@ "type": "git", | ||
}, | ||
"author": "CroxyTheDev", | ||
"license": "MIT" | ||
"version": "0.0.4" | ||
} |
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
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
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
35810
15
978
0
1
3