-
Notifications
You must be signed in to change notification settings - Fork 50
Fix NPM shim resolver on Firefox #290
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
Merged
JordanMartinez
merged 7 commits into
purescript:master
from
JordanMartinez:jam/es-module-shims-1.5.9
Jul 21, 2022
Merged
Changes from 3 commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
75b5b61
Update es-module-shims to 1.5.9
JordanMartinez 224c23d
Add changelog entry
JordanMartinez e439bc5
Use development version of import maps
JordanMartinez b7bbb09
Add entry for import maps change
JordanMartinez d0fb1c9
Update release guide
JordanMartinez baf5400
Use production and React 17.0.2
JordanMartinez 5a4ef8d
Merge branch 'master' into jam/es-module-shims-1.5.9
JordanMartinez File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 |
---|---|---|
|
@@ -18,30 +18,31 @@ | |
</script> | ||
<!-- | ||
JSPM Generator Import Map | ||
Edit URL: https://generator.jspm.io/#Y2NnYGCzD80rySzJSU1hSMpM183MK0lNTy1yMNQz0zM1ZEhJTc7MTczRyyp2MDTQM9YzZChKTUwu0U3Jz3UwNNMzxCqiX5xaVJZaBJGAKystzUxxsACaYQQAoBlP83cA | ||
Edit URL: https://generator.jspm.io/#Y2VhYGCzD80rySzJSU1hSMpM183MK0lNTy1yMNQz0zM1ZEhJTc7MTczRyyp2MDTQM9YzZChKTUwu0U3Jz3UwNNMzxCqiX5xaVJZaBJGAKystzUxxsACaYQQAQSdSGncA | ||
--> | ||
<script type="importmap"> | ||
{ | ||
"imports": { | ||
"big-integer": "https://ga.jspm.io/npm:[email protected]/BigInteger.js", | ||
"decimal.js": "https://ga.jspm.io/npm:[email protected]/decimal.js", | ||
"react": "https://ga.jspm.io/npm:[email protected]/index.js", | ||
"react-dom": "https://ga.jspm.io/npm:[email protected]/index.js", | ||
"react-dom/server": "https://ga.jspm.io/npm:[email protected]/server.browser.js", | ||
"react": "https://ga.jspm.io/npm:[email protected]/dev.index.js", | ||
"react-dom": "https://ga.jspm.io/npm:[email protected]/dev.index.js", | ||
"react-dom/server": "https://ga.jspm.io/npm:[email protected]/dev.server.browser.js", | ||
"uuid": "https://ga.jspm.io/npm:[email protected]/dist/esm-browser/index.js" | ||
}, | ||
"scopes": { | ||
"https://ga.jspm.io/": { | ||
"object-assign": "https://ga.jspm.io/npm:[email protected]/index.js", | ||
"react": "https://ga.jspm.io/npm:[email protected]/index.js", | ||
"scheduler": "https://ga.jspm.io/npm:[email protected]/index.js" | ||
"prop-types/checkPropTypes": "https://ga.jspm.io/npm:[email protected]/dev.checkPropTypes.js", | ||
"scheduler": "https://ga.jspm.io/npm:[email protected]/dev.index.js", | ||
"scheduler/tracing": "https://ga.jspm.io/npm:[email protected]/dev.tracing.js" | ||
} | ||
} | ||
} | ||
</script> | ||
|
||
<!-- ES Module Shims: Import maps polyfill for modules browsers without import maps support (all except Chrome 89+) --> | ||
<script async src="https://ga.jspm.io/npm:[email protected].6/dist/es-module-shims.js" integrity="sha384-Zi3OSEiS8YnN0yIdnkInyBlzXCGA18AMnQuPb+T1hXvE4DIDhGIp2QIBZcm4WNIU" crossorigin="anonymous"></script> | ||
<script async src="https://ga.jspm.io/npm:[email protected].9/dist/es-module-shims.js" integrity="sha384-O6YhhDNmwzHXz9VDaEaEtY9rnzCF5Fy+yoxD6StrNyhjwyBrYYOjZkbFRt9zcoGx" crossorigin="anonymous"></script> | ||
|
||
<script src="js/frame.js"></script> | ||
</head> | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder, does bumping the version also fix this? I would think this might need to be in sync with the
purescript-react
purescript-react-basic
libraries which were recently updated to 18 (I'm actually surprised thatcreateRoot
is in thedev
version of16.13.1
).There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like you're right. Bumping the React version to
17.0.2
, the last release before 18, makes it work.