Socket
Socket
Sign inDemoInstall

tsup

Package Overview
Dependencies
Maintainers
1
Versions
198
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tsup - npm Package Compare versions

Comparing version 1.4.12 to 1.4.13

18

dist/cli.js

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

default: "es2017"
}).option("--bundle", "Bundle node_modules").option("--dts", "Generate declaration file").option("--watch", "Watch mode").option("--define.* <value>", "Define compile-time constants").option("--external <name>", "Mark specific packages as external (use with --bundle)").option("--module-name <name>", "Module name (with with --format umd)").option("--jsxFactory <jsxFactory>", "Name of JSX factory function", {
}).option("--bundle", "Bundle node_modules").option("--dts", "Generate declaration file").option("--dts-bundle", "Bundle types from node_modules").option("--watch", "Watch mode").option("--define.* <value>", "Define compile-time constants").option("--external <name>", "Mark specific packages as external (use with --bundle)").option("--module-name <name>", "Module name (with with --format umd)").option("--jsxFactory <jsxFactory>", "Name of JSX factory function", {
default: "React.createElement"

@@ -669,17 +669,3 @@ }).option("--jsxFragment <jsxFragment>", "Name of JSX fragment function", {

const {createRollupConfigs, printSizes} = await Promise.resolve().then(function () { return require('./index.js'); });
const rollupConfigs = await createRollupConfigs(files, {
watch: options.watch,
minify: options.minify,
jsxFragment: options.jsxFragment,
jsxFactory: options.jsxFactory,
format: options.format,
target: options.target,
dts: options.dts,
bundle: options.bundle,
outDir: options.outDir,
define: options.define,
external: options.external,
moduleName: options.moduleName,
inlineDynamicImports: options.inlineDynamicImports
});
const rollupConfigs = await createRollupConfigs(files, options);
if (options.watch) {

@@ -686,0 +672,0 @@ const watcher = watch(rollupConfigs.map((config) => __assign(__assign({}, config.inputConfig), {

1

dist/index.d.ts

@@ -8,2 +8,3 @@ import { InputOptions, OutputOptions, ModuleFormat } from 'rollup';

dts?: boolean;
dtsBundle?: boolean;
target?: Target;

@@ -10,0 +11,0 @@ watch?: boolean;

{
"name": "tsup",
"version": "1.4.12",
"version": "1.4.13",
"main": "dist/index.js",

@@ -5,0 +5,0 @@ "bin": "dist/cli.js",

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