@atlaskit/tree
Advanced tools
Comparing version 8.8.7 to 8.8.8
# @atlaskit/tree | ||
## 8.8.8 | ||
### Patch Changes | ||
- [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116) [`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) - Upgrade Typescript from `4.9.5` to `5.4.2` | ||
## 8.8.7 | ||
@@ -4,0 +10,0 @@ |
@@ -27,8 +27,8 @@ "use strict"; | ||
var _delayedFunction = _interopRequireDefault(require("../../utils/delayed-function")); | ||
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } | ||
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } | ||
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } | ||
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } | ||
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; } | ||
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; } | ||
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; } | ||
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } // Allowing existing usage of non Pragmatic drag and drop solution | ||
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } // Allowing existing usage of non Pragmatic drag and drop solution | ||
// eslint-disable-next-line @atlaskit/design-system/no-unsupported-drag-and-drop-libraries | ||
@@ -35,0 +35,0 @@ var Tree = exports.default = /*#__PURE__*/function (_Component) { |
@@ -21,3 +21,3 @@ "use strict"; | ||
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; } | ||
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } // Allowing existing usage of non Pragmatic drag and drop solution | ||
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } // Allowing existing usage of non Pragmatic drag and drop solution | ||
// eslint-disable-next-line @atlaskit/design-system/no-unsupported-drag-and-drop-libraries | ||
@@ -24,0 +24,0 @@ var TreeItem = exports.default = /*#__PURE__*/function (_Component) { |
@@ -1,5 +0,1 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
"use strict"; |
@@ -5,2 +5,3 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty"; | ||
// eslint-disable-next-line @atlaskit/design-system/no-unsupported-drag-and-drop-libraries | ||
import { isSamePath } from '../../utils/path'; | ||
@@ -7,0 +8,0 @@ import { sameProps } from '../../utils/react'; |
@@ -12,3 +12,3 @@ import _extends from "@babel/runtime/helpers/extends"; | ||
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; } | ||
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } | ||
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } | ||
import React, { Component } from 'react'; | ||
@@ -15,0 +15,0 @@ // Allowing existing usage of non Pragmatic drag and drop solution |
@@ -11,6 +11,7 @@ import _classCallCheck from "@babel/runtime/helpers/classCallCheck"; | ||
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; } | ||
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } | ||
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } | ||
import { Component } from 'react'; | ||
// Allowing existing usage of non Pragmatic drag and drop solution | ||
// eslint-disable-next-line @atlaskit/design-system/no-unsupported-drag-and-drop-libraries | ||
import { isSamePath } from '../../utils/path'; | ||
@@ -17,0 +18,0 @@ import { sameProps } from '../../utils/react'; |
@@ -0,1 +1,2 @@ | ||
/// <reference path="../../../../../../../typings/react-beautiful-dnd-next.d.ts" /> | ||
import { ReactNode } from 'react'; | ||
@@ -2,0 +3,0 @@ import { DraggableLocation, DraggableId, DroppableId } from 'react-beautiful-dnd-next'; |
@@ -0,1 +1,2 @@ | ||
/// <reference path="../../../../../../../typings/react-beautiful-dnd-next.d.ts" /> | ||
import { Component, ReactNode } from 'react'; | ||
@@ -2,0 +3,0 @@ import { DragStart, DropResult, DragUpdate, DraggableProvided, DraggableStateSnapshot, DroppableProvided } from 'react-beautiful-dnd-next'; |
@@ -0,1 +1,2 @@ | ||
/// <reference path="../../../../../../../typings/react-beautiful-dnd-next.d.ts" /> | ||
import { ReactNode } from 'react'; | ||
@@ -2,0 +3,0 @@ import { DraggableProvided, DraggableStateSnapshot, DraggableProvidedDragHandleProps, DraggableProvidedDraggableProps, DraggingStyle } from 'react-beautiful-dnd-next'; |
@@ -0,1 +1,2 @@ | ||
/// <reference path="../../../../../../../typings/react-beautiful-dnd-next.d.ts" /> | ||
import { Component } from 'react'; | ||
@@ -2,0 +3,0 @@ import { DraggableProvidedDraggableProps, DraggableStateSnapshot } from 'react-beautiful-dnd-next'; |
@@ -0,1 +1,2 @@ | ||
/// <reference path="../../../../../../../typings/react-beautiful-dnd-next.d.ts" /> | ||
import { ReactNode } from 'react'; | ||
@@ -2,0 +3,0 @@ import { DraggableLocation, DraggableId, DroppableId } from 'react-beautiful-dnd-next'; |
@@ -0,1 +1,2 @@ | ||
/// <reference path="../../../../../../../typings/react-beautiful-dnd-next.d.ts" /> | ||
import { Component, ReactNode } from 'react'; | ||
@@ -2,0 +3,0 @@ import { DragStart, DropResult, DragUpdate, DraggableProvided, DraggableStateSnapshot, DroppableProvided } from 'react-beautiful-dnd-next'; |
@@ -0,1 +1,2 @@ | ||
/// <reference path="../../../../../../../typings/react-beautiful-dnd-next.d.ts" /> | ||
import { ReactNode } from 'react'; | ||
@@ -2,0 +3,0 @@ import { DraggableProvided, DraggableStateSnapshot, DraggableProvidedDragHandleProps, DraggableProvidedDraggableProps, DraggingStyle } from 'react-beautiful-dnd-next'; |
@@ -0,1 +1,2 @@ | ||
/// <reference path="../../../../../../../typings/react-beautiful-dnd-next.d.ts" /> | ||
import { Component } from 'react'; | ||
@@ -2,0 +3,0 @@ import { DraggableProvidedDraggableProps, DraggableStateSnapshot } from 'react-beautiful-dnd-next'; |
{ | ||
"name": "@atlaskit/tree", | ||
"version": "8.8.7", | ||
"version": "8.8.8", | ||
"description": "A React Component for displaying expandable and sortable tree hierarchies", | ||
@@ -8,3 +8,3 @@ "publishConfig": { | ||
}, | ||
"repository": "https://bitbucket.org/atlassian/atlassian-frontend", | ||
"repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror", | ||
"author": "Atlassian Pty Ltd", | ||
@@ -59,3 +59,3 @@ "license": "Apache-2.0", | ||
"styled-components": "^3.2.6", | ||
"typescript": "~4.9.5", | ||
"typescript": "~5.4.2", | ||
"wait-for-expect": "^1.2.0" | ||
@@ -77,2 +77,2 @@ }, | ||
} | ||
} | ||
} |
@@ -9,3 +9,3 @@ { | ||
"typesVersions": { | ||
">=4.5 <4.9": { | ||
">=4.5 <5.4": { | ||
"*": [ | ||
@@ -12,0 +12,0 @@ "../dist/types-ts4.5/types.d.ts" |
@@ -9,3 +9,3 @@ { | ||
"typesVersions": { | ||
">=4.5 <4.9": { | ||
">=4.5 <5.4": { | ||
"*": [ | ||
@@ -12,0 +12,0 @@ "../../dist/types-ts4.5/utils/moveItemOnTree.d.ts" |
@@ -9,3 +9,3 @@ { | ||
"typesVersions": { | ||
">=4.5 <4.9": { | ||
">=4.5 <5.4": { | ||
"*": [ | ||
@@ -12,0 +12,0 @@ "../../dist/types-ts4.5/utils/mutateTree.d.ts" |
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
164237
3177