Skip to content

Commit

Permalink
Lock brotli-wasm ver and add default to exports for drop-in replacement
Browse files Browse the repository at this point in the history
  • Loading branch information
myl7 committed Oct 20, 2023
1 parent f457e66 commit 2df535c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
uses: actions/checkout@v3
with:
repository: httptoolkit/brotli-wasm
# ref: v1.3.1
ref: v2.0.1
path: test/brotli-wasm
- name: Modify brotli-wasm for tests
run: |
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@
"exports": {
".": {
"import": "./index.js",
"types": "./index.d.ts"
"types": "./index.d.ts",
"default": "./index.js"
},
"./sync": {
"import": "./sync.js",
Expand Down

0 comments on commit 2df535c

Please sign in to comment.