├── .eslintignore ├── .eslintrc ├── .github ├── CODEOWNERS.md └── workflows │ ├── build.yml │ └── commitlint.yml ├── .gitignore ├── .husky ├── .gitattributes └── commit-msg ├── .nvmrc ├── CHANGELOG.md ├── Dockerfile ├── LICENSE ├── README.md ├── TRADEMARK ├── commitlint.config.js ├── docker-compose.yml ├── lib ├── index.js ├── sb1.js ├── sb2.js ├── sb3.js └── utility.js ├── package.json ├── release.config.js └── test ├── fixtures ├── invalid │ └── garbage.jpg ├── sb1 │ └── AllBlocks-Scratch1.4.sb ├── sb2 │ ├── cloud.sb2 │ ├── cloud_complex.sb2 │ ├── cloud_opcodes.sb2 │ ├── complex.sb2 │ ├── default.json │ ├── default.sb2 │ ├── infoMissing.json │ └── invalid-costumes.json └── sb3 │ ├── badExtensions.json │ ├── cloud.sb3 │ ├── cloud_complex.sb3 │ ├── cloud_opcodes.sb3 │ ├── complex.sb3 │ ├── default.json │ ├── default.sb3 │ ├── extensions.sb3 │ ├── extensionsObject.json │ ├── missingVariableField.json │ └── primitiveVariableAndListBlocks.json └── unit ├── cloud.js ├── cloud_opcodes.js ├── error.js ├── sb1.js ├── sb2.js ├── sb3.js ├── spec.js └── utility.js /.eslintignore: -------------------------------------------------------------------------------- 1 | /node_modules 2 | /.nyc_output 3 | /coverage 4 | -------------------------------------------------------------------------------- /.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scratchfoundation/scratch-analysis/HEAD/.eslintrc -------------------------------------------------------------------------------- /.github/CODEOWNERS.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scratchfoundation/scratch-analysis/HEAD/.github/CODEOWNERS.md -------------------------------------------------------------------------------- /.github/workflows/build.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scratchfoundation/scratch-analysis/HEAD/.github/workflows/build.yml -------------------------------------------------------------------------------- /.github/workflows/commitlint.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scratchfoundation/scratch-analysis/HEAD/.github/workflows/commitlint.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scratchfoundation/scratch-analysis/HEAD/.gitignore -------------------------------------------------------------------------------- /.husky/.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto eol=lf 2 | -------------------------------------------------------------------------------- /.husky/commit-msg: -------------------------------------------------------------------------------- 1 | npx --no-install commitlint --edit "$1" 2 | -------------------------------------------------------------------------------- /.nvmrc: -------------------------------------------------------------------------------- 1 | v18 2 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scratchfoundation/scratch-analysis/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scratchfoundation/scratch-analysis/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scratchfoundation/scratch-analysis/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scratchfoundation/scratch-analysis/HEAD/README.md -------------------------------------------------------------------------------- /TRADEMARK: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scratchfoundation/scratch-analysis/HEAD/TRADEMARK -------------------------------------------------------------------------------- /commitlint.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scratchfoundation/scratch-analysis/HEAD/commitlint.config.js -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scratchfoundation/scratch-analysis/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /lib/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scratchfoundation/scratch-analysis/HEAD/lib/index.js -------------------------------------------------------------------------------- /lib/sb1.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scratchfoundation/scratch-analysis/HEAD/lib/sb1.js -------------------------------------------------------------------------------- /lib/sb2.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scratchfoundation/scratch-analysis/HEAD/lib/sb2.js -------------------------------------------------------------------------------- /lib/sb3.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scratchfoundation/scratch-analysis/HEAD/lib/sb3.js -------------------------------------------------------------------------------- /lib/utility.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scratchfoundation/scratch-analysis/HEAD/lib/utility.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scratchfoundation/scratch-analysis/HEAD/package.json -------------------------------------------------------------------------------- /release.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scratchfoundation/scratch-analysis/HEAD/release.config.js -------------------------------------------------------------------------------- /test/fixtures/invalid/garbage.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scratchfoundation/scratch-analysis/HEAD/test/fixtures/invalid/garbage.jpg -------------------------------------------------------------------------------- /test/fixtures/sb1/AllBlocks-Scratch1.4.sb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scratchfoundation/scratch-analysis/HEAD/test/fixtures/sb1/AllBlocks-Scratch1.4.sb -------------------------------------------------------------------------------- /test/fixtures/sb2/cloud.sb2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scratchfoundation/scratch-analysis/HEAD/test/fixtures/sb2/cloud.sb2 -------------------------------------------------------------------------------- /test/fixtures/sb2/cloud_complex.sb2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scratchfoundation/scratch-analysis/HEAD/test/fixtures/sb2/cloud_complex.sb2 -------------------------------------------------------------------------------- /test/fixtures/sb2/cloud_opcodes.sb2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scratchfoundation/scratch-analysis/HEAD/test/fixtures/sb2/cloud_opcodes.sb2 -------------------------------------------------------------------------------- /test/fixtures/sb2/complex.sb2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scratchfoundation/scratch-analysis/HEAD/test/fixtures/sb2/complex.sb2 -------------------------------------------------------------------------------- /test/fixtures/sb2/default.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scratchfoundation/scratch-analysis/HEAD/test/fixtures/sb2/default.json -------------------------------------------------------------------------------- /test/fixtures/sb2/default.sb2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scratchfoundation/scratch-analysis/HEAD/test/fixtures/sb2/default.sb2 -------------------------------------------------------------------------------- /test/fixtures/sb2/infoMissing.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scratchfoundation/scratch-analysis/HEAD/test/fixtures/sb2/infoMissing.json -------------------------------------------------------------------------------- /test/fixtures/sb2/invalid-costumes.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scratchfoundation/scratch-analysis/HEAD/test/fixtures/sb2/invalid-costumes.json -------------------------------------------------------------------------------- /test/fixtures/sb3/badExtensions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scratchfoundation/scratch-analysis/HEAD/test/fixtures/sb3/badExtensions.json -------------------------------------------------------------------------------- /test/fixtures/sb3/cloud.sb3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scratchfoundation/scratch-analysis/HEAD/test/fixtures/sb3/cloud.sb3 -------------------------------------------------------------------------------- /test/fixtures/sb3/cloud_complex.sb3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scratchfoundation/scratch-analysis/HEAD/test/fixtures/sb3/cloud_complex.sb3 -------------------------------------------------------------------------------- /test/fixtures/sb3/cloud_opcodes.sb3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scratchfoundation/scratch-analysis/HEAD/test/fixtures/sb3/cloud_opcodes.sb3 -------------------------------------------------------------------------------- /test/fixtures/sb3/complex.sb3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scratchfoundation/scratch-analysis/HEAD/test/fixtures/sb3/complex.sb3 -------------------------------------------------------------------------------- /test/fixtures/sb3/default.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scratchfoundation/scratch-analysis/HEAD/test/fixtures/sb3/default.json -------------------------------------------------------------------------------- /test/fixtures/sb3/default.sb3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scratchfoundation/scratch-analysis/HEAD/test/fixtures/sb3/default.sb3 -------------------------------------------------------------------------------- /test/fixtures/sb3/extensions.sb3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scratchfoundation/scratch-analysis/HEAD/test/fixtures/sb3/extensions.sb3 -------------------------------------------------------------------------------- /test/fixtures/sb3/extensionsObject.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scratchfoundation/scratch-analysis/HEAD/test/fixtures/sb3/extensionsObject.json -------------------------------------------------------------------------------- /test/fixtures/sb3/missingVariableField.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scratchfoundation/scratch-analysis/HEAD/test/fixtures/sb3/missingVariableField.json -------------------------------------------------------------------------------- /test/fixtures/sb3/primitiveVariableAndListBlocks.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scratchfoundation/scratch-analysis/HEAD/test/fixtures/sb3/primitiveVariableAndListBlocks.json -------------------------------------------------------------------------------- /test/unit/cloud.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scratchfoundation/scratch-analysis/HEAD/test/unit/cloud.js -------------------------------------------------------------------------------- /test/unit/cloud_opcodes.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scratchfoundation/scratch-analysis/HEAD/test/unit/cloud_opcodes.js -------------------------------------------------------------------------------- /test/unit/error.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scratchfoundation/scratch-analysis/HEAD/test/unit/error.js -------------------------------------------------------------------------------- /test/unit/sb1.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scratchfoundation/scratch-analysis/HEAD/test/unit/sb1.js -------------------------------------------------------------------------------- /test/unit/sb2.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scratchfoundation/scratch-analysis/HEAD/test/unit/sb2.js -------------------------------------------------------------------------------- /test/unit/sb3.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scratchfoundation/scratch-analysis/HEAD/test/unit/sb3.js -------------------------------------------------------------------------------- /test/unit/spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scratchfoundation/scratch-analysis/HEAD/test/unit/spec.js -------------------------------------------------------------------------------- /test/unit/utility.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scratchfoundation/scratch-analysis/HEAD/test/unit/utility.js --------------------------------------------------------------------------------