scratch-vm 2.3.54 → 2.3.56
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 +14 -0
- package/dist/node/scratch-vm.js +1 -1
- package/dist/web/scratch-vm.js +62 -14
- package/dist/web/scratch-vm.js.map +1 -1
- package/dist/web/scratch-vm.min.js +62 -14
- package/dist/web/scratch-vm.min.js.map +1 -1
- package/pack/{scratch-vm-2.3.54.tgz → scratch-vm-2.3.56.tgz} +0 -0
- package/package.json +11 -11
- package/webpack.config.js +12 -12
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,20 @@
|
|
|
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.3.56](https://github.com/scratchfoundation/scratch-vm/compare/v2.3.55...v2.3.56) (2024-02-29)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **deps:** update dependency scratch-l10n to v3.18.30 ([794271f](https://github.com/scratchfoundation/scratch-vm/commit/794271f222818803e2f4270580e95aa000df8c1f))
|
|
12
|
+
|
|
13
|
+
## [2.3.55](https://github.com/scratchfoundation/scratch-vm/compare/v2.3.54...v2.3.55) (2024-02-28)
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### Bug Fixes
|
|
17
|
+
|
|
18
|
+
* **deps:** update dependency scratch-blocks to v1.1.18 ([26f9967](https://github.com/scratchfoundation/scratch-vm/commit/26f9967868c79907abb1f3ce02ba59cb450523cc))
|
|
19
|
+
|
|
6
20
|
## [2.3.54](https://github.com/scratchfoundation/scratch-vm/compare/v2.3.53...v2.3.54) (2024-02-28)
|
|
7
21
|
|
|
8
22
|
|
package/dist/node/scratch-vm.js
CHANGED
|
@@ -5963,7 +5963,7 @@ module.exports = function() {
|
|
|
5963
5963
|
/*! exports provided: name, version, description, author, license, homepage, repository, main, browser, scripts, config, tap, dependencies, devDependencies, default */
|
|
5964
5964
|
/***/ (function(module) {
|
|
5965
5965
|
|
|
5966
|
-
module.exports = JSON.parse("{\"name\":\"scratch-vm\",\"version\":\"2.3.
|
|
5966
|
+
module.exports = JSON.parse("{\"name\":\"scratch-vm\",\"version\":\"2.3.55\",\"description\":\"Virtual Machine for Scratch 3.0\",\"author\":\"Massachusetts Institute of Technology\",\"license\":\"BSD-3-Clause\",\"homepage\":\"https://github.com/scratchfoundation/scratch-vm#readme\",\"repository\":{\"type\":\"git\",\"url\":\"https://github.com/scratchfoundation/scratch-vm.git\",\"sha\":\"5a50b23ad9585f2520bad7f81de9223fd5a89fe3\"},\"main\":\"./dist/node/scratch-vm.js\",\"browser\":\"./src/index.js\",\"scripts\":{\"build\":\"npm run docs && webpack --progress\",\"coverage\":\"tap ./test/{unit,integration}/*.js --coverage --coverage-report=lcov\",\"docs\":\"jsdoc -c .jsdoc.json\",\"i18n:src\":\"mkdirp translations/core && format-message extract --out-file translations/core/en.json src/extensions/**/index.js\",\"i18n:push\":\"tx-push-src scratch-editor extensions translations/core/en.json\",\"lint\":\"eslint . && format-message lint src/**/*.js\",\"prepare\":\"husky install\",\"prepublish\":\"in-publish && npm run build || not-in-publish\",\"start\":\"webpack serve\",\"tap\":\"tap ./test/{unit,integration}/*.js\",\"tap:unit\":\"tap ./test/unit/*.js\",\"tap:integration\":\"tap ./test/integration/*.js\",\"test\":\"npm run lint && npm run tap\",\"watch\":\"webpack --progress --watch\",\"version\":\"json -f package.json -I -e \\\"this.repository.sha = '$(git log -n1 --pretty=format:%H)'\\\"\"},\"config\":{\"commitizen\":{\"path\":\"cz-conventional-changelog\"}},\"tap\":{\"branches\":60,\"functions\":70,\"lines\":70,\"statements\":70},\"dependencies\":{\"@vernier/godirect\":\"^1.5.0\",\"arraybuffer-loader\":\"^1.0.6\",\"atob\":\"^2.1.2\",\"btoa\":\"^1.2.1\",\"canvas-toBlob\":\"^1.0.0\",\"decode-html\":\"^2.0.0\",\"diff-match-patch\":\"^1.0.4\",\"format-message\":\"^6.2.1\",\"htmlparser2\":\"^3.10.0\",\"immutable\":\"^3.8.1\",\"jszip\":\"^3.1.5\",\"minilog\":\"^3.1.0\",\"scratch-audio\":\"^1.0.6\",\"scratch-parser\":\"^5.1.1\",\"scratch-render\":\"^1.0.13\",\"scratch-sb1-converter\":\"^1.0.0\",\"scratch-storage\":\"^2.3.5\",\"scratch-svg-renderer\":\"0.2.0-prerelease.20210727023023\",\"scratch-translate-extension-languages\":\"^1.0.0\",\"text-encoding\":\"^0.7.0\",\"uuid\":\"^8.3.2\",\"worker-loader\":\"^1.1.1\"},\"devDependencies\":{\"@babel/core\":\"7.23.9\",\"@babel/eslint-parser\":\"7.23.10\",\"@babel/preset-env\":\"7.23.9\",\"@commitlint/cli\":\"17.8.1\",\"@commitlint/config-conventional\":\"17.8.1\",\"adm-zip\":\"0.4.11\",\"babel-loader\":\"8.3.0\",\"callsite\":\"1.0.0\",\"copy-webpack-plugin\":\"4.6.0\",\"docdash\":\"1.2.0\",\"eslint\":\"8.57.0\",\"eslint-config-scratch\":\"9.0.8\",\"expose-loader\":\"1.0.3\",\"file-loader\":\"6.2.0\",\"format-message-cli\":\"6.2.4\",\"husky\":\"8.0.3\",\"in-publish\":\"2.0.1\",\"js-md5\":\"0.7.3\",\"jsdoc\":\"3.6.11\",\"json\":\"^9.0.4\",\"lodash.defaultsdeep\":\"4.6.1\",\"pngjs\":\"3.4.0\",\"scratch-blocks\":\"1.1.18\",\"scratch-l10n\":\"3.18.30\",\"scratch-render-fonts\":\"1.0.14\",\"scratch-semantic-release-config\":\"1.0.14\",\"script-loader\":\"0.7.2\",\"semantic-release\":\"19.0.5\",\"stats.js\":\"0.17.0\",\"tap\":\"16.3.10\",\"terser-webpack-plugin\":\"4.2.3\",\"tiny-worker\":\"2.3.0\",\"webpack\":\"4.47.0\",\"webpack-cli\":\"4.10.0\",\"webpack-dev-server\":\"3.11.3\"}}");
|
|
5967
5967
|
|
|
5968
5968
|
/***/ }),
|
|
5969
5969
|
|
package/dist/web/scratch-vm.js
CHANGED
|
@@ -91,7 +91,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
|
91
91
|
/******/
|
|
92
92
|
/******/
|
|
93
93
|
/******/ // Load entry module and return exports
|
|
94
|
-
/******/ return __webpack_require__(__webpack_require__.s = "./src/index.js
|
|
94
|
+
/******/ return __webpack_require__(__webpack_require__.s = "./src/index-exposed.js");
|
|
95
95
|
/******/ })
|
|
96
96
|
/************************************************************************/
|
|
97
97
|
/******/ ({
|
|
@@ -6593,6 +6593,51 @@ function eventTargetAgnosticAddListener(emitter, name, listener, flags) {
|
|
|
6593
6593
|
}
|
|
6594
6594
|
|
|
6595
6595
|
|
|
6596
|
+
/***/ }),
|
|
6597
|
+
|
|
6598
|
+
/***/ "./node_modules/expose-loader/dist/runtime/getGlobalThis.js":
|
|
6599
|
+
/*!******************************************************************!*\
|
|
6600
|
+
!*** ./node_modules/expose-loader/dist/runtime/getGlobalThis.js ***!
|
|
6601
|
+
\******************************************************************/
|
|
6602
|
+
/*! no static exports found */
|
|
6603
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
6604
|
+
|
|
6605
|
+
"use strict";
|
|
6606
|
+
/* WEBPACK VAR INJECTION */(function(global) {
|
|
6607
|
+
|
|
6608
|
+
// eslint-disable-next-line func-names
|
|
6609
|
+
module.exports = function () {
|
|
6610
|
+
if (typeof globalThis === "object") {
|
|
6611
|
+
return globalThis;
|
|
6612
|
+
}
|
|
6613
|
+
|
|
6614
|
+
var g;
|
|
6615
|
+
|
|
6616
|
+
try {
|
|
6617
|
+
// This works if eval is allowed (see CSP)
|
|
6618
|
+
// eslint-disable-next-line no-new-func
|
|
6619
|
+
g = this || new Function("return this")();
|
|
6620
|
+
} catch (e) {
|
|
6621
|
+
// This works if the window reference is available
|
|
6622
|
+
if (typeof window === "object") {
|
|
6623
|
+
return window;
|
|
6624
|
+
} // This works if the self reference is available
|
|
6625
|
+
|
|
6626
|
+
|
|
6627
|
+
if (typeof self === "object") {
|
|
6628
|
+
return self;
|
|
6629
|
+
} // This works if the global reference is available
|
|
6630
|
+
|
|
6631
|
+
|
|
6632
|
+
if (typeof global !== "undefined") {
|
|
6633
|
+
return global;
|
|
6634
|
+
}
|
|
6635
|
+
}
|
|
6636
|
+
|
|
6637
|
+
return g;
|
|
6638
|
+
}();
|
|
6639
|
+
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../webpack/buildin/global.js */ "./node_modules/webpack/buildin/global.js")))
|
|
6640
|
+
|
|
6596
6641
|
/***/ }),
|
|
6597
6642
|
|
|
6598
6643
|
/***/ "./node_modules/fast-deep-equal/index.js":
|
|
@@ -35325,7 +35370,7 @@ module.exports = function() {
|
|
|
35325
35370
|
/*! exports provided: name, version, description, author, license, homepage, repository, main, browser, scripts, config, tap, dependencies, devDependencies, default */
|
|
35326
35371
|
/***/ (function(module) {
|
|
35327
35372
|
|
|
35328
|
-
module.exports = JSON.parse("{\"name\":\"scratch-vm\",\"version\":\"2.3.
|
|
35373
|
+
module.exports = JSON.parse("{\"name\":\"scratch-vm\",\"version\":\"2.3.55\",\"description\":\"Virtual Machine for Scratch 3.0\",\"author\":\"Massachusetts Institute of Technology\",\"license\":\"BSD-3-Clause\",\"homepage\":\"https://github.com/scratchfoundation/scratch-vm#readme\",\"repository\":{\"type\":\"git\",\"url\":\"https://github.com/scratchfoundation/scratch-vm.git\",\"sha\":\"5a50b23ad9585f2520bad7f81de9223fd5a89fe3\"},\"main\":\"./dist/node/scratch-vm.js\",\"browser\":\"./src/index.js\",\"scripts\":{\"build\":\"npm run docs && webpack --progress\",\"coverage\":\"tap ./test/{unit,integration}/*.js --coverage --coverage-report=lcov\",\"docs\":\"jsdoc -c .jsdoc.json\",\"i18n:src\":\"mkdirp translations/core && format-message extract --out-file translations/core/en.json src/extensions/**/index.js\",\"i18n:push\":\"tx-push-src scratch-editor extensions translations/core/en.json\",\"lint\":\"eslint . && format-message lint src/**/*.js\",\"prepare\":\"husky install\",\"prepublish\":\"in-publish && npm run build || not-in-publish\",\"start\":\"webpack serve\",\"tap\":\"tap ./test/{unit,integration}/*.js\",\"tap:unit\":\"tap ./test/unit/*.js\",\"tap:integration\":\"tap ./test/integration/*.js\",\"test\":\"npm run lint && npm run tap\",\"watch\":\"webpack --progress --watch\",\"version\":\"json -f package.json -I -e \\\"this.repository.sha = '$(git log -n1 --pretty=format:%H)'\\\"\"},\"config\":{\"commitizen\":{\"path\":\"cz-conventional-changelog\"}},\"tap\":{\"branches\":60,\"functions\":70,\"lines\":70,\"statements\":70},\"dependencies\":{\"@vernier/godirect\":\"^1.5.0\",\"arraybuffer-loader\":\"^1.0.6\",\"atob\":\"^2.1.2\",\"btoa\":\"^1.2.1\",\"canvas-toBlob\":\"^1.0.0\",\"decode-html\":\"^2.0.0\",\"diff-match-patch\":\"^1.0.4\",\"format-message\":\"^6.2.1\",\"htmlparser2\":\"^3.10.0\",\"immutable\":\"^3.8.1\",\"jszip\":\"^3.1.5\",\"minilog\":\"^3.1.0\",\"scratch-audio\":\"^1.0.6\",\"scratch-parser\":\"^5.1.1\",\"scratch-render\":\"^1.0.13\",\"scratch-sb1-converter\":\"^1.0.0\",\"scratch-storage\":\"^2.3.5\",\"scratch-svg-renderer\":\"0.2.0-prerelease.20210727023023\",\"scratch-translate-extension-languages\":\"^1.0.0\",\"text-encoding\":\"^0.7.0\",\"uuid\":\"^8.3.2\",\"worker-loader\":\"^1.1.1\"},\"devDependencies\":{\"@babel/core\":\"7.23.9\",\"@babel/eslint-parser\":\"7.23.10\",\"@babel/preset-env\":\"7.23.9\",\"@commitlint/cli\":\"17.8.1\",\"@commitlint/config-conventional\":\"17.8.1\",\"adm-zip\":\"0.4.11\",\"babel-loader\":\"8.3.0\",\"callsite\":\"1.0.0\",\"copy-webpack-plugin\":\"4.6.0\",\"docdash\":\"1.2.0\",\"eslint\":\"8.57.0\",\"eslint-config-scratch\":\"9.0.8\",\"expose-loader\":\"1.0.3\",\"file-loader\":\"6.2.0\",\"format-message-cli\":\"6.2.4\",\"husky\":\"8.0.3\",\"in-publish\":\"2.0.1\",\"js-md5\":\"0.7.3\",\"jsdoc\":\"3.6.11\",\"json\":\"^9.0.4\",\"lodash.defaultsdeep\":\"4.6.1\",\"pngjs\":\"3.4.0\",\"scratch-blocks\":\"1.1.18\",\"scratch-l10n\":\"3.18.30\",\"scratch-render-fonts\":\"1.0.14\",\"scratch-semantic-release-config\":\"1.0.14\",\"script-loader\":\"0.7.2\",\"semantic-release\":\"19.0.5\",\"stats.js\":\"0.17.0\",\"tap\":\"16.3.10\",\"terser-webpack-plugin\":\"4.2.3\",\"tiny-worker\":\"2.3.0\",\"webpack\":\"4.47.0\",\"webpack-cli\":\"4.10.0\",\"webpack-dev-server\":\"3.11.3\"}}");
|
|
35329
35374
|
|
|
35330
35375
|
/***/ }),
|
|
35331
35376
|
|
|
@@ -59984,6 +60029,21 @@ module.exports = {
|
|
|
59984
60029
|
|
|
59985
60030
|
/***/ }),
|
|
59986
60031
|
|
|
60032
|
+
/***/ "./src/index-exposed.js":
|
|
60033
|
+
/*!******************************!*\
|
|
60034
|
+
!*** ./src/index-exposed.js ***!
|
|
60035
|
+
\******************************/
|
|
60036
|
+
/*! no static exports found */
|
|
60037
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
60038
|
+
|
|
60039
|
+
var ___EXPOSE_LOADER_IMPORT___ = __webpack_require__(/*! -!./index.js */ "./src/index.js");
|
|
60040
|
+
var ___EXPOSE_LOADER_GET_GLOBAL_THIS___ = __webpack_require__(/*! ../node_modules/expose-loader/dist/runtime/getGlobalThis.js */ "./node_modules/expose-loader/dist/runtime/getGlobalThis.js");
|
|
60041
|
+
var ___EXPOSE_LOADER_GLOBAL_THIS___ = ___EXPOSE_LOADER_GET_GLOBAL_THIS___;
|
|
60042
|
+
if (typeof ___EXPOSE_LOADER_GLOBAL_THIS___["VirtualMachine"] === 'undefined') ___EXPOSE_LOADER_GLOBAL_THIS___["VirtualMachine"] = ___EXPOSE_LOADER_IMPORT___;else throw new Error('[exposes-loader] The "VirtualMachine" value exists in the global scope, it may not be safe to overwrite it, use the "override" option');
|
|
60043
|
+
module.exports = ___EXPOSE_LOADER_IMPORT___;
|
|
60044
|
+
|
|
60045
|
+
/***/ }),
|
|
60046
|
+
|
|
59987
60047
|
/***/ "./src/index.js":
|
|
59988
60048
|
/*!**********************!*\
|
|
59989
60049
|
!*** ./src/index.js ***!
|
|
@@ -59996,18 +60056,6 @@ const VirtualMachine = __webpack_require__(/*! ./virtual-machine */ "./src/virtu
|
|
|
59996
60056
|
module.exports = VirtualMachine;
|
|
59997
60057
|
|
|
59998
60058
|
|
|
59999
|
-
/***/ }),
|
|
60000
|
-
|
|
60001
|
-
/***/ "./src/index.js-exposed":
|
|
60002
|
-
/*!******************************!*\
|
|
60003
|
-
!*** ./src/index.js-exposed ***!
|
|
60004
|
-
\******************************/
|
|
60005
|
-
/*! no static exports found */
|
|
60006
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
60007
|
-
|
|
60008
|
-
/* WEBPACK VAR INJECTION */(function(global) {module.exports = global["VirtualMachine"] = __webpack_require__(/*! -!./index.js */ "./src/index.js");
|
|
60009
|
-
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../node_modules/webpack/buildin/global.js */ "./node_modules/webpack/buildin/global.js")))
|
|
60010
|
-
|
|
60011
60059
|
/***/ }),
|
|
60012
60060
|
|
|
60013
60061
|
/***/ "./src/io/ble.js":
|