@visulima/string 2.0.4 → 2.0.5

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/dist/slice.js CHANGED
@@ -283,7 +283,7 @@ const processIntoStyledSegments = (input, options) => {
283
283
  position: input.indexOf(style.open),
284
284
  style
285
285
  };
286
- }).filter((item) => item.position >= 0).sort((a, b) => b.position - a.position);
286
+ }).filter((item) => item.position >= 0).toSorted((a, b) => b.position - a.position);
287
287
  for (const item of activeFormatStyles) {
288
288
  if (closingSequences.includes(item.style.close)) {
289
289
  closingParts.push(item.style.close);
package/dist/slugify.js CHANGED
@@ -1,4 +1,4 @@
1
- import transliterate from './packem_shared/transliterate-CUF6Ggy_.js';
1
+ import transliterate from './packem_shared/transliterate-CYnKKT8f.js';
2
2
  import { escapeRegExp } from './utilities.js';
3
3
 
4
4
  const removeDisallowedChars = (input, allowedChars, separator) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@visulima/string",
3
- "version": "2.0.4",
3
+ "version": "2.0.5",
4
4
  "description": "Functions for manipulating strings.",
5
5
  "keywords": [
6
6
  "visulima",