Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

dbgate-plugin-sqlite

Package Overview
Dependencies
Maintainers
1
Versions
131
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dbgate-plugin-sqlite - npm Package Compare versions

Comparing version 5.0.0-alpha.1 to 5.0.0

2

dist/frontend.js

@@ -1,1 +0,1 @@

var plugin=function(t){var e={};function n(i){if(e[i])return e[i].exports;var s=e[i]={i:i,l:!1,exports:{}};return t[i].call(s.exports,s,s.exports,n),s.l=!0,s.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var s in t)n.d(i,s,function(e){return t[e]}.bind(null,s));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=1)}([function(t,e,n){const{driverBase:i}=window.DBGATE_TOOLS,s=n(2),{sqliteSplitterOptions:r,noSplitSplitterOptions:o}=n(3);function l(t){if(!t)return t;const e=t.match(/[\/]([^\/]+)$/);return e?e[1]:t}const a={...i,dumperClass:s,dialect:{limitSelect:!0,rangeSelect:!0,offsetFetchRangeSyntax:!1,explicitDropConstraint:!0,stringEscapeChar:"'",fallbackDataType:"nvarchar",dropColumnDependencies:["indexes","primaryKey","uniques"],quoteIdentifier:t=>`[${t}]`,anonymousPrimaryKey:!0,disableExplicitTransaction:!0,createColumn:!0,dropColumn:!0,createIndex:!0,dropIndex:!0,createForeignKey:!1,dropForeignKey:!1,createPrimaryKey:!1,dropPrimaryKey:!1,dropReferencesWhenDropTable:!1},engine:"sqlite@dbgate-plugin-sqlite",title:"SQLite",readOnlySessions:!0,showConnectionField:(t,e)=>"databaseFile"==t||"isReadOnly"==t,showConnectionTab:t=>!1,beforeConnectionSave:t=>({...t,singleDatabase:!0,defaultDatabase:l(t.databaseFile)}),getQuerySplitterOptions:t=>"stream"==t?o:r,isElectronOnly:!0};t.exports=a},function(t,e,n){"use strict";n.r(e);var i=n(0),s=n.n(i);e.default={packageName:"dbgate-plugin-sqlite",drivers:[s.a]}},function(t,e){const{SqlDumper:n,arrayToHexString:i}=window.DBGATE_TOOLS;t.exports=class extends n{renameColumn(t,e){this.putCmd("^alter ^table %f ^rename ^column %i ^to %i",t,t.columnName,e)}renameTable(t,e){this.putCmd("^alter ^table %f ^rename ^to %i",t,e)}putByteArrayValue(t){this.putRaw(`x'${i(t)}'`)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.redisSplitterOptions=e.noSplitSplitterOptions=e.mongoSplitterOptions=e.sqliteSplitterOptions=e.postgreSplitterOptions=e.mssqlSplitterOptions=e.mysqlSplitterOptions=e.defaultSplitterOptions=void 0,e.defaultSplitterOptions={stringsBegins:["'"],stringsEnds:{"'":"'"},stringEscapes:{"'":"'"},allowSemicolon:!0,allowCustomDelimiter:!1,allowGoDelimiter:!1,allowDollarDollarString:!1,noSplit:!1,doubleDashComments:!0,multilineComments:!0,javaScriptComments:!1,returnRichInfo:!1,splitByLines:!1},e.mysqlSplitterOptions=Object.assign(Object.assign({},e.defaultSplitterOptions),{allowCustomDelimiter:!0,stringsBegins:["'","`"],stringsEnds:{"'":"'","`":"`"},stringEscapes:{"'":"\\","`":"`"}}),e.mssqlSplitterOptions=Object.assign(Object.assign({},e.defaultSplitterOptions),{allowSemicolon:!1,allowGoDelimiter:!0,stringsBegins:["'","["],stringsEnds:{"'":"'","[":"]"},stringEscapes:{"'":"'"}}),e.postgreSplitterOptions=Object.assign(Object.assign({},e.defaultSplitterOptions),{allowDollarDollarString:!0,stringsBegins:["'",'"'],stringsEnds:{"'":"'",'"':'"'},stringEscapes:{"'":"'",'"':'"'}}),e.sqliteSplitterOptions=Object.assign(Object.assign({},e.defaultSplitterOptions),{stringsBegins:["'",'"'],stringsEnds:{"'":"'",'"':'"'},stringEscapes:{"'":"'",'"':'"'}}),e.mongoSplitterOptions=Object.assign(Object.assign({},e.defaultSplitterOptions),{stringsBegins:["'",'"'],stringsEnds:{"'":"'",'"':'"'},stringEscapes:{"'":"\\",'"':"\\"}}),e.noSplitSplitterOptions=Object.assign(Object.assign({},e.defaultSplitterOptions),{noSplit:!0}),e.redisSplitterOptions=Object.assign(Object.assign({},e.defaultSplitterOptions),{splitByLines:!0})}]);
var plugin=function(t){var e={};function n(i){if(e[i])return e[i].exports;var s=e[i]={i:i,l:!1,exports:{}};return t[i].call(s.exports,s,s.exports,n),s.l=!0,s.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var s in t)n.d(i,s,function(e){return t[e]}.bind(null,s));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=1)}([function(t,e,n){const{driverBase:i}=window.DBGATE_TOOLS,s=n(2),{sqliteSplitterOptions:r,noSplitSplitterOptions:o}=n(3);function l(t){if(!t)return t;const e=t.match(/[\/]([^\/]+)$/);return e?e[1]:t}const a={...i,dumperClass:s,dialect:{limitSelect:!0,rangeSelect:!0,offsetFetchRangeSyntax:!1,explicitDropConstraint:!0,stringEscapeChar:"'",fallbackDataType:"nvarchar",dropColumnDependencies:["indexes","primaryKey","uniques"],quoteIdentifier:t=>`[${t}]`,anonymousPrimaryKey:!0,disableExplicitTransaction:!0,createColumn:!0,dropColumn:!0,createIndex:!0,dropIndex:!0,createForeignKey:!1,dropForeignKey:!1,createPrimaryKey:!1,dropPrimaryKey:!1,dropReferencesWhenDropTable:!1},engine:"sqlite@dbgate-plugin-sqlite",title:"SQLite",readOnlySessions:!0,showConnectionField:(t,e)=>"databaseFile"==t||"isReadOnly"==t,showConnectionTab:t=>!1,beforeConnectionSave:t=>({...t,singleDatabase:!0,defaultDatabase:l(t.databaseFile)}),getQuerySplitterOptions:t=>"stream"==t?o:r,isElectronOnly:!0,predefinedDataTypes:["integer","real","text","blob"]};t.exports=a},function(t,e,n){"use strict";n.r(e);var i=n(0),s=n.n(i);e.default={packageName:"dbgate-plugin-sqlite",drivers:[s.a]}},function(t,e){const{SqlDumper:n,arrayToHexString:i}=window.DBGATE_TOOLS;t.exports=class extends n{renameColumn(t,e){this.putCmd("^alter ^table %f ^rename ^column %i ^to %i",t,t.columnName,e)}renameTable(t,e){this.putCmd("^alter ^table %f ^rename ^to %i",t,e)}putByteArrayValue(t){this.putRaw(`x'${i(t)}'`)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.redisSplitterOptions=e.noSplitSplitterOptions=e.mongoSplitterOptions=e.sqliteSplitterOptions=e.postgreSplitterOptions=e.mssqlSplitterOptions=e.mysqlSplitterOptions=e.defaultSplitterOptions=void 0,e.defaultSplitterOptions={stringsBegins:["'"],stringsEnds:{"'":"'"},stringEscapes:{"'":"'"},allowSemicolon:!0,allowCustomDelimiter:!1,allowGoDelimiter:!1,allowDollarDollarString:!1,noSplit:!1,doubleDashComments:!0,multilineComments:!0,javaScriptComments:!1,returnRichInfo:!1,splitByLines:!1},e.mysqlSplitterOptions=Object.assign(Object.assign({},e.defaultSplitterOptions),{allowCustomDelimiter:!0,stringsBegins:["'","`"],stringsEnds:{"'":"'","`":"`"},stringEscapes:{"'":"\\","`":"`"}}),e.mssqlSplitterOptions=Object.assign(Object.assign({},e.defaultSplitterOptions),{allowSemicolon:!1,allowGoDelimiter:!0,stringsBegins:["'","["],stringsEnds:{"'":"'","[":"]"},stringEscapes:{"'":"'"}}),e.postgreSplitterOptions=Object.assign(Object.assign({},e.defaultSplitterOptions),{allowDollarDollarString:!0,stringsBegins:["'",'"'],stringsEnds:{"'":"'",'"':'"'},stringEscapes:{"'":"'",'"':'"'}}),e.sqliteSplitterOptions=Object.assign(Object.assign({},e.defaultSplitterOptions),{stringsBegins:["'",'"'],stringsEnds:{"'":"'",'"':'"'},stringEscapes:{"'":"'",'"':'"'}}),e.mongoSplitterOptions=Object.assign(Object.assign({},e.defaultSplitterOptions),{stringsBegins:["'",'"'],stringsEnds:{"'":"'",'"':'"'},stringEscapes:{"'":"\\",'"':"\\"}}),e.noSplitSplitterOptions=Object.assign(Object.assign({},e.defaultSplitterOptions),{noSplit:!0}),e.redisSplitterOptions=Object.assign(Object.assign({},e.defaultSplitterOptions),{splitByLines:!0})}]);
{
"name": "dbgate-plugin-sqlite",
"main": "dist/backend.js",
"version": "5.0.0-alpha.1",
"version": "5.0.0",
"homepage": "https://dbgate.org",

@@ -33,3 +33,3 @@ "description": "SQLite connect plugin for DbGate",

"devDependencies": {
"dbgate-tools": "^5.0.0-alpha.1",
"dbgate-tools": "^5.0.0",
"dbgate-plugin-tools": "^1.0.4",

@@ -36,0 +36,0 @@ "dbgate-query-splitter": "^4.9.0",

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc