@onderwijsin/nuxt-loops-renderer 0.2.8 → 0.2.10

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/README.md CHANGED
@@ -152,7 +152,7 @@ needed by the current presentation to the client renderer.
152
152
  ## Compatibility
153
153
 
154
154
  - Nuxt 4
155
- - Node.js 22 or newer
155
+ - Node.js 24 or newer; Node.js 22 may work but is untested and unsupported
156
156
 
157
157
  Developed and tested against Node.js 24 and Nuxt 4.5.x. Versions outside the current CI matrix are
158
158
  not continuously tested. Nuxt 3 is not guaranteed.
package/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@onderwijsin/nuxt-loops-renderer",
3
3
  "configKey": "loopsRenderer",
4
- "version": "0.2.8",
4
+ "version": "0.2.10",
5
5
  "compatibility": {
6
6
  "nuxt": "^4.0.0"
7
7
  },
package/dist/module.mjs CHANGED
@@ -1,8 +1,9 @@
1
1
  import { defineNuxtModule, useLogger, createResolver, addComponentsDir } from '@nuxt/kit';
2
+ import { defu } from 'defu';
2
3
  import { enabled, resolveModuleName, resolveLoggerScope, moduleSetup, transpileRuntime, moduleDependenciesWhenEnabled } from '@onderwijsin/nuxt-module-utils/build';
3
4
  import { z } from 'zod';
4
5
 
5
- const version = "0.2.8";
6
+ const version = "0.2.10";
6
7
 
7
8
  const EVALUATE_DEFAULTS = {
8
9
  onMissingVariable: false,
@@ -49,10 +50,13 @@ const module$1 = defineNuxtModule({
49
50
  return;
50
51
  }
51
52
  const validatedOptions = loopsRendererOptionsSchema.parse(options);
52
- nuxt.options.appConfig.loopsRenderer = {
53
- applyInlineStyles: validatedOptions.applyInlineStyles,
54
- evaluate: validatedOptions.evaluate
55
- };
53
+ nuxt.options.appConfig.loopsRenderer = defu(
54
+ {
55
+ applyInlineStyles: validatedOptions.applyInlineStyles,
56
+ evaluate: validatedOptions.evaluate
57
+ },
58
+ nuxt.options.appConfig.loopsRenderer
59
+ );
56
60
  const resolver = createResolver(import.meta.url);
57
61
  const runtimeDir = resolver.resolve("./runtime");
58
62
  transpileRuntime(nuxt, runtimeDir);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onderwijsin/nuxt-loops-renderer",
3
- "version": "0.2.8",
3
+ "version": "0.2.10",
4
4
  "description": "Nuxt module for rendering Loops LMX email content.",
5
5
  "homepage": "https://github.com/onderwijsin/nuxt-modules#readme",
6
6
  "bugs": {
@@ -43,7 +43,7 @@
43
43
  "simple-icons": "16.28.0",
44
44
  "tailwindcss": "4.3.3",
45
45
  "zod": "4.4.3",
46
- "@onderwijsin/nuxt-module-utils": "^0.4.0"
46
+ "@onderwijsin/nuxt-module-utils": "^0.5.1"
47
47
  },
48
48
  "devDependencies": {
49
49
  "@nuxt/module-builder": "1.0.3",
@@ -52,7 +52,7 @@
52
52
  "unbuild": "3.6.1"
53
53
  },
54
54
  "engines": {
55
- "node": ">=22"
55
+ "node": ">=24"
56
56
  },
57
57
  "scripts": {
58
58
  "build": "nuxt-module-build build",