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 3.12.1 to 4.0.0

dist/chunk.IN2YIRJO.js

2

dist/cli.js

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

default: "React.Fragment"
}).option("--inlineDynamicImports", "Create a single bundle that inlines dynamic imports").action(async (files, options) => {
}).option("--inlineDynamicImports", "Create a single bundle that inlines dynamic imports").option("--replaceNodeEnv", "Replace process.env.NODE_ENV").action(async (files, options) => {
if (files.length === 0) {

@@ -34,0 +34,0 @@ throw new (0, _chunkG2NS2WYXjs.PrettyError)(`Missing input files, e.g. tsup src/index.ts`);

@@ -37,2 +37,7 @@ import { BuildResult } from 'esbuild';

babel?: boolean;
/**
* Replace `process.env.NODE_ENV` with `production` or `development`
* `production` when the bundled is minified, `development` otherwise
*/
replaceNodeEnv?: boolean;
};

@@ -39,0 +44,0 @@ declare const makeLabel: (input: string, type: 'info' | 'success' | 'error') => string;

@@ -5,3 +5,3 @@ "use strict";Object.defineProperty(exports, "__esModule", {value: true});

var _chunkVLZO66V2js = require('./chunk.VLZO66V2.js');
var _chunkIN2YIRJOjs = require('./chunk.IN2YIRJO.js');
require('./chunk.G2NS2WYX.js');

@@ -12,2 +12,2 @@

exports.build = _chunkVLZO66V2js.build; exports.makeLabel = _chunkVLZO66V2js.makeLabel; exports.runEsbuild = _chunkVLZO66V2js.runEsbuild;
exports.build = _chunkIN2YIRJOjs.build; exports.makeLabel = _chunkIN2YIRJOjs.makeLabel; exports.runEsbuild = _chunkIN2YIRJOjs.runEsbuild;
{
"name": "tsup",
"version": "3.12.1",
"version": "4.0.0",
"main": "dist/index.js",

@@ -22,37 +22,37 @@ "bin": "dist/cli.js",

"dependencies": {
"@rollup/plugin-node-resolve": "^11.1.0",
"@rollup/plugin-node-resolve": "^11.2.0",
"cac": "^6.7.1",
"chalk": "^4.1.0",
"chokidar": "^3.5.1",
"esbuild": "^0.8.34",
"esbuild": "^0.8.46",
"globby": "^11.0.2",
"joycon": "^2.2.5",
"postcss-load-config": "^3.0.0",
"postcss-load-config": "^3.0.1",
"resolve-from": "^5.0.0",
"rollup": "^2.38.0",
"rollup": "^2.39.0",
"rollup-plugin-dts": "^2.0.1",
"sucrase": "^3.17.0"
"sucrase": "^3.17.1"
},
"devDependencies": {
"@babel/core": "^7.12.10",
"@babel/core": "^7.12.16",
"@rollup/plugin-json": "^4.1.0",
"@types/buble": "^0.19.2",
"@types/fs-extra": "^9.0.6",
"@types/fs-extra": "^9.0.7",
"@types/jest": "^26.0.20",
"@types/node": "^14.14.22",
"@types/resolve": "^1.17.1",
"@types/node": "^14.14.28",
"@types/resolve": "^1.19.0",
"buble": "^0.20.0",
"execa": "^4.1.0",
"execa": "^5.0.0",
"fs-extra": "^9.1.0",
"jest": "^26.6.3",
"jju": "^1.4.0",
"postcss": "^8.2.4",
"postcss-simple-vars": "^6.0.2",
"postcss": "^8.2.6",
"postcss-simple-vars": "^6.0.3",
"prettier": "^2.2.1",
"rollup-plugin-hashbang": "^2.2.2",
"strip-json-comments": "^3.1.1",
"ts-jest": "^26.4.4",
"ts-jest": "^26.5.1",
"tsup": "^3.11.0",
"typescript": "^4.1.3"
"typescript": "^4.1.5"
}
}

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