scratch-vm 5.0.91 → 5.0.93
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 +16 -0
- package/dist/node/scratch-vm.js +1 -1
- package/dist/web/scratch-vm.js +760 -458
- package/dist/web/scratch-vm.js.map +1 -1
- package/package.json +5 -4
- package/src/playground/benchmark.js +1 -1
- package/webpack.config.js +3 -3
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "scratch-vm",
|
3
|
-
"version": "5.0.
|
3
|
+
"version": "5.0.93",
|
4
4
|
"description": "Virtual Machine for Scratch 3.0",
|
5
5
|
"author": "Massachusetts Institute of Technology",
|
6
6
|
"license": "AGPL-3.0-only",
|
@@ -8,7 +8,7 @@
|
|
8
8
|
"repository": {
|
9
9
|
"type": "git",
|
10
10
|
"url": "https://github.com/scratchfoundation/scratch-vm.git",
|
11
|
-
"sha": "
|
11
|
+
"sha": "b6760d901d23fd7e16650d932e63950faa2a8cbc"
|
12
12
|
},
|
13
13
|
"main": "./dist/node/scratch-vm.js",
|
14
14
|
"browser": "./dist/web/scratch-vm.js",
|
@@ -57,6 +57,7 @@
|
|
57
57
|
"arraybuffer-loader": "^1.0.6",
|
58
58
|
"atob": "^2.1.2",
|
59
59
|
"btoa": "^1.2.1",
|
60
|
+
"buffer": "^6.0.3",
|
60
61
|
"canvas-toBlob": "^1.0.0",
|
61
62
|
"decode-html": "^2.0.0",
|
62
63
|
"diff-match-patch": "^1.0.4",
|
@@ -69,7 +70,7 @@
|
|
69
70
|
"scratch-parser": "^6.0.0",
|
70
71
|
"scratch-render": "^2.0.0",
|
71
72
|
"scratch-sb1-converter": "^2.0.0",
|
72
|
-
"scratch-storage": "^
|
73
|
+
"scratch-storage": "^4.0.0",
|
73
74
|
"scratch-svg-renderer": "3.0.36",
|
74
75
|
"scratch-translate-extension-languages": "^1.0.0",
|
75
76
|
"text-encoding": "^0.7.0",
|
@@ -99,7 +100,7 @@
|
|
99
100
|
"json": "^9.0.4",
|
100
101
|
"pngjs": "3.4.0",
|
101
102
|
"scratch-blocks": "1.1.206",
|
102
|
-
"scratch-l10n": "5.0.
|
103
|
+
"scratch-l10n": "5.0.70",
|
103
104
|
"scratch-render-fonts": "1.0.149",
|
104
105
|
"scratch-semantic-release-config": "3.0.0",
|
105
106
|
"scratch-webpack-configuration": "3.0.0",
|
@@ -43,7 +43,7 @@ const importLoadSound = require('../import/load-sound');
|
|
43
43
|
const soundMiddleware = new LoadingMiddleware();
|
44
44
|
importLoadSound.loadSound = soundMiddleware.install(importLoadSound, importLoadSound.loadSound);
|
45
45
|
|
46
|
-
const ScratchStorage = require('scratch-storage');
|
46
|
+
const {ScratchStorage} = require('scratch-storage');
|
47
47
|
const VirtualMachine = require('..');
|
48
48
|
const Runtime = require('../engine/runtime');
|
49
49
|
|
package/webpack.config.js
CHANGED
@@ -95,7 +95,7 @@ const playgroundBuilder = webBuilder.clone()
|
|
95
95
|
}
|
96
96
|
})
|
97
97
|
.addModuleRule({
|
98
|
-
test: require.resolve('scratch-storage/src/index.
|
98
|
+
test: require.resolve('scratch-storage/src/index.ts'),
|
99
99
|
loader: 'expose-loader',
|
100
100
|
options: {
|
101
101
|
exposes: 'ScratchStorage'
|
@@ -128,7 +128,7 @@ const playgroundBuilder = webBuilder.clone()
|
|
128
128
|
]));
|
129
129
|
|
130
130
|
module.exports = [
|
131
|
+
playgroundBuilder.get(), // webpack-dev-server only looks at the first configuration
|
131
132
|
nodeBuilder.get(),
|
132
|
-
webBuilder.get()
|
133
|
-
playgroundBuilder.get()
|
133
|
+
webBuilder.get()
|
134
134
|
];
|