Replace Node.js's Buffer with native Typed Arrays on the client-side
Vite does not natively ship a Buffer polyfill and most of the functionality that is required here, can be implemented natively (except for the byte-wise compare, for that I had to write my own function).
This commit is contained in:
		| @@ -13,7 +13,6 @@ | ||||
|     "@msgpack/msgpack": "^3.0.0-beta2", | ||||
|     "@reduxjs/toolkit": "^1.9.3", | ||||
|     "broadcast-channel": "^4.20.2", | ||||
|     "buffer": "^6.0.3", | ||||
|     "comlink": "^4.4.1", | ||||
|     "events": "^3.3.0", | ||||
|     "idb-keyval": "^6.2.0", | ||||
|   | ||||
		Reference in New Issue
	
	Block a user