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.0 to 3.6.1

dist/chunk.-q1AofdP.js

4

dist/index.js

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

var _chunkOFrmEpd6js = require('./chunk.OFrmEpd6.js');
var _chunkq1AofdPjs = require('./chunk.-q1AofdP.js');
require('./chunk.DEUMEOWj.js');

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

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

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

var _chunkOFrmEpd6js = require('./chunk.OFrmEpd6.js');
var _chunkq1AofdPjs = require('./chunk.-q1AofdP.js');
require('./chunk.DEUMEOWj.js');
// node_modules/rollup-plugin-hashbang/node_modules/magic-string/dist/magic-string.es.js
var require_magic_string_es = _chunkOFrmEpd6js.__commonJS.call(void 0, (exports) => {
_chunkOFrmEpd6js.__export.call(void 0, exports, {
var require_magic_string_es = _chunkq1AofdPjs.__commonJS.call(void 0, (exports) => {
_chunkq1AofdPjs.__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 = _chunkOFrmEpd6js.__commonJS.call(void 0, (exports, module) => {
var require_dist = _chunkq1AofdPjs.__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 = _chunkOFrmEpd6js.__toModule.call(void 0, _chunkOFrmEpd6js.require_picomatch.call(void 0, ));
const picomatch = _chunkq1AofdPjs.__toModule.call(void 0, _chunkq1AofdPjs.require_picomatch.call(void 0, ));
var _path = require('path');

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

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

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

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

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

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

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

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

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

@@ -110,2 +110,10 @@ # tsup

### Compile-time environment variables
You can use `--env` flag to define compile-time environment variables:
```bash
tsup src/index.ts --env.NODE_ENV production
```
### Building CLI app

@@ -112,0 +120,0 @@

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