Socket
Socket
Sign inDemoInstall

@swc/core

Package Overview
Dependencies
Maintainers
1
Versions
687
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@swc/core - npm Package Compare versions

Comparing version 1.0.25 to 1.0.26

16

lib/index.d.ts

@@ -275,2 +275,5 @@

readonly react?: ReactConfig,
readonly constModules?: ConstModulesConfig;
/**

@@ -318,2 +321,15 @@ * Defaults to null, which skips optimizer pass.

}
/**
* - `import { DEBUG } from '@ember/env-flags';`
* - `import { FEATURE_A, FEATURE_B } from '@ember/features';`
*
* See: https://github.com/swc-project/swc/issues/18#issuecomment-466272558
*/
export interface ConstModulesConfig {
readonly globals?: {
readonly [module: string]: {
readonly [name: string]: string
}
};
}

@@ -320,0 +336,0 @@ export interface OptimizerConfig {

2

package.json
{
"name": "@swc/core",
"version": "1.0.25",
"version": "1.0.26",
"description": "Super-fast alternative for babel",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

Sorry, the diff of this file is not supported yet

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