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

bunchee

Package Overview
Dependencies
Maintainers
0
Versions
147
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bunchee - npm Package Compare versions

Comparing version 5.3.2 to 5.4.0

11

dist/bin/cli.js

@@ -473,3 +473,3 @@ #!/usr/bin/env node

var version = "5.3.2";
var version = "5.4.0";

@@ -925,2 +925,3 @@ function relativify(path) {

--tsconfig path to tsconfig file, default: tsconfig.json
--dts-bundle bundle type declaration files, default: false
`;

@@ -957,2 +958,3 @@ function help() {

'--tsconfig': String,
'--dts-bundle': Boolean,
'-h': '--help',

@@ -978,2 +980,3 @@ '-v': '--version',

dts: args['--no-dts'] ? false : undefined,
dtsBundle: args['--dts-bundle'],
help: args['--help'],

@@ -993,7 +996,9 @@ version: args['--version'],

var _args_external;
const { source, format, watch, minify, sourcemap, target, runtime, dts, env, clean, tsconfig } = args;
const { source, format, watch, minify, sourcemap, target, runtime, dts, dtsBundle, env, clean, tsconfig } = args;
const cwd = args.cwd || process.cwd();
const file = args.file ? path__default.default.resolve(cwd, args.file) : undefined;
const bundleConfig = {
dts,
dts: dts !== false && {
respectExternal: dtsBundle ? true : undefined
},
file,

@@ -1000,0 +1005,0 @@ format,

@@ -17,3 +17,5 @@ import { JscTarget } from '@swc/types';

env?: string[];
dts?: boolean;
dts?: {
respectExternal?: boolean;
} | false;
runtime?: string;

@@ -20,0 +22,0 @@ pkg?: PackageMetadata;

{
"name": "bunchee",
"version": "5.3.2",
"version": "5.4.0",
"description": "zero config bundler for js/ts/jsx libraries",

@@ -45,3 +45,3 @@ "bin": "./dist/bin/cli.js",

"@rollup/pluginutils": "^5.1.0",
"@swc/core": "^1.6.1",
"@swc/core": "^1.7.14",
"@swc/helpers": "^0.5.11",

@@ -53,3 +53,3 @@ "arg": "^5.0.2",

"pretty-bytes": "^5.6.0",
"rollup": "^4.19.1",
"rollup": "^4.19.2",
"rollup-plugin-dts": "^6.1.1",

@@ -56,0 +56,0 @@ "rollup-plugin-swc3": "^0.11.1",

@@ -329,2 +329,3 @@ # bunchee

- TSConfig (`--tsconfig <path>`): Specify the path to the TypeScript configuration file. (default: `tsconfig.json`)
- Bundle Types (`--dts-bundle`): Bundle type declaration files. (default: `false`)

@@ -331,0 +332,0 @@ ```sh

Sorry, the diff of this file is too big to display

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