You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: allow version to be a pr-[prnumber] or commit-[commithash] (#745)
* feat: allow version to be a `pkg.pr.new` url
Co-authored-by: Oscar Dominguez <[email protected]>
* fix: move from full url to `ref:[pr|hash]`
* fix: typescript
* chore: mode tarparser.d.ts
* chore: swap `ref:` for `pr-`
* feat: allow version to be `commit-[commithash]
* feat: show error if fetching the `tar` fails
* fix: lint
* bump tarparser
* DRY out
* fix: only use fetched package json if it's available
* move logic into component
* simplify with regex
* trim down a bit
* fix
* more robust error handling
* separate onstatus from onerror
* simplify with regex
* no need to thunkify
* DRY out
* avoid overloading svelteUrl, just use the verison string directly
* use Promise.withResolvers, simplify error handling
* turns out this code doesn't actually do anything - very old versions are already broken and this doesn't fix them. we can deal with that another time if we want to
* use existing FETCH_CACHE
* tidy up
* remove some unused code
* lint
* ugh
---------
Co-authored-by: Oscar Dominguez <[email protected]>
Co-authored-by: Rich Harris <[email protected]>
0 commit comments