@tstdl/base 0.92.112 → 0.92.113

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tstdl/base",
3
- "version": "0.92.112",
3
+ "version": "0.92.113",
4
4
  "author": "Patrick Hein",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -138,7 +138,7 @@
138
138
  "reflect-metadata": "^0.2",
139
139
  "rxjs": "^7.8",
140
140
  "ts-pattern": "^5.6",
141
- "type-fest": "^4.37"
141
+ "type-fest": "4.37"
142
142
  },
143
143
  "devDependencies": {
144
144
  "@biomejs/biome": "1.9",
@@ -151,10 +151,10 @@
151
151
  "@types/node": "22",
152
152
  "@types/nodemailer": "6.4",
153
153
  "@types/pg": "8.11",
154
- "@typescript-eslint/eslint-plugin": "8.26",
154
+ "@typescript-eslint/eslint-plugin": "8.27",
155
155
  "concurrently": "9.1",
156
156
  "drizzle-kit": "0.30",
157
- "eslint": "9.22",
157
+ "eslint": "9.23",
158
158
  "globals": "16.0",
159
159
  "tsc-alias": "1.8",
160
160
  "typescript": "5.8"
@@ -168,11 +168,11 @@
168
168
  "@zxcvbn-ts/language-de": "^3.0",
169
169
  "@zxcvbn-ts/language-en": "^3.0",
170
170
  "chroma-js": "^2.6",
171
- "drizzle-orm": "^0.40",
171
+ "drizzle-orm": "^0.41",
172
172
  "handlebars": "^4.7",
173
173
  "minio": "^8.0",
174
174
  "mjml": "^4.15",
175
- "mongodb": "^6.14",
175
+ "mongodb": "^6.15",
176
176
  "nodemailer": "^6.10",
177
177
  "pg": "^8.14",
178
178
  "playwright": "^1.51",
@@ -110,12 +110,13 @@ export function fromDeepObjectEntries(entries) {
110
110
  const jsonPath = JsonPath.from(path);
111
111
  let target = obj;
112
112
  for (let i = 0; i < jsonPath.nodes.length - 1; i++) {
113
- if (hasOwnProperty(target, jsonPath.nodes[i])) {
114
- target = obj[jsonPath.nodes[i]];
113
+ const key = jsonPath.nodes[i];
114
+ if (hasOwnProperty(target, key)) {
115
+ target = target[key];
115
116
  }
116
117
  else {
117
118
  const child = {};
118
- target[jsonPath.nodes[i]] = child;
119
+ target[key] = child;
119
120
  target = child;
120
121
  }
121
122
  }