Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@swc/cli

Package Overview
Dependencies
Maintainers
1
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@swc/cli - npm Package Compare versions

Comparing version 0.1.48 to 0.1.49

6

lib/spack/options.js

@@ -42,3 +42,4 @@ "use strict";

_commander.default.option("--mode <development | production | none>", "Mode to use");
_commander.default.option('--context [path]', ` The base directory (absolute path!) for resolving the 'entry'` + ` option. If 'output.pathinfo' is set, the included pathinfo is shortened to this directory`, 'The current directory');
_commander.default.option("--target [browser | node]", "Target runtime environment");
_commander.default.option('--context [path]', `The base directory (absolute path!) for resolving the 'entry'` + ` option. If 'output.pathinfo' is set, the included pathinfo is shortened to this directory`, 'The current directory');
_commander.default.option('--entry [list]', "List of entries", collect);

@@ -184,2 +185,5 @@ // commander.option('-W --watch', `Enter watch mode, which rebuilds on file change.`)

}
if (opts.target) {
configOpts.target = opts.target;
}
if (!configOpts.output) {

@@ -186,0 +190,0 @@ configOpts.output = {

2

package.json
{
"name": "@swc/cli",
"version": "0.1.48",
"version": "0.1.49",
"description": "CLI for the swc project",

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

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