@storm-software/esbuild 0.52.15 → 0.52.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. package/dist/assets.cjs +6 -6
  2. package/dist/assets.js +5 -5
  3. package/dist/build.cjs +12 -12
  4. package/dist/build.js +11 -11
  5. package/dist/{chunk-MUQOFYB6.cjs → chunk-2LM2EZCT.cjs} +5 -5
  6. package/dist/{chunk-MK4H4WIJ.cjs → chunk-2NHKJ6JO.cjs} +7 -7
  7. package/dist/{chunk-67XPXJX4.js → chunk-3F47E3CC.js} +15 -15
  8. package/dist/{chunk-OVLGTAMB.js → chunk-3K6UVBCV.js} +1 -1
  9. package/dist/{chunk-XIUTBYIK.cjs → chunk-4ZXSQJXL.cjs} +64 -64
  10. package/dist/{chunk-OBCA3XAV.js → chunk-6GWJBSJF.js} +3 -3
  11. package/dist/{chunk-O32NO722.cjs → chunk-AU3V4AYC.cjs} +2 -2
  12. package/dist/{chunk-JSUC37QC.cjs → chunk-BM3ARHU6.cjs} +9 -9
  13. package/dist/{chunk-6XYFWB4B.js → chunk-C4MGG4LT.js} +2 -2
  14. package/dist/{chunk-PCK3ESVJ.cjs → chunk-DDP3HMC4.cjs} +85 -85
  15. package/dist/{chunk-ASY6PY7S.js → chunk-DJJ7B6KP.js} +5 -5
  16. package/dist/{chunk-O222QOIW.js → chunk-E327PFHD.js} +2 -2
  17. package/dist/{chunk-RNYQQ4HZ.js → chunk-E6AGXX4I.js} +2 -2
  18. package/dist/{chunk-WEUZFDUV.js → chunk-EKRBSMUB.js} +7 -7
  19. package/dist/{chunk-EB4HTS47.cjs → chunk-F6D6QQJL.cjs} +18 -18
  20. package/dist/{chunk-HBEOET4R.cjs → chunk-FPIJK3XG.cjs} +5 -5
  21. package/dist/{chunk-ERGPLC4Y.js → chunk-ICZAYSVN.js} +1 -1
  22. package/dist/{chunk-X3NNY4H5.js → chunk-LGPF77OW.js} +4 -4
  23. package/dist/{chunk-TC2HDCLC.cjs → chunk-LL7ITATX.cjs} +22 -22
  24. package/dist/chunk-O53NX6NM.cjs +6 -0
  25. package/dist/{chunk-XKMAROJE.cjs → chunk-T5CODWPI.cjs} +13 -13
  26. package/dist/{chunk-J23Z3PGJ.js → chunk-UIWBVEQL.js} +1 -1
  27. package/dist/{chunk-HU237W3M.cjs → chunk-WWBRFML4.cjs} +2 -2
  28. package/dist/{chunk-6U52C7CW.js → chunk-YFQXPD56.js} +4 -4
  29. package/dist/clean.cjs +4 -4
  30. package/dist/clean.js +3 -3
  31. package/dist/config.cjs +6 -6
  32. package/dist/config.js +5 -5
  33. package/dist/context.cjs +7 -7
  34. package/dist/context.js +6 -6
  35. package/dist/index.cjs +14 -14
  36. package/dist/index.js +12 -12
  37. package/dist/package-json.cjs +6 -6
  38. package/dist/package-json.js +5 -5
  39. package/dist/plugins/deps-check.cjs +6 -6
  40. package/dist/plugins/deps-check.js +2 -2
  41. package/dist/plugins/resolve-paths.cjs +11 -11
  42. package/dist/plugins/resolve-paths.js +2 -2
  43. package/dist/tsup.cjs +5 -5
  44. package/dist/tsup.js +4 -4
  45. package/dist/types.cjs +2 -2
  46. package/dist/types.js +2 -2
  47. package/dist/watch.cjs +6 -6
  48. package/dist/watch.js +2 -2
  49. package/package.json +4 -4
  50. package/dist/chunk-S544LLV4.cjs +0 -6
@@ -1,14 +1,14 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
2
2
 
3
3
 
4
- var _chunkJSUC37QCcjs = require('../chunk-JSUC37QC.cjs');
4
+ var _chunkBM3ARHU6cjs = require('../chunk-BM3ARHU6.cjs');
5
5
 
6
6
 
7
7
 
8
- var _chunkHU237W3Mcjs = require('../chunk-HU237W3M.cjs');
8
+ var _chunkWWBRFML4cjs = require('../chunk-WWBRFML4.cjs');
9
9
 
10
10
  // src/plugins/deps-check.ts
11
- _chunkHU237W3Mcjs.init_cjs_shims.call(void 0, );
11
+ _chunkWWBRFML4cjs.init_cjs_shims.call(void 0, );
12
12
  var _module = require('module');
13
13
  var _path = require('path'); var _path2 = _interopRequireDefault(_path);
14
14
  var unusedIgnore = [
@@ -40,7 +40,7 @@ var depsCheckPlugin = (bundle) => ({
40
40
  name: "storm:deps-check",
41
41
  setup(build) {
42
42
  const pkgJsonPath = _path2.default.join(process.cwd(), "package.json");
43
- const pkgContents = _chunkHU237W3Mcjs.__require.call(void 0, pkgJsonPath);
43
+ const pkgContents = _chunkWWBRFML4cjs.__require.call(void 0, pkgJsonPath);
44
44
  const regDependencies = Object.keys(_nullishCoalesce(pkgContents["dependencies"], () => ( {})));
45
45
  const devDependencies = Object.keys(_nullishCoalesce(pkgContents["devDependencies"], () => ( {})));
46
46
  const peerDependencies = Object.keys(_nullishCoalesce(pkgContents["peerDependencies"], () => ( {})));
@@ -75,10 +75,10 @@ var depsCheckPlugin = (bundle) => ({
75
75
  const filteredMissingDeps = missingDependencies.filter((dep) => {
76
76
  return !missingIgnore.some((pattern) => dep.match(pattern)) && !peerDependencies.includes(dep);
77
77
  });
78
- _chunkJSUC37QCcjs.writeWarning.call(void 0,
78
+ _chunkBM3ARHU6cjs.writeWarning.call(void 0,
79
79
  `Unused Dependencies: ${JSON.stringify(filteredUnusedDeps)}`
80
80
  );
81
- _chunkJSUC37QCcjs.writeError.call(void 0,
81
+ _chunkBM3ARHU6cjs.writeError.call(void 0,
82
82
  `Missing Dependencies: ${JSON.stringify(filteredMissingDeps)}`
83
83
  );
84
84
  if (filteredMissingDeps.length > 0) {
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  writeError,
3
3
  writeWarning
4
- } from "../chunk-ERGPLC4Y.js";
4
+ } from "../chunk-ICZAYSVN.js";
5
5
  import {
6
6
  __require,
7
7
  init_esm_shims
8
- } from "../chunk-O222QOIW.js";
8
+ } from "../chunk-E327PFHD.js";
9
9
 
10
10
  // src/plugins/deps-check.ts
11
11
  init_esm_shims();
@@ -1,19 +1,19 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); 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; }
2
2
 
3
3
 
4
- var _chunkO32NO722cjs = require('../chunk-O32NO722.cjs');
4
+ var _chunkAU3V4AYCcjs = require('../chunk-AU3V4AYC.cjs');
5
5
 
6
6
 
7
7
 
8
- var _chunkHU237W3Mcjs = require('../chunk-HU237W3M.cjs');
8
+ var _chunkWWBRFML4cjs = require('../chunk-WWBRFML4.cjs');
9
9
 
10
10
  // src/plugins/resolve-paths.ts
11
- _chunkHU237W3Mcjs.init_cjs_shims.call(void 0, );
11
+ _chunkWWBRFML4cjs.init_cjs_shims.call(void 0, );
12
12
 
13
13
  // ../config-tools/src/utilities/file-path-utils.ts
14
- _chunkHU237W3Mcjs.init_cjs_shims.call(void 0, );
14
+ _chunkWWBRFML4cjs.init_cjs_shims.call(void 0, );
15
15
  function findFileName(filePath, { requireExtension, withExtension } = {}) {
16
- const result = _nullishCoalesce(_optionalChain([_chunkO32NO722cjs.normalizeWindowsPath.call(void 0, filePath), 'optionalAccess', _ => _.split, 'call', _2 => _2(_optionalChain([filePath, 'optionalAccess', _3 => _3.includes, 'call', _4 => _4("\\")]) ? "\\" : "/"), 'optionalAccess', _5 => _5.pop, 'call', _6 => _6()]), () => ( ""));
16
+ const result = _nullishCoalesce(_optionalChain([_chunkAU3V4AYCcjs.normalizeWindowsPath.call(void 0, filePath), 'optionalAccess', _ => _.split, 'call', _2 => _2(_optionalChain([filePath, 'optionalAccess', _3 => _3.includes, 'call', _4 => _4("\\")]) ? "\\" : "/"), 'optionalAccess', _5 => _5.pop, 'call', _6 => _6()]), () => ( ""));
17
17
  if (requireExtension === true && !result.includes(".")) {
18
18
  return "";
19
19
  }
@@ -23,7 +23,7 @@ function findFileName(filePath, { requireExtension, withExtension } = {}) {
23
23
  return result;
24
24
  }
25
25
  function findFilePath(filePath) {
26
- const normalizedPath = _chunkO32NO722cjs.normalizeWindowsPath.call(void 0, filePath);
26
+ const normalizedPath = _chunkAU3V4AYCcjs.normalizeWindowsPath.call(void 0, filePath);
27
27
  return normalizedPath.replace(
28
28
  findFileName(normalizedPath, { requireExtension: true }),
29
29
  ""
@@ -42,10 +42,10 @@ function resolvePathsConfig(options, cwd, projectRoot) {
42
42
  }
43
43
  if (options.extends) {
44
44
  const extendsPath = _path2.default.resolve(
45
- projectRoot ? _chunkO32NO722cjs.joinPaths.call(void 0, cwd, projectRoot, options.extends) : _chunkO32NO722cjs.joinPaths.call(void 0, cwd, options.extends)
45
+ projectRoot ? _chunkAU3V4AYCcjs.joinPaths.call(void 0, cwd, projectRoot, options.extends) : _chunkAU3V4AYCcjs.joinPaths.call(void 0, cwd, options.extends)
46
46
  );
47
47
  const extendsDir = _path2.default.dirname(extendsPath);
48
- const extendsConfig = _chunkHU237W3Mcjs.__require.call(void 0, extendsPath);
48
+ const extendsConfig = _chunkWWBRFML4cjs.__require.call(void 0, extendsPath);
49
49
  return resolvePathsConfig(extendsConfig, extendsDir);
50
50
  }
51
51
  return [];
@@ -53,13 +53,13 @@ function resolvePathsConfig(options, cwd, projectRoot) {
53
53
  var resolvePathsPlugin = (context) => ({
54
54
  name: "storm:resolve-paths",
55
55
  setup(build) {
56
- const parentTsConfig = build.initialOptions.tsconfig ? _chunkHU237W3Mcjs.__require.call(void 0, _chunkO32NO722cjs.joinPaths.call(void 0,
56
+ const parentTsConfig = build.initialOptions.tsconfig ? _chunkWWBRFML4cjs.__require.call(void 0, _chunkAU3V4AYCcjs.joinPaths.call(void 0,
57
57
  context.workspaceConfig.workspaceRoot,
58
58
  build.initialOptions.tsconfig.replace(
59
59
  context.workspaceConfig.workspaceRoot,
60
60
  ""
61
61
  )
62
- )) : _chunkHU237W3Mcjs.__require.call(void 0, _chunkO32NO722cjs.joinPaths.call(void 0, context.workspaceConfig.workspaceRoot, "tsconfig.json"));
62
+ )) : _chunkWWBRFML4cjs.__require.call(void 0, _chunkAU3V4AYCcjs.joinPaths.call(void 0, context.workspaceConfig.workspaceRoot, "tsconfig.json"));
63
63
  const resolvedTsPaths = resolvePathsConfig(
64
64
  parentTsConfig,
65
65
  context.workspaceConfig.workspaceRoot,
@@ -76,7 +76,7 @@ var resolvePathsPlugin = (context) => ({
76
76
  if (resolvedPath.endsWith(".ts") || resolvedPath.endsWith(".tsx")) {
77
77
  resolvedPath = findFilePath(resolvedPath);
78
78
  }
79
- return { path: _chunkO32NO722cjs.joinPaths.call(void 0, resolvedPath, "index.ts") };
79
+ return { path: _chunkAU3V4AYCcjs.joinPaths.call(void 0, resolvedPath, "index.ts") };
80
80
  });
81
81
  }
82
82
  });
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  joinPaths,
3
3
  normalizeWindowsPath
4
- } from "../chunk-OVLGTAMB.js";
4
+ } from "../chunk-3K6UVBCV.js";
5
5
  import {
6
6
  __require,
7
7
  init_esm_shims
8
- } from "../chunk-O222QOIW.js";
8
+ } from "../chunk-E327PFHD.js";
9
9
 
10
10
  // src/plugins/resolve-paths.ts
11
11
  init_esm_shims();
package/dist/tsup.cjs CHANGED
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkXIUTBYIKcjs = require('./chunk-XIUTBYIK.cjs');
4
- require('./chunk-O32NO722.cjs');
5
- require('./chunk-JSUC37QC.cjs');
6
- require('./chunk-HU237W3M.cjs');
3
+ var _chunk4ZXSQJXLcjs = require('./chunk-4ZXSQJXL.cjs');
4
+ require('./chunk-AU3V4AYC.cjs');
5
+ require('./chunk-BM3ARHU6.cjs');
6
+ require('./chunk-WWBRFML4.cjs');
7
7
 
8
8
 
9
- exports.executeTsup = _chunkXIUTBYIKcjs.executeTsup;
9
+ exports.executeTsup = _chunk4ZXSQJXLcjs.executeTsup;
package/dist/tsup.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  executeTsup
3
- } from "./chunk-67XPXJX4.js";
4
- import "./chunk-OVLGTAMB.js";
5
- import "./chunk-ERGPLC4Y.js";
6
- import "./chunk-O222QOIW.js";
3
+ } from "./chunk-3F47E3CC.js";
4
+ import "./chunk-3K6UVBCV.js";
5
+ import "./chunk-ICZAYSVN.js";
6
+ import "./chunk-E327PFHD.js";
7
7
  export {
8
8
  executeTsup
9
9
  };
package/dist/types.cjs CHANGED
@@ -1,2 +1,2 @@
1
- "use strict";require('./chunk-S544LLV4.cjs');
2
- require('./chunk-HU237W3M.cjs');
1
+ "use strict";require('./chunk-O53NX6NM.cjs');
2
+ require('./chunk-WWBRFML4.cjs');
package/dist/types.js CHANGED
@@ -1,2 +1,2 @@
1
- import "./chunk-J23Z3PGJ.js";
2
- import "./chunk-O222QOIW.js";
1
+ import "./chunk-UIWBVEQL.js";
2
+ import "./chunk-E327PFHD.js";
package/dist/watch.cjs CHANGED
@@ -1,18 +1,18 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); 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; }
2
2
 
3
3
 
4
- var _chunkJSUC37QCcjs = require('./chunk-JSUC37QC.cjs');
4
+ var _chunkBM3ARHU6cjs = require('./chunk-BM3ARHU6.cjs');
5
5
 
6
6
 
7
- var _chunkHU237W3Mcjs = require('./chunk-HU237W3M.cjs');
7
+ var _chunkWWBRFML4cjs = require('./chunk-WWBRFML4.cjs');
8
8
 
9
9
  // src/watch.ts
10
- _chunkHU237W3Mcjs.init_cjs_shims.call(void 0, );
10
+ _chunkWWBRFML4cjs.init_cjs_shims.call(void 0, );
11
11
  var _chokidar = require('chokidar');
12
12
  var _estoolkit = require('es-toolkit');
13
13
 
14
14
  // src/utilities/helpers.ts
15
- _chunkHU237W3Mcjs.init_cjs_shims.call(void 0, );
15
+ _chunkWWBRFML4cjs.init_cjs_shims.call(void 0, );
16
16
  function handleSync(fn) {
17
17
  try {
18
18
  return fn();
@@ -92,9 +92,9 @@ var watch = (context, options) => {
92
92
  return context.rebuild();
93
93
  });
94
94
  if (rebuildResult instanceof Error) {
95
- _chunkJSUC37QCcjs.writeError.call(void 0, rebuildResult.message);
95
+ _chunkBM3ARHU6cjs.writeError.call(void 0, rebuildResult.message);
96
96
  }
97
- _chunkJSUC37QCcjs.writeTrace.call(void 0, `${Date.now() - timeBefore}ms [${_nullishCoalesce(options.name, () => ( ""))}]`);
97
+ _chunkBM3ARHU6cjs.writeTrace.call(void 0, `${Date.now() - timeBefore}ms [${_nullishCoalesce(options.name, () => ( ""))}]`);
98
98
  }, 10);
99
99
  changeWatcher.on("change", fastRebuild);
100
100
  return void 0;
package/dist/watch.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  writeError,
3
3
  writeTrace
4
- } from "./chunk-ERGPLC4Y.js";
4
+ } from "./chunk-ICZAYSVN.js";
5
5
  import {
6
6
  init_esm_shims
7
- } from "./chunk-O222QOIW.js";
7
+ } from "./chunk-E327PFHD.js";
8
8
 
9
9
  // src/watch.ts
10
10
  init_esm_shims();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/esbuild",
3
- "version": "0.52.15",
3
+ "version": "0.52.16",
4
4
  "type": "module",
5
5
  "description": "A package containing `esbuild` utilities for building Storm Software libraries and applications",
6
6
  "repository": {
@@ -187,8 +187,8 @@
187
187
  "@nx/devkit": "^21.4.1",
188
188
  "@nx/js": "^21.4.1",
189
189
  "@storm-software/build-tools": "^0.157.3",
190
- "@storm-software/config": "^1.133.5",
191
- "@storm-software/config-tools": "^1.187.10",
190
+ "@storm-software/config": "^1.133.6",
191
+ "@storm-software/config-tools": "^1.187.11",
192
192
  "chokidar": "^4.0.3",
193
193
  "commander": "^12.1.0",
194
194
  "defu": "6.1.4",
@@ -204,5 +204,5 @@
204
204
  },
205
205
  "publishConfig": { "access": "public" },
206
206
  "sideEffects": false,
207
- "gitHead": "ff77233e5189516cebce6ade530d67f202d151f3"
207
+ "gitHead": "98ec25abe75a19e5d92b532a339ac62cda9bc92d"
208
208
  }
@@ -1,6 +0,0 @@
1
- "use strict";
2
-
3
- var _chunkHU237W3Mcjs = require('./chunk-HU237W3M.cjs');
4
-
5
- // src/types.ts
6
- _chunkHU237W3Mcjs.init_cjs_shims.call(void 0, );