Comparing version 5.2.2 to 5.2.3
{ | ||
"name": "enmap", | ||
"version": "5.2.2", | ||
"version": "5.2.3", | ||
"description": "A simple database wrapper to make sqlite database interactions much easier for beginners, with additional array helper methods.", | ||
@@ -5,0 +5,0 @@ "types": "index.d.ts", |
@@ -963,2 +963,3 @@ // Lodash should probably be a core lib but hey, it's useful! | ||
[_check](key, type, path = null) { | ||
key = key.toString(); | ||
if (!this.has(key)) throw new Err(`The key "${key}" does not exist in the enmap "${this.name}"`, 'EnmapPathError'); | ||
@@ -965,0 +966,0 @@ if (!type) return; |
161218
2444