Socket
Socket
Sign inDemoInstall

bunchee

Package Overview
Dependencies
Maintainers
1
Versions
143
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 2.2.0 to 2.2.1

2

dist/cli.js

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

var version = "2.2.0";
var version = "2.2.1";

@@ -33,0 +33,0 @@ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {

@@ -604,2 +604,3 @@ Object.defineProperty(exports, '__esModule', { value: true });

// Map './lite' -> './lite.[ext]'
// Return undefined if no match or if it's package.json exports
function getSourcePathFromExportPath(cwd, exportPath) {

@@ -669,3 +670,5 @@ var exts = [

if (isSingleEntry) {
entryPath = getSourcePathFromExportPath(config.rootDir, ".");
// Use specified string file path if possible, then fallback to the default behavior entry picking logic
// e.g. "exports": "./dist/index.js" -> use "./index.<ext>" as entry
entryPath = entryPath || getSourcePathFromExportPath(config.rootDir, ".") || "";
}

@@ -672,0 +675,0 @@ bundleOrWatch = function(rollupConfig) {

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

@@ -5,0 +5,0 @@ "bin": {

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