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 6.6.3 to 7.2.0

dist/chunk-52KWB5QB.js

10

dist/cli-default.js
#!/usr/bin/env node
"use strict";
var _chunkLK5S4QIZjs = require('./chunk-LK5S4QIZ.js');
require('./chunk-2RD5DPBZ.js');
var _chunkE33JV7SQjs = require('./chunk-E33JV7SQ.js');
require('./chunk-NSPLMNA4.js');
var _chunkQAQ2Z76Ijs = require('./chunk-QAQ2Z76I.js');
require('./chunk-OSC67C6M.js');
var _chunkGEVDEBBWjs = require('./chunk-GEVDEBBW.js');
require('./chunk-B7UJSB4N.js');
// src/cli-default.ts
_chunkLK5S4QIZjs.main.call(void 0, ).catch(_chunkQAQ2Z76Ijs.handleError);
_chunkE33JV7SQjs.main.call(void 0, ).catch(_chunkGEVDEBBWjs.handleError);
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
var _chunkLK5S4QIZjs = require('./chunk-LK5S4QIZ.js');
require('./chunk-2RD5DPBZ.js');
require('./chunk-OSC67C6M.js');
var _chunkE33JV7SQjs = require('./chunk-E33JV7SQ.js');
require('./chunk-NSPLMNA4.js');
require('./chunk-B7UJSB4N.js');
exports.main = _chunkLK5S4QIZjs.main;
exports.main = _chunkE33JV7SQjs.main;
#!/usr/bin/env node
"use strict";
var _chunkLK5S4QIZjs = require('./chunk-LK5S4QIZ.js');
require('./chunk-2RD5DPBZ.js');
var _chunkE33JV7SQjs = require('./chunk-E33JV7SQ.js');
require('./chunk-NSPLMNA4.js');
var _chunkQAQ2Z76Ijs = require('./chunk-QAQ2Z76I.js');
require('./chunk-OSC67C6M.js');
var _chunkGEVDEBBWjs = require('./chunk-GEVDEBBW.js');
require('./chunk-B7UJSB4N.js');
// src/cli-node.ts
_chunkLK5S4QIZjs.main.call(void 0, {
_chunkE33JV7SQjs.main.call(void 0, {
skipNodeModulesBundle: true
}).catch(_chunkQAQ2Z76Ijs.handleError);
}).catch(_chunkGEVDEBBWjs.handleError);

@@ -5,4 +5,2 @@ import { BuildOptions, Metafile, Plugin as Plugin$1, Loader } from 'esbuild';

type MaybePromise<T> = T | Promise<T>;
/** Mark some properties as required, leaving others unchanged */

@@ -331,2 +329,3 @@ declare type MarkRequired<T, RK extends keyof T> = Exclude<T, RK> & Required<Pick<T, RK>>;

type KILL_SIGNAL = 'SIGKILL' | 'SIGTERM';
type Format = 'cjs' | 'esm' | 'iife';

@@ -341,2 +340,3 @@ type ContextForOutPathGeneration = {

js?: string;
dts?: string;
};

@@ -393,3 +393,3 @@ type OutExtensionFactory = (ctx: ContextForOutPathGeneration) => OutExtensionObject;

*
* default to `node14`
* default to `node16`
*/

@@ -410,3 +410,3 @@ target?: Target | Target[];

outExtension?: OutExtensionFactory;
format?: Format[] | string;
format?: Format[] | Format;
globalName?: string;

@@ -495,3 +495,3 @@ env?: {

*/
injectStyle?: boolean;
injectStyle?: boolean | ((css: string, fileId: string) => string);
/**

@@ -520,2 +520,8 @@ * Inject cjs and esm shims if needed

publicDir?: string | boolean;
killSignal?: KILL_SIGNAL;
/**
* Interop default within `module.exports` in cjs
* @default false
*/
cjsInterop?: boolean;
};

@@ -529,2 +535,4 @@ type NormalizedOptions = Omit<MarkRequired<Options, 'entry' | 'outDir'>, 'dts' | 'format'> & {

type MaybePromise<T> = T | Promise<T>;
declare const defineConfig: (options: Options | Options[] | ((overrideOptions: Options) => MaybePromise<Options | Options[]>)) => Options | Options[] | ((overrideOptions: Options) => MaybePromise<Options | Options[]>);

@@ -531,0 +539,0 @@ declare function build(_options: Options): Promise<void>;

{
"name": "tsup",
"version": "6.6.3",
"version": "7.2.0",
"description": "Bundle your TypeScript library with no config, powered by esbuild",

@@ -35,7 +35,7 @@ "main": "dist/index.js",

"debug": "^4.3.1",
"esbuild": "^0.17.6",
"esbuild": "^0.18.2",
"execa": "^5.0.0",
"globby": "^11.0.3",
"joycon": "^3.0.1",
"postcss-load-config": "^3.0.1",
"postcss-load-config": "^4.0.1",
"resolve-from": "^5.0.0",

@@ -63,11 +63,13 @@ "rollup": "^3.2.5",

"resolve": "1.20.0",
"rollup-plugin-dts": "5.2.0",
"rollup-plugin-hashbang": "2.2.2",
"rollup-plugin-dts": "5.3.0",
"rollup-plugin-hashbang": "3.0.0",
"sass": "1.62.1",
"strip-json-comments": "4.0.0",
"svelte": "3.46.4",
"svelte-preprocess": "5.0.3",
"terser": "^5.16.0",
"ts-essentials": "9.1.2",
"tsconfig-paths": "3.12.0",
"tsup": "6.6.1",
"typescript": "4.9.5",
"tsup": "7.1.0",
"typescript": "5.0.2",
"vitest": "0.28.4",

@@ -79,3 +81,3 @@ "wait-for-expect": "3.0.2"

"postcss": "^8.4.12",
"typescript": "^4.1.0"
"typescript": ">=4.1.0"
},

@@ -94,4 +96,5 @@ "peerDependenciesMeta": {

"engines": {
"node": ">=14.18"
}
"node": ">=16.14"
},
"packageManager": "pnpm@8.6.0"
}

@@ -53,3 +53,3 @@ {

"entry": {
"markdownDescription": "Files that each serve as an input to the bundling algorithm.\n\n---\nReferences:\n- [Entry Points](https://esbuild.github.io/api/#entry-points) - esbuild\n - [Multiple Entrypoints](https://tsup.egoist.sh/#multiple-entrypoints) - tsup",
"markdownDescription": "Files that each serve as an input to the bundling algorithm.\n\n---\nReferences:\n- [Entry Points](https://esbuild.github.io/api/#entry-points) - esbuild\n - [Multiple Entrypoints](https://tsup.egoist.dev/#multiple-entrypoints) - tsup",
"oneOf": [

@@ -56,0 +56,0 @@ {

Sorry, the diff of this file is too big to display

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