From 3a3afecca3e0588b286afd50c9f0bb6c202258a5 Mon Sep 17 00:00:00 2001 From: Muffin Date: Wed, 16 Aug 2023 23:12:37 -0500 Subject: [PATCH] Downgrade scratchblocks until https://github.com/scratchblocks/scratchblocks/pull/488 is merged --- development/builder.js | 2 +- package-lock.json | 10 +++++----- package.json | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/development/builder.js b/development/builder.js index 7b03ff6e22..422c108056 100644 --- a/development/builder.js +++ b/development/builder.js @@ -237,7 +237,7 @@ class Builder { build.files[`/${extensionId}.html`] = new DocsFile(path); } - const scratchblocksPath = pathUtil.join(__dirname, '../node_modules/@turbowarp/scratchblocks/build/scratchblocks.min.js'); + const scratchblocksPath = pathUtil.join(__dirname, '../node_modules/scratchblocks/build/scratchblocks.min.js'); build.files['/docs-internal/scratchblocks.js'] = new DiskFile(scratchblocksPath); const extensionFiles = []; diff --git a/package-lock.json b/package-lock.json index aaef705921..d7fafffc5f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -131,11 +131,6 @@ "fastq": "^1.6.0" } }, - "@turbowarp/scratchblocks": { - "version": "3.6.3", - "resolved": "https://registry.npmjs.org/@turbowarp/scratchblocks/-/scratchblocks-3.6.3.tgz", - "integrity": "sha512-KhP30VjqXfeY5Zlyts+uRM1js6J2gQyKzW7kHICvI1hGs808m85EYTTYkmNxRwYjdE9cCapeLy8Xf7IHr4lcuQ==" - }, "@turbowarp/types": { "version": "git+https://github.com/TurboWarp/types-tw.git#d62df1559786c318f22148919cde69a3e74f8f34", "from": "git+https://github.com/TurboWarp/types-tw.git#tw" @@ -1248,6 +1243,11 @@ "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" }, + "scratchblocks": { + "version": "3.6.2", + "resolved": "https://registry.npmjs.org/scratchblocks/-/scratchblocks-3.6.2.tgz", + "integrity": "sha512-qiBGgolVBNlhR8QfDu/XA4LxRIPr0KD3BYLaRT238SjdRwalJwMMygaaLHQgJ4FiGgRK8gPHqoto/i1BYLs7nw==" + }, "send": { "version": "0.18.0", "resolved": "https://registry.npmjs.org/send/-/send-0.18.0.tgz", diff --git a/package.json b/package.json index b1b69d48dd..ca6eddd773 100644 --- a/package.json +++ b/package.json @@ -20,13 +20,13 @@ }, "homepage": "https://github.com/TurboWarp/extensions#readme", "dependencies": { - "@turbowarp/scratchblocks": "^3.6.3", "@turbowarp/types": "git+https://github.com/TurboWarp/types-tw.git#tw", "chokidar": "^3.5.3", "ejs": "^3.1.9", "express": "^4.18.2", "image-size": "^1.0.2", - "markdown-it": "^13.0.1" + "markdown-it": "^13.0.1", + "scratchblocks": "^3.6.2" }, "devDependencies": { "eslint": "^8.47.0"