scratch-paint 2.1.25 → 2.1.26
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/.babelrc +1 -1
- package/.github/workflows/deploy.yml +3 -2
- package/CHANGELOG.md +7 -0
- package/dist/scratch-paint.js +25182 -31441
- package/dist/scratch-paint.js.map +1 -1
- package/pack/scratch-paint-2.1.26.tgz +0 -0
- package/package.json +14 -14
- package/tmp.js +0 -0
- package/webpack.config.js +4 -1
- package/pack/scratch-paint-2.1.25.tgz +0 -0
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "scratch-paint",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.26",
|
|
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",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"i18n:src": "rimraf ./translations/messages && babel src > tmp.js && rimraf tmp.js && ./scripts/build-i18n-source.js ./translations/messages/ ./translations/",
|
|
12
12
|
"lint": "eslint . --ext .js,.jsx",
|
|
13
13
|
"start": "webpack-dev-server",
|
|
14
|
-
"test": "npm run
|
|
14
|
+
"test": "npm run unit",
|
|
15
15
|
"unit": "jest --reporters=default",
|
|
16
16
|
"watch": "webpack --progress --colors --watch"
|
|
17
17
|
},
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"url": "https://github.com/LLK/scratch-paint.git"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@scratch/paper": "0.11.
|
|
26
|
+
"@scratch/paper": "0.11.20221201200345",
|
|
27
27
|
"classnames": "2.2.5",
|
|
28
28
|
"keymirror": "0.1.1",
|
|
29
29
|
"lodash.bindall": "4.4.0",
|
|
@@ -46,18 +46,20 @@
|
|
|
46
46
|
"scratch-render-fonts": "^1.0.0-prerelease.20210401210003"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
+
"@babel/cli": "^7.23.0",
|
|
50
|
+
"@babel/core": "^7.23.2",
|
|
51
|
+
"@babel/node": "^7.22.19",
|
|
52
|
+
"@babel/preset-env": "^7.23.2",
|
|
53
|
+
"@babel/preset-react": "^7.22.15",
|
|
49
54
|
"@commitlint/cli": "17.0.3",
|
|
50
55
|
"@commitlint/config-conventional": "17.0.3",
|
|
51
56
|
"autoprefixer": "9.7.4",
|
|
52
|
-
"babel-cli": "6.26.0",
|
|
53
|
-
"babel-core": "6.26.3",
|
|
54
57
|
"babel-eslint": "10.1.0",
|
|
55
|
-
"babel-jest": "
|
|
56
|
-
"babel-loader": "
|
|
58
|
+
"babel-jest": "29.7.0",
|
|
59
|
+
"babel-loader": "8.2.5",
|
|
57
60
|
"babel-plugin-react-intl": "3.0.1",
|
|
58
61
|
"babel-plugin-transform-object-rest-spread": "6.26.0",
|
|
59
|
-
"
|
|
60
|
-
"babel-preset-react": "6.24.1",
|
|
62
|
+
"canvas": "^2.11.2",
|
|
61
63
|
"css-loader": "3.4.0",
|
|
62
64
|
"enzyme": "3.11.0",
|
|
63
65
|
"enzyme-adapter-react-16": "1.15.6",
|
|
@@ -68,8 +70,7 @@
|
|
|
68
70
|
"gh-pages": "3.2.3",
|
|
69
71
|
"html-webpack-plugin": "3.2.0",
|
|
70
72
|
"husky": "8.0.1",
|
|
71
|
-
"jest": "
|
|
72
|
-
"jest-canvas-mock": "2.3.1",
|
|
73
|
+
"jest": "^27.0.5",
|
|
73
74
|
"jest-junit": "13.0.0",
|
|
74
75
|
"json": "9.0.6",
|
|
75
76
|
"lodash.defaultsdeep": "4.6.1",
|
|
@@ -93,7 +94,7 @@
|
|
|
93
94
|
"redux-throttle": "0.1.1",
|
|
94
95
|
"regenerator-runtime": "0.13.9",
|
|
95
96
|
"rimraf": "2.7.1",
|
|
96
|
-
"scratch-l10n": "3.16.
|
|
97
|
+
"scratch-l10n": "3.16.20231018032141",
|
|
97
98
|
"scratch-render-fonts": "1.0.0-prerelease.20221102164332",
|
|
98
99
|
"scratch-semantic-release-config": "1.0.8",
|
|
99
100
|
"semantic-release": "19.0.5",
|
|
@@ -114,8 +115,7 @@
|
|
|
114
115
|
"jest": {
|
|
115
116
|
"setupFiles": [
|
|
116
117
|
"raf/polyfill",
|
|
117
|
-
"<rootDir>/test/helpers/enzyme-setup.js"
|
|
118
|
-
"jest-canvas-mock"
|
|
118
|
+
"<rootDir>/test/helpers/enzyme-setup.js"
|
|
119
119
|
],
|
|
120
120
|
"testURL": "http://localhost",
|
|
121
121
|
"moduleNameMapper": {
|
package/tmp.js
ADDED
|
File without changes
|
package/webpack.config.js
CHANGED
|
@@ -20,7 +20,10 @@ const base = {
|
|
|
20
20
|
include: path.resolve(__dirname, 'src'),
|
|
21
21
|
options: {
|
|
22
22
|
plugins: ['transform-object-rest-spread'],
|
|
23
|
-
presets: [
|
|
23
|
+
presets: [
|
|
24
|
+
['@babel/preset-env', {
|
|
25
|
+
targets: ['last 3 versions', 'Safari >= 8', 'iOS >= 8']}],
|
|
26
|
+
'@babel/preset-react']
|
|
24
27
|
}
|
|
25
28
|
},
|
|
26
29
|
{
|
|
Binary file
|