fix(renamings): Small correction to renaming of Blockly.utils.global (#6599)

It doesn't make any difference in practice to the behaviour
of the renamings script, but this entry in renamings.json5
was slightly mis-specified, and only works properly because
this former module had only a singe export.

Also remove some unnecessary quoting of keywords.
This commit is contained in:
Christopher Allen
2022-11-15 16:56:00 +00:00
committed by GitHub
parent 9292983571
commit 2257b1da19

View File

@@ -1339,8 +1339,13 @@
'9.0.0': [
{
'oldName': 'Blockly.utils.global',
'newPath': 'globalThis',
oldName: 'Blockly.utils.global',
exports: {
globalThis: {
oldPath: 'Blockly.utils.global',
newPath: 'globalThis',
}
}
},
{
oldName: 'Blockly.Dart',
@@ -1366,7 +1371,7 @@
oldName: 'Blockly.Python',
newExport: 'pythonGenerator',
newPath: 'Blockly.Python',
'oldName': 'Blockly.ContextMenuRegistry',
oldName: 'Blockly.ContextMenuRegistry',
exports: {
'ContextMenuRegistry.ScopeType': {
oldPath: 'Blockly.ContextMenuRegistry.ScopeType',
@@ -1396,7 +1401,7 @@
},
},
{
'oldName': 'Blockly.Input',
oldName: 'Blockly.Input',
exports: {
'Input.Align': {
oldPath: 'Blockly.Input.Align',
@@ -1406,7 +1411,7 @@
},
},
{
'oldName': 'Blockly.Names',
oldName: 'Blockly.Names',
exports: {
'Names.NameType': {
oldPath: 'Blockly.Names.NameType',