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.6.1 to 3.7.0

dist/chunk.nOzPbfNq.js

4

dist/index.js

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

var _chunkq1AofdPjs = require('./chunk.-q1AofdP.js');
var _chunknOzPbfNqjs = require('./chunk.nOzPbfNq.js');
require('./chunk.DEUMEOWj.js');

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

exports.build = _chunkq1AofdPjs.build; exports.makeLabel = _chunkq1AofdPjs.makeLabel; exports.runEsbuild = _chunkq1AofdPjs.runEsbuild;
exports.build = _chunknOzPbfNqjs.build; exports.makeLabel = _chunknOzPbfNqjs.makeLabel; exports.runEsbuild = _chunknOzPbfNqjs.runEsbuild;

@@ -10,8 +10,8 @@ "use strict";

var _chunkq1AofdPjs = require('./chunk.-q1AofdP.js');
var _chunknOzPbfNqjs = require('./chunk.nOzPbfNq.js');
require('./chunk.DEUMEOWj.js');
// node_modules/rollup-plugin-hashbang/node_modules/magic-string/dist/magic-string.es.js
var require_magic_string_es = _chunkq1AofdPjs.__commonJS.call(void 0, (exports) => {
_chunkq1AofdPjs.__export.call(void 0, exports, {
var require_magic_string_es = _chunknOzPbfNqjs.__commonJS.call(void 0, (exports) => {
_chunknOzPbfNqjs.__export.call(void 0, exports, {
Bundle: () => Bundle2,

@@ -1103,3 +1103,3 @@ default: () => magic_string_es_default2

// node_modules/rollup-plugin-hashbang/dist/index.js
var require_dist = _chunkq1AofdPjs.__commonJS.call(void 0, (exports, module) => {
var require_dist = _chunknOzPbfNqjs.__commonJS.call(void 0, (exports, module) => {
"use strict";

@@ -1224,3 +1224,3 @@ function _interopDefault(ex) {

// node_modules/@rollup/pluginutils/dist/es/index.js
const picomatch = _chunkq1AofdPjs.__toModule.call(void 0, _chunkq1AofdPjs.require_picomatch.call(void 0, ));
const picomatch = _chunknOzPbfNqjs.__toModule.call(void 0, _chunknOzPbfNqjs.require_picomatch.call(void 0, ));
var _path = require('path');

@@ -1395,3 +1395,3 @@ function isArray(arg) {

// src/rollup.ts
const rollup_plugin_hashbang = _chunkq1AofdPjs.__toModule.call(void 0, require_dist());
const rollup_plugin_hashbang = _chunknOzPbfNqjs.__toModule.call(void 0, require_dist());
var _worker_threads = require('worker_threads');

@@ -1430,8 +1430,8 @@ const getRollupConfig = async (options) => {

};
console.log(`${_chunkq1AofdPjs.makeLabel.call(void 0, "dts", "info")} Build start`);
console.log(`${_chunknOzPbfNqjs.makeLabel.call(void 0, "dts", "info")} Build start`);
const bundle = await rollup2(options.inputConfig);
await bundle.write(options.outputConfig);
console.log(`${_chunkq1AofdPjs.makeLabel.call(void 0, "dts", "success")} Build success in ${getDuration()}`);
console.log(`${_chunknOzPbfNqjs.makeLabel.call(void 0, "dts", "success")} Build success in ${getDuration()}`);
} catch (error) {
console.log(`${_chunkq1AofdPjs.makeLabel.call(void 0, "dts", "error")} Build error`);
console.log(`${_chunknOzPbfNqjs.makeLabel.call(void 0, "dts", "error")} Build error`);
_chunkW5E6DS1Sjs.handlError.call(void 0, error);

@@ -1452,7 +1452,7 @@ }

start = Date.now();
console.log(`${_chunkq1AofdPjs.makeLabel.call(void 0, "dts", "info")} Build start`);
console.log(`${_chunknOzPbfNqjs.makeLabel.call(void 0, "dts", "info")} Build start`);
} else if (event.code === "END") {
console.log(`${_chunkq1AofdPjs.makeLabel.call(void 0, "dts", "success")} Build success in ${getDuration()}`);
console.log(`${_chunknOzPbfNqjs.makeLabel.call(void 0, "dts", "success")} Build success in ${getDuration()}`);
} else if (event.code === "ERROR") {
console.log(`${_chunkq1AofdPjs.makeLabel.call(void 0, "dts", "error")} Build error`);
console.log(`${_chunknOzPbfNqjs.makeLabel.call(void 0, "dts", "error")} Build error`);
_chunkW5E6DS1Sjs.handlError.call(void 0, event.error);

@@ -1459,0 +1459,0 @@ }

{
"name": "tsup",
"version": "3.6.1",
"version": "3.7.0",
"main": "dist/index.js",

@@ -27,3 +27,3 @@ "bin": "dist/cli.js",

"resolve-from": "^5.0.0",
"rollup": "^2.23.1",
"rollup": "^2.26.11",
"rollup-plugin-dts": "^1.4.10",

@@ -33,8 +33,8 @@ "sucrase": "^3.15.0"

"devDependencies": {
"@babel/core": "^7.11.1",
"@babel/core": "^7.11.6",
"@rollup/plugin-json": "^4.1.0",
"@types/buble": "^0.19.2",
"@types/fs-extra": "^9.0.1",
"@types/jest": "^26.0.9",
"@types/node": "^14.0.27",
"@types/jest": "^26.0.13",
"@types/node": "^14.10.1",
"@types/resolve": "^1.17.1",

@@ -45,7 +45,7 @@ "buble": "^0.20.0",

"fs-extra": "^9.0.1",
"jest": "^26.3.0",
"prettier": "^2.0.5",
"jest": "^26.4.2",
"prettier": "^2.1.1",
"rollup-plugin-hashbang": "^2.2.2",
"strip-json-comments": "^3.1.1",
"ts-jest": "^26.1.4",
"ts-jest": "^26.3.0",
"tsup": "^3.2.0",

@@ -52,0 +52,0 @@ "typescript": "^3.9.7"

@@ -47,3 +47,3 @@ # tsup

By default tsup bundles all `import`-ed modules but `dependencies` in your `packages.json` are always excluded, you can also use `--external <module>` flag to mark other packages as external.
By default tsup bundles all `import`-ed modules but `dependencies` and `peerDependencies` in your `packages.json` are always excluded, you can also use `--external <module>` flag to mark other packages as external.

@@ -50,0 +50,0 @@ ### Generate declaration file

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