| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| README.md | 2026-02-27 | 972 Bytes | |
| v1.4.0 source code.tar.gz | 2026-02-27 | 6.1 kB | |
| v1.4.0 source code.zip | 2026-02-27 | 10.6 kB | |
| Totals: 3 Items | 17.7 kB | 0 | |
What's Changed
Bug Fix
crossoriginattribute value corrected: Previously hardcoded to the non-standard string'true'. Now defaults to'anonymous'(per HTML spec) when set totrue, and also accepts explicit string values like'use-credentials'. This is a backwards-compatible fix — existing users withcrossorigin: truewill now get the correctanonymousCORS behavior.
New Feature
fetchPriorityoption (#70, [#73]): Control the priority of the JSONP script request with'high','low', or'auto'. Widely supported in modern browsers (MDN) and safely ignored in unsupported browsers. Thanks to @trudbot!
Chore
- Added
typesfield topackage.jsonso npm correctly shows the TS badge instead of the DT badge (#71). Thanks to @karlhorky!
Full Changelog
https://github.com/camsong/fetch-jsonp/blob/master/HISTORY.md