Socket
Socket
Sign inDemoInstall

@atlaskit/onboarding

Package Overview
Dependencies
19
Maintainers
1
Versions
224
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 11.2.5 to 11.2.6

6

CHANGELOG.md
# @atlaskit/onboarding
## 11.2.6
### Patch Changes
- [#83188](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83188) [`cd5d06cd3329`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/cd5d06cd3329) - Minor adjustments to improve compatibility with React 18
## 11.2.5

@@ -4,0 +10,0 @@

2

dist/cjs/components/spotlight-dialog.js

@@ -30,3 +30,3 @@ "use strict";

var packageName = "@atlaskit/onboarding";
var packageVersion = "11.2.5";
var packageVersion = "11.2.6";
var SpotlightDialog = /*#__PURE__*/function (_Component) {

@@ -33,0 +33,0 @@ (0, _inherits2.default)(SpotlightDialog, _Component);

@@ -29,5 +29,6 @@ "use strict";

var hasChildren = function hasChildren(children) {
return _react.default.Children.count(children) > 0 && _react.default.Children.map(children || false, function (child) {
var _React$Children$map;
return _react.default.Children.count(children) > 0 && (((_React$Children$map = _react.default.Children.map(children || false, function (child) {
return !!child;
}).filter(Boolean).length > 0;
})) === null || _React$Children$map === void 0 || (_React$Children$map = _React$Children$map.filter(Boolean)) === null || _React$Children$map === void 0 ? void 0 : _React$Children$map.length) || 0) > 0;
};

@@ -34,0 +35,0 @@

@@ -10,3 +10,3 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";

const packageName = "@atlaskit/onboarding";
const packageVersion = "11.2.5";
const packageVersion = "11.2.6";
class SpotlightDialog extends Component {

@@ -13,0 +13,0 @@ constructor(...args) {

@@ -10,3 +10,6 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";

// checks if children exist and are truthy
const hasChildren = children => React.Children.count(children) > 0 && React.Children.map(children || false, child => !!child).filter(Boolean).length > 0;
const hasChildren = children => {
var _React$Children$map, _React$Children$map$f;
return React.Children.count(children) > 0 && (((_React$Children$map = React.Children.map(children || false, child => !!child)) === null || _React$Children$map === void 0 ? void 0 : (_React$Children$map$f = _React$Children$map.filter(Boolean)) === null || _React$Children$map$f === void 0 ? void 0 : _React$Children$map$f.length) || 0) > 0;
};

@@ -13,0 +16,0 @@ /**

@@ -20,3 +20,3 @@ import _classCallCheck from "@babel/runtime/helpers/classCallCheck";

var packageName = "@atlaskit/onboarding";
var packageVersion = "11.2.5";
var packageVersion = "11.2.6";
var SpotlightDialog = /*#__PURE__*/function (_Component) {

@@ -23,0 +23,0 @@ _inherits(SpotlightDialog, _Component);

@@ -19,5 +19,6 @@ import _classCallCheck from "@babel/runtime/helpers/classCallCheck";

var hasChildren = function hasChildren(children) {
return React.Children.count(children) > 0 && React.Children.map(children || false, function (child) {
var _React$Children$map;
return React.Children.count(children) > 0 && (((_React$Children$map = React.Children.map(children || false, function (child) {
return !!child;
}).filter(Boolean).length > 0;
})) === null || _React$Children$map === void 0 || (_React$Children$map = _React$Children$map.filter(Boolean)) === null || _React$Children$map === void 0 ? void 0 : _React$Children$map.length) || 0) > 0;
};

@@ -24,0 +25,0 @@

{
"name": "@atlaskit/onboarding",
"version": "11.2.5",
"version": "11.2.6",
"description": "An onboarding spotlight introduces new features to users through focused messages or multi-step tours.",

@@ -5,0 +5,0 @@ "publishConfig": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc