@oddle.me/react-calendar-timeline 0.29.10 → 0.29.12

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.
@@ -404,7 +404,7 @@ function (_Component) {
404
404
  });
405
405
 
406
406
  _defineProperty(_assertThisInitialized(_this), "isTimelineHeader", function (child) {
407
- if (child.type === undefined) return false;
407
+ if (!child || child.type === undefined) return false;
408
408
  return child.type.secretKey === _TimelineHeaders["default"].secretKey;
409
409
  });
410
410
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oddle.me/react-calendar-timeline",
3
- "version": "0.29.10",
3
+ "version": "0.29.12",
4
4
  "description": "react calendar timeline",
5
5
  "main": "lib/index.js",
6
6
  "types": "src/global.d.ts",
@@ -99,11 +99,11 @@
99
99
  "classnames": "^2.2.6",
100
100
  "create-react-context": "^0.3.0",
101
101
  "element-resize-detector": "^1.1.12",
102
+ "interactjs": "^1.3.4",
102
103
  "lodash.isequal": "^4.5.0",
103
104
  "memoize-one": "^5.1.1"
104
105
  },
105
106
  "peerDependencies": {
106
- "interactjs": "^1.3.4",
107
107
  "moment": "*",
108
108
  "prop-types": "^15.6.2",
109
109
  "react": ">=16.3",
@@ -135,7 +135,6 @@
135
135
  "eslint-plugin-react": "^7.5.1",
136
136
  "eslint-plugin-standard": "^2.0.1",
137
137
  "faker": "^4.1.0",
138
- "interactjs": "^1.3.4",
139
138
  "jest": "^24.8.0",
140
139
  "jest-dom": "^3.5.0",
141
140
  "jest-watch-typeahead": "^0.3.1",