File tree Expand file tree Collapse file tree 3 files changed +106
-413
lines changed
src/librustdoc/html/static/js Expand file tree Collapse file tree 3 files changed +106
-413
lines changed Original file line number Diff line number Diff line change 11{
22 "dependencies" : {
33 "browser-ui-test" : " ^0.22.2" ,
4- "es-check" : " ^6.2.1 " ,
4+ "es-check" : " ^9.4.4 " ,
55 "eslint" : " ^8.57.1" ,
66 "typescript" : " ^5.8.3"
7- },
8- "devDependencies" : {
9- "@types/node" : " ^24.10.0"
107 }
118}
Original file line number Diff line number Diff line change @@ -2282,7 +2282,7 @@ function loadDatabase(hooks) {
22822282 */
22832283 class InlineNeighborsTree {
22842284 /**
2285- * @param {Uint8Array } encoded
2285+ * @param {Uint8Array<ArrayBuffer> } encoded
22862286 * @param {number } start
22872287 */
22882288 constructor (
@@ -2654,7 +2654,7 @@ function loadDatabase(hooks) {
26542654
26552655 /**
26562656 * @param {string } inputBase64
2657- * @returns {[Uint8Array, SearchTree] }
2657+ * @returns {[Uint8Array<ArrayBuffer> , SearchTree] }
26582658 */
26592659 function makeSearchTreeFromBase64 ( inputBase64 ) {
26602660 const input = makeUint8ArrayFromBase64 ( inputBase64 ) ;
@@ -3305,7 +3305,7 @@ if (typeof window !== "undefined") {
33053305// eslint-disable-next-line max-len
33063306// polyfill https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array/fromBase64
33073307/**
3308- * @type {function(string): Uint8Array } base64
3308+ * @type {function(string): Uint8Array<ArrayBuffer> } base64
33093309 */
33103310//@ts -expect-error
33113311const makeUint8ArrayFromBase64 = Uint8Array . fromBase64 ? Uint8Array . fromBase64 : ( string => {
@@ -3318,7 +3318,7 @@ const makeUint8ArrayFromBase64 = Uint8Array.fromBase64 ? Uint8Array.fromBase64 :
33183318 return bytes ;
33193319} ) ;
33203320/**
3321- * @type {function(string): Uint8Array } base64
3321+ * @type {function(string): Uint8Array<ArrayBuffer> } base64
33223322 */
33233323//@ts -expect-error
33243324const makeUint8ArrayFromHex = Uint8Array . fromHex ? Uint8Array . fromHex : ( string => {
You can’t perform that action at this time.
0 commit comments