Skip to content
This repository was archived by the owner on Mar 24, 2024. It is now read-only.

Commit 0745236

Browse files
authored
Setting up deprecated error
1 parent c3bd4da commit 0745236

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ class jsonverse {
4141
activateLogs: true,
4242
};
4343

44+
throw new Error('Package is deprecated please install the latest version of the new database called "verse.db"')
4445
// * Merge the default options with the provided options
4546
this.options = { ...defaultOptions, ...options };
4647

@@ -728,4 +729,4 @@ class jsonverse {
728729
module.exports = {
729730
Schema,
730731
jsonverse,
731-
};
732+
};

0 commit comments

Comments
 (0)