dbgate-plugin-sqlite
Advanced tools
Comparing version 4.4.2 to 4.4.3
@@ -1,1 +0,1 @@ | ||
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",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.noSplitSplitterOptions=t.sqliteSplitterOptions=t.postgreSplitterOptions=t.mssqlSplitterOptions=t.mysqlSplitterOptions=t.defaultSplitterOptions=void 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})}]); | ||
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",showConnectionField:(t,e)=>"databaseFile"==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}=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)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),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},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})}]); |
{ | ||
"name": "dbgate-plugin-sqlite", | ||
"main": "dist/backend.js", | ||
"version": "4.4.2", | ||
"version": "4.4.3", | ||
"homepage": "https://dbgate.org", | ||
@@ -33,5 +33,5 @@ "description": "SQLite connect plugin for DbGate", | ||
"devDependencies": { | ||
"dbgate-tools": "^4.4.2", | ||
"dbgate-tools": "^4.4.3", | ||
"dbgate-plugin-tools": "^1.0.4", | ||
"dbgate-query-splitter": "^4.4.2", | ||
"dbgate-query-splitter": "^4.4.3", | ||
"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
199245