Files
accd4bfd9d Add ImportAttributes to Standardized and move its parser test fixtures (#17110)
* 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]>
2025-03-21 12:15:46 +01:00

55 lines
1.8 KiB
JSON

{
"type": "File",
"start":0,"end":37,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":37,"index":37}},
"program": {
"type": "Program",
"start":0,"end":37,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":37,"index":37}},
"sourceType": "module",
"interpreter": null,
"body": [
{
"type": "ImportDeclaration",
"start":0,"end":37,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":37,"index":37}},
"specifiers": [],
"source": {
"type": "StringLiteral",
"start":7,"end":12,"loc":{"start":{"line":1,"column":7,"index":7},"end":{"line":1,"column":12,"index":12}},
"extra": {
"rawValue": "foo",
"raw": "\"foo\""
},
"value": "foo"
},
"attributes": [
{
"type": "ImportAttribute",
"start":20,"end":34,"loc":{"start":{"line":1,"column":20,"index":20},"end":{"line":1,"column":34,"index":34}},
"key": {
"type": "StringLiteral",
"start":20,"end":26,"loc":{"start":{"line":1,"column":20,"index":20},"end":{"line":1,"column":26,"index":26}},
"extra": {
"rawValue": "type",
"raw": "\"type\""
},
"value": "type"
},
"value": {
"type": "StringLiteral",
"start":28,"end":34,"loc":{"start":{"line":1,"column":28,"index":28},"end":{"line":1,"column":34,"index":34}},
"extra": {
"rawValue": "json",
"raw": "\"json\""
},
"value": "json"
}
}
]
}
],
"directives": [],
"extra": {
"topLevelAwait": false
}
}
}