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: developit/web-worker
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 1.2.0
Choose a base ref
...
head repository: developit/web-worker
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 1.3.0
Choose a head ref
  • 9 commits
  • 5 files changed
  • 4 contributors

Commits on Jan 4, 2024

  1. Configuration menu
    Copy the full SHA
    683e5f4 View commit details
    Browse the repository at this point in the history
  2. Add Bun support (#43)

    This adds a `"bun"` package.json `"exports"` condition which loads the browser build in Bun.
    
    Bun implements the [Web API `Worker` natively](https://bun.sh/docs/api/workers), and Bun's `node:worker_threads` implementation internally wraps the Web API `Worker`.  
    
    `web-worker` currently loads the polyfills for Node in Bun (since we must recognize the `"node"` package.json `"exports"` condition for compatibility). 
    
    This has actually been pretty helpful for catching bugs in our `node:worker_threads` implementation, but it'd be better to use the native implementation instead of wrapping the native implementation in another wrapper (`node:worker_threads`) in another wrapper (`web-worker`)
    
    Co-authored-by: Jason Miller <developit@users.noreply.github.com>
    Jarred-Sumner and developit authored Jan 4, 2024
    Configuration menu
    Copy the full SHA
    fe7acab View commit details
    Browse the repository at this point in the history
  3. update deps

    developit committed Jan 4, 2024
    Configuration menu
    Copy the full SHA
    f29b2bb View commit details
    Browse the repository at this point in the history
  4. commit lockfile

    developit committed Jan 4, 2024
    Configuration menu
    Copy the full SHA
    d7a9974 View commit details
    Browse the repository at this point in the history
  5. update gh actions

    developit committed Jan 4, 2024
    Configuration menu
    Copy the full SHA
    b63294c View commit details
    Browse the repository at this point in the history
  6. yaml sucks

    developit committed Jan 4, 2024
    Configuration menu
    Copy the full SHA
    cb40773 View commit details
    Browse the repository at this point in the history
  7. tweak deps

    developit committed Jan 4, 2024
    Configuration menu
    Copy the full SHA
    96c8ba7 View commit details
    Browse the repository at this point in the history
  8. wut

    developit committed Jan 4, 2024
    Configuration menu
    Copy the full SHA
    d537757 View commit details
    Browse the repository at this point in the history
  9. 1.3.0

    developit committed Jan 4, 2024
    Configuration menu
    Copy the full SHA
    b89a392 View commit details
    Browse the repository at this point in the history
Loading