@oliversalzburg/js-utils 0.0.58-dev.1 → 0.0.58-dev.10

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/data/array.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  import { ConstructorOf } from "../core.js";
2
2
  /**
3
3
  * Places the items in the array in random order.
4
+ * The array is shuffled in-place, no copy is created. The returned array is exactly the passed array.
4
5
  * @param array - The array to shuffle.
5
6
  * @typeParam TElements - The type of the elements in the array.
6
7
  * @returns The passed array in random order.
package/data/array.js CHANGED
@@ -1,6 +1,7 @@
1
1
  import { is } from "../nil.js";
2
2
  /**
3
3
  * Places the items in the array in random order.
4
+ * The array is shuffled in-place, no copy is created. The returned array is exactly the passed array.
4
5
  * @param array - The array to shuffle.
5
6
  * @typeParam TElements - The type of the elements in the array.
6
7
  * @returns The passed array in random order.
package/data/array.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"array.js","sourceRoot":"","sources":["../../source/data/array.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAE,MAAM,WAAW,CAAC;AAE/B;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,CAAY,KAAuB,EAAE,EAAE;IACjE,KAAK,IAAI,KAAK,GAAG,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE,KAAK,GAAG,CAAC,EAAE,KAAK,EAAE,EAAE,CAAC;QACtD,MAAM,WAAW,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC;QAC5D,MAAM,IAAI,GAAG,KAAK,CAAC,KAAK,CAAC,CAAC;QAC1B,KAAK,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,WAAW,CAAC,CAAC;QAClC,KAAK,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC;IAC5B,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC,CAAC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AG,IAAI,CAAC;IAC5B,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC,CAAC;AAEF;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,SAAS,GAAG,CAAY,CAAmB,EAAE,CAAmB,EAAE,EAAE;IAC/E,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC;AACtC,CAAC,CAAC;AAEF;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG,CAAY,CAAmB,EAAE,CAAmB,EAAE,EAAE;IAChF,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC;AACvC,CAAC,CAAC;AAEF;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG,CACxB,KAAqB,EACrB,YAAsC,EACtC,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE,CAAC,OAAO,EAAE,YAAY,CAAC,CAAqB,CAAC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@oliversalzburg/js-utils",
4
- "version": "0.0.58-dev.1",
4
+ "version": "0.0.58-dev.10",
5
5
  "license": "MIT",
6
6
  "author": "Oliver Salzburg <oliver.salzburg@gmail.com>",
7
7
  "repository": {
@@ -38,8 +38,8 @@
38
38
  },
39
39
  "types": "./index.d.ts",
40
40
  "devDependencies": {
41
- "@eslint/js": "9.5.0",
42
- "@oliversalzburg/eslint-config": "0.0.12",
41
+ "@eslint/js": "9.6.0",
42
+ "@oliversalzburg/eslint-config": "0.0.15",
43
43
  "@types/chai": "4.3.16",
44
44
  "@types/eslint": "8.56.10",
45
45
  "@types/mocha": "10.0.7",
@@ -47,20 +47,20 @@
47
47
  "@types/web": "0.0.150",
48
48
  "c8": "10.1.2",
49
49
  "chai": "5.1.1",
50
- "eslint": "9.5.0",
50
+ "eslint": "9.6.0",
51
51
  "eslint-config-prettier": "9.1.0",
52
52
  "eslint-plugin-jsdoc": "48.5.0",
53
53
  "eslint-plugin-tsdoc": "0.3.0",
54
- "globals": "15.6.0",
54
+ "globals": "15.7.0",
55
55
  "lint-staged": "15.2.7",
56
- "mocha": "10.5.1",
56
+ "mocha": "10.5.2",
57
57
  "prettier": "3.3.2",
58
58
  "prettier-package-json": "2.8.0",
59
59
  "prettier-plugin-organize-imports": "3.2.4",
60
- "typedoc": "0.26.2",
61
- "typedoc-plugin-mdn-links": "3.2.1",
60
+ "typedoc": "0.26.3",
61
+ "typedoc-plugin-mdn-links": "3.2.2",
62
62
  "typescript": "5.5.2",
63
- "typescript-eslint": "8.0.0-alpha.33"
63
+ "typescript-eslint": "8.0.0-alpha.37"
64
64
  },
65
65
  "engines": {
66
66
  "node": ">=18"