@xylabs/buffer 5.0.95 → 5.0.96

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.
Files changed (2) hide show
  1. package/README.md +43 -63
  2. package/package.json +6 -9
package/README.md CHANGED
@@ -1,40 +1,54 @@
1
1
  # @xylabs/buffer
2
2
 
3
- [![logo][]](https://xylabs.com)
3
+ [![npm][npm-badge]][npm-link]
4
+ [![license][license-badge]][license-link]
4
5
 
5
- [![main-build][]][main-build-link]
6
- [![npm-badge][]][npm-link]
7
- [![npm-downloads-badge][]][npm-link]
8
- [![jsdelivr-badge][]][jsdelivr-link]
9
- [![npm-license-badge][]](LICENSE)
10
- [![codacy-badge][]][codacy-link]
11
- [![codeclimate-badge][]][codeclimate-link]
12
- [![snyk-badge][]][snyk-link]
13
- [![socket-badge][]][socket-link]
6
+ > Base functionality used throughout XY Labs TypeScript/JavaScript libraries
14
7
 
8
+ ## Install
15
9
 
16
- Base functionality used throughout XY Labs TypeScript/JavaScript libraries
10
+ Using npm:
17
11
 
12
+ ```sh
13
+ npm install {{name}}
14
+ ```
18
15
 
16
+ Using yarn:
19
17
 
20
- ## Reference
18
+ ```sh
19
+ yarn add {{name}}
20
+ ```
21
21
 
22
- **@xylabs/buffer**
22
+ Using pnpm:
23
23
 
24
- ***
24
+ ```sh
25
+ pnpm add {{name}}
26
+ ```
27
+
28
+ Using bun:
29
+
30
+ ```sh
31
+ bun add {{name}}
32
+ ```
33
+
34
+
35
+ ## License
36
+
37
+ See the [LICENSE](LICENSE) file for license rights and limitations (LGPL-3.0-only).
38
+
39
+ ## Reference
25
40
 
26
- ## Modules
41
+ ### packages
27
42
 
28
- | Module | Description |
29
- | ------ | ------ |
30
- | [index-browser](#index-browser/README) | - |
31
- | [index-node](#index-node/README) | - |
43
+ ### buffer
32
44
 
33
- ### index-browser
45
+ ### .temp-typedoc
34
46
 
35
- ### variables
47
+ ### index-browser
36
48
 
37
- ### <a id="Buffer"></a>Buffer
49
+ ### variables
50
+
51
+ ### <a id="Buffer"></a>Buffer
38
52
 
39
53
  [**@xylabs/buffer**](#../../README)
40
54
 
@@ -44,7 +58,7 @@ Base functionality used throughout XY Labs TypeScript/JavaScript libraries
44
58
  const Buffer: typeof Buffer;
45
59
  ```
46
60
 
47
- ### <a id="bufferPolyfill"></a>bufferPolyfill
61
+ ### <a id="bufferPolyfill"></a>bufferPolyfill
48
62
 
49
63
  [**@xylabs/buffer**](#../../README)
50
64
 
@@ -60,11 +74,11 @@ Polyfills `globalThis.Buffer` with the browser-compatible Buffer implementation
60
74
 
61
75
  `void`
62
76
 
63
- ### index-node
77
+ ### index-node
64
78
 
65
- ### variables
79
+ ### variables
66
80
 
67
- ### <a id="Buffer"></a>Buffer
81
+ ### <a id="Buffer"></a>Buffer
68
82
 
69
83
  [**@xylabs/buffer**](#../../README)
70
84
 
@@ -74,7 +88,7 @@ Polyfills `globalThis.Buffer` with the browser-compatible Buffer implementation
74
88
  const Buffer: BufferConstructor;
75
89
  ```
76
90
 
77
- ### <a id="bufferPolyfill"></a>bufferPolyfill
91
+ ### <a id="bufferPolyfill"></a>bufferPolyfill
78
92
 
79
93
  [**@xylabs/buffer**](#../../README)
80
94
 
@@ -91,41 +105,7 @@ No-op polyfill for Node.js, where Buffer is already available globally.
91
105
  `void`
92
106
 
93
107
 
94
- Part of [sdk-js](https://www.npmjs.com/package/@xyo-network/sdk-js)
95
-
96
- ## Maintainers
97
-
98
- - [Arie Trouw](https://github.com/arietrouw) ([arietrouw.com](https://arietrouw.com))
99
- - [Matt Jones](https://github.com/jonesmac)
100
- - [Joel Carter](https://github.com/JoelBCarter)
101
- - [Jordan Trouw](https://github.com/jordantrouw)
102
-
103
- ## License
104
-
105
- > See the [LICENSE](LICENSE) file for license details
106
-
107
- ## Credits
108
-
109
- [Made with 🔥 and ❄️ by XYLabs](https://xylabs.com)
110
-
111
- [logo]: https://cdn.xy.company/img/brand/XYPersistentCompany_Logo_Icon_Colored.svg
112
-
113
- [main-build]: https://github.com/xylabs/sdk-js/actions/workflows/build.yml/badge.svg
114
- [main-build-link]: https://github.com/xylabs/sdk-js/actions/workflows/build.yml
115
108
  [npm-badge]: https://img.shields.io/npm/v/@xylabs/buffer.svg
116
109
  [npm-link]: https://www.npmjs.com/package/@xylabs/buffer
117
- [codacy-badge]: https://app.codacy.com/project/badge/Grade/c8e15e14f37741c18cfb47ac7245c698
118
- [codacy-link]: https://www.codacy.com/gh/xylabs/sdk-js/dashboard?utm_source=github.com&utm_medium=referral&utm_content=xylabs/sdk-js&utm_campaign=Badge_Grade
119
- [codeclimate-badge]: https://api.codeclimate.com/v1/badges/c5eb068f806f0b047ea7/maintainability
120
- [codeclimate-link]: https://codeclimate.com/github/xylabs/sdk-js/maintainability
121
- [snyk-badge]: https://snyk.io/test/github/xylabs/sdk-js/badge.svg?targetFile=package.json
122
- [snyk-link]: https://snyk.io/test/github/xylabs/sdk-js?targetFile=package.json
123
-
124
- [npm-downloads-badge]: https://img.shields.io/npm/dw/@xylabs/buffer
125
- [npm-license-badge]: https://img.shields.io/npm/l/@xylabs/buffer
126
-
127
- [jsdelivr-badge]: https://data.jsdelivr.com/v1/package/npm/@xylabs/buffer/badge
128
- [jsdelivr-link]: https://www.jsdelivr.com/package/npm/@xylabs/buffer
129
-
130
- [socket-badge]: https://socket.dev/api/badge/npm/package/@xylabs/buffer
131
- [socket-link]: https://socket.dev/npm/package/@xylabs/buffer
110
+ [license-badge]: https://img.shields.io/npm/l/@xylabs/buffer.svg
111
+ [license-link]: https://github.com/xylabs/sdk-js/blob/main/LICENSE
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xylabs/buffer",
3
- "version": "5.0.95",
3
+ "version": "5.0.96",
4
4
  "description": "Base functionality used throughout XY Labs TypeScript/JavaScript libraries",
5
5
  "keywords": [
6
6
  "buffer",
@@ -33,12 +33,10 @@
33
33
  "types": "./dist/browser/index-browser.d.ts",
34
34
  "default": "./dist/browser/index-browser.mjs"
35
35
  },
36
- "import": "./dist/node/index-node.mjs",
37
36
  "default": "./dist/node/index-node.mjs"
38
37
  },
39
38
  "./package.json": "./package.json"
40
39
  },
41
- "types": "./dist/node/index-node.d.ts",
42
40
  "files": [
43
41
  "dist",
44
42
  "!**/*.bench.*",
@@ -50,14 +48,13 @@
50
48
  "buffer": "~6.0.3"
51
49
  },
52
50
  "devDependencies": {
53
- "@types/node": "^25.5.2",
54
- "@xylabs/ts-scripts-common": "~7.8.4",
55
- "@xylabs/ts-scripts-pnpm": "~7.8.4",
56
- "@xylabs/tsconfig": "~7.8.4",
51
+ "@types/node": "^25.6.0",
52
+ "@xylabs/toolchain": "~7.10.4",
53
+ "@xylabs/tsconfig": "~7.10.4",
57
54
  "esbuild": "^0.28.0",
58
55
  "typescript": "^5",
59
- "vite": "^8.0.5",
60
- "vitest": "^4.1.2"
56
+ "vite": "^8.0.8",
57
+ "vitest": "^4.1.4"
61
58
  },
62
59
  "engines": {
63
60
  "node": ">=18"