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]>
70 lines
2.4 KiB
JSON
70 lines
2.4 KiB
JSON
{
|
|
"type": "File",
|
|
"start":0,"end":36,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":3,"index":36}},
|
|
"program": {
|
|
"type": "Program",
|
|
"start":0,"end":36,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":3,"index":36}},
|
|
"sourceType": "module",
|
|
"interpreter": null,
|
|
"body": [
|
|
{
|
|
"type": "ImportDeclaration",
|
|
"start":0,"end":32,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":32,"index":32}},
|
|
"specifiers": [],
|
|
"source": {
|
|
"type": "StringLiteral",
|
|
"start":7,"end":10,"loc":{"start":{"line":1,"column":7,"index":7},"end":{"line":1,"column":10,"index":10}},
|
|
"extra": {
|
|
"rawValue": "x",
|
|
"raw": "\"x\""
|
|
},
|
|
"value": "x"
|
|
},
|
|
"attributes": [
|
|
{
|
|
"type": "ImportAttribute",
|
|
"start":18,"end":30,"loc":{"start":{"line":1,"column":18,"index":18},"end":{"line":1,"column":30,"index":30}},
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start":18,"end":22,"loc":{"start":{"line":1,"column":18,"index":18},"end":{"line":1,"column":22,"index":22},"identifierName":"type"},
|
|
"name": "type"
|
|
},
|
|
"value": {
|
|
"type": "StringLiteral",
|
|
"start":24,"end":30,"loc":{"start":{"line":1,"column":24,"index":24},"end":{"line":1,"column":30,"index":30}},
|
|
"extra": {
|
|
"rawValue": "json",
|
|
"raw": "\"json\""
|
|
},
|
|
"value": "json"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start":33,"end":36,"loc":{"start":{"line":2,"column":0,"index":33},"end":{"line":2,"column":3,"index":36}},
|
|
"expression": {
|
|
"type": "ArrayExpression",
|
|
"start":33,"end":36,"loc":{"start":{"line":2,"column":0,"index":33},"end":{"line":2,"column":3,"index":36}},
|
|
"elements": [
|
|
{
|
|
"type": "NumericLiteral",
|
|
"start":34,"end":35,"loc":{"start":{"line":2,"column":1,"index":34},"end":{"line":2,"column":2,"index":35}},
|
|
"extra": {
|
|
"rawValue": 0,
|
|
"raw": "0"
|
|
},
|
|
"value": 0
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"directives": [],
|
|
"extra": {
|
|
"topLevelAwait": false
|
|
}
|
|
}
|
|
}
|