@uniformdev/uniform-nuxt 16.2.1-nuxt.274 → 17.0.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": "16.2.1-nuxt.274+0a8a48855"
4
+ "version": "17.0.0"
5
5
  }
@@ -1,2 +1,2 @@
1
- declare const _default: any;
2
- export default _default;
1
+ declare const _default: any;
2
+ export default _default;
@@ -121,6 +121,9 @@ function setupPreview() {
121
121
  };
122
122
  }
123
123
  router.beforeEach((to, from, next) => {
124
+ if (!next) {
125
+ return;
126
+ }
124
127
  if (from.query.preview === "true" && to.query.preview !== "true") {
125
128
  return next({
126
129
  path: to.path,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/uniform-nuxt",
3
- "version": "16.2.1-nuxt.274+0a8a48855",
3
+ "version": "17.0.0",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "exports": {
@@ -35,10 +35,10 @@
35
35
  "@nuxt/module-builder": "0.1.7",
36
36
  "@nuxt/schema": "3.0.0-rc.6",
37
37
  "@nuxtjs/eslint-config-typescript": "10.0.0",
38
- "@uniformdev/canvas": "^16.2.1-nuxt.274+0a8a48855",
39
- "@uniformdev/canvas-vue": "^16.2.1-nuxt.274+0a8a48855",
40
- "@uniformdev/context": "^16.2.1-nuxt.274+0a8a48855",
41
- "@uniformdev/context-vue": "^16.2.1-nuxt.274+0a8a48855",
38
+ "@uniformdev/canvas": "^17.0.0",
39
+ "@uniformdev/canvas-vue": "^17.0.0",
40
+ "@uniformdev/context": "^17.0.0",
41
+ "@uniformdev/context-vue": "^17.0.0",
42
42
  "esbuild": "0.13.15",
43
43
  "eslint": "latest",
44
44
  "nuxt": "3.0.0-rc.6",
@@ -48,5 +48,5 @@
48
48
  "publishConfig": {
49
49
  "access": "public"
50
50
  },
51
- "gitHead": "0a8a48855ef532336761a3872c3d515ab6b9113e"
51
+ "gitHead": "d15f59e5cc80184d983b8c1ca67b1ee390158672"
52
52
  }