Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: QwikDev/partytown
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.9.1
Choose a base ref
...
head repository: QwikDev/partytown
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.9.2
Choose a head ref
  • 5 commits
  • 15 files changed
  • 3 contributors

Commits on Feb 2, 2024

  1. Copy the full SHA
    fd526cc View commit details

Commits on Feb 4, 2024

  1. Copy the full SHA
    759fc6b View commit details
  2. Copy the full SHA
    1adeef6 View commit details

Commits on Feb 14, 2024

  1. fix: proxy localStorage and sessionStorage (closes #293) (#548)

    In the current implementation, we cache both storages (localStorage and sessionStorage) at the moment of
    worker creation. Although this could be considered as performance optimization, it leads to the
    implementation inconsistency:
    - Storages data leaks into 3rd party script
    - Storages easily go out of sync as there is no proper synchronization with main window setup.
    - One can not override the storage access easily.
    
    For the latter point, this means we can not take on the methods like `localStorage.getItem()` in the
    Partytown proxy methods (specifically in `apply`). Hence there is no way to shield the storage data
    from 3rd party scripts.
    
    In this commit we fully rely on the storage values the main window sends into the worker. As the result,
    we can always receive relevant value and also can override the storage api with `apply` and `get` hooks
    n0th1ng-else authored Feb 14, 2024
    Copy the full SHA
    66db16d View commit details

Commits on Feb 15, 2024

  1. 0.9.2

    gioboa committed Feb 15, 2024
    Copy the full SHA
    1d2efe0 View commit details
Loading