New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

tsup

Package Overview
Dependencies
Maintainers
0
Versions
201
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 8.3.5 to 8.3.6

dist/chunk-R3P2Q4VY.js

6

dist/cli-default.js
#!/usr/bin/env node
"use strict";
var _chunkSNM7IVOJjs = require('./chunk-SNM7IVOJ.js');
require('./chunk-TWGB4FYO.js');
var _chunkR3P2Q4VYjs = require('./chunk-R3P2Q4VY.js');
require('./chunk-WKJCGGZA.js');

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

// src/cli-default.ts
_chunkSNM7IVOJjs.main.call(void 0, ).catch(_chunkJZ25TPTYjs.handleError);
_chunkR3P2Q4VYjs.main.call(void 0, ).catch(_chunkJZ25TPTYjs.handleError);
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
var _chunkSNM7IVOJjs = require('./chunk-SNM7IVOJ.js');
require('./chunk-TWGB4FYO.js');
var _chunkR3P2Q4VYjs = require('./chunk-R3P2Q4VY.js');
require('./chunk-WKJCGGZA.js');
require('./chunk-TWFEYLU4.js');
exports.main = _chunkSNM7IVOJjs.main;
exports.main = _chunkR3P2Q4VYjs.main;
#!/usr/bin/env node
"use strict";
var _chunkSNM7IVOJjs = require('./chunk-SNM7IVOJ.js');
require('./chunk-TWGB4FYO.js');
var _chunkR3P2Q4VYjs = require('./chunk-R3P2Q4VY.js');
require('./chunk-WKJCGGZA.js');

@@ -12,4 +12,4 @@

// src/cli-node.ts
_chunkSNM7IVOJjs.main.call(void 0, {
_chunkR3P2Q4VYjs.main.call(void 0, {
skipNodeModulesBundle: true
}).catch(_chunkJZ25TPTYjs.handleError);
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; } var _class;
var _chunkTWGB4FYOjs = require('./chunk-TWGB4FYO.js');
var _chunkWKJCGGZAjs = require('./chunk-WKJCGGZA.js');

@@ -1495,3 +1495,3 @@

const options = await normalizeOptions(logger3, item, _options);
logger3.info("CLI", `tsup v${_chunkTWGB4FYOjs.version}`);
logger3.info("CLI", `tsup v${_chunkWKJCGGZAjs.version}`);
if (config.path) {

@@ -1639,6 +1639,7 @@ logger3.info("CLI", `Using tsup config: ${config.path}`);

});
await onSuccessProcess;
if (onSuccessProcess.exitCode && onSuccessProcess.exitCode !== 0) {
process.exitCode = onSuccessProcess.exitCode;
}
_optionalChain([onSuccessProcess, 'access', _37 => _37.process, 'optionalAccess', _38 => _38.on, 'call', _39 => _39("exit", (code) => {
if (code && code !== 0) {
process.exitCode = code;
}
})]);
}

@@ -1645,0 +1646,0 @@ }

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

@@ -90,3 +90,3 @@ "license": "MIT",

"scripts": {
"dev": "pnpm run build-fast -- --watch",
"dev": "pnpm run build-fast --watch",
"build": "tsup src/cli-*.ts src/index.ts src/rollup.ts --clean --splitting",

@@ -96,5 +96,5 @@ "test": "pnpm run build && pnpm run test-only",

"test-only": "vitest run",
"build-fast": "pnpm run build -- --no-dts",
"build-fast": "pnpm run build --no-dts",
"release": "bumpp"
}
}
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