Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf: implement lazy load for eszip entities (#343)
* chore: add `sb_eszip_shared` crate * chore: update and patch dependencies * stamp: prepare to implement lazy load for eszip entities * feat: implement lazy load for eszip entities * refactor: optimize vfs data structure for lazy loading * stamp: add supabase eszip version data * stamp: reduce vfs content specifier key length * stamp: using `rkyv` to serialize/deserialize vfs data instead of `serde_json` * stamp: support for v0 to v1 migration * stamp: vfs data in eszip can be null * stamp: allow partial load when invoking `read_data_section_all` * stamp: source maps should also be loaded * stamp: resolve conflicts * chore: update dependency * fix(sb_graph): rid 1.77.2 clippy lint * chore: update dependencies * stamp: change the mount point for the static files to be relative to the service path and support lazy loading for the static files (1) * stamp(base): update test case scripts * stamp: update example script * stamp: add a new example for `import.meta.dirname` * stamp(base): move test contents into each test directory * stamp(base): add test contents for testing eszip backward compatibility * stamp: expose logs * chore: add dependency * stamp(sb_graph): add unit tests for eszip migration * refactor(base): rework the runtime creation logic with the builder pattern in the test scope * stamp(base): add a unit test that loads the corrupted eszip binary * chore: update dependency * chore: update `Cargo.lock` * stamp: source length could be zero, even if the source map length is non-zero * stamp: set the source map offset correctly
- Loading branch information