@timus-networks/theme 2.4.108 → 2.4.109

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/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@timus-networks/theme",
3
3
  "configKey": "themeOptions",
4
- "version": "2.4.107",
4
+ "version": "2.4.108",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "0.8.4",
7
7
  "unbuild": "2.0.0"
package/dist/module.mjs CHANGED
@@ -11,7 +11,7 @@ const __filename = __cjs_url__.fileURLToPath(import.meta.url);
11
11
  const __dirname = __cjs_path__.dirname(__filename);
12
12
  const require = __cjs_mod__.createRequire(import.meta.url);
13
13
  const name = "@timus-networks/theme";
14
- const version = "2.4.107";
14
+ const version = "2.4.108";
15
15
  const description = "A comprehensive Nuxt.js module providing a tailored theme experience with integrated TailwindCSS support for applications.";
16
16
  const type = "module";
17
17
  const exports = {
@@ -35,13 +35,13 @@
35
35
  const match = line.match(/^\s*/);
36
36
  const indent = match ? match[0].length : 0;
37
37
 
38
- return line.trim() ? Math.min(min, indent) : min;
38
+ return line?.trim?.() ? Math.min(min, indent) : min;
39
39
  }, Infinity);
40
40
 
41
41
  return lines
42
- .filter((line) => line.trim() !== '') // Remove empty lines
42
+ .filter((line) => line?.trim?.() !== '') // Remove empty lines
43
43
  .map((line) => {
44
- const trimmedLine = line.trim();
44
+ const trimmedLine = line?.trim?.();
45
45
  const match = line.match(/^\s*/);
46
46
  const lineIndent = match ? match[0].length : 0;
47
47
  const indent = Math.max(0, lineIndent - baseIndent);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@timus-networks/theme",
3
- "version": "2.4.108",
3
+ "version": "2.4.109",
4
4
  "description": "A comprehensive Nuxt.js module providing a tailored theme experience with integrated TailwindCSS support for applications.",
5
5
  "type": "module",
6
6
  "exports": {