@uniformdev/canvas-next 19.165.2-alpha.0 → 19.166.1

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.
@@ -477,8 +477,7 @@ var withUniformGetStaticProps = (options) => {
477
477
 
478
478
  // src/route/localePathModifier.ts
479
479
  var prependLocale = (path, { locale, defaultLocale, locales }) => {
480
- if (!(locales == null ? void 0 : locales.length))
481
- return path;
480
+ if (!(locales == null ? void 0 : locales.length)) return path;
482
481
  const slug = path === "/" ? "" : path;
483
482
  return decodeURI(`/${locale || defaultLocale}${slug}`);
484
483
  };
@@ -344,8 +344,7 @@ var withUniformGetStaticProps = (options) => {
344
344
 
345
345
  // src/route/localePathModifier.ts
346
346
  var prependLocale = (path, { locale, defaultLocale, locales }) => {
347
- if (!(locales == null ? void 0 : locales.length))
348
- return path;
347
+ if (!(locales == null ? void 0 : locales.length)) return path;
349
348
  const slug = path === "/" ? "" : path;
350
349
  return decodeURI(`/${locale || defaultLocale}${slug}`);
351
350
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/canvas-next",
3
- "version": "19.165.2-alpha.0+323887559d",
3
+ "version": "19.166.1",
4
4
  "description": "Next.js SDK for Uniform Canvas",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./dist/index.js",
@@ -67,11 +67,11 @@
67
67
  "document": "api-extractor run --local"
68
68
  },
69
69
  "dependencies": {
70
- "@uniformdev/canvas": "19.165.2-alpha.0+323887559d",
71
- "@uniformdev/canvas-react": "19.165.2-alpha.0+323887559d",
72
- "@uniformdev/project-map": "19.165.2-alpha.0+323887559d",
73
- "@uniformdev/redirect": "19.165.2-alpha.0+323887559d",
74
- "@uniformdev/richtext": "19.165.2-alpha.0+323887559d",
70
+ "@uniformdev/canvas": "19.166.1",
71
+ "@uniformdev/canvas-react": "19.166.1",
72
+ "@uniformdev/project-map": "19.166.1",
73
+ "@uniformdev/redirect": "19.166.1",
74
+ "@uniformdev/richtext": "19.166.1",
75
75
  "colorette": "2.0.20"
76
76
  },
77
77
  "peerDependencies": {
@@ -91,5 +91,5 @@
91
91
  "publishConfig": {
92
92
  "access": "public"
93
93
  },
94
- "gitHead": "323887559d1bdc7432f91d305afaec90b98f660f"
94
+ "gitHead": "d6a92d76bb91fa41a51cf27a69d81e0cc985f80f"
95
95
  }