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

bunchee

Package Overview
Dependencies
Maintainers
1
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 1.5.3 to 1.5.4

1

dist/cli.js

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

format: format,
cwd: cwd,
watch: !!watch,

@@ -32,0 +33,0 @@ minify: !!minify,

10

dist/index.js
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
var tslib = require('tslib');
var path = require('path');
var path__default = _interopDefault(path);
var rollup = require('rollup');
var fs = require('fs');
var fs__default = _interopDefault(fs);
var path = require('path');
var path__default = _interopDefault(path);
var commonjs = _interopDefault(require('rollup-plugin-commonjs'));

@@ -47,3 +47,3 @@ var shebang = _interopDefault(require('rollup-plugin-preserve-shebang'));

if (filed === void 0) { filed = 'main'; }
return pkg[filed] || 'dist/index.js';
return path.resolve(config.rootDir, pkg[filed] || 'dist/index.js');
}

@@ -80,3 +80,3 @@ function createInputConfig(entry, pkg, options) {

presets: [
["babel-preset-o", { nodeVersion: process.env.NODE_VERSION || "4.0.0" }]
["babel-preset-o", { targets: {} }]
],

@@ -197,3 +197,3 @@ }),

var watch = _a.watch, cwd = _a.cwd, options = tslib.__rest(_a, ["watch", "cwd"]);
config.rootDir = cwd || config.rootDir;
config.rootDir = path.resolve(process.cwd(), cwd || "");
assignDefault(options, "format", "esm");

@@ -200,0 +200,0 @@ assignDefault(options, "sourcemap", true);

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

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

"@rollup/plugin-json": "4.0.2",
"@rollup/plugin-node-resolve": "8.1.0",
"@rollup/plugin-node-resolve": "11.2.1",
"@rollup/plugin-typescript": "8.2.0",
"babel-preset-o": "0.2.1",
"babel-preset-o": "0.4.1",
"commander": "2.20.3",

@@ -41,0 +41,0 @@ "rollup": "1.32.0",

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