From 2f734f7f17879296188c542d4a06f01902cde53a Mon Sep 17 00:00:00 2001 From: Beka Westberg Date: Fri, 10 Jun 2022 11:20:26 -0700 Subject: [PATCH] chore!: properly add the removal of utils.global to the renamings file. (#6204) * chore!: properly add the removal of utils.global to the renamings file. * fix: add missing commma --- scripts/migration/renamings.json5 | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/scripts/migration/renamings.json5 b/scripts/migration/renamings.json5 index 507d195a3..b1e9ef208 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', + } + ], }