Skip to content

Commit

Permalink
Updated dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
rajkowski committed Dec 3, 2024
1 parent dc6f0a6 commit 9f2c049
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 17 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"motion-ui": "2.0.8",
"payform": "1.4.0",
"prismjs": "1.29.0",
"sortablejs": "1.15.4",
"sortablejs": "1.15.6",
"spectrum-colorpicker": "1.8.1",
"swiper": "11.1.15",
"tinymce": "6.8.5",
Expand Down
2 changes: 1 addition & 1 deletion src/main/webapp/WEB-INF/dependencies.json
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@
"version": "1.8.1"
},
"sortablejs": {
"version": "1.15.4",
"version": "1.15.6",
"paths": [
"node_modules/sortablejs/LICENSE",
"node_modules/sortablejs/Sortable.js",
Expand Down
2 changes: 0 additions & 2 deletions src/main/webapp/javascript/sortablejs-1.15.4/Sortable.min.js

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**!
* Sortable 1.15.4
* Sortable 1.15.6
* @author RubaXa <[email protected]>
* @author owenm <[email protected]>
* @license MIT
Expand Down Expand Up @@ -134,7 +134,7 @@
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}

var version = "1.15.4";
var version = "1.15.6";

function userAgent(pattern) {
if (typeof window !== 'undefined' && window.navigator) {
Expand Down Expand Up @@ -1127,7 +1127,8 @@
x: 0,
y: 0
},
supportPointer: Sortable.supportPointer !== false && 'PointerEvent' in window && !Safari,
// Disabled on Safari: #1571; Enabled on Safari IOS: #2244
supportPointer: Sortable.supportPointer !== false && 'PointerEvent' in window && (!Safari || IOS),
emptyInsertThreshold: 5
};
PluginManager.initializePlugins(this, el, defaults);
Expand Down Expand Up @@ -1414,13 +1415,13 @@
on(rootEl, 'dragstart', this._onDragStart);
}
try {
_nextTick(function () {
if (document.selection) {
if (document.selection) {
_nextTick(function () {
document.selection.empty();
} else {
window.getSelection().removeAllRanges();
}
});
});
} else {
window.getSelection().removeAllRanges();
}
} catch (err) {}
},
_dragStarted: function _dragStarted(fallback, evt) {
Expand Down Expand Up @@ -1636,6 +1637,7 @@
_this._dragStartId = _nextTick(_this._dragStarted.bind(_this, fallback, evt));
on(document, 'selectstart', _this);
moved = true;
window.getSelection().removeAllRanges();
if (Safari) {
css(document.body, 'user-select', 'none');
}
Expand Down
2 changes: 2 additions & 0 deletions src/main/webapp/javascript/sortablejs-1.15.6/Sortable.min.js

Large diffs are not rendered by default.

0 comments on commit 9f2c049

Please sign in to comment.