-
Notifications
You must be signed in to change notification settings - Fork 967
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(deps): update dependency msw to v0.47.3 (#6103)
* fix(deps): update dependency msw to v0.44.2 * fix: correct type imports, handle new field prop * chore: upgrade to 0.45.0 * upgrade to v0.47 * chore: dedupe yarn.lock * fix bin proxy * fix: don't import subpath * upgrade to v0.47.3 Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Dominic Saadi <dominiceliassaadi@gmail.com>
- Loading branch information
1 parent
b3a2db9
commit 3b5a839
Showing
5 changed files
with
72 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
#!/usr/bin/env node | ||
import { createRequire } from 'module' | ||
|
||
const requireFromMSW = createRequire(require.resolve('msw/package.json')) | ||
const requireFromMSW = createRequire(require.resolve('msw')) | ||
|
||
const bins = requireFromMSW('./package.json')['bin'] | ||
const bins = requireFromMSW('../package.json')['bin'] | ||
|
||
// Most package.json's list their bins as relative paths, but not MSW. | ||
requireFromMSW(`./${bins['msw']}`) | ||
requireFromMSW(`../${bins['msw']}`) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters