You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

tsup

Package Overview
Dependencies
Maintainers
1
Versions
197
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 5.12.9 to 6.0.0

dist/chunk-OD2J5DJY.js

4

dist/cli-default.js
#!/usr/bin/env node
"use strict";
var _chunk7E5MLYTUjs = require('./chunk-7E5MLYTU.js');
var _chunkOD2J5DJYjs = require('./chunk-OD2J5DJY.js');

@@ -14,2 +14,2 @@

_chunkQ2NKY6R2js.init_cjs_shims.call(void 0, );
_chunk7E5MLYTUjs.main.call(void 0, ).catch(_chunkS6RUHCSHjs.handleError);
_chunkOD2J5DJYjs.main.call(void 0, ).catch(_chunkS6RUHCSHjs.handleError);
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
var _chunk7E5MLYTUjs = require('./chunk-7E5MLYTU.js');
var _chunkOD2J5DJYjs = require('./chunk-OD2J5DJY.js');
require('./chunk-Q2NKY6R2.js');
exports.main = _chunk7E5MLYTUjs.main;
exports.main = _chunkOD2J5DJYjs.main;
import { BuildOptions, Plugin as Plugin$1, Loader } from 'esbuild';
import { InputOption } from 'rollup';
import { TreeshakingOptions, TreeshakingPreset, InputOption } from 'rollup';
import { RawSourceMap } from 'source-map';

@@ -57,2 +57,4 @@

declare type TreeshakingStrategy = boolean | TreeshakingOptions | TreeshakingPreset;
declare type Format = 'cjs' | 'esm' | 'iife';

@@ -98,3 +100,3 @@ declare type DtsConfig = {

*
* default to `node12`
* default to `node14`
*/

@@ -198,3 +200,3 @@ target?: string | string[];

* Inject cjs and esm shims if needed
* @default {true}
* @default false
*/

@@ -208,2 +210,10 @@ shims?: boolean;

plugins?: Plugin[];
/**
* By default esbuild already does treeshaking
*
* But this option allow you to perform additional treeshaking with Rollup
*
* This can result in smaller bundle size
*/
treeshake?: TreeshakingStrategy;
};

@@ -210,0 +220,0 @@

{
"name": "tsup",
"version": "5.12.9",
"version": "6.0.0",
"main": "dist/index.js",

@@ -86,3 +86,6 @@ "bin": {

}
},
"engines": {
"node": ">=14"
}
}

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc