scratch-paint 2.2.167 → 2.2.168

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
+ ## [2.2.168](https://github.com/scratchfoundation/scratch-paint/compare/v2.2.167...v2.2.168) (2024-05-04)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **deps:** lock file maintenance ([#2524](https://github.com/scratchfoundation/scratch-paint/issues/2524)) ([5200b50](https://github.com/scratchfoundation/scratch-paint/commit/5200b501a8ec0e9be430f43498438f3987b0bec3))
12
+
6
13
  ## [2.2.167](https://github.com/scratchfoundation/scratch-paint/compare/v2.2.166...v2.2.167) (2024-05-02)
7
14
 
8
15
 
@@ -21563,7 +21563,7 @@ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key i
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
21565
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
21566
- function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
21566
+ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } } return target; }
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 */
@@ -34263,7 +34263,7 @@ function button_defineProperty(obj, key, value) { key = button_toPropertyKey(key
34263
34263
  function button_toPropertyKey(t) { var i = button_toPrimitive(t, "string"); return "symbol" == button_typeof(i) ? i : i + ""; }
34264
34264
  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); }
34265
34265
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
34266
- function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
34266
+ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } } return target; }
34267
34267
  /* DO NOT EDIT
34268
34268
  @todo This file is copied from GUI and should be pulled out into a shared library.
34269
34269
  See #13 */
@@ -39399,7 +39399,7 @@ var labeled_icon_button_default = /*#__PURE__*/__webpack_require__.n(labeled_ico
39399
39399
  var labeled_icon_button_excluded = ["className", "hideLabel", "imgAlt", "imgSrc", "onClick", "title"];
39400
39400
  function labeled_icon_button_extends() { labeled_icon_button_extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return labeled_icon_button_extends.apply(this, arguments); }
39401
39401
  function labeled_icon_button_objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = labeled_icon_button_objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
39402
- function labeled_icon_button_objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
39402
+ function labeled_icon_button_objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } } return target; }
39403
39403
  /* @todo This file should be pulled out into a shared library with scratch-gui,
39404
39404
  consolidating this component with icon-button.jsx in gui.
39405
39405
  See #13 */
@@ -41488,7 +41488,7 @@ function loupe_typeof(o) { "@babel/helpers - typeof"; return loupe_typeof = "fun
41488
41488
  var loupe_excluded = ["colorInfo", "pixelRatio"];
41489
41489
  function loupe_extends() { loupe_extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return loupe_extends.apply(this, arguments); }
41490
41490
  function loupe_objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = loupe_objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
41491
- function loupe_objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
41491
+ function loupe_objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } } return target; }
41492
41492
  function loupe_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
41493
41493
  function loupe_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, loupe_toPropertyKey(descriptor.key), descriptor); } }
41494
41494
  function loupe_createClass(Constructor, protoProps, staticProps) { if (protoProps) loupe_defineProperties(Constructor.prototype, protoProps); if (staticProps) loupe_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
@@ -41890,7 +41890,7 @@ function input_defineProperty(obj, key, value) { key = input_toPropertyKey(key);
41890
41890
  function input_toPropertyKey(t) { var i = input_toPrimitive(t, "string"); return "symbol" == input_typeof(i) ? i : i + ""; }
41891
41891
  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); }
41892
41892
  function input_objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = input_objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
41893
- function input_objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
41893
+ function input_objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } } return target; }
41894
41894
  /* DO NOT EDIT
41895
41895
  @todo This file is copied from GUI and should be pulled out into a shared library.
41896
41896
  See https://github.com/LLK/scratch-paint/issues/13 */
@@ -47298,7 +47298,7 @@ var keyboard_shortcuts_hoc_KeyboardShortcutsHOC = function KeyboardShortcutsHOC(
47298
47298
  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); }
47299
47299
  var selection_hoc_excluded = ["hoveredItemId"];
47300
47300
  function selection_hoc_objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = selection_hoc_objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
47301
- function selection_hoc_objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
47301
+ function selection_hoc_objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } } return target; }
47302
47302
  function selection_hoc_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
47303
47303
  function selection_hoc_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, selection_hoc_toPropertyKey(descriptor.key), descriptor); } }
47304
47304
  function selection_hoc_createClass(Constructor, protoProps, staticProps) { if (protoProps) selection_hoc_defineProperties(Constructor.prototype, protoProps); if (staticProps) selection_hoc_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "scratch-paint",
3
- "version": "2.2.167",
3
+ "version": "2.2.168",
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",
@@ -46,10 +46,10 @@
46
46
  "scratch-render-fonts": "^1.0.0"
47
47
  },
48
48
  "devDependencies": {
49
- "@babel/cli": "7.24.1",
50
- "@babel/core": "7.24.4",
49
+ "@babel/cli": "7.24.5",
50
+ "@babel/core": "7.24.5",
51
51
  "@babel/node": "7.23.9",
52
- "@babel/preset-env": "7.24.4",
52
+ "@babel/preset-env": "7.24.5",
53
53
  "@babel/preset-react": "7.24.1",
54
54
  "@commitlint/cli": "17.8.1",
55
55
  "@commitlint/config-conventional": "17.8.1",
Binary file