Skip to content

Commit 8df5c42

Browse files
build - v1.7.1
1 parent 2c13706 commit 8df5c42

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

dist/src/cli.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const constants_1 = require("./constants");
66
async function main() {
77
const definedOptions = process.argv.filter((option) => option.startsWith('--'));
88
const options = {
9-
_DO_NOT_USE_beforeSignalCleanupMessage: '\nShutting down the epehemeral MySQL database and cleaning all related files...',
9+
_DO_NOT_USE_beforeSignalCleanupMessage: '\nShutting down the ephemeral MySQL database and cleaning all related files...',
1010
_DO_NOT_USE_afterSignalCleanupMessage: 'Shutdown and cleanup is complete.'
1111
};
1212
for (const opt of definedOptions) {
@@ -41,7 +41,7 @@ async function main() {
4141
}
4242
console.log('Creating ephemeral MySQL database...');
4343
const db = await (0, index_1.createDB)(options);
44-
console.log(`A MySQL databases has been successfully created with the following parameters:\n\nUsername: ${db.username} \nDatabase Name: ${db.dbName} \nPort: ${db.port} \nX Plugin Port: ${db.xPort} \nSocket: ${db.socket} \nX Plugin Socket: ${db.xSocket}\n`);
44+
console.log(`A MySQL database has been successfully created with the following parameters:\n\nUsername: ${db.username} \nDatabase Name: ${db.dbName} \nPort: ${db.port} \nX Plugin Port: ${db.xPort} \nSocket: ${db.socket} \nX Plugin Socket: ${db.xSocket}\n`);
4545
if (process.platform === 'win32') {
4646
//The connection information logs will be different for Windows compared to other platforms.
4747
//Windows uses mysqlsh instead of mysql to invoke the client shell, needs a --sql flag to be put into SQL mode, and also does not have a protocol flag.

dist/src/libraries/Executor.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ const Port_1 = require("./Port");
4848
const path_1 = require("path");
4949
const FileLock_1 = require("./FileLock");
5050
const signal_exit_1 = require("signal-exit");
51+
const crypto = __importStar(require("crypto"));
5152
class Executor {
5253
constructor(logger) {
5354
_Executor_instances.add(this);

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mysql-memory-server",
3-
"version": "1.7.0",
3+
"version": "1.7.1",
44
"description": "Spin up an ephemeral MySQL database from your JavaScript code",
55
"main": "dist/src/index.js",
66
"types": "dist/src/index.d.ts",

0 commit comments

Comments
 (0)