dbgate-plugin-sqlite
Advanced tools
Comparing version 4.2.8 to 4.3.0
@@ -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:l}=n(3);function o(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,stringEscapeChar:"'",fallbackDataType:"nvarchar(max)",quoteIdentifier:t=>`[${t}]`},engine:"sqlite@dbgate-plugin-sqlite",title:"SQLite",showConnectionField:(t,e)=>"databaseFile"==t,showConnectionTab:t=>!1,beforeConnectionSave:t=>({...t,singleDatabase:!0,defaultDatabase:o(t.databaseFile)}),getQuerySplitterOptions:t=>"stream"==t?l: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}=window.DBGATE_TOOLS;t.exports=class extends n{}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.defaultSplitterOptions={stringsBegins:["'"],stringsEnds:{"'":"'"},stringEscapes:{"'":"'"},allowSemicolon:!0,allowCustomDelimiter:!1,allowGoDelimiter:!1,allowDollarDollarString:!1,noSplit:!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.noSplitSplitterOptions=Object.assign(Object.assign({},e.defaultSplitterOptions),{noSplit:!0})}]); | ||
var plugin=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=1)}([function(e,t,n){const{driverBase:i}=window.DBGATE_TOOLS,r=n(2),{sqliteSplitterOptions:s,noSplitSplitterOptions:o}=n(3);function l(e){if(!e)return e;const t=e.match(/[\/]([^\/]+)$/);return t?t[1]:e}const a={...i,dumperClass:r,dialect:{limitSelect:!0,rangeSelect:!0,offsetFetchRangeSyntax:!1,explicitDropConstraint:!0,stringEscapeChar:"'",fallbackDataType:"nvarchar(max)",dropColumnDependencies:["indexes","primaryKey","uniques"],quoteIdentifier:e=>`[${e}]`,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",showConnectionField:(e,t)=>"databaseFile"==e,showConnectionTab:e=>!1,beforeConnectionSave:e=>({...e,singleDatabase:!0,defaultDatabase:l(e.databaseFile)}),getQuerySplitterOptions:e=>"stream"==e?o:s,isElectronOnly:!0};e.exports=a},function(e,t,n){"use strict";n.r(t);var i=n(0),r=n.n(i);t.default={packageName:"dbgate-plugin-sqlite",drivers:[r.a]}},function(e,t){const{SqlDumper:n}=window.DBGATE_TOOLS;e.exports=class extends n{renameColumn(e,t){this.putCmd("^alter ^table %f ^rename ^column %i ^to %i",e,e.columnName,t)}renameTable(e,t){this.putCmd("^alter ^table %f ^rename ^to %i",e,t)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultSplitterOptions={stringsBegins:["'"],stringsEnds:{"'":"'"},stringEscapes:{"'":"'"},allowSemicolon:!0,allowCustomDelimiter:!1,allowGoDelimiter:!1,allowDollarDollarString:!1,noSplit:!1},t.mysqlSplitterOptions=Object.assign(Object.assign({},t.defaultSplitterOptions),{allowCustomDelimiter:!0,stringsBegins:["'","`"],stringsEnds:{"'":"'","`":"`"},stringEscapes:{"'":"\\","`":"`"}}),t.mssqlSplitterOptions=Object.assign(Object.assign({},t.defaultSplitterOptions),{allowSemicolon:!1,allowGoDelimiter:!0,stringsBegins:["'","["],stringsEnds:{"'":"'","[":"]"},stringEscapes:{"'":"'"}}),t.postgreSplitterOptions=Object.assign(Object.assign({},t.defaultSplitterOptions),{allowDollarDollarString:!0,stringsBegins:["'",'"'],stringsEnds:{"'":"'",'"':'"'},stringEscapes:{"'":"'",'"':'"'}}),t.sqliteSplitterOptions=Object.assign(Object.assign({},t.defaultSplitterOptions),{stringsBegins:["'",'"'],stringsEnds:{"'":"'",'"':'"'},stringEscapes:{"'":"'",'"':'"'}}),t.noSplitSplitterOptions=Object.assign(Object.assign({},t.defaultSplitterOptions),{noSplit:!0})}]); |
{ | ||
"name": "dbgate-plugin-sqlite", | ||
"main": "dist/backend.js", | ||
"version": "4.2.8", | ||
"version": "4.3.0", | ||
"homepage": "https://dbgate.org", | ||
@@ -33,5 +33,5 @@ "description": "SQLite connect plugin for DbGate", | ||
"devDependencies": { | ||
"dbgate-tools": "^4.2.8", | ||
"dbgate-tools": "^4.3.0", | ||
"dbgate-plugin-tools": "^1.0.4", | ||
"dbgate-query-splitter": "^4.2.8", | ||
"dbgate-query-splitter": "^4.3.0", | ||
"byline": "^5.0.0", | ||
@@ -38,0 +38,0 @@ "webpack": "^4.42.0", |
Sorry, the diff of this file is too big to display
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
182631
14