mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
* cleanup: move import attribute to core * update babel types artifacts * move import-attributes to es2025 * Update after rebase * Fix yarn.lock --------- Co-authored-by: Nicolò Ribaudo <[email protected]>
137 lines
5.2 KiB
JSON
137 lines
5.2 KiB
JSON
{
|
|
"type": "File",
|
|
"start":0,"end":146,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":4,"column":35,"index":146}},
|
|
"program": {
|
|
"type": "Program",
|
|
"start":0,"end":146,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":4,"column":35,"index":146}},
|
|
"sourceType": "module",
|
|
"interpreter": null,
|
|
"body": [
|
|
{
|
|
"type": "ImportDeclaration",
|
|
"start":0,"end":39,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":39,"index":39}},
|
|
"specifiers": [
|
|
{
|
|
"type": "ImportDefaultSpecifier",
|
|
"start":7,"end":10,"loc":{"start":{"line":1,"column":7,"index":7},"end":{"line":1,"column":10,"index":10}},
|
|
"local": {
|
|
"type": "Identifier",
|
|
"start":7,"end":10,"loc":{"start":{"line":1,"column":7,"index":7},"end":{"line":1,"column":10,"index":10},"identifierName":"foo"},
|
|
"name": "foo"
|
|
}
|
|
},
|
|
{
|
|
"type": "ImportSpecifier",
|
|
"start":14,"end":17,"loc":{"start":{"line":1,"column":14,"index":14},"end":{"line":1,"column":17,"index":17}},
|
|
"imported": {
|
|
"type": "Identifier",
|
|
"start":14,"end":17,"loc":{"start":{"line":1,"column":14,"index":14},"end":{"line":1,"column":17,"index":17},"identifierName":"bar"},
|
|
"name": "bar"
|
|
},
|
|
"local": {
|
|
"type": "Identifier",
|
|
"start":14,"end":17,"loc":{"start":{"line":1,"column":14,"index":14},"end":{"line":1,"column":17,"index":17},"identifierName":"bar"},
|
|
"name": "bar"
|
|
}
|
|
}
|
|
],
|
|
"source": {
|
|
"type": "StringLiteral",
|
|
"start":25,"end":30,"loc":{"start":{"line":1,"column":25,"index":25},"end":{"line":1,"column":30,"index":30}},
|
|
"extra": {
|
|
"rawValue": "foo",
|
|
"raw": "\"foo\""
|
|
},
|
|
"value": "foo"
|
|
},
|
|
"attributes": []
|
|
},
|
|
{
|
|
"type": "ImportDeclaration",
|
|
"start":40,"end":74,"loc":{"start":{"line":2,"column":0,"index":40},"end":{"line":2,"column":34,"index":74}},
|
|
"specifiers": [
|
|
{
|
|
"type": "ImportNamespaceSpecifier",
|
|
"start":47,"end":54,"loc":{"start":{"line":2,"column":7,"index":47},"end":{"line":2,"column":14,"index":54}},
|
|
"local": {
|
|
"type": "Identifier",
|
|
"start":52,"end":54,"loc":{"start":{"line":2,"column":12,"index":52},"end":{"line":2,"column":14,"index":54},"identifierName":"ns"},
|
|
"name": "ns"
|
|
}
|
|
}
|
|
],
|
|
"source": {
|
|
"type": "StringLiteral",
|
|
"start":60,"end":65,"loc":{"start":{"line":2,"column":20,"index":60},"end":{"line":2,"column":25,"index":65}},
|
|
"extra": {
|
|
"rawValue": "foo",
|
|
"raw": "\"foo\""
|
|
},
|
|
"value": "foo"
|
|
},
|
|
"attributes": []
|
|
},
|
|
{
|
|
"type": "ExportNamedDeclaration",
|
|
"start":75,"end":110,"loc":{"start":{"line":3,"column":0,"index":75},"end":{"line":3,"column":35,"index":110}},
|
|
"specifiers": [
|
|
{
|
|
"type": "ExportSpecifier",
|
|
"start":84,"end":88,"loc":{"start":{"line":3,"column":9,"index":84},"end":{"line":3,"column":13,"index":88}},
|
|
"local": {
|
|
"type": "Identifier",
|
|
"start":84,"end":88,"loc":{"start":{"line":3,"column":9,"index":84},"end":{"line":3,"column":13,"index":88},"identifierName":"quux"},
|
|
"name": "quux"
|
|
},
|
|
"exported": {
|
|
"type": "Identifier",
|
|
"start":84,"end":88,"loc":{"start":{"line":3,"column":9,"index":84},"end":{"line":3,"column":13,"index":88},"identifierName":"quux"},
|
|
"name": "quux"
|
|
}
|
|
}
|
|
],
|
|
"source": {
|
|
"type": "StringLiteral",
|
|
"start":96,"end":101,"loc":{"start":{"line":3,"column":21,"index":96},"end":{"line":3,"column":26,"index":101}},
|
|
"extra": {
|
|
"rawValue": "foo",
|
|
"raw": "\"foo\""
|
|
},
|
|
"value": "foo"
|
|
},
|
|
"declaration": null,
|
|
"attributes": []
|
|
},
|
|
{
|
|
"type": "ExportNamedDeclaration",
|
|
"start":111,"end":146,"loc":{"start":{"line":4,"column":0,"index":111},"end":{"line":4,"column":35,"index":146}},
|
|
"specifiers": [
|
|
{
|
|
"type": "ExportNamespaceSpecifier",
|
|
"start":118,"end":126,"loc":{"start":{"line":4,"column":7,"index":118},"end":{"line":4,"column":15,"index":126}},
|
|
"exported": {
|
|
"type": "Identifier",
|
|
"start":123,"end":126,"loc":{"start":{"line":4,"column":12,"index":123},"end":{"line":4,"column":15,"index":126},"identifierName":"ns2"},
|
|
"name": "ns2"
|
|
}
|
|
}
|
|
],
|
|
"source": {
|
|
"type": "StringLiteral",
|
|
"start":132,"end":137,"loc":{"start":{"line":4,"column":21,"index":132},"end":{"line":4,"column":26,"index":137}},
|
|
"extra": {
|
|
"rawValue": "foo",
|
|
"raw": "\"foo\""
|
|
},
|
|
"value": "foo"
|
|
},
|
|
"attributes": []
|
|
}
|
|
],
|
|
"directives": [],
|
|
"extra": {
|
|
"topLevelAwait": false
|
|
}
|
|
}
|
|
}
|