@uidu/analytics
Advanced tools
Comparing version 0.4.0 to 0.4.1
# @uidu/analytics | ||
## 0.4.1 | ||
### Patch Changes | ||
- 516f3c5: Clean dependencies, field date now has calendar as a fallback, default to native implementation, fixed RecurringPayment | ||
## 0.4.0 | ||
@@ -4,0 +10,0 @@ |
{ | ||
"name": "@uidu/analytics", | ||
"version": "0.4.0" | ||
"version": "0.4.1" | ||
} |
@@ -11,6 +11,6 @@ 'use strict'; | ||
var _defineProperty$1 = require('@babel/runtime/helpers/defineProperty'); | ||
var jsxRuntime = require('react/jsx-runtime'); | ||
var PropTypes = require('prop-types'); | ||
var React = require('react'); | ||
var _typeof = require('@babel/runtime/helpers/typeof'); | ||
var _extends = require('@babel/runtime/helpers/extends'); | ||
var _get = require('@babel/runtime/helpers/get'); | ||
@@ -31,3 +31,2 @@ var _getPrototypeOf$1 = require('@babel/runtime/helpers/getPrototypeOf'); | ||
var _typeof__default = /*#__PURE__*/_interopDefault(_typeof); | ||
var _extends__default = /*#__PURE__*/_interopDefault(_extends); | ||
var _get__default = /*#__PURE__*/_interopDefault(_get); | ||
@@ -146,5 +145,6 @@ var _getPrototypeOf__default = /*#__PURE__*/_interopDefault(_getPrototypeOf$1); | ||
var children = this.props.children; | ||
return /*#__PURE__*/React__default['default'].createElement(AnalyticsReactContext.Provider, { | ||
value: this.state | ||
}, React.Children.only(children)); | ||
return /*#__PURE__*/jsxRuntime.jsx(AnalyticsReactContext.Provider, { | ||
value: this.state, | ||
children: React.Children.only(children) | ||
}); | ||
} | ||
@@ -437,12 +437,13 @@ }]); | ||
var WithAnalyticsEvents = /*#__PURE__*/React__default['default'].forwardRef(function (props, ref) { | ||
return /*#__PURE__*/React__default['default'].createElement(AnalyticsContextConsumer, { | ||
return /*#__PURE__*/jsxRuntime.jsx(AnalyticsContextConsumer, { | ||
createEventMap: createEventMap, | ||
wrappedComponentProps: props | ||
}, function (_ref) { | ||
var createAnalyticsEvent = _ref.createAnalyticsEvent, | ||
patchedEventProps = _ref.patchedEventProps; | ||
return /*#__PURE__*/React__default['default'].createElement(WrappedComponent, _extends__default['default']({}, props, patchedEventProps, { | ||
createAnalyticsEvent: createAnalyticsEvent, | ||
ref: ref | ||
})); | ||
wrappedComponentProps: props, | ||
children: function children(_ref) { | ||
var createAnalyticsEvent = _ref.createAnalyticsEvent, | ||
patchedEventProps = _ref.patchedEventProps; | ||
return /*#__PURE__*/jsxRuntime.jsx(WrappedComponent, _objectSpread2(_objectSpread2(_objectSpread2({}, props), patchedEventProps), {}, { | ||
createAnalyticsEvent: createAnalyticsEvent, | ||
ref: ref | ||
})); | ||
} | ||
}); | ||
@@ -508,5 +509,6 @@ }); // @ts-ignore | ||
children = _this$props2.children; | ||
return /*#__PURE__*/React__default['default'].createElement(AnalyticsContext, { | ||
data: data | ||
}, children); | ||
return /*#__PURE__*/jsxRuntime.jsx(AnalyticsContext, { | ||
data: data, | ||
children: children | ||
}); | ||
} | ||
@@ -572,8 +574,9 @@ }]); | ||
var children = this.props.children; | ||
return /*#__PURE__*/React__default['default'].createElement(AnalyticsReactContext.Provider, { | ||
return /*#__PURE__*/jsxRuntime.jsx(AnalyticsReactContext.Provider, { | ||
value: { | ||
getGuidulyticsEventHandlers: this.getAnalyticsEventHandlers, | ||
getGuiduAnalyticsContext: getGuiduAnalyticsContext | ||
} | ||
}, children); | ||
}, | ||
children: children | ||
}); | ||
} | ||
@@ -662,7 +665,8 @@ }]); | ||
return /*#__PURE__*/React__default['default'].createElement(AnalyticsContext, { | ||
data: analyticsData | ||
}, /*#__PURE__*/React__default['default'].createElement(WrappedComponent, _extends__default['default']({}, rest, { | ||
ref: ref | ||
}))); | ||
return /*#__PURE__*/jsxRuntime.jsx(AnalyticsContext, { | ||
data: analyticsData, | ||
children: /*#__PURE__*/jsxRuntime.jsx(WrappedComponent, _objectSpread2(_objectSpread2({}, rest), {}, { | ||
ref: ref | ||
})) | ||
}); | ||
}); // @ts-ignore | ||
@@ -669,0 +673,0 @@ |
@@ -11,6 +11,6 @@ 'use strict'; | ||
var _defineProperty$1 = require('@babel/runtime/helpers/defineProperty'); | ||
var jsxRuntime = require('react/jsx-runtime'); | ||
var PropTypes = require('prop-types'); | ||
var React = require('react'); | ||
var _typeof = require('@babel/runtime/helpers/typeof'); | ||
var _extends = require('@babel/runtime/helpers/extends'); | ||
var _get = require('@babel/runtime/helpers/get'); | ||
@@ -31,3 +31,2 @@ var _getPrototypeOf$1 = require('@babel/runtime/helpers/getPrototypeOf'); | ||
var _typeof__default = /*#__PURE__*/_interopDefault(_typeof); | ||
var _extends__default = /*#__PURE__*/_interopDefault(_extends); | ||
var _get__default = /*#__PURE__*/_interopDefault(_get); | ||
@@ -146,5 +145,6 @@ var _getPrototypeOf__default = /*#__PURE__*/_interopDefault(_getPrototypeOf$1); | ||
var children = this.props.children; | ||
return /*#__PURE__*/React__default['default'].createElement(AnalyticsReactContext.Provider, { | ||
value: this.state | ||
}, React.Children.only(children)); | ||
return /*#__PURE__*/jsxRuntime.jsx(AnalyticsReactContext.Provider, { | ||
value: this.state, | ||
children: React.Children.only(children) | ||
}); | ||
} | ||
@@ -437,12 +437,13 @@ }]); | ||
var WithAnalyticsEvents = /*#__PURE__*/React__default['default'].forwardRef(function (props, ref) { | ||
return /*#__PURE__*/React__default['default'].createElement(AnalyticsContextConsumer, { | ||
return /*#__PURE__*/jsxRuntime.jsx(AnalyticsContextConsumer, { | ||
createEventMap: createEventMap, | ||
wrappedComponentProps: props | ||
}, function (_ref) { | ||
var createAnalyticsEvent = _ref.createAnalyticsEvent, | ||
patchedEventProps = _ref.patchedEventProps; | ||
return /*#__PURE__*/React__default['default'].createElement(WrappedComponent, _extends__default['default']({}, props, patchedEventProps, { | ||
createAnalyticsEvent: createAnalyticsEvent, | ||
ref: ref | ||
})); | ||
wrappedComponentProps: props, | ||
children: function children(_ref) { | ||
var createAnalyticsEvent = _ref.createAnalyticsEvent, | ||
patchedEventProps = _ref.patchedEventProps; | ||
return /*#__PURE__*/jsxRuntime.jsx(WrappedComponent, _objectSpread2(_objectSpread2(_objectSpread2({}, props), patchedEventProps), {}, { | ||
createAnalyticsEvent: createAnalyticsEvent, | ||
ref: ref | ||
})); | ||
} | ||
}); | ||
@@ -508,5 +509,6 @@ }); // @ts-ignore | ||
children = _this$props2.children; | ||
return /*#__PURE__*/React__default['default'].createElement(AnalyticsContext, { | ||
data: data | ||
}, children); | ||
return /*#__PURE__*/jsxRuntime.jsx(AnalyticsContext, { | ||
data: data, | ||
children: children | ||
}); | ||
} | ||
@@ -572,8 +574,9 @@ }]); | ||
var children = this.props.children; | ||
return /*#__PURE__*/React__default['default'].createElement(AnalyticsReactContext.Provider, { | ||
return /*#__PURE__*/jsxRuntime.jsx(AnalyticsReactContext.Provider, { | ||
value: { | ||
getGuidulyticsEventHandlers: this.getAnalyticsEventHandlers, | ||
getGuiduAnalyticsContext: getGuiduAnalyticsContext | ||
} | ||
}, children); | ||
}, | ||
children: children | ||
}); | ||
} | ||
@@ -662,7 +665,8 @@ }]); | ||
return /*#__PURE__*/React__default['default'].createElement(AnalyticsContext, { | ||
data: analyticsData | ||
}, /*#__PURE__*/React__default['default'].createElement(WrappedComponent, _extends__default['default']({}, rest, { | ||
ref: ref | ||
}))); | ||
return /*#__PURE__*/jsxRuntime.jsx(AnalyticsContext, { | ||
data: analyticsData, | ||
children: /*#__PURE__*/jsxRuntime.jsx(WrappedComponent, _objectSpread2(_objectSpread2({}, rest), {}, { | ||
ref: ref | ||
})) | ||
}); | ||
}); // @ts-ignore | ||
@@ -669,0 +673,0 @@ |
@@ -7,6 +7,6 @@ import _toConsumableArray from '@babel/runtime/helpers/esm/toConsumableArray'; | ||
import _defineProperty$1 from '@babel/runtime/helpers/esm/defineProperty'; | ||
import { jsx } from 'react/jsx-runtime'; | ||
import PropTypes from 'prop-types'; | ||
import React, { Children, Component, useContext, useCallback, useRef, useEffect } from 'react'; | ||
import _typeof from '@babel/runtime/helpers/esm/typeof'; | ||
import _extends from '@babel/runtime/helpers/esm/extends'; | ||
import _get from '@babel/runtime/helpers/esm/get'; | ||
@@ -125,5 +125,6 @@ import _getPrototypeOf$1 from '@babel/runtime/helpers/esm/getPrototypeOf'; | ||
var children = this.props.children; | ||
return /*#__PURE__*/React.createElement(AnalyticsReactContext.Provider, { | ||
value: this.state | ||
}, Children.only(children)); | ||
return /*#__PURE__*/jsx(AnalyticsReactContext.Provider, { | ||
value: this.state, | ||
children: Children.only(children) | ||
}); | ||
} | ||
@@ -416,12 +417,13 @@ }]); | ||
var WithAnalyticsEvents = /*#__PURE__*/React.forwardRef(function (props, ref) { | ||
return /*#__PURE__*/React.createElement(AnalyticsContextConsumer, { | ||
return /*#__PURE__*/jsx(AnalyticsContextConsumer, { | ||
createEventMap: createEventMap, | ||
wrappedComponentProps: props | ||
}, function (_ref) { | ||
var createAnalyticsEvent = _ref.createAnalyticsEvent, | ||
patchedEventProps = _ref.patchedEventProps; | ||
return /*#__PURE__*/React.createElement(WrappedComponent, _extends({}, props, patchedEventProps, { | ||
createAnalyticsEvent: createAnalyticsEvent, | ||
ref: ref | ||
})); | ||
wrappedComponentProps: props, | ||
children: function children(_ref) { | ||
var createAnalyticsEvent = _ref.createAnalyticsEvent, | ||
patchedEventProps = _ref.patchedEventProps; | ||
return /*#__PURE__*/jsx(WrappedComponent, _objectSpread2(_objectSpread2(_objectSpread2({}, props), patchedEventProps), {}, { | ||
createAnalyticsEvent: createAnalyticsEvent, | ||
ref: ref | ||
})); | ||
} | ||
}); | ||
@@ -487,5 +489,6 @@ }); // @ts-ignore | ||
children = _this$props2.children; | ||
return /*#__PURE__*/React.createElement(AnalyticsContext, { | ||
data: data | ||
}, children); | ||
return /*#__PURE__*/jsx(AnalyticsContext, { | ||
data: data, | ||
children: children | ||
}); | ||
} | ||
@@ -551,8 +554,9 @@ }]); | ||
var children = this.props.children; | ||
return /*#__PURE__*/React.createElement(AnalyticsReactContext.Provider, { | ||
return /*#__PURE__*/jsx(AnalyticsReactContext.Provider, { | ||
value: { | ||
getGuidulyticsEventHandlers: this.getAnalyticsEventHandlers, | ||
getGuiduAnalyticsContext: getGuiduAnalyticsContext | ||
} | ||
}, children); | ||
}, | ||
children: children | ||
}); | ||
} | ||
@@ -641,7 +645,8 @@ }]); | ||
return /*#__PURE__*/React.createElement(AnalyticsContext, { | ||
data: analyticsData | ||
}, /*#__PURE__*/React.createElement(WrappedComponent, _extends({}, rest, { | ||
ref: ref | ||
}))); | ||
return /*#__PURE__*/jsx(AnalyticsContext, { | ||
data: analyticsData, | ||
children: /*#__PURE__*/jsx(WrappedComponent, _objectSpread2(_objectSpread2({}, rest), {}, { | ||
ref: ref | ||
})) | ||
}); | ||
}); // @ts-ignore | ||
@@ -648,0 +653,0 @@ |
{ | ||
"name": "@uidu/analytics", | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"description": "The uidu component analytics framework", | ||
@@ -12,3 +12,2 @@ "repository": "https://github.com/uidu-org/guidu/tree/master/packages/core/analytics", | ||
"dependencies": { | ||
"@atlaskit/type-helpers": "^4.1.6", | ||
"@babel/runtime": "^7.11.2", | ||
@@ -15,0 +14,0 @@ "prop-types": "^15.7.2", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
4
1844
0
90122
- Removed@atlaskit/type-helpers@^4.1.6
- Removed@atlaskit/type-helpers@4.2.3(transitive)
- Removedreact@16.14.0(transitive)