utilium 2.5.5 → 2.5.7

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/requests.js CHANGED
@@ -138,7 +138,7 @@ export async function set(url, data, options, init = {}) {
138
138
  ...init,
139
139
  method,
140
140
  headers,
141
- body: data,
141
+ body: data.buffer instanceof ArrayBuffer ? data : Uint8Array.from(data),
142
142
  }), {}, true);
143
143
  }
144
144
  resource.add(data, offset);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "utilium",
3
- "version": "2.5.5",
3
+ "version": "2.5.7",
4
4
  "description": "Typescript utilities",
5
5
  "funding": {
6
6
  "type": "individual",
@@ -12,8 +12,7 @@
12
12
  "exports": {
13
13
  ".": "./dist/index.js",
14
14
  "./*": "./dist/*",
15
- "./eslint": "./eslint.shared.js",
16
- "./typedoc-no-ref": "./scripts/typedoc-no-ref.js"
15
+ "./eslint": "./eslint.shared.js"
17
16
  },
18
17
  "bin": {
19
18
  "lice": "./scripts/lice.js"
@@ -41,12 +40,12 @@
41
40
  "homepage": "https://github.com/james-pre/utilium#readme",
42
41
  "devDependencies": {
43
42
  "@eslint/js": "^9.12.0",
44
- "@types/node": "^22.18.0",
43
+ "@types/node": "^24.7.0",
45
44
  "eslint": "^9.12.0",
46
45
  "globals": "^15.10.0",
47
46
  "prettier": "^3.2.5",
48
47
  "tsx": "^4.19.1",
49
- "typedoc": "^0.27.6",
48
+ "typedoc": "^0.28.13",
50
49
  "typescript": "^5.7.2",
51
50
  "typescript-eslint": "^8.8.0"
52
51
  },
@@ -1,11 +0,0 @@
1
- // SPDX-License-Identifier: LGPL-3.0-or-later
2
- // Copyright (c) 2025 James Prevett
3
- import { Converter, ReflectionKind } from 'typedoc';
4
-
5
- export function load({ application }) {
6
- application.converter.on(Converter.EVENT_RESOLVE_BEGIN, context => {
7
- for (const reflection of context.project.getReflectionsByKind(ReflectionKind.Reference)) {
8
- context.project.removeReflection(reflection);
9
- }
10
- });
11
- }