You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pouchdb.apache.org by ja...@apache.org on 2026/04/23 15:01:15 UTC

(pouchdb) 07/07: chore: rename node sqlite adapter export

This is an automated email from the ASF dual-hosted git repository.

janl pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pouchdb.git

commit a9c95092b6d47ab47bf71bf9e7cb1357102862c7
Author: Julia Krüger <ju...@gmail.com>
AuthorDate: Tue Apr 14 11:57:53 2026 +0200

    chore: rename node sqlite adapter export
---
 packages/node_modules/pouchdb-adapter-nodesqlite/src/index.js | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/packages/node_modules/pouchdb-adapter-nodesqlite/src/index.js b/packages/node_modules/pouchdb-adapter-nodesqlite/src/index.js
index 1332209c5..7e118d0bd 100644
--- a/packages/node_modules/pouchdb-adapter-nodesqlite/src/index.js
+++ b/packages/node_modules/pouchdb-adapter-nodesqlite/src/index.js
@@ -2,7 +2,7 @@ import CoreWebsqlPouch from 'pouchdb-adapter-websql-core';
 
 import openDB from '@neighbourhoodie/websql';
 
-function WebsqlPouch(opts, callback) {
+function NodeSqlitePouch(opts, callback) {
   var _opts = Object.assign({
     websql: openDB
   }, opts);
@@ -10,11 +10,11 @@ function WebsqlPouch(opts, callback) {
   CoreWebsqlPouch.call(this, _opts, callback);
 }
 
-WebsqlPouch.valid = function () {
+NodeSqlitePouch.valid = function () {
   return true;
 };
-WebsqlPouch.use_prefix = false;
+NodeSqlitePouch.use_prefix = false;
 
 export default function (PouchDB) {
-  PouchDB.adapter('nodesqlite', WebsqlPouch, true);
+  PouchDB.adapter('nodesqlite', NodeSqlitePouch, true);
 }