From 78ee6526a70cc459abee73bf559d9a6249656667 Mon Sep 17 00:00:00 2001 From: Joe Reynolds Date: Tue, 23 Jun 2020 14:49:21 +0100 Subject: [PATCH] Bump to 0.0.14 --- dist/package.json | 2 +- dist/src/main.js | 2 +- dist/src/main.js.map | 2 +- dist/src/printer.js.map | 2 +- package.json | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/dist/package.json b/dist/package.json index 48ec7ce6..34ae560c 100644 --- a/dist/package.json +++ b/dist/package.json @@ -80,5 +80,5 @@ "postinstall": "./build/postinstall.sh", "nearley": "nearleyc" }, - "version": "0.0.13" + "version": "0.0.14" } diff --git a/dist/src/main.js b/dist/src/main.js index c0e59873..c03f07ff 100755 --- a/dist/src/main.js +++ b/dist/src/main.js @@ -66,7 +66,7 @@ if (configuration === null) { printer.warnAboutNoConfiguration(config_1.file); } if (program.host || (configuration === null || configuration === void 0 ? void 0 : configuration.host)) { - db = new database_1.Database(program.driver || (configuration === null || configuration === void 0 ? void 0 : configuration.driver) || "mysql", program.host || (configuration === null || configuration === void 0 ? void 0 : configuration.host) || "localhost", program.user || (configuration === null || configuration === void 0 ? void 0 : configuration.user) || "root", //bad practice but unfortunately common, make it easier for the user + db = new database_1.Database(program.driver || (configuration === null || configuration === void 0 ? void 0 : configuration.driver) || "mysql", program.host || (configuration === null || configuration === void 0 ? void 0 : configuration.host) || "localhost", program.user || (configuration === null || configuration === void 0 ? void 0 : configuration.user) || "root", // bad practice but unfortunately common, make it easier for the user program.password || (configuration === null || configuration === void 0 ? void 0 : configuration.password), program.port || (configuration === null || configuration === void 0 ? void 0 : configuration.port) || "3306"); } if (programFile) { diff --git a/dist/src/main.js.map b/dist/src/main.js.map index e54d305d..15e86558 100644 --- a/dist/src/main.js.map +++ b/dist/src/main.js.map @@ -1 +1 @@ -{"version":3,"file":"main.js","sourceRoot":"","sources":["../../src/main.ts"],"names":[],"mappings":";;;AAEA,qCAAqC;AACrC,yBAAyB;AACzB,mCAAmC;AAEnC,2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,IAAI,OAAO,EAClD,OAAO,CAAC,IAAI,KAAI,aAAa,aAAb,aAAa,uBAAb,aAAa,CAAE,IAAI,CAAA,IAAI,WAAW,EAClD,OAAO,CAAC,IAAI,KAAI,aAAa,aAAb,aAAa,uBAAb,aAAa,CAAE,IAAI,CAAA,IAAI,MAAM,EAAE,qEAAqE;IACpH,OAAO,CAAC,QAAQ,KAAI,aAAa,aAAb,aAAa,uBAAb,aAAa,CAAE,QAAQ,CAAA,EAC3C,OAAO,CAAC,IAAI,KAAI,aAAa,aAAb,aAAa,uBAAb,aAAa,CAAE,IAAI,CAAA,IAAI,MAAM,CAC9C,CAAC;CACH;AAED,IAAI,WAAW,EAAE;IACf,IAAI,EAAE,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC,WAAW,EAAE,EAAE;QAC3C,MAAM,QAAQ,GAAG,sBAAe,CAAC,WAAW,EAAE,KAAK,CAAC,CAAC;QACrD,QAAQ,CAAC,OAAO,CAAC,OAAO,CAAC,EAAE;YACzB,OAAO,GAAG,yBAAgB,CAAC,OAAO,CAAC,CAAC;YACpC,MAAM,CAAC,GAAG,CAAC,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,EAAE,CAAC,CAAC;QAC3D,CAAC,CAAC,CAAC;KACJ;SAAM;QACL,OAAO,GAAG,yBAAgB,CAAC,WAAW,CAAC,CAAC;QACxC,MAAM,GAAG,WAAW,CAAC;KACtB;CACF;AAED,MAAM,CAAC,GAAG,CAAC,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,EAAE,CAAC,CAAC;AAExD,IAAI,OAAO,CAAC,IAAI,KAAI,aAAa,aAAb,aAAa,uBAAb,aAAa,CAAE,IAAI,CAAA,EAAE;IACvC,EAAE,CAAC,UAAU,CAAC,GAAG,EAAE,CAAC;CACrB"} \ No newline at end of file diff --git a/dist/src/printer.js.map b/dist/src/printer.js.map index 02298a64..1037ccbf 100644 --- a/dist/src/printer.js.map +++ b/dist/src/printer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C,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;IACvB,CAAC;IAEM,qBAAqB,CAAC,IAAY;QACvC,OAAO,CAAC,GAAG,CAAC,mBAAmB,IAAI,kBAAkB,CAAC,CAAC;IACzD,CAAC;IAEM,wBAAwB,CAAC,IAAY;QAC1C,IAAI,IAAI,CAAC,SAAS,EAAE;YAClB,OAAO,CAAC,GAAG,CACT,mBAAmB,IAAI,kBAAkB;gBACvC,gGAAgG;gBAChG,sFAAsF;gBACtF,IAAI,CACP,CAAC;SACH;IACH,CAAC;CACF;AAEQ,0BAAO"} \ No newline at end of file +{"version":3,"file":"printer.js","sourceRoot":"","sources":["../../src/printer.ts"],"names":[],"mappings":";;AAGA,mCAAgC;AAEhC,MAAM,OAAO;IAIX,YAAY,SAAiB,EAAE,MAAe;QAC5C,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IACM,UAAU,CACf,OAA6B,EAC7B,SAAgB,EAChB,MAAc;QAEd;;;;WAIG;QACH,IAAI,OAAO,OAAO,KAAK,WAAW,EAAE;YAClC,OAAO;SACR;QAED,MAAM,MAAM,GAAG,OAAO,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;QAExC,IAAI,IAAI,CAAC,SAAS,GAAG,CAAC,EAAE;YACtB,MAAM,aAAa,GAAG,IAAI,CAAC,SAAS,CAAC,SAAS,CAAC,UAAU,EAAE,CAAC,CAAC;YAC7D,MAAM,cAAc,GAAG,kBAAkB,aAAa,EAAE,CAAC;YACzD,MAAM,iBAAiB,GAAG,IAAI,CAAC,SAAS,CAAC,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;YAC7D,OAAO,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;YAC5B,OAAO,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC;SAChC;QAED,IAAI,MAAM,CAAC,OAAO,EAAE;YAClB,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC;YAEpE,sDAAsD;YACtD,yCAAyC;YACzC,OAAO,CAAC,QAAQ,GAAG,CAAC,CAAC;SACtB;IACH,CAAC;IAEM,QAAQ,CAAC,KAAc;QAC5B,MAAM,KAAK,GAAG,IAAI,aAAK,EAAE,CAAC;QAC1B,MAAM,KAAK,GAAG,KAAK,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;QAClC,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;IACrB,CAAC;IAEM,qBAAqB,CAAC,IAAY;QACvC,OAAO,CAAC,GAAG,CAAC,mBAAmB,IAAI,kBAAkB,CAAC,CAAC;IACzD,CAAC;IAEM,wBAAwB,CAAC,IAAY;QAC1C,IAAI,IAAI,CAAC,SAAS,EAAE;YAClB,OAAO,CAAC,GAAG,CACT,mBAAmB,IAAI,kBAAkB;gBACvC,gGAAgG;gBAChG,sFAAsF;gBACtF,IAAI,CACP,CAAC;SACH;IACH,CAAC;CACF;AAEQ,0BAAO"} \ No newline at end of file diff --git a/package.json b/package.json index 48ec7ce6..34ae560c 100644 --- a/package.json +++ b/package.json @@ -80,5 +80,5 @@ "postinstall": "./build/postinstall.sh", "nearley": "nearleyc" }, - "version": "0.0.13" + "version": "0.0.14" }