@itentialopensource/adapter-kafkav2 1.0.5 → 1.0.6

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,12 @@
1
1
 
2
+ ## 1.0.6 [07-13-2026]
3
+
4
+ * Upgrade kafka-lz4-lite
5
+
6
+ See merge request itentialopensource/adapters/adapter-kafkav2!82
7
+
8
+ ---
9
+
2
10
  ## 1.0.5 [07-01-2026]
3
11
 
4
12
  * Changes made at 2026.07.01_14:21PM
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itentialopensource/adapter-kafkav2",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "description": "Itential adapter to connect to kafka",
5
5
  "main": "adapter.js",
6
6
  "scripts": {
@@ -44,11 +44,11 @@
44
44
  "fs-extra": "11.3.6",
45
45
  "json-query": "2.2.2",
46
46
  "kafkajs": "2.2.4",
47
- "kafka-lz4-lite": "1.0.5",
47
+ "kafka-lz4-lite": "2.0.1",
48
48
  "kafkajs-snappy": "1.1.0",
49
49
  "mongodb": "4.17.2",
50
50
  "readline-sync": "1.4.10",
51
- "uuid": "3.0.1",
51
+ "uuid": "11.1.1",
52
52
  "mocha": "12.0.0-rc.1",
53
53
  "winston": "3.17.0"
54
54
  },
package/utils/dbUtil.js CHANGED
@@ -5,7 +5,7 @@
5
5
  /* eslint no-unused-vars:warn */
6
6
 
7
7
  const fs = require('fs-extra');
8
- const uuid = require('uuid');
8
+ const { v4: uuidv4 } = require('uuid');
9
9
 
10
10
  /* Fetch in the other needed components for the this Adaptor */
11
11
  const {
@@ -983,7 +983,7 @@ class DBUtil {
983
983
  // create the unique identifier (should we let mongo do this?)
984
984
  const dataInfo = data;
985
985
  if (!{}.hasOwnProperty.call(dataInfo, '_id')) {
986
- dataInfo._id = uuid.v4();
986
+ dataInfo._id = uuidv4();
987
987
  }
988
988
 
989
989
  let res;