scratch-vm 5.0.90 → 5.0.92
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.92",
|
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": "d6f13e0708c8e1d77bb76cf79e6276f6b0125536"
|
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,8 +70,8 @@
|
|
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-svg-renderer": "3.0.
|
73
|
+
"scratch-storage": "^4.0.0",
|
74
|
+
"scratch-svg-renderer": "3.0.36",
|
74
75
|
"scratch-translate-extension-languages": "^1.0.0",
|
75
76
|
"text-encoding": "^0.7.0",
|
76
77
|
"uuid": "^8.3.2",
|
@@ -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
|
];
|