Socket
Socket
Sign inDemoInstall

@swc/types

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@swc/types - npm Package Compare versions

Comparing version 0.1.4 to 0.1.5

10

index.d.ts

@@ -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

@@ -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 {

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc