@twin.org/entity-storage-connector-scylladb 0.0.2-next.6 → 0.0.2-next.8

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.
@@ -359,7 +359,6 @@ class AbstractScyllaDBConnector {
359
359
  */
360
360
  propertyToDbValue(value, fieldDescriptor) {
361
361
  if (fieldDescriptor) {
362
- // eslint-disable-next-line no-constant-condition
363
362
  if (fieldDescriptor.type === "string" && fieldDescriptor.format === "json") {
364
363
  return core.Is.empty(value) ? "null" : this.jsonWrap(value);
365
364
  }
@@ -408,7 +407,6 @@ class AbstractScyllaDBConnector {
408
407
  */
409
408
  jsonWrap(value) {
410
409
  let json = JSON.stringify(value);
411
- // eslint-disable-next-line no-control-regex
412
410
  json = json.replace(/[\b\0\t\n\r\u001A\\]/g, s => {
413
411
  switch (s) {
414
412
  case "\0":
@@ -454,7 +452,7 @@ class ScyllaDBTableConnector extends AbstractScyllaDBConnector {
454
452
  * @returns True if the bootstrapping process was successful.
455
453
  */
456
454
  async bootstrap(nodeLoggingComponentType) {
457
- const nodeLogging = core.ComponentFactory.getIfExists(nodeLoggingComponentType ?? "logging");
455
+ const nodeLogging = core.ComponentFactory.getIfExists(nodeLoggingComponentType);
458
456
  nodeLogging?.log({
459
457
  level: "info",
460
458
  source: this.CLASS_NAME,
@@ -826,7 +824,7 @@ class ScyllaDBViewConnector extends AbstractScyllaDBConnector {
826
824
  * @returns True if the bootstrapping process was successful.
827
825
  */
828
826
  async bootstrap(nodeLoggingComponentType) {
829
- const nodeLogging = core.ComponentFactory.getIfExists(nodeLoggingComponentType ?? "logging");
827
+ const nodeLogging = core.ComponentFactory.getIfExists(nodeLoggingComponentType);
830
828
  nodeLogging?.log({
831
829
  level: "info",
832
830
  source: this.CLASS_NAME,
@@ -357,7 +357,6 @@ class AbstractScyllaDBConnector {
357
357
  */
358
358
  propertyToDbValue(value, fieldDescriptor) {
359
359
  if (fieldDescriptor) {
360
- // eslint-disable-next-line no-constant-condition
361
360
  if (fieldDescriptor.type === "string" && fieldDescriptor.format === "json") {
362
361
  return Is.empty(value) ? "null" : this.jsonWrap(value);
363
362
  }
@@ -406,7 +405,6 @@ class AbstractScyllaDBConnector {
406
405
  */
407
406
  jsonWrap(value) {
408
407
  let json = JSON.stringify(value);
409
- // eslint-disable-next-line no-control-regex
410
408
  json = json.replace(/[\b\0\t\n\r\u001A\\]/g, s => {
411
409
  switch (s) {
412
410
  case "\0":
@@ -452,7 +450,7 @@ class ScyllaDBTableConnector extends AbstractScyllaDBConnector {
452
450
  * @returns True if the bootstrapping process was successful.
453
451
  */
454
452
  async bootstrap(nodeLoggingComponentType) {
455
- const nodeLogging = ComponentFactory.getIfExists(nodeLoggingComponentType ?? "logging");
453
+ const nodeLogging = ComponentFactory.getIfExists(nodeLoggingComponentType);
456
454
  nodeLogging?.log({
457
455
  level: "info",
458
456
  source: this.CLASS_NAME,
@@ -824,7 +822,7 @@ class ScyllaDBViewConnector extends AbstractScyllaDBConnector {
824
822
  * @returns True if the bootstrapping process was successful.
825
823
  */
826
824
  async bootstrap(nodeLoggingComponentType) {
827
- const nodeLogging = ComponentFactory.getIfExists(nodeLoggingComponentType ?? "logging");
825
+ const nodeLogging = ComponentFactory.getIfExists(nodeLoggingComponentType);
828
826
  nodeLogging?.log({
829
827
  level: "info",
830
828
  source: this.CLASS_NAME,
package/docs/changelog.md CHANGED
@@ -1,5 +1,37 @@
1
1
  # @twin.org/entity-storage-connector-scylladb - Changelog
2
2
 
3
+ ## [0.0.2-next.8](https://github.com/twinfoundation/entity-storage/compare/entity-storage-connector-scylladb-v0.0.2-next.7...entity-storage-connector-scylladb-v0.0.2-next.8) (2025-08-29)
4
+
5
+
6
+ ### Features
7
+
8
+ * eslint migration to flat config ([f033b64](https://github.com/twinfoundation/entity-storage/commit/f033b64984c0e6a8129d929c9dd816dcc1b8dab0))
9
+
10
+
11
+ ### Dependencies
12
+
13
+ * The following workspace dependencies were updated
14
+ * dependencies
15
+ * @twin.org/entity-storage-models bumped from 0.0.2-next.7 to 0.0.2-next.8
16
+ * devDependencies
17
+ * @twin.org/entity-storage-connector-memory bumped from 0.0.2-next.7 to 0.0.2-next.8
18
+
19
+ ## [0.0.2-next.7](https://github.com/twinfoundation/entity-storage/compare/entity-storage-connector-scylladb-v0.0.2-next.6...entity-storage-connector-scylladb-v0.0.2-next.7) (2025-08-20)
20
+
21
+
22
+ ### Features
23
+
24
+ * logging naming consistency ([f99d12d](https://github.com/twinfoundation/entity-storage/commit/f99d12dea04b6d4f2b5632ff5473e9ec7d5f9055))
25
+
26
+
27
+ ### Dependencies
28
+
29
+ * The following workspace dependencies were updated
30
+ * dependencies
31
+ * @twin.org/entity-storage-models bumped from 0.0.2-next.6 to 0.0.2-next.7
32
+ * devDependencies
33
+ * @twin.org/entity-storage-connector-memory bumped from 0.0.2-next.6 to 0.0.2-next.7
34
+
3
35
  ## [0.0.2-next.6](https://github.com/twinfoundation/entity-storage/compare/entity-storage-connector-scylladb-v0.0.2-next.5...entity-storage-connector-scylladb-v0.0.2-next.6) (2025-08-19)
4
36
 
5
37
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/entity-storage-connector-scylladb",
3
- "version": "0.0.2-next.6",
3
+ "version": "0.0.2-next.8",
4
4
  "description": "Entity Storage connector implementation using ScyllaDB",
5
5
  "repository": {
6
6
  "type": "git",
@@ -16,7 +16,7 @@
16
16
  "dependencies": {
17
17
  "@twin.org/core": "next",
18
18
  "@twin.org/entity": "next",
19
- "@twin.org/entity-storage-models": "0.0.2-next.6",
19
+ "@twin.org/entity-storage-models": "0.0.2-next.8",
20
20
  "@twin.org/logging-models": "next",
21
21
  "@twin.org/nameof": "next",
22
22
  "cassandra-driver": "4.8.0"