@storm-software/workspace-tools 1.68.10 → 1.68.11

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/workspace-tools",
3
- "version": "1.68.10",
3
+ "version": "1.68.11",
4
4
  "private": false,
5
5
  "description": "⚡ A Nx plugin package that contains various executors and generators used in a Storm workspaces.",
6
6
  "keywords": [
package/src/base/index.js CHANGED
@@ -222474,9 +222474,9 @@ var require_cjs = __commonJS({
222474
222474
  }
222475
222475
  });
222476
222476
 
222477
- // node_modules/.pnpm/ignore@5.3.0/node_modules/ignore/index.js
222477
+ // node_modules/.pnpm/ignore@5.3.1/node_modules/ignore/index.js
222478
222478
  var require_ignore = __commonJS({
222479
- "node_modules/.pnpm/ignore@5.3.0/node_modules/ignore/index.js"(exports2, module2) {
222479
+ "node_modules/.pnpm/ignore@5.3.1/node_modules/ignore/index.js"(exports2, module2) {
222480
222480
  function makeArray(subject) {
222481
222481
  return Array.isArray(subject) ? subject : [subject];
222482
222482
  }
@@ -222507,6 +222507,13 @@ var require_ignore = __commonJS({
222507
222507
  return slashes.slice(0, length - length % 2);
222508
222508
  };
222509
222509
  var REPLACERS = [
222510
+ [
222511
+ // remove BOM
222512
+ // TODO:
222513
+ // Other similar zero-width characters?
222514
+ /^\uFEFF/,
222515
+ () => EMPTY
222516
+ ],
222510
222517
  // > Trailing spaces are ignored unless they are quoted with backslash ("\")
222511
222518
  [
222512
222519
  // (a\ ) -> (a )
@@ -222474,9 +222474,9 @@ var require_cjs = __commonJS({
222474
222474
  }
222475
222475
  });
222476
222476
 
222477
- // node_modules/.pnpm/ignore@5.3.0/node_modules/ignore/index.js
222477
+ // node_modules/.pnpm/ignore@5.3.1/node_modules/ignore/index.js
222478
222478
  var require_ignore = __commonJS({
222479
- "node_modules/.pnpm/ignore@5.3.0/node_modules/ignore/index.js"(exports2, module2) {
222479
+ "node_modules/.pnpm/ignore@5.3.1/node_modules/ignore/index.js"(exports2, module2) {
222480
222480
  function makeArray(subject) {
222481
222481
  return Array.isArray(subject) ? subject : [subject];
222482
222482
  }
@@ -222507,6 +222507,13 @@ var require_ignore = __commonJS({
222507
222507
  return slashes.slice(0, length - length % 2);
222508
222508
  };
222509
222509
  var REPLACERS = [
222510
+ [
222511
+ // remove BOM
222512
+ // TODO:
222513
+ // Other similar zero-width characters?
222514
+ /^\uFEFF/,
222515
+ () => EMPTY
222516
+ ],
222510
222517
  // > Trailing spaces are ignored unless they are quoted with backslash ("\")
222511
222518
  [
222512
222519
  // (a\ ) -> (a )
@@ -222474,9 +222474,9 @@ var require_cjs = __commonJS({
222474
222474
  }
222475
222475
  });
222476
222476
 
222477
- // node_modules/.pnpm/ignore@5.3.0/node_modules/ignore/index.js
222477
+ // node_modules/.pnpm/ignore@5.3.1/node_modules/ignore/index.js
222478
222478
  var require_ignore = __commonJS({
222479
- "node_modules/.pnpm/ignore@5.3.0/node_modules/ignore/index.js"(exports2, module2) {
222479
+ "node_modules/.pnpm/ignore@5.3.1/node_modules/ignore/index.js"(exports2, module2) {
222480
222480
  function makeArray(subject) {
222481
222481
  return Array.isArray(subject) ? subject : [subject];
222482
222482
  }
@@ -222507,6 +222507,13 @@ var require_ignore = __commonJS({
222507
222507
  return slashes.slice(0, length - length % 2);
222508
222508
  };
222509
222509
  var REPLACERS = [
222510
+ [
222511
+ // remove BOM
222512
+ // TODO:
222513
+ // Other similar zero-width characters?
222514
+ /^\uFEFF/,
222515
+ () => EMPTY
222516
+ ],
222510
222517
  // > Trailing spaces are ignored unless they are quoted with backslash ("\")
222511
222518
  [
222512
222519
  // (a\ ) -> (a )
@@ -222474,9 +222474,9 @@ var require_cjs = __commonJS({
222474
222474
  }
222475
222475
  });
222476
222476
 
222477
- // node_modules/.pnpm/ignore@5.3.0/node_modules/ignore/index.js
222477
+ // node_modules/.pnpm/ignore@5.3.1/node_modules/ignore/index.js
222478
222478
  var require_ignore = __commonJS({
222479
- "node_modules/.pnpm/ignore@5.3.0/node_modules/ignore/index.js"(exports2, module2) {
222479
+ "node_modules/.pnpm/ignore@5.3.1/node_modules/ignore/index.js"(exports2, module2) {
222480
222480
  function makeArray(subject) {
222481
222481
  return Array.isArray(subject) ? subject : [subject];
222482
222482
  }
@@ -222507,6 +222507,13 @@ var require_ignore = __commonJS({
222507
222507
  return slashes.slice(0, length - length % 2);
222508
222508
  };
222509
222509
  var REPLACERS = [
222510
+ [
222511
+ // remove BOM
222512
+ // TODO:
222513
+ // Other similar zero-width characters?
222514
+ /^\uFEFF/,
222515
+ () => EMPTY
222516
+ ],
222510
222517
  // > Trailing spaces are ignored unless they are quoted with backslash ("\")
222511
222518
  [
222512
222519
  // (a\ ) -> (a )
@@ -221322,9 +221322,9 @@ var require_package = __commonJS({
221322
221322
  }
221323
221323
  });
221324
221324
 
221325
- // node_modules/.pnpm/lru-cache@10.0.1/node_modules/lru-cache/dist/cjs/index.js
221326
- var require_cjs = __commonJS({
221327
- "node_modules/.pnpm/lru-cache@10.0.1/node_modules/lru-cache/dist/cjs/index.js"(exports2) {
221325
+ // node_modules/.pnpm/lru-cache@10.2.0/node_modules/lru-cache/dist/commonjs/index.js
221326
+ var require_commonjs = __commonJS({
221327
+ "node_modules/.pnpm/lru-cache@10.2.0/node_modules/lru-cache/dist/commonjs/index.js"(exports2) {
221328
221328
  "use strict";
221329
221329
  Object.defineProperty(exports2, "__esModule", { value: true });
221330
221330
  exports2.LRUCache = void 0;
@@ -221696,6 +221696,8 @@ var require_cjs = __commonJS({
221696
221696
  if (ttls[index]) {
221697
221697
  const ttl = ttls[index];
221698
221698
  const start = starts[index];
221699
+ if (!ttl || !start)
221700
+ return;
221699
221701
  status.ttl = ttl;
221700
221702
  status.start = start;
221701
221703
  status.now = cachedNow || getNow();
@@ -221722,14 +221724,16 @@ var require_cjs = __commonJS({
221722
221724
  }
221723
221725
  const ttl = ttls[index];
221724
221726
  const start = starts[index];
221725
- if (ttl === 0 || start === 0) {
221727
+ if (!ttl || !start) {
221726
221728
  return Infinity;
221727
221729
  }
221728
221730
  const age = (cachedNow || getNow()) - start;
221729
221731
  return ttl - age;
221730
221732
  };
221731
221733
  this.#isStale = (index) => {
221732
- return ttls[index] !== 0 && starts[index] !== 0 && (cachedNow || getNow()) - starts[index] > ttls[index];
221734
+ const s = starts[index];
221735
+ const t = ttls[index];
221736
+ return !!t && !!s && (cachedNow || getNow()) - s > t;
221733
221737
  };
221734
221738
  }
221735
221739
  // conditionally set private methods related to TTL
@@ -221913,6 +221917,11 @@ var require_cjs = __commonJS({
221913
221917
  [Symbol.iterator]() {
221914
221918
  return this.entries();
221915
221919
  }
221920
+ /**
221921
+ * A String value that is used in the creation of the default string description of an object.
221922
+ * Called by the built-in method Object.prototype.toString.
221923
+ */
221924
+ [Symbol.toStringTag] = "LRUCache";
221916
221925
  /**
221917
221926
  * Find a value for which the supplied fn method returns a truthy value,
221918
221927
  * similar to Array.find(). fn is called as fn(value, key, cache).
@@ -221970,6 +221979,35 @@ var require_cjs = __commonJS({
221970
221979
  }
221971
221980
  return deleted;
221972
221981
  }
221982
+ /**
221983
+ * Get the extended info about a given entry, to get its value, size, and
221984
+ * TTL info simultaneously. Like {@link LRUCache#dump}, but just for a
221985
+ * single key. Always returns stale values, if their info is found in the
221986
+ * cache, so be sure to check for expired TTLs if relevant.
221987
+ */
221988
+ info(key) {
221989
+ const i = this.#keyMap.get(key);
221990
+ if (i === void 0)
221991
+ return void 0;
221992
+ const v = this.#valList[i];
221993
+ const value = this.#isBackgroundFetch(v) ? v.__staleWhileFetching : v;
221994
+ if (value === void 0)
221995
+ return void 0;
221996
+ const entry = { value };
221997
+ if (this.#ttls && this.#starts) {
221998
+ const ttl = this.#ttls[i];
221999
+ const start = this.#starts[i];
222000
+ if (ttl && start) {
222001
+ const remain = ttl - (perf.now() - start);
222002
+ entry.ttl = remain;
222003
+ entry.start = Date.now();
222004
+ }
222005
+ }
222006
+ if (this.#sizes) {
222007
+ entry.size = this.#sizes[i];
222008
+ }
222009
+ return entry;
222010
+ }
221973
222011
  /**
221974
222012
  * Return an array of [key, {@link LRUCache.Entry}] tuples which can be
221975
222013
  * passed to cache.load()
@@ -222202,10 +222240,11 @@ var require_cjs = __commonJS({
222202
222240
  peek(k, peekOptions = {}) {
222203
222241
  const { allowStale = this.allowStale } = peekOptions;
222204
222242
  const index = this.#keyMap.get(k);
222205
- if (index !== void 0 && (allowStale || !this.#isStale(index))) {
222206
- const v = this.#valList[index];
222207
- return this.#isBackgroundFetch(v) ? v.__staleWhileFetching : v;
222243
+ if (index === void 0 || !allowStale && this.#isStale(index)) {
222244
+ return;
222208
222245
  }
222246
+ const v = this.#valList[index];
222247
+ return this.#isBackgroundFetch(v) ? v.__staleWhileFetching : v;
222209
222248
  }
222210
222249
  #backgroundFetch(k, index, options, context) {
222211
222250
  const v = index === void 0 ? void 0 : this.#valList[index];
@@ -222502,8 +222541,10 @@ var require_cjs = __commonJS({
222502
222541
  } else if (index === this.#head) {
222503
222542
  this.#head = this.#next[index];
222504
222543
  } else {
222505
- this.#next[this.#prev[index]] = this.#next[index];
222506
- this.#prev[this.#next[index]] = this.#prev[index];
222544
+ const pi = this.#prev[index];
222545
+ this.#next[pi] = this.#next[index];
222546
+ const ni = this.#next[index];
222547
+ this.#prev[ni] = this.#prev[index];
222507
222548
  }
222508
222549
  this.#size--;
222509
222550
  this.#free.push(index);
@@ -222882,7 +222923,7 @@ var require_from_url = __commonJS({
222882
222923
  var require_lib5 = __commonJS({
222883
222924
  "node_modules/.pnpm/hosted-git-info@7.0.1/node_modules/hosted-git-info/lib/index.js"(exports2, module2) {
222884
222925
  "use strict";
222885
- var { LRUCache } = require_cjs();
222926
+ var { LRUCache } = require_commonjs();
222886
222927
  var hosts = require_hosts();
222887
222928
  var fromUrl = require_from_url();
222888
222929
  var parseUrl = require_parse_url();