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 1.6.0 to 1.6.1

2

dist/cli.js

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

var version = "1.6.0";
var version = "1.6.1";

@@ -52,0 +52,0 @@ var helpMessage = "\nUsage: bunchee [options]\n\nOptions:\n -v, --version output the version number\n -w, --watch watch src files changes\n -m, --minify compress output. false by default\n -o, --output <file> specify output filename\n -f, --format <format> specify bundle type: \"esm\", \"cjs\", \"umd\". \"esm\" by default\n --target <target> build environment, use \"node\" for nodejs runtime\n --no-sourcemap disable sourcemap generation, sourcemap generation is enabled by default\n --cwd <cwd> specify current working directory\n -h, --help output usage information\n";

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

return fs.existsSync(tsconfig) ? tsconfig : undefined;
})(), typescript: resolveTypescript(), jsx: "react", noEmitHelpers: false, importHelpers: false, module: "ES6", target: "ES5", sourceMap: options.sourcemap, declaration: !!typings }, (!!typings && {
})(), typescript: resolveTypescript(), jsx: "react", module: "ES6", target: "ES5", sourceMap: options.sourcemap, declaration: !!typings }, (!!typings && {
declarationDir: path.dirname(path.resolve(cwd, typings)),

@@ -219,6 +219,6 @@ }))),

return rollup.rollup(input).then(function (bundle) {
var wirteJobs = output.map(function (options) {
var writeJobs = output.map(function (options) {
return bundle.write(options);
});
return Promise.all(wirteJobs);
return Promise.all(writeJobs);
}, function (error) {

@@ -225,0 +225,0 @@ if (error === void 0) { error = {}; }

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

@@ -46,3 +46,3 @@ "bin": {

"rollup-plugin-terser": "7.0.2",
"tslib": "2.0.0",
"tslib": "2.3.0",
"typescript": "^3.9.6"

@@ -53,2 +53,5 @@ },

},
"optionalDependencies": {
"typescript": ">= 3.7.0"
},
"devDependencies": {

@@ -55,0 +58,0 @@ "@types/node": "14.14.32",

@@ -76,2 +76,8 @@ # bunchee

By default bunchee includes Typescript v3.9.x inside as a dependency. If you want to use your own version, just install typescript as another dev dependency then bunchee will automatically pick it.
```sh
yarn add -D bunchee typescript
```
This library requires at least [TypeScript 3.7](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-7.html).

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