Skip to content

Commit bf1f3ba

Browse files
committed
Merge tag 'v11.6.0' into uepr56-react18
2 parents a3339b6 + fc931fc commit bf1f3ba

File tree

7 files changed

+194
-185
lines changed

7 files changed

+194
-185
lines changed

package-lock.json

Lines changed: 147 additions & 139 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "scratch-editor",
3-
"version": "11.6.0-gui-standalone",
3+
"version": "11.6.0",
44
"private": "true",
55
"description": "Scratch editor mono-repository",
66
"author": "Scratch Foundation",

packages/scratch-gui/package.json

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@scratch/scratch-gui",
3-
"version": "11.6.0-gui-standalone",
3+
"version": "11.6.0",
44
"description": "Graphical User Interface for creating and running Scratch 3.0 projects",
55
"author": "Massachusetts Institute of Technology",
66
"license": "AGPL-3.0-only",
@@ -60,9 +60,9 @@
6060
"@microbit/microbit-universal-hex": "0.2.2",
6161
"@radix-ui/react-context-menu": "^2.2.5",
6262
"@testing-library/user-event": "^14.6.1",
63-
"@scratch/scratch-render": "11.6.0-gui-standalone",
64-
"@scratch/scratch-svg-renderer": "11.6.0-gui-standalone",
65-
"@scratch/scratch-vm": "11.6.0-gui-standalone",
63+
"@scratch/scratch-render": "11.6.0",
64+
"@scratch/scratch-svg-renderer": "11.6.0",
65+
"@scratch/scratch-vm": "11.6.0",
6666
"arraybuffer-loader": "1.0.8",
6767
"autoprefixer": "9.8.8",
6868
"balance-text": "3.3.1",
@@ -71,7 +71,7 @@
7171
"cat-blocks": "npm:[email protected]",
7272
"classnames": "2.5.1",
7373
"computed-style-to-inline-style": "3.0.0",
74-
"cookie": "^0.6.0",
74+
"cookie": "0.6.0",
7575
"copy-webpack-plugin": "6.4.1",
7676
"core-js": "2.6.12",
7777
"css-loader": "5.2.7",
@@ -111,12 +111,12 @@
111111
"react-virtualized": "9.22.6",
112112
"react-visibility-sensor": "5.1.1",
113113
"redux-throttle": "0.1.1",
114-
"scratch-audio": "2.0.210",
115-
"scratch-blocks": "1.1.211",
116-
"scratch-l10n": "6.0.25",
114+
"scratch-audio": "2.0.215",
115+
"scratch-blocks": "1.1.213",
116+
"scratch-l10n": "6.0.30",
117117
"scratch-paint": "4.0.3",
118-
"scratch-render-fonts": "1.0.220",
119-
"scratch-storage": "4.0.210",
118+
"scratch-render-fonts": "1.0.223",
119+
"scratch-storage": "4.0.214",
120120
"startaudiocontext": "1.2.1",
121121
"style-loader": "4.0.0",
122122
"to-style": "1.3.3",
@@ -131,10 +131,10 @@
131131
"redux": "^4.0.0"
132132
},
133133
"devDependencies": {
134-
"@babel/cli": "7.28.0",
135-
"@babel/core": "7.28.0",
134+
"@babel/cli": "7.28.3",
135+
"@babel/core": "7.28.3",
136136
"@babel/eslint-parser": "7.28.0",
137-
"@babel/preset-env": "7.28.0",
137+
"@babel/preset-env": "7.28.3",
138138
"@babel/preset-react": "7.27.1",
139139
"@testing-library/jest-dom": "^5.16.5",
140140
"@testing-library/react": "^14.0.0",
@@ -154,7 +154,7 @@
154154
"eslint-plugin-react": "7.37.5",
155155
"file-loader": "6.2.0",
156156
"gh-pages": "3.2.3",
157-
"html-webpack-plugin": "5.6.3",
157+
"html-webpack-plugin": "5.6.4",
158158
"jest": "21.2.1",
159159
"jest-junit": "7.0.0",
160160
"mkdirp": "1.0.4",
@@ -171,7 +171,7 @@
171171
"ts-loader": "9.5.2",
172172
"url-loader": "4.1.1",
173173
"web-audio-test-api": "0.5.2",
174-
"webpack": "5.101.0",
174+
"webpack": "5.101.2",
175175
"webpack-cli": "5.1.4",
176176
"webpack-dev-server": "5.2.2",
177177
"yauzl": "3.2.0"

packages/scratch-gui/src/lib/titled-hoc.jsx

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,15 @@ const TitledHOC = function (WrappedComponent) {
3232
this.handleReceivedProjectTitle(this.props.projectTitle);
3333
}
3434
// if project is a new default project, and has loaded,
35-
if (this.props.isShowingWithoutId && prevProps.isAnyCreatingNewState) {
35+
if (this.props.isShowingWithoutId && !this.props.isAnyCreatingNewState && prevProps.isAnyCreatingNewState) {
3636
// reset title to default
37-
const defaultProjectTitle = this.handleReceivedProjectTitle();
38-
this.props.onUpdateProjectTitle(defaultProjectTitle);
37+
this.handleReceivedProjectTitle();
3938
}
4039
// if the projectTitle hasn't changed, but the reduxProjectTitle
4140
// HAS changed, we need to report that change to the projectTitle's owner
42-
if (this.props.reduxProjectTitle !== prevProps.reduxProjectTitle &&
41+
if (!this.props.isShowingWithoutId &&
42+
!this.props.isAnyCreatingNewState &&
43+
this.props.reduxProjectTitle !== prevProps.reduxProjectTitle &&
4344
this.props.reduxProjectTitle !== this.props.projectTitle) {
4445
this.props.onUpdateProjectTitle(this.props.reduxProjectTitle);
4546
}

packages/scratch-render/package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@scratch/scratch-render",
3-
"version": "11.6.0-gui-standalone",
3+
"version": "11.6.0",
44
"description": "WebGL Renderer for Scratch 3.0",
55
"author": "Massachusetts Institute of Technology",
66
"license": "AGPL-3.0-only",
@@ -47,7 +47,7 @@
4747
"iOS >= 8"
4848
],
4949
"dependencies": {
50-
"@scratch/scratch-svg-renderer": "11.6.0-gui-standalone",
50+
"@scratch/scratch-svg-renderer": "11.6.0",
5151
"grapheme-breaker": "0.3.2",
5252
"hull.js": "0.2.10",
5353
"ify-loader": "1.1.0",
@@ -60,29 +60,29 @@
6060
"scratch-render-fonts": "^1.0.0"
6161
},
6262
"devDependencies": {
63-
"@babel/core": "7.28.0",
63+
"@babel/core": "7.28.3",
6464
"@babel/eslint-parser": "7.28.0",
6565
"@babel/polyfill": "7.12.1",
66-
"@babel/preset-env": "7.28.0",
67-
"@scratch/scratch-vm": "11.6.0-gui-standalone",
66+
"@babel/preset-env": "7.28.3",
67+
"@scratch/scratch-vm": "11.6.0",
6868
"babel-loader": "9.2.1",
6969
"copy-webpack-plugin": "6.4.1",
7070
"docdash": "0.4.0",
7171
"eslint": "8.57.1",
7272
"eslint-config-scratch": "9.0.9",
7373
"gh-pages": "1.2.0",
74-
"html-webpack-plugin": "5.6.3",
74+
"html-webpack-plugin": "5.6.4",
7575
"jsdoc": "3.6.11",
7676
"json": "9.0.6",
7777
"playwright-chromium": "1.54.2",
78-
"scratch-render-fonts": "1.0.220",
78+
"scratch-render-fonts": "1.0.223",
7979
"scratch-semantic-release-config": "3.0.0",
80-
"scratch-storage": "4.0.210",
80+
"scratch-storage": "4.0.214",
8181
"scratch-webpack-configuration": "3.0.0",
8282
"semantic-release": "19.0.5",
8383
"tap": "16.3.10",
8484
"terser-webpack-plugin": "5.3.14",
85-
"webpack": "5.101.0",
85+
"webpack": "5.101.2",
8686
"webpack-cli": "5.1.4",
8787
"webpack-dev-server": "5.2.2"
8888
}

packages/scratch-svg-renderer/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@scratch/scratch-svg-renderer",
3-
"version": "11.6.0-gui-standalone",
3+
"version": "11.6.0",
44
"description": "SVG renderer for Scratch",
55
"main": "./dist/node/scratch-svg-renderer.js",
66
"browser": "./dist/web/scratch-svg-renderer.js",
@@ -49,9 +49,9 @@
4949
"transformation-matrix": "1.15.3"
5050
},
5151
"devDependencies": {
52-
"@babel/core": "7.28.0",
52+
"@babel/core": "7.28.3",
5353
"@babel/eslint-parser": "7.28.0",
54-
"@babel/preset-env": "7.28.0",
54+
"@babel/preset-env": "7.28.3",
5555
"babel-loader": "9.2.1",
5656
"copy-webpack-plugin": "6.4.1",
5757
"eslint": "8.57.1",
@@ -61,12 +61,12 @@
6161
"json": "9.0.6",
6262
"mkdirp": "2.1.6",
6363
"rimraf": "3.0.2",
64-
"scratch-render-fonts": "1.0.220",
64+
"scratch-render-fonts": "1.0.223",
6565
"scratch-semantic-release-config": "3.0.0",
6666
"scratch-webpack-configuration": "3.0.0",
6767
"semantic-release": "19.0.5",
6868
"tap": "16.3.10",
69-
"webpack": "5.101.0",
69+
"webpack": "5.101.2",
7070
"webpack-cli": "5.1.4",
7171
"webpack-dev-server": "5.2.2",
7272
"xmldom": "0.1.31"

packages/scratch-vm/package.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@scratch/scratch-vm",
3-
"version": "11.6.0-gui-standalone",
3+
"version": "11.6.0",
44
"description": "Virtual Machine for Scratch 3.0",
55
"author": "Massachusetts Institute of Technology",
66
"license": "AGPL-3.0-only",
@@ -50,8 +50,8 @@
5050
"statements": 70
5151
},
5252
"dependencies": {
53-
"@scratch/scratch-render": "11.6.0-gui-standalone",
54-
"@scratch/scratch-svg-renderer": "11.6.0-gui-standalone",
53+
"@scratch/scratch-render": "11.6.0",
54+
"@scratch/scratch-svg-renderer": "11.6.0",
5555
"@vernier/godirect": "1.8.3",
5656
"arraybuffer-loader": "1.0.8",
5757
"atob": "2.1.2",
@@ -64,19 +64,19 @@
6464
"immutable": "3.8.2",
6565
"jszip": "3.10.1",
6666
"minilog": "3.1.0",
67-
"scratch-audio": "2.0.210",
67+
"scratch-audio": "2.0.215",
6868
"scratch-parser": "6.0.0",
69-
"scratch-sb1-converter": "2.0.211",
70-
"scratch-storage": "4.0.210",
69+
"scratch-sb1-converter": "2.0.217",
70+
"scratch-storage": "4.0.214",
7171
"scratch-translate-extension-languages": "1.0.7",
7272
"text-encoding": "0.7.0",
7373
"uuid": "8.3.2",
7474
"web-worker": "1.3.0"
7575
},
7676
"devDependencies": {
77-
"@babel/core": "7.28.0",
77+
"@babel/core": "7.28.3",
7878
"@babel/eslint-parser": "7.28.0",
79-
"@babel/preset-env": "7.28.0",
79+
"@babel/preset-env": "7.28.3",
8080
"adm-zip": "0.4.11",
8181
"babel-loader": "9.2.1",
8282
"callsite": "1.0.0",
@@ -92,16 +92,16 @@
9292
"jsdoc": "3.6.11",
9393
"json": "^9.0.4",
9494
"pngjs": "3.4.0",
95-
"scratch-blocks": "1.1.211",
96-
"scratch-l10n": "6.0.25",
97-
"scratch-render-fonts": "1.0.220",
95+
"scratch-blocks": "1.1.213",
96+
"scratch-l10n": "6.0.30",
97+
"scratch-render-fonts": "1.0.223",
9898
"scratch-semantic-release-config": "3.0.0",
9999
"scratch-webpack-configuration": "3.0.0",
100100
"script-loader": "0.7.2",
101101
"semantic-release": "19.0.5",
102102
"stats.js": "0.17.0",
103103
"tap": "16.3.10",
104-
"webpack": "5.101.0",
104+
"webpack": "5.101.2",
105105
"webpack-cli": "4.10.0",
106106
"webpack-dev-server": "5.2.2"
107107
}

0 commit comments

Comments
 (0)