Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Path handling improvements and nested worker support #16

Open
wants to merge 29 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
a1ac608
CI and test coverage improvements, dep bump
Silic0nS0ldier May 19, 2021
296161f
Fix for ES modules on Windows
Silic0nS0ldier May 19, 2021
7cc3f97
Partial coverage for non es module workers
Silic0nS0ldier May 20, 2021
eff4e43
Added editorconfig
Silic0nS0ldier May 20, 2021
7762616
todo
Silic0nS0ldier May 20, 2021
ccbb09e
Coverage for common js in workers
Silic0nS0ldier May 20, 2021
2153cf2
Tests for known not working worker creating worker scenario
Silic0nS0ldier May 20, 2021
6b144b2
Limit file protocol usage to es modules only
Silic0nS0ldier May 20, 2021
e7aa535
Correction to worker making worker scenario tests
Silic0nS0ldier May 20, 2021
aa1da21
Support for nested web workers
Silic0nS0ldier May 20, 2021
dc76a3f
Use base64 for more resiliant parsing
Silic0nS0ldier May 20, 2021
c64c407
Windows fixes
Silic0nS0ldier May 20, 2021
6ef3bd4
Bump action versions
Silic0nS0ldier May 21, 2021
e98fae3
Added lockfile for more stable CI builds, updated GH actions
Silic0nS0ldier May 21, 2021
f6e9022
GIT_SSL_NO_VERIFY=true
developit Jun 30, 2021
a8d3835
Update main.yml
developit Jun 30, 2021
e607237
force npm to use git+https
developit Jun 30, 2021
77b0eeb
published the problem package to npm 🤷🏻‍♂️
developit Jun 30, 2021
cd7a626
published the problem package to npm 🤷🏻‍♂️
developit Jun 30, 2021
3cdfe48
Support `require` in CJS data URL
Silic0nS0ldier Jul 5, 2021
33bf66e
Potential fix for NodeJS 16 on Windows timeouts in CI
Silic0nS0ldier Jul 7, 2021
acf35ab
Fix lint path
Silic0nS0ldier Jul 7, 2021
d50936b
Include types in published artefact
Silic0nS0ldier Sep 4, 2021
6a1f02a
Merge remote-tracking branch 'upstream/master'
Silic0nS0ldier Feb 6, 2022
a5921a8
Updated to AVA v4, fixed worker thread nesting conflict
Silic0nS0ldier Feb 6, 2022
86c2bdd
Improve compatibility with existing workers
Silic0nS0ldier Mar 14, 2022
9ee077b
Handle `workerData` being null
Silic0nS0ldier Mar 14, 2022
cd43828
Include NodeJS 18 in test matrix
Silic0nS0ldier Sep 22, 2022
747e4b3
Make tests hopefully more reliable
Silic0nS0ldier Sep 22, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
root = true

[*.js,*.mjs]
indent_style = tab
charset = utf-8
trim_trailing_whitespace = true
end_of_line = lf
13 changes: 7 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,21 @@ on: [push, pull_request]
jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node: [12.x, 13.x]
platform: [ubuntu-latest, windows-latest]
node: [12.x, 14.x, 16.x, 18.x]

runs-on: ${{ matrix.platform }}

steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
- name: npm install, build, and test
run: |
npm install
npm ci
npm run prepare --if-present
npm test
env:
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
node_modules
cjs
package-lock.json
Loading