diff --git a/scripts/migration/renamings.json5 b/scripts/migration/renamings.json5 index 507d195a308..b1e9ef2088e 100644 --- a/scripts/migration/renamings.json5 +++ b/scripts/migration/renamings.json5 @@ -214,6 +214,11 @@ mouseToSvg: {newModule: 'Blockly.utils.browserEvents'}, }, }, + { + oldName: 'Blockly.utils.global', + newExport: 'globalThis', + newPath: 'Blockly.utils.global', + }, { oldName: 'Blockly.utils.IdGenerator', newName: 'Blockly.utils.idGenerator', @@ -1332,5 +1337,10 @@ }, ], - 'develop': [ ], + 'develop': [ + { + 'oldName': 'Blockly.utils.global', + 'newPath': 'globalThis', + } + ], }