@itentialopensource/adapter-db_mysql 0.1.14 → 0.1.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,4 +1,20 @@
1
1
 
2
+ ## 0.1.16 [06-30-2023]
3
+
4
+ * Remove sensitive data logging
5
+
6
+ See merge request itentialopensource/adapters/persistence/adapter-db_mysql!11
7
+
8
+ ---
9
+
10
+ ## 0.1.15 [08-03-2022]
11
+
12
+ * Patch/adapt 2277
13
+
14
+ See merge request itentialopensource/adapters/persistence/adapter-db_mysql!9
15
+
16
+ ---
17
+
2
18
  ## 0.1.14 [08-01-2022]
3
19
 
4
20
  * Patch/adapt 2277
package/adapter.js CHANGED
@@ -217,17 +217,17 @@ class MySQL extends EventEmitter {
217
217
  const origin = `${this.id}-${meth}`;
218
218
  log.trace(origin);
219
219
 
220
- log.info(`Creating connection pool to mysql on host: ${this.config.host} and port: ${this.config.port}`);
220
+ log.info('Creating connection pool to MySQL');
221
221
 
222
222
  this.pool = mysql.createPool(this.config);
223
223
 
224
- this.pool.on('acquire', (connection) => log.debug('Connection', connection.threadId, 'acquired'));
224
+ this.pool.on('acquire', (connection) => log.debug('Connection acquired'));
225
225
 
226
- this.pool.on('connection', (connection) => log.debug('New connection made within the pool:', connection.threadId, connection.state, connection.config));
226
+ this.pool.on('connection', (connection) => log.debug('New connection made within the pool'));
227
227
 
228
228
  this.pool.on('enqueue', () => log.debug('Waiting for available connection slot'));
229
229
 
230
- this.pool.on('release', (connection) => log.debug('Connection', connection.threadId, 'released'));
230
+ this.pool.on('release', (connection) => log.debug('Connection released'));
231
231
  }
232
232
 
233
233
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itentialopensource/adapter-db_mysql",
3
- "version": "0.1.14",
3
+ "version": "0.1.16",
4
4
  "description": "Itential adapter to connect to mysql",
5
5
  "main": "adapter.js",
6
6
  "wizardVersion": "2.41.0",
Binary file