@symbo.ls/create 2.11.220 → 2.11.221

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.
@@ -15973,7 +15973,7 @@ var popStateRouter = (element, options) => {
15973
15973
  };
15974
15974
  };
15975
15975
  var injectRouterInLinkComponent = (routerOptions) => {
15976
- if (routerOptions.injectRouterInLinkComponent) {
15976
+ if (routerOptions && routerOptions.injectRouterInLinkComponent) {
15977
15977
  return (0, import_utils16.deepMerge)(Link, RouterLink);
15978
15978
  }
15979
15979
  };
@@ -75,7 +75,7 @@ const popStateRouter = (element, options) => {
75
75
  };
76
76
  };
77
77
  const injectRouterInLinkComponent = (routerOptions) => {
78
- if (routerOptions.injectRouterInLinkComponent) {
78
+ if (routerOptions && routerOptions.injectRouterInLinkComponent) {
79
79
  return (0, import_utils.deepMerge)(import_uikit.Link, import_uikit.RouterLink);
80
80
  }
81
81
  };
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@symbo.ls/create",
3
- "version": "2.11.220",
3
+ "version": "2.11.221",
4
4
  "license": "MIT",
5
- "gitHead": "557d47cf9535b98e5cfbe8bed505da0db847fc12",
5
+ "gitHead": "edd135dc40621879b35493003ab88891e407db03",
6
6
  "files": [
7
7
  "src",
8
8
  "dist"
package/src/router.js CHANGED
@@ -57,7 +57,7 @@ export const popStateRouter = (element, options) => {
57
57
  }
58
58
 
59
59
  export const injectRouterInLinkComponent = (routerOptions) => {
60
- if (routerOptions.injectRouterInLinkComponent) {
60
+ if (routerOptions && routerOptions.injectRouterInLinkComponent) {
61
61
  return deepMerge(Link, RouterLink)
62
62
  }
63
63
  }