@swc/types
Advanced tools
Comparing version 0.1.4 to 0.1.5
@@ -457,4 +457,12 @@ export interface Plugin { | ||
optimizeHygiene?: boolean; | ||
keepImportAssertions?: boolean; | ||
/** | ||
* Preserve `with` in imports and exports. | ||
*/ | ||
keepImportAttributes?: boolean; | ||
/** | ||
* Use `assert` instead of `with` for imports and exports. | ||
* This option only works when `keepImportAttributes` is `true`. | ||
*/ | ||
emitAssertForImportAttributes?: boolean; | ||
/** | ||
* Specify the location where SWC stores its intermediate cache files. | ||
@@ -461,0 +469,0 @@ * Currently only transform plugin uses this. If not specified, SWC will |
21
index.ts
@@ -320,3 +320,3 @@ export interface Plugin { | ||
export interface TerserManglePropertiesOptions {} | ||
export interface TerserManglePropertiesOptions { } | ||
@@ -600,4 +600,17 @@ /** | ||
optimizeHygiene?: boolean; | ||
keepImportAssertions?: boolean; | ||
/** | ||
* Preserve `with` in imports and exports. | ||
*/ | ||
keepImportAttributes?: boolean; | ||
/** | ||
* Use `assert` instead of `with` for imports and exports. | ||
* This option only works when `keepImportAttributes` is `true`. | ||
*/ | ||
emitAssertForImportAttributes?: boolean; | ||
/** | ||
* Specify the location where SWC stores its intermediate cache files. | ||
@@ -1079,3 +1092,3 @@ * Currently only transform plugin uses this. If not specified, SWC will | ||
export interface MatchPattern {} | ||
export interface MatchPattern { } | ||
@@ -1312,3 +1325,3 @@ // ------------------------------- | ||
interface ExpressionBase extends Node, HasSpan {} | ||
interface ExpressionBase extends Node, HasSpan { } | ||
@@ -1315,0 +1328,0 @@ export interface Identifier extends ExpressionBase { |
{ | ||
"name": "@swc/types", | ||
"version": "0.1.4", | ||
"version": "0.1.5", | ||
"description": "Typings for the swc project.", | ||
@@ -5,0 +5,0 @@ "sideEffects": false, |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
183984
4164