@uniformdev/uniform-nuxt 19.25.1-alpha.8 → 19.26.0

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,5 +1,5 @@
1
1
  {
2
2
  "name": "nuxt-uniform",
3
3
  "configKey": "uniform",
4
- "version": "19.25.1-alpha.8+dfec6f601"
4
+ "version": "19.26.0"
5
5
  }
@@ -133,13 +133,10 @@ function setupPreview(nuxtApp) {
133
133
  }
134
134
  nuxtApp.hook("app:beforeMount", () => {
135
135
  if (preview && (route.query.slug || route.query.path)) {
136
- const path = preview?.path ?? preview?.slug;
137
- const pathParams = Object.fromEntries(new URL(path ?? "", "https://example.com").searchParams);
138
136
  router.push({
139
- path,
137
+ path: preview?.path ?? preview?.slug,
140
138
  query: {
141
139
  ...route.query,
142
- ...pathParams,
143
140
  slug: void 0,
144
141
  id: void 0,
145
142
  path: void 0,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/uniform-nuxt",
3
- "version": "19.25.1-alpha.8+dfec6f601",
3
+ "version": "19.26.0",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "exports": {
@@ -24,11 +24,11 @@
24
24
  },
25
25
  "dependencies": {
26
26
  "@nuxt/kit": "3.2.0",
27
- "@uniformdev/canvas": "19.25.1-alpha.8+dfec6f601",
28
- "@uniformdev/canvas-vue": "19.25.1-alpha.8+dfec6f601",
29
- "@uniformdev/context": "19.25.1-alpha.8+dfec6f601",
30
- "@uniformdev/context-vue": "19.25.1-alpha.8+dfec6f601",
31
- "@uniformdev/richtext": "19.25.1-alpha.8+dfec6f601",
27
+ "@uniformdev/canvas": "19.26.0",
28
+ "@uniformdev/canvas-vue": "19.26.0",
29
+ "@uniformdev/context": "19.26.0",
30
+ "@uniformdev/context-vue": "19.26.0",
31
+ "@uniformdev/richtext": "19.26.0",
32
32
  "vue-demi": "^0.14.0"
33
33
  },
34
34
  "devDependencies": {
@@ -38,11 +38,11 @@
38
38
  "esbuild": "0.18.0",
39
39
  "eslint": "^8.31.0",
40
40
  "nuxt": "3.2.0",
41
- "vue": "3.2.47",
41
+ "vue": "3.2.45",
42
42
  "vue-router": "4.1.6"
43
43
  },
44
44
  "publishConfig": {
45
45
  "access": "public"
46
46
  },
47
- "gitHead": "dfec6f6014629a7f86d8778af3af37d96b3cf9e6"
47
+ "gitHead": "860f4f8ae7161b5fb0b7a670bdfd1566fce45bee"
48
48
  }