scratch-paint 3.0.111 → 3.0.112

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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,13 @@
3
3
  All notable changes to this project will be documented in this file. See
4
4
  [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [3.0.112](https://github.com/scratchfoundation/scratch-paint/compare/v3.0.111...v3.0.112) (2025-01-28)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **deps:** lock file maintenance ([#3083](https://github.com/scratchfoundation/scratch-paint/issues/3083)) ([932a21b](https://github.com/scratchfoundation/scratch-paint/commit/932a21be64054bf5e889acf46984cb37abeb55e9))
12
+
6
13
  ## [3.0.111](https://github.com/scratchfoundation/scratch-paint/compare/v3.0.110...v3.0.111) (2025-01-27)
7
14
 
8
15
 
@@ -21562,8 +21562,8 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
21562
21562
  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
21563
21563
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
21564
21564
  function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
21565
- function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
21566
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
21565
+ function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
21566
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
21567
21567
  /* DO NOT EDIT
21568
21568
  @todo This file is copied from GUI and should be pulled out into a shared library.
21569
21569
  See https://github.com/LLK/scratch-paint/issues/13 */
@@ -34434,8 +34434,8 @@ function _extends() { return _extends = Object.assign ? Object.assign.bind() : f
34434
34434
  function button_defineProperty(e, r, t) { return (r = button_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
34435
34435
  function button_toPropertyKey(t) { var i = button_toPrimitive(t, "string"); return "symbol" == button_typeof(i) ? i : i + ""; }
34436
34436
  function button_toPrimitive(t, r) { if ("object" != button_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != button_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
34437
- function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
34438
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
34437
+ function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
34438
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
34439
34439
  /* DO NOT EDIT
34440
34440
  @todo This file is copied from GUI and should be pulled out into a shared library.
34441
34441
  See #13 */
@@ -39570,8 +39570,8 @@ var labeled_icon_button_default = /*#__PURE__*/__webpack_require__.n(labeled_ico
39570
39570
  // CONCATENATED MODULE: ./src/components/labeled-icon-button/labeled-icon-button.jsx
39571
39571
  var labeled_icon_button_excluded = ["className", "hideLabel", "imgAlt", "imgSrc", "onClick", "title"];
39572
39572
  function labeled_icon_button_extends() { return labeled_icon_button_extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, labeled_icon_button_extends.apply(null, arguments); }
39573
- function labeled_icon_button_objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = labeled_icon_button_objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
39574
- function labeled_icon_button_objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
39573
+ function labeled_icon_button_objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = labeled_icon_button_objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
39574
+ function labeled_icon_button_objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
39575
39575
  /* @todo This file should be pulled out into a shared library with scratch-gui,
39576
39576
  consolidating this component with icon-button.jsx in gui.
39577
39577
  See #13 */
@@ -41659,8 +41659,8 @@ var loupe_default = /*#__PURE__*/__webpack_require__.n(loupe);
41659
41659
  function loupe_typeof(o) { "@babel/helpers - typeof"; return loupe_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, loupe_typeof(o); }
41660
41660
  var loupe_excluded = ["colorInfo", "pixelRatio"];
41661
41661
  function loupe_extends() { return loupe_extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, loupe_extends.apply(null, arguments); }
41662
- function loupe_objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = loupe_objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
41663
- function loupe_objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
41662
+ function loupe_objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = loupe_objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
41663
+ function loupe_objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
41664
41664
  function loupe_classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
41665
41665
  function loupe_defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, loupe_toPropertyKey(o.key), o); } }
41666
41666
  function loupe_createClass(e, r, t) { return r && loupe_defineProperties(e.prototype, r), t && loupe_defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
@@ -42061,8 +42061,8 @@ function input_extends() { return input_extends = Object.assign ? Object.assign.
42061
42061
  function input_defineProperty(e, r, t) { return (r = input_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
42062
42062
  function input_toPropertyKey(t) { var i = input_toPrimitive(t, "string"); return "symbol" == input_typeof(i) ? i : i + ""; }
42063
42063
  function input_toPrimitive(t, r) { if ("object" != input_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != input_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
42064
- function input_objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = input_objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
42065
- function input_objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
42064
+ function input_objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = input_objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
42065
+ function input_objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
42066
42066
  /* DO NOT EDIT
42067
42067
  @todo This file is copied from GUI and should be pulled out into a shared library.
42068
42068
  See https://github.com/LLK/scratch-paint/issues/13 */
@@ -47469,8 +47469,8 @@ var keyboard_shortcuts_hoc_KeyboardShortcutsHOC = function KeyboardShortcutsHOC(
47469
47469
  // CONCATENATED MODULE: ./src/hocs/selection-hoc.jsx
47470
47470
  function selection_hoc_typeof(o) { "@babel/helpers - typeof"; return selection_hoc_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, selection_hoc_typeof(o); }
47471
47471
  var selection_hoc_excluded = ["hoveredItemId"];
47472
- function selection_hoc_objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = selection_hoc_objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
47473
- function selection_hoc_objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
47472
+ function selection_hoc_objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = selection_hoc_objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
47473
+ function selection_hoc_objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
47474
47474
  function selection_hoc_classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
47475
47475
  function selection_hoc_defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, selection_hoc_toPropertyKey(o.key), o); } }
47476
47476
  function selection_hoc_createClass(e, r, t) { return r && selection_hoc_defineProperties(e.prototype, r), t && selection_hoc_defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "scratch-paint",
3
- "version": "3.0.111",
3
+ "version": "3.0.112",
4
4
  "description": "Graphical User Interface for the Scratch 3.0 paint editor, which is used to make and edit sprites for use in projects.",
5
5
  "main": "./dist/scratch-paint.js",
6
6
  "browser": "./src/index.js",
@@ -47,9 +47,9 @@
47
47
  },
48
48
  "devDependencies": {
49
49
  "@babel/cli": "7.26.4",
50
- "@babel/core": "7.26.0",
50
+ "@babel/core": "7.26.7",
51
51
  "@babel/node": "7.26.0",
52
- "@babel/preset-env": "7.26.0",
52
+ "@babel/preset-env": "7.26.7",
53
53
  "@babel/preset-react": "7.26.3",
54
54
  "@commitlint/cli": "17.8.1",
55
55
  "@commitlint/config-conventional": "17.8.1",