planning
All checks were successful
Publish To Prod / deploy_and_publish (push) Successful in 35s

This commit is contained in:
2024-10-14 09:15:30 +02:00
parent bcba00a730
commit 6e64e138e2
21059 changed files with 2317811 additions and 1 deletions

23
node_modules/@petamoriken/float16/inspect/node.mjs generated vendored Normal file
View File

@@ -0,0 +1,23 @@
/* eslint-env node */
/**
* Custom inspect function for Node.js
*
* ```
* Float16Array.prototype[Symbol.for("nodejs.util.inspect.custom")] = customInspect;
* ```
* @param {number} _deps
* @param {import("node:util").InspectOptions} options
* @param {import("node:util").inspect} inspect
* @returns {string}
*/
export function customInspect(_deps, options, inspect) {
const length = this.length;
const array = [];
for (let i = 0; i < length; ++i) {
array[i] = this[i];
}
return `Float16Array(${length}) ${inspect(array, options)}`;
}