@nlozgachev/pipelined 0.60.0 → 0.61.0

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/data.cjs CHANGED
@@ -502,7 +502,7 @@ var Arr;
502
502
  if (typeof arr.toSorted === "function") {
503
503
  return arr.toSorted(compare);
504
504
  }
505
- return [...data].toSorted(compare);
505
+ return [...data].sort(compare);
506
506
  };
507
507
  Arr2.sortWith = (ord) => (data) => {
508
508
  const arr = data;
package/dist/data.mjs CHANGED
@@ -469,7 +469,7 @@ var Arr;
469
469
  if (typeof arr.toSorted === "function") {
470
470
  return arr.toSorted(compare);
471
471
  }
472
- return [...data].toSorted(compare);
472
+ return [...data].sort(compare);
473
473
  };
474
474
  Arr2.sortWith = (ord) => (data) => {
475
475
  const arr = data;
package/dist/index.cjs CHANGED
@@ -3380,7 +3380,7 @@ var Arr;
3380
3380
  if (typeof arr.toSorted === "function") {
3381
3381
  return arr.toSorted(compare);
3382
3382
  }
3383
- return [...data].toSorted(compare);
3383
+ return [...data].sort(compare);
3384
3384
  };
3385
3385
  Arr2.sortWith = (ord) => (data) => {
3386
3386
  const arr = data;
package/dist/index.mjs CHANGED
@@ -3292,7 +3292,7 @@ var Arr;
3292
3292
  if (typeof arr.toSorted === "function") {
3293
3293
  return arr.toSorted(compare);
3294
3294
  }
3295
- return [...data].toSorted(compare);
3295
+ return [...data].sort(compare);
3296
3296
  };
3297
3297
  Arr2.sortWith = (ord) => (data) => {
3298
3298
  const arr = data;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nlozgachev/pipelined",
3
- "version": "0.60.0",
3
+ "version": "0.61.0",
4
4
  "description": "Opinionated functional abstractions for TypeScript",
5
5
  "license": "BSD-3-Clause",
6
6
  "homepage": "https://pipelined.lozgachev.dev",
@@ -19,7 +19,7 @@
19
19
  "type": "module",
20
20
  "sideEffects": false,
21
21
  "engines": {
22
- "node": ">=24.19.0"
22
+ "node": ">=18.0.0"
23
23
  },
24
24
  "files": [
25
25
  "dist"
@@ -129,5 +129,5 @@
129
129
  "gzip": true
130
130
  }
131
131
  ],
132
- "packageManager": "pnpm@11.6.0+sha512.9a36518224080c6fe5165afdcfe79bfa118c29be703f3f462b1e32efe1e98e47e8750b148e08286250aad4113cc7993ca413c4e2cd447752708c2ee5751bc95f"
132
+ "packageManager": "pnpm@11.22.0+sha512.1ff870c4c6133dfd88fb2afc46dd13d47f09c9794b438c6fdb47ca98caf3bc16381ee0be93a091b8e3824cf01f889f46d7d9e20910fb0be1ab0fb5baa80dd621"
133
133
  }