}
+ */
+ const svgSkinFinishedLoading = svgSkin => new Promise(resolve => {
+ if (svgSkin._svgImageLoaded) {
+ resolve();
+ } else {
+ svgSkin._svgImage.addEventListener('load', () => {
+ resolve();
+ });
+ svgSkin._svgImage.addEventListener('error', () => {
+ resolve();
+ });
+ }
+ });
+
+ const vm = Scratch.vm;
+ const runtime = vm.runtime;
+ const renderer = runtime.renderer;
+ const Cast = Scratch.Cast;
+
+ var createdSkins = [];
+
+ class Skins {
+ constructor() {
+ runtime.on('PROJECT_START', () => {
+ this._refreshTargets();
+ });
+
+ runtime.on('PROJECT_STOP_ALL', () => {
+ this._refreshTargets();
+ });
+ }
+
+ getInfo() {
+ return {
+ id: 'lmsSkins',
+ name: 'Skins',
+ color1: '#6b56ff',
+ blocks: [
+ {
+ opcode: 'registerSVGSkin',
+ blockType: Scratch.BlockType.COMMAND,
+ text: 'create SVG skin [SVG] as [NAME]',
+ arguments: {
+ SVG: {
+ type: Scratch.ArgumentType.STRING,
+ defaultValue: ''
+ },
+ NAME: {
+ type: Scratch.ArgumentType.STRING,
+ defaultValue: 'my skin'
+ }
+ }
+ },
+
+ '---',
+
+ {
+ opcode: 'registerCostumeSkin',
+ blockType: Scratch.BlockType.COMMAND,
+ text: 'load skin from [COSTUME] as [NAME]',
+ arguments: {
+ COSTUME: {
+ type: Scratch.ArgumentType.COSTUME
+ },
+ NAME: {
+ type: Scratch.ArgumentType.STRING,
+ defaultValue: 'my skin'
+ }
+ }
+ },
+ {
+ opcode: 'registerURLSkin',
+ blockType: Scratch.BlockType.COMMAND,
+ text: 'load skin from URL [URL] as [NAME]',
+ arguments: {
+ URL: {
+ type: Scratch.ArgumentType.STRING,
+ defaultValue: 'https://extensions.turbowarp.org/dango.png'
+ },
+ NAME: {
+ type: Scratch.ArgumentType.STRING,
+ defaultValue: 'my skin'
+ }
+ }
+ },
+ {
+ opcode: 'getSkinLoaded',
+ blockType: Scratch.BlockType.BOOLEAN,
+ text: 'skin [NAME] is loaded?',
+ arguments: {
+ NAME: {
+ type: Scratch.ArgumentType.STRING,
+ defaultValue: 'my skin'
+ }
+ }
+ },
+
+ '---',
+
+ {
+ opcode: 'setSkin',
+ blockType: Scratch.BlockType.COMMAND,
+ text: 'set skin of [TARGET] to [NAME]',
+ arguments: {
+ TARGET: {
+ type: Scratch.ArgumentType.STRING,
+ menu: 'targetMenu'
+ },
+ NAME: {
+ type: Scratch.ArgumentType.STRING,
+ defaultValue: 'my skin'
+ }
+ }
+ },
+ {
+ opcode: 'restoreSkin',
+ blockType: Scratch.BlockType.COMMAND,
+ text: 'restore skin of [TARGET]',
+ arguments: {
+ TARGET: {
+ type: Scratch.ArgumentType.STRING,
+ menu: 'targetMenu'
+ }
+ }
+ },
+ {
+ opcode: 'restoreTargets',
+ blockType: Scratch.BlockType.COMMAND,
+ text: 'restore targets with skin [NAME]',
+ arguments: {
+ NAME: {
+ type: Scratch.ArgumentType.STRING,
+ defaultValue: 'my skin'
+ }
+ }
+ },
+
+ '---',
+
+ {
+ opcode: 'getCurrentSkin',
+ blockType: Scratch.BlockType.REPORTER,
+ text: 'current skin of [TARGET]',
+ arguments: {
+ TARGET: {
+ type: Scratch.ArgumentType.STRING,
+ menu: 'targetMenu'
+ }
+ }
+ },
+ {
+ opcode: 'getSkinAttribute',
+ blockType: Scratch.BlockType.REPORTER,
+ text: '[ATTRIBUTE] of skin [NAME]',
+ arguments: {
+ ATTRIBUTE: {
+ type: Scratch.ArgumentType.STRING,
+ menu: 'skinAttributes'
+ },
+ NAME: {
+ type: Scratch.ArgumentType.STRING,
+ defaultValue: 'my skin'
+ }
+ }
+ },
+
+ '---',
+
+ {
+ opcode: 'deleteSkin',
+ blockType: Scratch.BlockType.COMMAND,
+ text: 'delete skin [NAME]',
+ arguments: {
+ NAME: {
+ type: Scratch.ArgumentType.STRING,
+ defaultValue: 'my skin'
+ }
+ }
+ },
+ {
+ opcode: 'deleteAllSkins',
+ blockType: Scratch.BlockType.COMMAND,
+ text: 'delete all skins'
+ }
+ ],
+ menus: {
+ targetMenu: {
+ acceptReporters: true,
+ items: '_getTargets'
+ },
+ skinAttributes: {
+ acceptReporters: true,
+ items: ['width', 'height']
+ }
+ }
+ };
+ }
+
+ async registerSVGSkin (args) {
+ const skinName = Cast.toString(args.NAME);
+ const svgData = Cast.toString(args.SVG);
+
+ let oldSkinId = null;
+ if (createdSkins[skinName]) {
+ oldSkinId = createdSkins[skinName];
+ }
+
+ // This generally takes a few frames, so yield the block
+ const skinId = renderer.createSVGSkin(svgData);
+ createdSkins[skinName] = skinId;
+
+ await svgSkinFinishedLoading(renderer._allSkins[skinId]);
+
+ if (oldSkinId) {
+ this._refreshTargetsFromID(oldSkinId, false, skinId);
+ renderer.destroySkin(oldSkinId);
+ }
+ }
+
+ async registerCostumeSkin (args, util) {
+ if (!requireNonPackagedRuntime('add costume skin')) {
+ return;
+ }
+
+ const skinName = Cast.toString(args.NAME);
+ const costumeIndex = util.target.getCostumeIndexByName(args.COSTUME);
+ if (costumeIndex === -1) return;
+ const costume = util.target.sprite.costumes[costumeIndex];
+
+ const url = costume.asset.encodeDataURI();
+ const rotationCenterX = costume.rotationCenterX;
+ const rotationCenterY = costume.rotationCenterY;
+
+ let rotationCenter = [rotationCenterX, rotationCenterY];
+ if (!rotationCenterX || !rotationCenterY) rotationCenter = null;
+
+ let oldSkinId = null;
+ if (createdSkins[skinName]) {
+ oldSkinId = createdSkins[skinName];
+ }
+
+ const skinId = await this._createURLSkin(url, rotationCenter);
+ createdSkins[skinName] = skinId;
+
+ if (oldSkinId) {
+ this._refreshTargetsFromID(oldSkinId, false, skinId);
+ renderer.destroySkin(oldSkinId);
+ }
+ }
+
+ async registerURLSkin (args) {
+ const skinName = Cast.toString(args.NAME);
+ const url = Cast.toString(args.URL);
+
+ let oldSkinId = null;
+ if (createdSkins[skinName]) {
+ oldSkinId = createdSkins[skinName];
+ }
+
+ const skinId = await this._createURLSkin(url);
+ if (!skinId) return;
+ createdSkins[skinName] = skinId;
+
+ if (oldSkinId) {
+ this._refreshTargetsFromID(oldSkinId, false, skinId);
+ renderer.destroySkin(oldSkinId);
+ }
+ }
+
+ getSkinLoaded (args) {
+ const skinName = Cast.toString(args.NAME);
+ return !!(createdSkins[skinName]);
+ }
+
+ setSkin (args, util) {
+ const skinName = Cast.toString(args.NAME);
+ if (!createdSkins[skinName]) return;
+
+ const targetName = Cast.toString(args.TARGET);
+ const target = this._getTargetFromMenu(targetName, util);
+ if (!target) return;
+ const drawableID = target.drawableID;
+
+ const skinId = createdSkins[skinName];
+ renderer._allDrawables[drawableID].skin = renderer._allSkins[skinId];
+ }
+
+ restoreSkin (args, util) {
+ const targetName = Cast.toString(args.TARGET);
+ const target = this._getTargetFromMenu(targetName, util);
+ if (!target) return;
+ target.updateAllDrawableProperties();
+ }
+
+ getCurrentSkin (args, util) {
+ const targetName = Cast.toString(args.TARGET);
+ const target = this._getTargetFromMenu(targetName, util);
+ if (!target) return;
+ const drawableID = target.drawableID;
+
+ const skinId = renderer._allDrawables[drawableID].skin._id;
+ const skinName = this._getSkinNameFromID(skinId);
+ return (skinName) ? skinName : '';
+ }
+
+ getSkinAttribute (args) {
+ const skins = renderer._allSkins;
+ const skinName = Cast.toString(args.NAME);
+
+ if (!createdSkins[skinName]) return 0;
+ const skinId = createdSkins[skinName];
+ if (!skins[skinId]) return 0;
+
+ const size = skins[skinId].size;
+ const attribute = Cast.toString(args.ATTRIBUTE).toLowerCase();
+
+ switch (attribute) {
+ case ('width'): return Math.ceil(size[0]);
+ case ('height'): return Math.ceil(size[1]);
+ default: return 0;
+ }
+ }
+
+ deleteSkin (args) {
+ const skinName = Cast.toString(args.NAME);
+ if (!createdSkins[skinName]) return;
+ const skinId = createdSkins[skinName];
+
+ this._refreshTargetsFromID(skinId, true);
+ renderer.destroySkin(skinId);
+ Reflect.deleteProperty(createdSkins, skinName);
+ }
+
+ deleteAllSkins () {
+ this._refreshTargets();
+ for (let i = 0; i < createdSkins.length; i++) renderer.destroySkin(createdSkins[i]);
+ createdSkins = [];
+ }
+
+ restoreTargets (args) {
+ const skinName = Cast.toString(args.NAME);
+ if (!createdSkins[skinName]) return;
+ const skinId = createdSkins[skinName];
+
+ this._refreshTargetsFromID(skinId, false);
+ }
+
+ // Utility Functions
+
+ _refreshTargetsFromID (skinId, reset, newId) {
+ const drawables = renderer._allDrawables;
+ const skins = renderer._allSkins;
+
+ for (const target of runtime.targets) {
+ const drawableID = target.drawableID;
+ const targetSkin = drawables[drawableID].skin.id;
+
+ if (targetSkin === skinId) {
+ target.updateAllDrawableProperties();
+ if (!reset) drawables[drawableID].skin = (newId) ? skins[newId] : skins[skinId];
+ }
+ }
+ }
+
+ _refreshTargets () {
+ for (const target of runtime.targets) {
+ target.updateAllDrawableProperties();
+ }
+ }
+
+ _getSkinNameFromID (skinId) {
+ for (const skinName in createdSkins) {
+ if (createdSkins[skinName] === skinId) return skinName;
+ }
+ }
+
+ _getTargetFromMenu (targetName, util) {
+ let target = Scratch.vm.runtime.getSpriteTargetByName(targetName);
+ if (targetName === '_myself_') target = util.target;
+ if (targetName === '_stage_') target = runtime.getTargetForStage();
+ return target;
+ }
+
+ async _createURLSkin (URL, rotationCenter) {
+ let imageData;
+ if (await Scratch.canFetch(URL)) {
+ imageData = await Scratch.fetch(URL);
+ } else {
+ return;
+ }
+
+ const contentType = imageData.headers.get("Content-Type");
+ if (contentType === 'image/svg+xml') {
+ return renderer.createSVGSkin(await imageData.text(), rotationCenter);
+ } else if (contentType === 'image/png' || contentType === 'image/jpeg' || contentType === 'image/bmp') {
+ // eslint-disable-next-line no-restricted-syntax
+ const output = new Image();
+ output.src = URL;
+ output.crossOrigin = 'anonymous';
+ await output.decode();
+ return renderer.createBitmapSkin(output);
+ }
+ }
+
+ _getTargets() {
+ const spriteNames = [
+ {text: 'myself', value: '_myself_'},
+ {text: 'Stage', value: '_stage_'}
+ ];
+ const targets = Scratch.vm.runtime.targets;
+ for (let index = 1; index < targets.length; index++) {
+ const target = targets[index];
+ if (target.isOriginal) {
+ const targetName = target.getName();
+ spriteNames.push({
+ text: targetName,
+ value: targetName
+ });
+ }
+ }
+ return spriteNames;
+ }
+
+ }
+ Scratch.extensions.register(new Skins());
+})(Scratch);
diff --git a/extensions/TheShovel/CustomStyles.js b/extensions/TheShovel/CustomStyles.js
new file mode 100644
index 0000000000..656b6bb29f
--- /dev/null
+++ b/extensions/TheShovel/CustomStyles.js
@@ -0,0 +1,735 @@
+// Thanks LilyMakesThings for the awesome banner!
+(function(Scratch) {
+ 'use strict';
+
+ // Styles
+ let monitorText = '';
+ let monitorBorder = '';
+ let monitorBackgroundColor = '';
+ let variableValueBackground = '';
+ let variableValueTextColor = '';
+ let listFooterBackground = '';
+ let listHeaderBackground = '';
+ let listValueText = '';
+ let listValueBackground = '';
+ let variableValueRoundness = -1;
+ let listValueRoundness = -1;
+ let monitorBackgroundRoundness = -1;
+ let monitorBackgroundBorderWidth = -1;
+ let allowScrolling = '';
+ let askBackground = '';
+ let askBackgroundRoundness = -1;
+ let askBackgroundBorderWidth = -1;
+ let askButtonBackground = '';
+ let askButtonRoundness = -1;
+ let askInputBackground = '';
+ let askInputRoundness = -1;
+ let askInputBorderWidth = -1;
+ let askBoxIcon = '';
+ let askInputText = '';
+ let askButtonImage = '';
+ let askInputBorder = '';
+
+ // CSS selectors
+ let monitorRoot;
+ let monitorValue;
+ let monitorListHeader;
+ let monitorListFooter;
+ let monitorRowValueOuter;
+ let monitorRowsInner;
+ let monitorRowsScroller;
+ let monitorRowIndex;
+ let monitorValueLarge;
+ let askBoxBG;
+ let askBoxButton;
+ let askBoxInner;
+ let askBoxBorderMain;
+ let askBoxBorderOuter;
+ if (typeof scaffolding !== 'undefined') {
+ monitorRoot = '.sc-monitor-root';
+ monitorValue = '.sc-monitor-value';
+ monitorListHeader = '.sc-monitor-list-label';
+ monitorListFooter = '.sc-monitor-list-footer';
+ monitorRowValueOuter = '.sc-monitor-row-value-outer';
+ monitorRowsInner = '.sc-monitor-rows-inner';
+ monitorRowsScroller = monitorRowsInner;
+ monitorRowIndex = '.sc-monitor-row-index';
+ monitorValueLarge = '.sc-monitor-large-value';
+ askBoxBG = '.sc-question-inner';
+ askBoxButton = '.sc-question-submit-button';
+ askBoxInner = '.sc-question-input';
+ askBoxBorderMain = '.sc-question-input:hover';
+ askBoxBorderOuter = '.sc-question-input:focus';
+ } else {
+ monitorRoot = 'div[class^="monitor_monitor-container_"]';
+ monitorValue = 'div[class^="monitor_value_"]';
+ monitorListHeader = 'div[class^="monitor_list-header_"]';
+ monitorListFooter = 'div[class^="monitor_list-footer_"]';
+ monitorRowValueOuter = 'div[class^="monitor_list-value_"]';
+ monitorRowsInner = 'div[class^="monitor_list-body_"]';
+ monitorRowsScroller = 'div[class^="monitor_list-body_"] > .ReactVirtualized__List';
+ monitorRowIndex = 'div[class^="monitor_list-index_"]';
+ monitorValueLarge = 'div[class^="monitor_large-value_"]';
+ askBoxBG = 'div[class^="question_question-container_"]';
+ askBoxButton = 'button[class^="question_question-submit-button_"]';
+ askBoxInner = '[class^="question_question-container_"] input[class^="input_input-form_"]';
+ askBoxIcon = 'img[class^="question_question-submit-button-icon_"]';
+ askBoxBorderMain = '[class^="question_question-input_"] input:focus, [class^="question_question-input_"] input:hover';
+ askBoxBorderOuter = '[class^="question_question-input_"] > input:focus';
+ }
+
+ const ColorIcon = 'data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHdpZHRoPSIxMTYuNDE5NjQiIGhlaWdodD0iMTE4LjM0OTk0IiB2aWV3Qm94PSIwLDAsMTE2LjQxOTY0LDExOC4zNDk5NCI+PGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoOC45MjgwOSw3LjY1MTk0KSI+PGcgZGF0YS1wYXBlci1kYXRhPSJ7JnF1b3Q7aXNQYWludGluZ0xheWVyJnF1b3Q7OnRydWV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Q2VudGVyOjE3NC42NjE2MjoxNjMuNjc0NTU5OTk5OTk5OTktLT4=';
+
+ const stylesheet = document.createElement('style');
+ stylesheet.className = 'shovelcss-style';
+ // end of for higher precedence than other sheets
+ document.body.appendChild(stylesheet);
+
+ const applyCSS = () => {
+ let css = '';
+
+ // We assume all values are sanitized when they are set, so then we can just use them as-is here.
+
+ if (monitorText) {
+ css += `${monitorRoot}, ${monitorListFooter}, ${monitorListHeader}, ${monitorRowIndex} { color: ${monitorText}; }`;
+ }
+ if (monitorBackgroundColor) {
+ css += `${monitorRoot}, ${monitorRowsInner} { background: ${monitorBackgroundColor}; }`;
+ }
+ if (monitorBorder) {
+ css += `${monitorRoot} { border-color: ${monitorBorder}; }`;
+ }
+ if (monitorBackgroundRoundness >= 0) {
+ css += `${monitorRoot} { border-radius: ${monitorBackgroundRoundness}px; }`;
+ }
+ if (monitorBackgroundBorderWidth >= 0) {
+ css += `${monitorRoot} { border-width: ${monitorBackgroundBorderWidth}px; }`;
+ }
+ if (variableValueBackground) {
+ css += `${monitorValue}, ${monitorValueLarge} { background: ${variableValueBackground} !important; }`;
+ }
+ if (variableValueTextColor) {
+ css += `${monitorValue}, ${monitorValueLarge} { color: ${variableValueTextColor}; }`;
+ }
+ if (variableValueRoundness >= 0) {
+ css += `${monitorValue} { border-radius: ${variableValueRoundness}px; }`;
+ }
+ if (listHeaderBackground) {
+ css += `${monitorListHeader} { background: ${listHeaderBackground}; }`;
+ }
+ if (listFooterBackground) {
+ css += `${monitorListFooter} { background: ${listHeaderBackground}; }`;
+ }
+ if (listValueBackground) {
+ css += `${monitorRowValueOuter} { background: ${listValueBackground} !important; }`;
+ }
+ if (listValueText) {
+ css += `${monitorRowValueOuter} { color: ${listValueText}; }`;
+ }
+ if (listValueRoundness >= 0) {
+ css += `${monitorRowValueOuter} { border-radius: ${listValueRoundness}px; }`;
+ }
+ if (allowScrolling) {
+ css += `${monitorRowsScroller} { overflow: ${allowScrolling} !important; }`;
+ }
+ if (askBackground) {
+ css += `${askBoxBG} { background: ${askBackground} !important; border: none !important; }`;
+ }
+ if (askBackgroundRoundness >= 0) {
+ css += `${askBoxBG} { border-radius: ${askBackgroundRoundness}px !important; }`;
+ }
+ if (askBackgroundBorderWidth >= 0) {
+ css += `${askBoxBG} { border-width: ${askBackgroundBorderWidth}px !important; }`;
+ }
+ if (askButtonBackground) {
+ css += `${askBoxButton} { background-color: ${askButtonBackground}; }`;
+ }
+ if (askButtonRoundness >= 0) {
+ css += `${askBoxButton} { border-radius: ${askButtonRoundness}px !important; }`;
+ }
+ if (askInputBackground) {
+ css += `${askBoxInner} { background: ${askInputBackground} !important; }`;
+ css += `${askBoxInner} { border: none !important; }`;
+ }
+ if (askInputText) {
+ css += `${askBoxInner} { color: ${askInputText} !important; }`;
+ }
+ if (askInputRoundness >= 0) {
+ css += `${askBoxInner} { border-radius: ${askInputRoundness}px !important; }`;
+ }
+ if (askInputBorderWidth >= 0) {
+ css += `${askBoxInner} { border-width: ${askInputBorderWidth}px !important; }`;
+ }
+ if (askButtonImage) {
+ css += `${askBoxButton} { background-image: url("${encodeURI(askButtonImage)}") !important; background-repeat: no-repeat; background-size: contain; }`;
+ css += `${askBoxIcon} { visibility: hidden; }`;
+ }
+ if (askInputBorder) {
+ css += `${askBoxBorderMain}, ${askBoxBorderOuter} { border-color: ${askInputBorder} !important; }`;
+ css += `${askBoxBorderOuter} { box-shadow: none !important; }`;
+ }
+
+ stylesheet.textContent = css;
+ };
+
+ const getMonitorRoot = (id) => {
+ const allMonitors = document.querySelectorAll(monitorRoot);
+ for (const monitor of allMonitors) {
+ if (monitor.dataset.id === id) {
+ return monitor;
+ }
+ }
+ return null;
+ };
+
+ /**
+ * @param {string} id
+ * @param {number} x
+ * @param {number} y
+ */
+ const setMonitorPosition = (id, x, y) => {
+ const root = getMonitorRoot(id);
+ if (root) {
+ root.style.transform = `translate(${x}px, ${y}px)`;
+ root.style.left = '0px';
+ root.style.top = '0px';
+ }
+ };
+
+ /**
+ * @param {VM.Target} target
+ * @param {string} name
+ * @param {VM.VariableType} type
+ * @param {number} x
+ * @param {number} y
+ */
+ const setVariableMonitorPosition = (target, name, type, x, y) => {
+ // @ts-expect-error
+ const variable = target.lookupVariableByNameAndType(name, type);
+ if (variable) {
+ // @ts-expect-error
+ setMonitorPosition(variable.id, x, y);
+ }
+ };
+
+ const parseColor = (color, callback) => {
+ color = Scratch.Cast.toString(color);
+
+ // These might have some exponential backtracking/ReDoS, but that's not really a concern here.
+ // If a project wanted to get stuck in an infinite loop, there are so many other ways to do that.
+
+ // Simple color code or name
+ if (/^#?[a-z0-9]+$/.test(color)) {
+ callback(color);
+ return;
+ }
+
+ // Simple linear gradient
+ if (/^linear-gradient\(\d+deg,#?[a-z0-9]+,#?[a-z0-9]+\)$/.test(color)) {
+ callback(color);
+ return;
+ }
+
+ // URL
+ // see list of non-escaped characters:
+ // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/encodeURI#description
+ const match = color.match(/^url\("([A-Za-z0-9\-_.!~*'();/?:@&=+$,#]+)"\)$/);
+ if (match) {
+ const url = match[1];
+ return Scratch.canFetch(url).then(allowed => {
+ if (allowed) {
+ callback(color);
+ }
+ });
+ }
+
+ console.error('Invalid color', color);
+ };
+
+ class MonitorStyles {
+ getInfo() {
+ return {
+ id: 'shovelcss',
+ name: 'Custom Styles',
+ menuIconURI: extensionIcon,
+ color1: '#0072d6',
+ color2: '#0064bc',
+ color3: '#01539b',
+ blocks: [
+ {
+ blockIconURI: ColorIcon,
+ opcode: 'changecss',
+ blockType: Scratch.BlockType.COMMAND,
+ text: 'set [COLORABLE] to [COLOR]',
+ arguments: {
+ COLORABLE: {
+ type: Scratch.ArgumentType.STRING,
+ menu: 'COLORABLE_MENU'
+ },
+ COLOR: {
+ type: Scratch.ArgumentType.COLOR,
+ defaultValue: '#ff0000'
+ }
+ }
+ },
+ {
+ blockIconURI: GradientIcon,
+ opcode: 'gradientAngle',
+ blockType: Scratch.BlockType.REPORTER,
+ text: 'make a gradient with [COLOR1] and [COLOR2] at angle [ANGLE]',
+ arguments: {
+ COLOR1: {
+ type: Scratch.ArgumentType.COLOR,
+ defaultValue: '#ff0000'
+ },
+ COLOR2: {
+ type: Scratch.ArgumentType.COLOR,
+ defaultValue: '#6ed02d'
+ },
+ ANGLE: {
+ type: Scratch.ArgumentType.ANGLE,
+ defaultValue: '90'
+ }
+ }
+ },
+ {
+ blockIconURI: TransparentIcon,
+ disableMonitor: true,
+ opcode: 'transparentinput',
+ blockType: Scratch.BlockType.REPORTER,
+ text: 'transparent',
+ },
+ {
+ blockIconURI: PictureIcon,
+ disableMonitor: true,
+ opcode: 'pictureinput',
+ blockType: Scratch.BlockType.REPORTER,
+ text: 'image [URL]',
+ arguments: {
+ URL: {
+ type: Scratch.ArgumentType.STRING,
+ defaultValue: 'https://extensions.turbowarp.org/dango.png'
+ }
+ }
+ },
+ '---',
+ {
+ blockIconURI: PictureIcon,
+ disableMonitor: true,
+ opcode: 'setAskURI',
+ blockType: Scratch.BlockType.COMMAND,
+ text: 'set ask prompt button image to [URL]',
+ arguments: {
+ URL: {
+ type: Scratch.ArgumentType.STRING,
+ defaultValue: 'https://extensions.turbowarp.org/dango.png'
+ }
+ }
+ },
+ '---',
+ {
+ blockIconURI: BorderIcon,
+ opcode: 'setbordersize',
+ blockType: Scratch.BlockType.COMMAND,
+ text: 'set border width of [BORDER] to [SIZE]',
+ arguments: {
+ BORDER: {
+ type: Scratch.ArgumentType.STRING,
+ menu: 'BORDER_WIDTH_MENU'
+ },
+ SIZE: {
+ type: Scratch.ArgumentType.NUMBER,
+ defaultValue: '2'
+ }
+ }
+ },
+ {
+ blockIconURI: BorderIcon,
+ opcode: 'setborderradius',
+ blockType: Scratch.BlockType.COMMAND,
+ text: 'set roundness of [CORNER] to [SIZE]',
+ arguments: {
+ SIZE: {
+ type: Scratch.ArgumentType.NUMBER,
+ defaultValue: '4'
+ },
+ CORNER: {
+ type: Scratch.ArgumentType.STRING,
+ menu: 'BORDER_ROUNDNESS_MENU'
+ }
+ }
+ },
+ '---',
+ {
+ blockIconURI: ResetIcon,
+ opcode: 'clearCSS',
+ blockType: Scratch.BlockType.COMMAND,
+ text: 'reset styles'
+ },
+ '---',
+ {
+ blockIconURI: miscIcon,
+ opcode: 'allowscrollrule',
+ blockType: Scratch.BlockType.COMMAND,
+ text: 'set list scrolling to [SCROLLRULE]',
+ arguments: {
+ SCROLLRULE: {
+ type: Scratch.ArgumentType.STRING,
+ menu: 'SCROLL_MENU'
+ }
+ }
+ },
+ {
+ blockIconURI: miscIcon,
+ opcode: 'getValue',
+ blockType: Scratch.BlockType.REPORTER,
+ text: 'get [ITEM]',
+ arguments: {
+ ITEM: {
+ type: Scratch.ArgumentType.STRING,
+ menu: 'VALUEGET_LIST'
+ }
+ }
+ },
+ '---',
+ {
+ blockIconURI: miscIcon,
+ opcode: 'setvarpos',
+ blockType: Scratch.BlockType.COMMAND,
+ text: 'set position of variable [NAME] to x: [X] y: [Y]',
+ arguments: {
+ X: {
+ type: Scratch.ArgumentType.NUMBER,
+ defaultValue: '0'
+ },
+ Y: {
+ type: Scratch.ArgumentType.NUMBER,
+ defaultValue: '0'
+ },
+ NAME: {
+ type: Scratch.ArgumentType.STRING,
+ defaultValue: 'my variable'
+ }
+ }
+ },
+ {
+ blockIconURI: miscIcon,
+ opcode: 'setlistpos',
+ blockType: Scratch.BlockType.COMMAND,
+ text: 'set position of list [NAME] to x: [X] y: [Y]',
+ arguments: {
+ X: {
+ type: Scratch.ArgumentType.NUMBER,
+ defaultValue: '0'
+ },
+ Y: {
+ type: Scratch.ArgumentType.NUMBER,
+ defaultValue: '0'
+ },
+ NAME: {
+ type: Scratch.ArgumentType.STRING,
+ defaultValue: 'my variable'
+ }
+ }
+ },
+ ],
+ // Accepting reporters because there can't be errors in case the value is not correct
+ menus: {
+ COLORABLE_MENU: {
+ acceptReporters: true,
+ items: [
+ 'monitor text',
+ 'monitor background',
+ 'monitor border',
+ 'variable value background',
+ 'variable value text',
+ 'list header background',
+ 'list footer background',
+ 'list value background',
+ 'list value text',
+ 'ask prompt background',
+ 'ask prompt button background',
+ 'ask prompt input background',
+ 'ask prompt input text',
+ 'ask prompt input border'
+ ]
+ },
+ BORDER_WIDTH_MENU: {
+ acceptReporters: true,
+ items: [
+ 'monitor background',
+ 'ask prompt background',
+ 'ask prompt input'
+ ]
+ },
+ BORDER_ROUNDNESS_MENU: {
+ acceptReporters: true,
+ items: [
+ 'monitor background',
+ 'variable value',
+ 'list value',
+ 'ask prompt background',
+ 'ask prompt button',
+ 'ask prompt input'
+ ]
+ },
+ SCROLL_MENU: {
+ acceptReporters: true,
+ items: [
+ 'enabled',
+ 'disabled'
+ ]
+ },
+ VALUEGET_LIST: {
+ acceptReporters: true,
+ items: [
+ 'monitor text',
+ 'monitor background',
+ 'monitor border color',
+ 'variable value background',
+ 'variable value text',
+ 'list header background',
+ 'list footer background',
+ 'list value background',
+ 'list value text',
+ 'ask prompt background',
+ 'ask prompt button background',
+ 'ask prompt input background',
+ 'ask prompt input text',
+ 'ask prompt input border',
+ 'monitor background border width',
+ 'ask prompt background border width',
+ 'ask prompt input border width',
+ 'monitor background roundness',
+ 'variable value roundness',
+ 'list value roundness',
+ 'ask prompt background roundness',
+ 'ask prompt button roundness',
+ 'ask prompt input roundness',
+ 'ask prompt button image',
+ 'list scroll rule'
+ ]
+ }
+ }
+ };
+ }
+
+ changecss(args) {
+ return parseColor(args.COLOR, color => {
+ if (args.COLORABLE === 'monitor text') {
+ monitorText = color;
+ } else if (args.COLORABLE === 'monitor background') {
+ monitorBackgroundColor = color;
+ } else if (args.COLORABLE === 'monitor border') {
+ monitorBorder = color;
+ } else if (args.COLORABLE === 'variable value background') {
+ variableValueBackground = color;
+ } else if (args.COLORABLE === 'variable value text') {
+ variableValueTextColor = color;
+ } else if (args.COLORABLE === 'list header background') {
+ listHeaderBackground = color;
+ } else if (args.COLORABLE === 'list footer background') {
+ listFooterBackground = color;
+ } else if (args.COLORABLE === 'list value background') {
+ listValueBackground = color;
+ } else if (args.COLORABLE === 'list value text') {
+ listValueText = color;
+ } else if (args.COLORABLE === 'ask prompt background') {
+ askBackground = color;
+ } else if (args.COLORABLE === 'ask prompt button background') {
+ askButtonBackground = color;
+ } else if (args.COLORABLE === 'ask prompt input background') {
+ askInputBackground = color;
+ } else if (args.COLORABLE === 'ask prompt input text') {
+ askInputText = color;
+ } else if (args.COLORABLE === 'ask prompt input border') {
+ askInputBorder = color;
+ }
+
+ applyCSS();
+ });
+ }
+
+ gradientAngle(args) {
+ return 'linear-gradient(' + args.ANGLE + 'deg,' + args.COLOR1 + ',' + args.COLOR2 + ')';
+ }
+
+ setbordersize(args) {
+ const size = Scratch.Cast.toNumber(args.SIZE);
+ if (args.BORDER === 'monitor background') {
+ monitorBackgroundBorderWidth = size;
+ } else if (args.BORDER === 'ask prompt background') {
+ askBackgroundBorderWidth = size;
+ } else if (args.BORDER === 'ask prompt input') {
+ askInputBorderWidth = size;
+ }
+ applyCSS();
+ }
+
+ setborderradius(args) {
+ const size = Scratch.Cast.toNumber(args.SIZE);
+ if (args.CORNER === 'monitor background') {
+ monitorBackgroundRoundness = size;
+ } else if (args.CORNER === 'variable value') {
+ variableValueRoundness = size;
+ } else if (args.CORNER === 'list value') {
+ listValueRoundness = size;
+ } else if (args.CORNER === 'ask prompt background') {
+ askBackgroundRoundness = size;
+ } else if (args.CORNER === 'ask prompt button') {
+ askButtonRoundness = size;
+ } else if (args.CORNER === 'ask prompt input') {
+ askInputRoundness = size;
+ }
+ applyCSS();
+ }
+
+ allowscrollrule(args) {
+ if (args.SCROLLRULE === 'enabled'){
+ allowScrolling = 'auto';
+ } else {
+ allowScrolling = 'hidden';
+ }
+ applyCSS();
+ }
+
+ setvarpos(args, util) {
+ setVariableMonitorPosition(
+ util.target,
+ args.NAME,
+ '',
+ Scratch.Cast.toNumber(args.X) + Scratch.vm.runtime.stageWidth / 2,
+ Scratch.vm.runtime.stageHeight / 2 - Scratch.Cast.toNumber(args.Y)
+ );
+ }
+
+ setlistpos(args, util) {
+ setVariableMonitorPosition(
+ util.target,
+ args.NAME,
+ 'list',
+ Scratch.Cast.toNumber(args.X) + Scratch.vm.runtime.stageWidth / 2,
+ Scratch.vm.runtime.stageHeight / 2 - Scratch.Cast.toNumber(args.Y)
+ );
+ }
+
+ help() {
+ alert("\nThis is a short introduction to how to use the Monitor Styles extension!\n\n𝗟𝗼𝗼𝗸𝘀 𝗯𝗹𝗼𝗰𝗸𝘀\nThese blocks change the appearance of the variable and list didsplays. You can use the drop-down menu to select what component you want to modify. 𝙏𝙝𝙚 𝙘𝙤𝙡𝙤𝙧 𝙗𝙡𝙤𝙘𝙠 modifieas the color of a component. You can use the 𝙜𝙧𝙖𝙙𝙞𝙚𝙣𝙩 block inside the color input, to create gradients or the 𝙄𝙢𝙖𝙜𝙚 block to use a image instead of solid colors. 𝙏𝙝𝙚𝙨𝙚 𝙩𝙬𝙤 𝙤𝙣𝙡𝙮 𝙬𝙤𝙧𝙠 𝙤𝙣 𝙘𝙚𝙧𝙩𝙖𝙞𝙣 𝙘𝙤𝙢𝙥𝙤𝙣𝙚𝙣𝙩𝙨! You can also use the 𝙩𝙧𝙖𝙣𝙨𝙥𝙖𝙧𝙚𝙣𝙩 𝙗𝙡𝙤𝙘𝙠 as a color input, to make components invisible. The 𝙗𝙤𝙧𝙙𝙚𝙧 𝙗𝙡𝙤𝙘𝙠𝙨 modify the borders of components.\n\n𝗦𝗲𝗻𝘀𝗶𝗻𝗴 𝗯𝗹𝗼𝗰𝗸𝘀\nThese blocks can change the behaviour of certain components. The 𝙨𝙘𝙧𝙤𝙡𝙡 𝙧𝙪𝙡𝙚 block change the behaviour for lists. On 'auto' they will show the scroll bar, and allow you to school, but on 'hidden', they won't let you do that, and the scroll bar will be hidden.\n\n𝗠𝗼𝘁𝗶𝗼𝗻 𝗯𝗹𝗼𝗰𝗸𝘀\nThese blocks allow you to move variable and list displays around. You need to use their 𝙡𝙖𝙗𝙚𝙡 𝙣𝙖𝙢𝙚. The label name is the text that displays on the monitor. For example, a 'for this sprite only' variable will be like 'Sprite1: my variable'.");
+ }
+
+ transparentinput() {
+ return 'transparent';
+ }
+
+ pictureinput(args) {
+ return `url("${encodeURI(args.URL)}")`;
+ }
+
+ clearCSS() {
+ monitorText = '';
+ monitorBorder = '';
+ monitorBackgroundColor = '';
+ variableValueBackground = '';
+ variableValueTextColor = '';
+ listFooterBackground = '';
+ listHeaderBackground = '';
+ listValueText = '';
+ listValueBackground = '';
+ variableValueRoundness = -1;
+ listValueRoundness = -1;
+ monitorBackgroundRoundness = -1;
+ monitorBackgroundBorderWidth = -1;
+ allowScrolling = '';
+ askBackground = '';
+ askBackgroundRoundness = -1;
+ askBackgroundBorderWidth = -1;
+ askButtonBackground = '';
+ askButtonRoundness = -1;
+ askInputBackground = '';
+ askInputRoundness = -1;
+ askInputBorderWidth = -1;
+ askBoxIcon = '';
+ askInputText = '';
+ askButtonImage = '';
+ askInputBorder = '';
+ applyCSS();
+ }
+
+ getValue(args) {
+ if (args.ITEM === 'monitor text') {
+ return monitorText;
+ } else if (args.ITEM === 'monitor background') {
+ return monitorBackgroundColor;
+ } else if (args.ITEM === 'monitor border color') {
+ return monitorBorder;
+ } else if (args.ITEM === 'variable value background') {
+ return variableValueBackground;
+ } else if (args.ITEM === 'variable value text') {
+ return variableValueTextColor;
+ } else if (args.ITEM === 'list header background') {
+ return listHeaderBackground;
+ } else if (args.ITEM === 'list footer background') {
+ return listFooterBackground;
+ } else if (args.ITEM === 'list value background') {
+ return listValueBackground;
+ } else if (args.ITEM === 'list value text') {
+ return listValueText;
+ } else if (args.ITEM === 'ask prompt background') {
+ return askBackground;
+ } else if (args.ITEM === 'ask prompt button background') {
+ return askButtonBackground;
+ } else if (args.ITEM === 'ask prompt input background') {
+ return askInputBackground;
+ } else if (args.ITEM === 'ask prompt input text') {
+ return askInputText;
+ } else if (args.ITEM === 'ask prompt input border') {
+ return askInputBorder;
+ } else if (args.ITEM === 'monitor background border width') {
+ return monitorBackgroundBorderWidth;
+ } else if (args.ITEM === 'ask prompt background border width') {
+ return askBackgroundBorderWidth;
+ } else if (args.ITEM === 'ask prompt input border width') {
+ return askInputBorderWidth;
+ } else if (args.ITEM === 'monitor background roundness') {
+ return monitorBackgroundRoundness;
+ } else if (args.ITEM === 'variable value roundness') {
+ return variableValueRoundness;
+ } else if (args.ITEM === 'list value roundness') {
+ return listValueRoundness;
+ } else if (args.ITEM === 'ask prompt background roundness') {
+ return askBackgroundRoundness;
+ } else if (args.ITEM === 'ask prompt button roundness') {
+ return askButtonRoundness;
+ } else if (args.ITEM === 'ask prompt input roundness') {
+ return askInputRoundness;
+ } else if (args.ITEM === 'ask prompt button image') {
+ return askButtonImage;
+ } else if (args.ITEM === 'list scrolling') {
+ if (allowScrolling === 'auto') {
+ return 'enabled';
+ } else {
+ return 'disabled';
+ }
+ }
+ return '';
+ }
+
+ setAskURI(args) {
+ return Scratch.canFetch(args.URL).then(allowed => {
+ if (allowed) {
+ askButtonImage = args.URL;
+ applyCSS();
+ }
+ });
+ }
+ }
+
+ Scratch.extensions.register(new MonitorStyles());
+})(Scratch);
diff --git a/extensions/godslayerakp/http.js b/extensions/godslayerakp/http.js
index 46321fa848..7e14d4a03f 100644
--- a/extensions/godslayerakp/http.js
+++ b/extensions/godslayerakp/http.js
@@ -2,7 +2,6 @@
'use strict';
if (!Scratch.extensions.unsandboxed) throw new Error('can not load out side unsandboxed mode');
- const pathRegex = /[^.]+/g;
const setType = (value, type) => {
switch (type) {
case 'string':
@@ -81,7 +80,7 @@
}
};
const getPathArray = path => {
- const names = path.match(pathRegex);
+ const names = path.split('.');
for (let index = 0; index < names.length; index++) {
let name = names[index];
name = name.replaceAll(/(? {
for (const name of path) {
- object = object[name];
- if (typeof object !== 'object') return;
+ object = object?.[name];
}
- return object;
+ return setType(object, 'string');
};
const setValueAtPath = (object, path, value) => {
- for (const name of path) {
+ for (const name of path.slice(0, -1)) {
object = object[name];
- if (typeof object !== 'object') return;
}
- return object = value;
+ object[path.at(-1)] = value;
};
const {vm} = Scratch;
@@ -153,6 +150,10 @@
return this.options.headers['Content-Type'];
},
set mimeType(value) {
+ if (this.options.headers['Content-Type'] === 'multipart/form-data' &&
+ value !== 'multipart/form-data') {
+ this.options.body = '';
+ }
this.options.headers['Content-Type'] = value;
},
set method(val) {
@@ -173,6 +174,14 @@
},
set body(val) {
if (this.method === 'GET') return;
+ if (val instanceof FormData && !(this.options.body instanceof FormData)) {
+ this.options.body = val;
+ this.options.headers['Content-Type'] = 'multipart/form-data';
+ }
+ if (!(val instanceof FormData) && this.options.body instanceof FormData) {
+ this.options.body = '';
+ this.options.headers['Content-Type'] = 'text/plain';
+ }
this.options.body = val;
},
get body() {
@@ -349,11 +358,56 @@
blockType: BlockType.COMMAND,
arguments: {
text: {
- type: ArgumentType.STRING
+ type: ArgumentType.STRING,
+ default: 'Apple!'
}
},
text: 'set request body to [text]'
},
+ '---',
+ {
+ opcode: 'setBodyToForm',
+ blockType: BlockType.COMMAND,
+ text: 'set request body to a form'
+ },
+ {
+ opcode: 'getFormProperty',
+ blockType: BlockType.REPORTER,
+ arguments: {
+ name: {
+ type: ArgumentType.STRING,
+ defaultValue: 'name'
+ }
+ },
+ text: 'get [name] in request form'
+ },
+ {
+ opcode: 'setFormProperty',
+ blockType: BlockType.COMMAND,
+ arguments: {
+ name: {
+ type: ArgumentType.STRING,
+ defaultValue: 'name'
+ },
+ value: {
+ type: ArgumentType.STRING,
+ defaultValue: 'value'
+ }
+ },
+ text: 'set [name] to [value] in request form'
+ },
+ {
+ opcode: 'deleteFormProperty',
+ blockType: BlockType.COMMAND,
+ arguments: {
+ name: {
+ type: ArgumentType.STRING,
+ defaultValue: 'name'
+ }
+ },
+ text: 'delete [name] from request form'
+ },
+ '---',
{
opcode: 'sendRequest',
blockType: BlockType.COMMAND,
@@ -587,6 +641,29 @@
this.request.body = body;
}
+ setBodyToForm() {
+ this.request.body = new FormData();
+ }
+
+ getFormProperty(args) {
+ if (!(this.request.options.body instanceof FormData)) return;
+ const name = Cast.toString(args.name);
+ return this.request.body.get(name);
+ }
+
+ setFormProperty(args) {
+ if (!(this.request.options.body instanceof FormData)) return;
+ const name = Cast.toString(args.name);
+ const value = Cast.toString(args.value);
+ this.request.body.set(name, value);
+ }
+
+ deleteFormProperty(args) {
+ if (!(this.request.options.body instanceof FormData)) return;
+ const name = Cast.toString(args.name);
+ this.request.body.delete(name);
+ }
+
// eslint-disable-next-line require-await
async sendRequest(args) {
const url = Cast.toString(args.url);
@@ -609,6 +686,15 @@
this.request.events.activate('reqFail');
}
this.request.end = true;
+ if (res.headers.get('Content-Type') === 'multipart/form-data') {
+ const form = await res.formData();
+ const json = {};
+ for (const [key, value] of form.entries()) {
+ json[key] = value;
+ }
+ this.response.text = JSON.stringify(json);
+ return;
+ }
const body = await res.text();
this.response.text = body;
} catch (err) {
@@ -624,16 +710,18 @@
showExtra() {
this.showingExtra = true;
+ // @ts-ignore
vm.extensionManager.refreshBlocks();
}
hideExtra() {
this.showingExtra = false;
+ // @ts-ignore
vm.extensionManager.refreshBlocks();
}
setUnkownProperty(args) {
- const name = Cast.toString(args.name);
+ const name = Cast.toString(args.path);
const text = Cast.toString(args.value);
const path = getPathArray(name);
@@ -642,7 +730,7 @@
}
setUnkownPropertyType(args) {
- const name = Cast.toString(args.name);
+ const name = Cast.toString(args.path);
const type = Cast.toString(args.type);
const path = getPathArray(name);
@@ -652,14 +740,14 @@
}
getUnkownProperty(args) {
- const name = Cast.toString(args.name);
+ const name = Cast.toString(args.path);
const path = getPathArray(name);
return getValueAtPath(this.request.options, path);
}
getUnkownPropertyType(args) {
- const name = Cast.toString(args.name);
+ const name = Cast.toString(args.path);
const path = getPathArray(name);
const value = getValueAtPath(this.request.options, path);
@@ -668,5 +756,6 @@
}
const instance = new WebRequests();
+ // @ts-ignore
Scratch.extensions.register(instance);
})(Scratch);
diff --git a/images/Lily/Skins.svg b/images/Lily/Skins.svg
new file mode 100644
index 0000000000..d072deefe8
--- /dev/null
+++ b/images/Lily/Skins.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/images/README.md b/images/README.md
index 7495122b82..0600c79be7 100644
--- a/images/README.md
+++ b/images/README.md
@@ -247,3 +247,8 @@ All images in this folder are licensed under the [GNU General Public License ver
## veggiecan/LongmanDictionary.svg
- Created by [veggiecan](https://github.com/veggiecan0419)
- The ship is based on [this](https://www.ldoceonline.com/external/images/logo_home_smartphone.svg?version=1.2.61) logo from the [ldoceonline](https://www.ldoceonline.com/) website
+
+## Lily/Skins.svg
+ - Created by [@LilyMakesThings](https://github.com/LilyMakesThings).
+ - Dango based on dango from [Twemoji](https://twemoji.twitter.com/) under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).
+ - Background "blobs" by Scratch.
diff --git a/images/TheShovel/CustomStyles.svg b/images/TheShovel/CustomStyles.svg
new file mode 100644
index 0000000000..63a16f6c00
--- /dev/null
+++ b/images/TheShovel/CustomStyles.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/package-lock.json b/package-lock.json
index a64b2f43cc..bec80ceaa9 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -20,15 +20,15 @@
}
},
"@eslint-community/regexpp": {
- "version": "4.5.1",
- "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.5.1.tgz",
- "integrity": "sha512-Z5ba73P98O1KUYCCJTUeVpja9RcGoMdncZ6T49FCUl2lN38JtCJ+3WgIDBv0AuY4WChU5PmtJmOCTlN6FZTFKQ==",
+ "version": "4.6.2",
+ "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.6.2.tgz",
+ "integrity": "sha512-pPTNuaAG3QMH+buKyBIGJs3g/S5y0caxw0ygM3YyE6yJFySwiGGSzA+mM3KJ8QQvzeLh3blwgSonkFjgQdxzMw==",
"dev": true
},
"@eslint/eslintrc": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.0.tgz",
- "integrity": "sha512-Lj7DECXqIVCqnqjjHMPna4vn6GJcMgul/wuS0je9OZ9gsL0zzDpKPVtcG1HaDVc+9y+qgXneTeUMbCqXJNpH1A==",
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.1.tgz",
+ "integrity": "sha512-9t7ZA7NGGK8ckelF0PQCfcxIUzs1Md5rrO6U/c+FIQNanea5UZC0wqKXH4vHBccmu4ZJgZ2idtPeW7+Q2npOEA==",
"dev": true,
"requires": {
"ajv": "^6.12.4",
@@ -60,9 +60,9 @@
}
},
"@eslint/js": {
- "version": "8.44.0",
- "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.44.0.tgz",
- "integrity": "sha512-Ag+9YM4ocKQx9AarydN0KY2j0ErMHNIocPDrVo8zAE44xLTjEtz81OdR68/cydGtk6m6jDb5Za3r2useMzYmSw==",
+ "version": "8.46.0",
+ "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.46.0.tgz",
+ "integrity": "sha512-a8TLtmPi8xzPkCbp/OGFUo5yhRkHM2Ko9kOWP4znJr0WAhWyThaw3PnwX4vOTWOAMsV2uRt32PPDcEz63esSaA==",
"dev": true
},
"@humanwhocodes/config-array": {
@@ -412,27 +412,27 @@
"dev": true
},
"eslint": {
- "version": "8.45.0",
- "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.45.0.tgz",
- "integrity": "sha512-pd8KSxiQpdYRfYa9Wufvdoct3ZPQQuVuU5O6scNgMuOMYuxvH0IGaYK0wUFjo4UYYQQCUndlXiMbnxopwvvTiw==",
+ "version": "8.46.0",
+ "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.46.0.tgz",
+ "integrity": "sha512-cIO74PvbW0qU8e0mIvk5IV3ToWdCq5FYG6gWPHHkx6gNdjlbAYvtfHmlCMXxjcoVaIdwy/IAt3+mDkZkfvb2Dg==",
"dev": true,
"requires": {
"@eslint-community/eslint-utils": "^4.2.0",
- "@eslint-community/regexpp": "^4.4.0",
- "@eslint/eslintrc": "^2.1.0",
- "@eslint/js": "8.44.0",
+ "@eslint-community/regexpp": "^4.6.1",
+ "@eslint/eslintrc": "^2.1.1",
+ "@eslint/js": "^8.46.0",
"@humanwhocodes/config-array": "^0.11.10",
"@humanwhocodes/module-importer": "^1.0.1",
"@nodelib/fs.walk": "^1.2.8",
- "ajv": "^6.10.0",
+ "ajv": "^6.12.4",
"chalk": "^4.0.0",
"cross-spawn": "^7.0.2",
"debug": "^4.3.2",
"doctrine": "^3.0.0",
"escape-string-regexp": "^4.0.0",
- "eslint-scope": "^7.2.0",
- "eslint-visitor-keys": "^3.4.1",
- "espree": "^9.6.0",
+ "eslint-scope": "^7.2.2",
+ "eslint-visitor-keys": "^3.4.2",
+ "espree": "^9.6.1",
"esquery": "^1.4.2",
"esutils": "^2.0.2",
"fast-deep-equal": "^3.1.3",
@@ -483,9 +483,9 @@
}
},
"eslint-scope": {
- "version": "7.2.1",
- "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.1.tgz",
- "integrity": "sha512-CvefSOsDdaYYvxChovdrPo/ZGt8d5lrJWleAc1diXRKhHGiTYEI26cvo8Kle/wGnsizoCJjK73FMg1/IkIwiNA==",
+ "version": "7.2.2",
+ "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.2.tgz",
+ "integrity": "sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==",
"dev": true,
"requires": {
"esrecurse": "^4.3.0",
@@ -493,9 +493,9 @@
}
},
"eslint-visitor-keys": {
- "version": "3.4.1",
- "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.1.tgz",
- "integrity": "sha512-pZnmmLwYzf+kWaM/Qgrvpen51upAktaaiI01nsJD/Yr3lMOdNtq0cxkrrg16w64VtisN6okbs7Q8AfGqj4c9fA==",
+ "version": "3.4.2",
+ "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.2.tgz",
+ "integrity": "sha512-8drBzUEyZ2llkpCA67iYrgEssKDUu68V8ChqqOfFupIaG/LCVPUT+CoGJpT77zJprs4T/W7p07LP7zAIMuweVw==",
"dev": true
},
"espree": {
diff --git a/package.json b/package.json
index 470d6ee969..529b6c7d34 100644
--- a/package.json
+++ b/package.json
@@ -27,7 +27,7 @@
"image-size": "^1.0.2"
},
"devDependencies": {
- "eslint": "^8.45.0"
+ "eslint": "^8.46.0"
},
"private": true
}
diff --git a/website/index.ejs b/website/index.ejs
index 0003d77561..40f9a8d423 100644
--- a/website/index.ejs
+++ b/website/index.ejs
@@ -488,6 +488,12 @@
Advanced rendering capabilities. Created by ObviousAlexC.
+
+ <%- banner('Lily/Skins') %>
+
Skins
+
Have your sprites render as other images or costumes. Created by LilyMakesThings.
+
+
<%- banner('obviousAlexC/SensingPlus') %>
Sensing Plus
@@ -524,6 +530,12 @@
Access information about the battery of phones or laptops. May not work on all devices and browsers.
+
+ <%- banner('TheShovel/CustomStyles') %>
+
Custom Styles
+
Customize the appearance of variable monitors and prompts in your project. Created by TheShovel.
+
+
<%- banner('mdwalters/notifications') %>
Notifications
@@ -542,6 +554,12 @@
Encode and decode strings into their unicode numbers, base 64, or URLs. Created by -SIPC-.
+
+ <%- banner('Lily/TempVariables2') %>
+
Temporary Variables
+
Create disposable runtime or thread variables. Created by LilyMakesThings.
+
+
<%- banner('Lily/MoreTimers') %>
More Timers
@@ -584,6 +602,12 @@
A few adapter blocks. Created by TrueFantom.
+
+ <%- banner('Lily/AllMenus') %>
+
All Menus
+
Special category with every menu from every Scratch category and extensions. Created by LilyMakesThings
+
+
<%- banner('Lily/Cast') %>
Cast
@@ -644,12 +668,6 @@
Only render or stamp certain RGB channels.
-
- <%- banner('Lily/TempVariables2') %>
-
Temporary Variables
-
Create disposable runtime or thread variables. Created by LilyMakesThings.
-
-
<%- banner('CST1229/zip') %>
Zip