scratch-gui 4.0.6 → 4.0.8

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.
Files changed (21) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/scratch-gui.js +2 -1
  3. package/dist/scratch-gui.js.map +1 -1
  4. package/pack/{scratch-gui-4.0.6.tgz → scratch-gui-4.0.8.tgz} +0 -0
  5. package/package.json +3 -8
  6. package/webpack.config.js +1 -4
  7. package/dist/chunks/278.6648792c1dbebafbcc97.js +0 -2
  8. package/dist/runtime.js +0 -1
  9. /package/dist/chunks/{am-steps.7dd0ed256d076c3565ce.js → am-steps.3f73222d41015e1273dd.js} +0 -0
  10. /package/dist/chunks/{ar-steps.5e929b6d37b009fa29f1.js → ar-steps.70a4ffe7518d9f51857c.js} +0 -0
  11. /package/dist/chunks/{es-steps.8de37729ed9d0b31a8a2.js → es-steps.185d2537744e7847f007.js} +0 -0
  12. /package/dist/chunks/{fr-steps.6587a480abc162a835e6.js → fr-steps.7625c578b5499e062dee.js} +0 -0
  13. /package/dist/chunks/{ja-steps.eb258baa6751783d2a38.js → ja-steps.4400fdc64e70fbcf1b5d.js} +0 -0
  14. /package/dist/chunks/{pt_BR-steps.caddb4340abd50a3217a.js → pt_BR-steps.766aa6128e16c353d34c.js} +0 -0
  15. /package/dist/chunks/{sw-steps.c0beb890203442236013.js → sw-steps.49b087cb53763f2aac39.js} +0 -0
  16. /package/dist/chunks/{tr-steps.56d8871cd6740f025cbd.js → tr-steps.d8fb1cdaa37d3a809c8d.js} +0 -0
  17. /package/dist/chunks/{uk-steps.3b4b15d1c791bfe94dc2.js → uk-steps.138b26382fad2cc80545.js} +0 -0
  18. /package/dist/chunks/{zh_CN-steps.68f3f79df45930b1d5f5.js → zh_CN-steps.4367f8310097c6618066.js} +0 -0
  19. /package/dist/chunks/{zh_TW-steps.b0e7f669afbf3dca2cf2.js → zh_TW-steps.4cdd3358855139a78ea7.js} +0 -0
  20. /package/dist/chunks/{zu-steps.2795065e995333753920.js → zu-steps.f6818088b2be2d9f5c19.js} +0 -0
  21. /package/dist/{chunks/278.6648792c1dbebafbcc97.js.LICENSE.txt → scratch-gui.js.LICENSE.txt} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"scratch-gui.js","mappings":"AAAA","sources":["webpack://GUI/webpack/universalModuleDefinition"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"GUI\"] = factory();\n\telse\n\t\troot[\"GUI\"] = factory();\n})(self, () => {\nreturn "],"names":[],"sourceRoot":""}
1
+ {"version":3,"file":"scratch-gui.js","mappings":";AAAA","sources":["webpack://GUI/webpack/universalModuleDefinition"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"GUI\"] = factory();\n\telse\n\t\troot[\"GUI\"] = factory();\n})(self, () => {\nreturn "],"names":[],"sourceRoot":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "scratch-gui",
3
- "version": "4.0.6",
3
+ "version": "4.0.8",
4
4
  "description": "Graphical User Interface for creating and running Scratch 3.0 projects",
5
5
  "author": "Massachusetts Institute of Technology",
6
6
  "license": "BSD-3-Clause",
@@ -10,11 +10,6 @@
10
10
  "url": "https://github.com/scratchfoundation/scratch-gui.git"
11
11
  },
12
12
  "main": "./dist/scratch-gui.js",
13
- "exports": {
14
- "webpack": "./src/index.js",
15
- "browser": "./dist/scratch-gui.js",
16
- "default": "./src/index.js"
17
- },
18
13
  "scripts": {
19
14
  "build": "npm run clean && webpack",
20
15
  "clean": "rimraf ./build ./dist",
@@ -110,12 +105,12 @@
110
105
  },
111
106
  "devDependencies": {
112
107
  "@babel/cli": "7.24.8",
113
- "@babel/core": "7.24.9",
108
+ "@babel/core": "7.25.2",
114
109
  "@babel/eslint-parser": "7.25.1",
115
110
  "@babel/plugin-proposal-object-rest-spread": "7.20.7",
116
111
  "@babel/plugin-syntax-dynamic-import": "7.8.3",
117
112
  "@babel/plugin-transform-async-to-generator": "7.24.7",
118
- "@babel/preset-env": "7.25.0",
113
+ "@babel/preset-env": "7.25.3",
119
114
  "@babel/preset-react": "7.24.7",
120
115
  "@commitlint/cli": "17.8.1",
121
116
  "@commitlint/config-conventional": "17.8.1",
package/webpack.config.js CHANGED
@@ -13,7 +13,7 @@ const baseConfig = new ScratchWebpackConfigBuilder(
13
13
  {
14
14
  rootPath: path.resolve(__dirname),
15
15
  enableReact: true,
16
- shouldSplitChunks: true
16
+ shouldSplitChunks: false
17
17
  })
18
18
  .setTarget('browserslist')
19
19
  .merge({
@@ -29,9 +29,6 @@ const baseConfig = new ScratchWebpackConfigBuilder(
29
29
  Buffer: require.resolve('buffer/'),
30
30
  stream: require.resolve('stream-browserify')
31
31
  }
32
- },
33
- optimization: {
34
- runtimeChunk: 'single'
35
32
  }
36
33
  })
37
34
  .addModuleRule({