@pierre/diffs 1.2.3 → 1.2.4

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.
@@ -9270,7 +9270,7 @@ function l(a$1) {
9270
9270
  }
9271
9271
 
9272
9272
  //#endregion
9273
- //#region ../../node_modules/.bun/regex@6.1.0/node_modules/regex/src/utils-internals.js
9273
+ //#region ../../node_modules/.bun/regex@6.0.1/node_modules/regex/src/utils-internals.js
9274
9274
  const noncapturingDelim = String.raw`\(\?(?:[:=!>A-Za-z\-]|<[=!]|\(DEFINE\))`;
9275
9275
  /**
9276
9276
  Updates the array in place by incrementing each value greater than or equal to the threshold.
@@ -9458,16 +9458,13 @@ function getGroupContents(expression, contentsStartPos) {
9458
9458
  }
9459
9459
 
9460
9460
  //#endregion
9461
- //#region ../../node_modules/.bun/regex@6.1.0/node_modules/regex/src/atomic.js
9462
- /**
9463
- @import {PluginData, PluginResult} from './regex.js';
9464
- */
9461
+ //#region ../../node_modules/.bun/regex@6.0.1/node_modules/regex/src/atomic.js
9465
9462
  const atomicPluginToken = new RegExp(String.raw`(?<noncapturingStart>${noncapturingDelim})|(?<capturingStart>\((?:\?<[^>]+>)?)|\\?.`, "gsu");
9466
9463
  /**
9467
9464
  Apply transformations for atomic groups: `(?>…)`.
9468
9465
  @param {string} expression
9469
- @param {PluginData} [data]
9470
- @returns {Required<PluginResult>}
9466
+ @param {import('./regex.js').PluginData} [data]
9467
+ @returns {Required<import('./regex.js').PluginResult>}
9471
9468
  */
9472
9469
  function atomic(expression, data) {
9473
9470
  const hiddenCaptures = data?.hiddenCaptures ?? [];
@@ -9575,7 +9572,7 @@ Transform posessive quantifiers into atomic groups. The posessessive quantifiers
9575
9572
  This follows Java, PCRE, Perl, and Python.
9576
9573
  Possessive quantifiers in Oniguruma and Onigmo are only: `?+`, `*+`, `++`.
9577
9574
  @param {string} expression
9578
- @returns {PluginResult}
9575
+ @returns {import('./regex.js').PluginResult}
9579
9576
  */
9580
9577
  function possessive(expression) {
9581
9578
  if (!new RegExp(`${baseQuantifier}\\+`).test(expression)) {
@@ -9634,7 +9631,7 @@ function possessive(expression) {
9634
9631
  }
9635
9632
 
9636
9633
  //#endregion
9637
- //#region ../../node_modules/.bun/regex@6.1.0/node_modules/regex/src/subclass.js
9634
+ //#region ../../node_modules/.bun/regex@6.0.1/node_modules/regex/src/subclass.js
9638
9635
  /**
9639
9636
  Works the same as JavaScript's native `RegExp` constructor in all contexts, but automatically
9640
9637
  adjusts subpattern matches and indices (with flag `d`) to account for captures added as part of