@babel/plugin-proposal-import-attributes-to-assertions
Version:
Transform the Import Attributes proposal (`import ... from '...' with { ... }`) to the previous version known as Import Assertions (`import ... from '...' assert { ... }`).
47 lines • 1.34 kB
JSON
{
"name": "@babel/plugin-proposal-import-attributes-to-assertions",
"version": "7.27.1",
"description": "Transform the Import Attributes proposal (`import ... from '...' with { ... }`) to the previous version known as Import Assertions (`import ... from '...' assert { ... }`).",
"repository": {
"type": "git",
"url": "https://github.com/babel/babel.git",
"directory": "packages/babel-plugin-proposal-import-attributes-to-assertions"
},
"homepage": "https://babel.dev/docs/en/next/babel-plugin-proposal-import-attributes-to-assertions",
"license": "MIT",
"publishConfig": {
"access": "public"
},
"main": "./lib/index.js",
"exports": {
".": {
"types": "./lib/index.d.ts",
"default": "./lib/index.js"
},
"./package.json": "./package.json"
},
"keywords": [
"babel-plugin",
"import",
"attributes",
"assertions",
"proposal",
"stage-3"
],
"dependencies": {
"@babel/helper-plugin-utils": "^7.27.1",
"@babel/plugin-syntax-import-attributes": "^7.27.1"
},
"peerDependencies": {
"@babel/core": "^7.22.0"
},
"devDependencies": {
"@babel/core": "^7.27.1",
"@babel/helper-plugin-test-runner": "^7.27.1"
},
"engines": {
"node": ">=6.9.0"
},
"author": "The Babel Team (https://babel.dev/team)",
"type": "commonjs"
}