@nuxt/kit-nightly 4.3.2-29515660.6abf3106 → 4.3.2-29519577.92ca3ecc

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.
Files changed (2) hide show
  1. package/dist/index.mjs +3 -3
  2. package/package.json +2 -2
package/dist/index.mjs CHANGED
@@ -529,12 +529,12 @@ async function installModules(modulesToInstall, resolvedModulePaths, nuxt = useN
529
529
  if (error) throw error;
530
530
  for (const { nuxtModule, meta = {}, moduleToInstall, buildTimeModuleMeta, resolvedModulePath, inlineOptions } of resolvedModules) {
531
531
  const configKey = meta.configKey;
532
- const optionsFns = [
532
+ const optionsFns = new Set([
533
533
  ...nuxt._moduleOptionsFunctions.get(moduleToInstall) || [],
534
534
  ...meta?.name ? nuxt._moduleOptionsFunctions.get(meta.name) || [] : [],
535
535
  ...configKey ? nuxt._moduleOptionsFunctions.get(configKey) || [] : []
536
- ];
537
- if (optionsFns.length > 0) {
536
+ ]);
537
+ if (optionsFns.size > 0) {
538
538
  const overrides = [];
539
539
  const defaults = [];
540
540
  for (const fn of optionsFns) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuxt/kit-nightly",
3
- "version": "4.3.2-29515660.6abf3106",
3
+ "version": "4.3.2-29519577.92ca3ecc",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/nuxt/nuxt.git",
@@ -41,7 +41,7 @@
41
41
  "untyped": "^2.0.0"
42
42
  },
43
43
  "devDependencies": {
44
- "@nuxt/schema": "npm:@nuxt/schema-nightly@4.3.2-29515660.6abf3106",
44
+ "@nuxt/schema": "npm:@nuxt/schema-nightly@4.3.2-29519577.92ca3ecc",
45
45
  "@rspack/core": "1.7.5",
46
46
  "@types/semver": "7.7.1",
47
47
  "hookable": "5.5.3",