Skip to content

Commit

Permalink
fix: replace importAttributes with deprecatedImportAssert
Browse files Browse the repository at this point in the history
  • Loading branch information
sxzz committed Nov 21, 2024
1 parent dab6c35 commit d819eb5
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions composables/parser/javascript/BabelGui.vue
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ const explicitResourceManagement = usePlugin('explicitResourceManagement')
const exportDefaultFrom = usePlugin('exportDefaultFrom')
const functionBind = usePlugin('functionBind')
const functionSent = usePlugin('functionSent')
const importAttributes = usePlugin('importAttributes')
const deprecatedImportAssert = usePlugin('deprecatedImportAssert')
const importReflection = usePlugin('importReflection')
const moduleBlocks = usePlugin('moduleBlocks')
const optionalChainingAssign = usePlugin('optionalChainingAssign')
Expand Down Expand Up @@ -228,9 +228,8 @@ const throwExpressions = usePlugin('throwExpressions')
<h3 border-t pt1 text-center font-bold>ES Modules</h3>

<label>
<!-- Stage 3 -->
<input v-model="importAttributes" type="checkbox" switch />
<span>importAttributes</span>
<input v-model="deprecatedImportAssert" type="checkbox" switch />
<span>deprecatedImportAssert</span>
</label>

<label>
Expand Down

0 comments on commit d819eb5

Please sign in to comment.