lib0 icon indicating copy to clipboard operation
lib0 copied to clipboard

Monorepo of isomorphic utility functions

Results 15 lib0 issues
Sort by recently updated
recently updated
newest added

I ported some parts of lib0 to my open source lib zeed, because I needed some special changes for my usecase. The code is here: https://github.com/holtwick/zeed/tree/master/src/common/bin While doing this, I...

enhancement

**Is your feature request related to a problem? Please describe.** When using an isometric library I prefer them to use functionality from the platform where possible. This uses fromCharCode to...

enhancement

**Describe the bug** The jwt logic assumes `exp` is in ms timestamp format (time.getUnixTime is just Date.now), but the JWT RFC (https://www.rfc-editor.org/rfc/rfc7519#section-4.1.4) states it should be [seconds since epoch](https://www.rfc-editor.org/rfc/rfc7519#page-6), not...

bug

This commit allows decoder users to limit how many characters or array elements they want to decode. Such limits are useful in a server environment because `lib0` synchronously decodes messages....

Fix for issue: https://github.com/dmonad/lib0/issues/88 which also fixes issue https://github.com/yjs/y-redis/issues/25 Changes: * Added getUnixTimeInSeconds() to time.js: returns time since unix epoch in seconds * Fix for verifyJWT in crypto/jwt.js: compare exp...