Repository navigation
Merge upstream v8.31.2 (promise-based preload) into the fork #6
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
Closed
lewiscasewell
wants to merge
229
commits into
phantom:main
from
lewiscasewell:lewis-c/ge-4380-merge-upstream-8.31.2
Closed
Changes from all commits
Commits
Show all changes
229 commits
Select commit
Hold shift + click to select a range
234eb50
ci: stage npm releases with trusted publishing [skip ci]
DylanVann 57f6a2b
fix(ios): prevent tintColor crash on zero-size images (#1082)
SamPeterberg 8f671cd
release(version): Release 8.6.4 [skip ci]
semantic-release-bot 01d58da
chore(example): upgrade example app to React Native 0.87 [skip ci]
DylanVann 01f5ea1
chore(example): add React Native 0.73 legacy architecture example [sk…
DylanVann 5a074ec
fix(types): base ImageStyle on ViewStyle (#1086)
DylanVann 93e0b05
release(version): Release 8.6.5 [skip ci]
semantic-release-bot 068fcb7
fix(ios): draw tinted images with UIGraphicsImageRenderer (#1087)
DylanVann 118564a
release(version): Release 8.6.6 [skip ci]
semantic-release-bot 8a1a7d7
fix(ios): don't crash when an event handler is removed after loading …
DylanVann cf9ebfc
release(version): Release 8.6.7 [skip ci]
semantic-release-bot 02cce2f
chore: use Node 24 for development [skip ci] (#1089)
DylanVann 99f2e71
chore: add local verification of both example apps [skip ci] (#1090)
DylanVann a1f247f
fix: don't crash on a defaultSource without a source, or a preload wi…
DylanVann 2c8d171
release(version): Release 8.6.8 [skip ci]
semantic-release-bot bc195e8
fix: allow React 19 as a peer dependency (#1092)
DylanVann ebae2c2
release(version): Release 8.6.9 [skip ci]
semantic-release-bot 2d257c0
fix(types): export the Cache type (#1093)
DylanVann e61aec7
release(version): Release 8.6.10 [skip ci]
semantic-release-bot 820770b
fix(types): add target to the onLoad event (#1094)
DylanVann b19b52a
release(version): Release 8.6.11 [skip ci]
semantic-release-bot 77d6c2d
fix: report onLayout from the wrapper view (#1095)
DylanVann 84baa77
release(version): Release 8.6.12 [skip ci]
semantic-release-bot 322a9c6
docs: fix README links and describe priority [skip ci] (#1096)
DylanVann 9284b54
fix(android): set the namespace in build.gradle (#1097)
DylanVann e68c621
release(version): Release 8.6.13 [skip ci]
semantic-release-bot 92d6a5c
fix(ios): remove the tint when tintColor is cleared (#1098)
DylanVann 1b95a6e
release(version): Release 8.6.14 [skip ci]
semantic-release-bot 53c5bc7
fix(android): don't crash preloading a uri that can't be resolved (#1…
DylanVann 5b46860
release(version): Release 8.6.15 [skip ci]
semantic-release-bot 57c1068
fix: don't crash as a Touchable's direct child on iOS (#1100)
DylanVann 7541aeb
release(version): Release 8.6.16 [skip ci]
semantic-release-bot eadb9aa
fix: load require()d images with fallback (#1101)
DylanVann 33479a5
release(version): Release 8.6.17 [skip ci]
semantic-release-bot 65d4724
fix(android): unwrap the view's context to the ReactContext (#1103)
DylanVann d55d312
release(version): Release 8.6.18 [skip ci]
semantic-release-bot c2d50ae
fix(ios): read the progress handler on the main queue (#1102)
DylanVann 1d53b8b
release(version): Release 8.6.19 [skip ci]
semantic-release-bot 59ed002
fix(types): use ColorValue for colors in ImageStyle (#1104)
DylanVann 3c31158
release(version): Release 8.6.20 [skip ci]
semantic-release-bot 25f3ae6
ci: run one release at a time [skip ci] (#1112)
DylanVann 4e35e49
fix: use tintColor from style (#1106)
DylanVann 85d9429
release(version): Release 8.6.21 [skip ci]
semantic-release-bot 9651f22
fix: size fallback images to fill FastImage (#1107)
DylanVann 042421e
release(version): Release 8.6.22 [skip ci]
semantic-release-bot 548cabe
fix: apply pointerEvents to FastImage's wrapper view (#1105)
DylanVann 29cab12
release(version): Release 8.6.23 [skip ci]
semantic-release-bot 9ab4e3b
fix(android): report sources without a uri and show defaultSource (#1…
DylanVann 0d4c8c2
release(version): Release 8.6.24 [skip ci]
semantic-release-bot 12c0d80
fix(android): load images when the view isn't in an Activity (#1110)
DylanVann 13e2cd4
release(version): Release 8.6.25 [skip ci]
semantic-release-bot adedfac
fix(android): avoid excessive reloading on prop updates (#1108)
DylanVann 2f5d9a1
release(version): Release 8.6.26 [skip ci]
semantic-release-bot 98db0b4
fix(android): stop tracking a view's previous url when its source cha…
DylanVann 47721f0
release(version): Release 8.6.27 [skip ci]
semantic-release-bot bcf43e3
chore: stop leftover processes when verify.mts exits [skip ci] (#1113)
DylanVann 094c75e
fix(ios): send onLoadStart once when source and onLoadStart are set t…
DylanVann 9c75c28
release(version): Release 8.6.28 [skip ci]
semantic-release-bot 50293be
chore: switch to oxfmt and oxlint [skip ci]
DylanVann 33ae01c
chore: use Bun as the package manager and script runner [skip ci]
DylanVann 608459e
test: serve the example's images from a local server [skip ci]
DylanVann e49e947
fix(ios): send preload headers only with that image's request (#1118)
DylanVann 3ad7c84
release(version): Release 8.6.29 [skip ci]
semantic-release-bot 4931a9c
fix(android): load asset:/ uris (#1119)
DylanVann c006049
release(version): Release 8.6.30 [skip ci]
semantic-release-bot f584f7c
fix(android): declare the Glide annotations dependency (#1120)
DylanVann cf3f76f
release(version): Release 8.6.31 [skip ci]
semantic-release-bot 334c6b3
chore: replace dv-scripts and publish from an approved release enviro…
DylanVann 49f1b97
test: run the unit tests with Bun (#1123) [skip ci]
DylanVann 38ea8e8
fix(android): load 0×0 images on the legacy architecture (#1122)
DylanVann f0173a1
release(version): Release 8.6.32 [skip ci]
semantic-release-bot 53b936a
fix(android): report the image's own size in onLoad (#1124)
DylanVann 2fa4d97
release(version): Release 8.6.33 [skip ci]
semantic-release-bot ad0f382
chore: normalize the repository url in package.json (#1130) [skip ci]
DylanVann 26259a9
fix(android): send events through React Native's event dispatcher (#1…
DylanVann f4d6e24
release(version): Release 8.6.34 [skip ci]
semantic-release-bot 3a09bfb
fix(android): keep each view's own Glide request manager (#1125)
DylanVann 58bb64d
release(version): Release 8.6.35 [skip ci]
semantic-release-bot 2af0619
fix(ios): fire onError for a data: uri that isn't an image (#1126)
DylanVann 3853b80
release(version): Release 8.6.36 [skip ci]
semantic-release-bot e77c816
fix(android): play GIFs as many times as the file says (#1127)
DylanVann 541a0eb
release(version): Release 8.6.37 [skip ci]
semantic-release-bot 96c7eea
fix(android): cache images loaded with cache web (#1129)
DylanVann 2f486cf
release(version): Release 8.6.38 [skip ci]
semantic-release-bot 3c75cb3
fix: don't send onProgress when the total size is unknown (#1134)
DylanVann ddbb51a
release(version): Release 8.6.39 [skip ci]
semantic-release-bot 02257d6
fix(ios): allow newer SDWebImage versions (#1136)
DylanVann 82417a4
release(version): Release 8.6.40 [skip ci]
semantic-release-bot ab645ea
fix(android): send the app's cookies with image requests (#1138)
DylanVann 018dba2
release(version): Release 8.6.41 [skip ci]
semantic-release-bot 9d3e408
fix(ios): finish images that were loading when the app went to the ba…
DylanVann 9ad4485
release(version): Release 8.6.42 [skip ci]
semantic-release-bot ba0d51f
chore(verify): let one run at a time use the devices, across checkout…
DylanVann 5c8ada8
chore(verify): record the flows with --record on devices of their own…
DylanVann b4547f8
fix(ios): scale images larger than the view down with resizeMode cent…
DylanVann af8a65b
release(version): Release 8.6.43 [skip ci]
semantic-release-bot e5f6c06
chore(example): patch React Native 0.73 to only build recursive acces…
DylanVann 4631b92
test: select regression cases by testID in the Maestro flow [skip ci]
DylanVann 0e49e03
feat: resolve preload with a result for each source (#1133)
DylanVann e871bc7
release(version): Release 8.7.0 [skip ci]
semantic-release-bot 4ae925a
feat: keep the previous image while a new source loads, and add recyc…
DylanVann e8fed35
release(version): Release 8.8.0 [skip ci]
semantic-release-bot c5f8995
fix(types): make PreloadResult a discriminated union on ok (#1147)
DylanVann ef8f929
release(version): Release 8.8.1 [skip ci]
semantic-release-bot 07bb1b2
chore(verify): compare with the APK on the emulator before skipping a…
DylanVann c96333f
test: run the regression cases and example screens through an in-app …
DylanVann 4d03c09
chore(example): keep verify's output and local notes out of Metro's w…
DylanVann 2bac113
test: cover borders and a scaled radius in the border radius screensh…
DylanVann d47be72
test: measure the regression runner's masks when a screenshot is take…
DylanVann 7bb015f
feat: add a loop prop for animated images (#1128)
DylanVann 3b1630b
release(version): Release 8.9.0 [skip ci]
semantic-release-bot 5ddd59b
feat: include an error message in onError (#1132)
DylanVann 0e599e6
release(version): Release 8.10.0 [skip ci]
semantic-release-bot fde8fcc
feat: add imageRendering: smooth or pixelated scaling (#1155)
DylanVann 372d2b3
release(version): Release 8.11.0 [skip ci]
semantic-release-bot 639e58f
chore(release): credit contributors in the changelog and GitHub relea…
DylanVann ca82135
feat: add a paused prop for animated images (#1154)
DylanVann 5431b27
release(version): Release 8.12.0 [skip ci]
semantic-release-bot f82e726
docs(changelog): credit contributors in the 8.6.4 to 8.11.0 entries […
DylanVann 2816300
feat(ios): add a downsample prop to decode large images at about the …
DylanVann 75ae319
release(version): Release 8.13.0 [skip ci]
semantic-release-bot b20fc83
fix(ios): don't report or show a load replaced by a new source (#1159)
DylanVann b6777dd
release(version): Release 8.13.1 [skip ci]
semantic-release-bot 17a2e20
test: remove verify's built-in device lock (#1167) [skip ci]
DylanVann 00adb71
fix(android): release a view's image when it's removed or its source …
DylanVann 95e81f7
release(version): Release 8.13.2 [skip ci]
semantic-release-bot ef66493
test: check how an area changes over time with video samples (#1163) …
DylanVann 852628d
test: tap the touch cases in the regression runner instead of a separ…
DylanVann 1ac4db0
test: shorten the slow images in the source-change and preload cases …
DylanVann 3f3206d
test: build every example app before running any (#1170) [skip ci]
DylanVann 957712b
feat: add FastImageBackground to show content on top of an image (#1171)
DylanVann faa8c53
release(version): Release 8.14.0 [skip ci]
semantic-release-bot 2a24373
feat: pass the load's result to onLoadEnd (#1172)
DylanVann f4397f5
release(version): Release 8.15.0 [skip ci]
semantic-release-bot c7964bd
feat: add source.cacheKey to cache an image under a key instead of it…
DylanVann d1e2ddc
release(version): Release 8.16.0 [skip ci]
semantic-release-bot f26f033
fix(ios): make preload follow source.cache (#1173)
DylanVann fc96004
release(version): Release 8.16.1 [skip ci]
semantic-release-bot f4c23e0
test: hide React Native's development banner in verify runs (#1175) […
DylanVann 75009ac
fix: clear the HTTP cache of web images in clearDiskCache (#1174)
DylanVann 6d461e3
release(version): Release 8.16.2 [skip ci]
semantic-release-bot fb9b4a6
feat: add source.memoryCache to keep images on disk only (#1176)
DylanVann 4d79887
release(version): Release 8.17.0 [skip ci]
semantic-release-bot 12e626d
fix(ios): try failed urls again in preload (#1177)
DylanVann a3ecacb
release(version): Release 8.17.1 [skip ci]
semantic-release-bot 22fafe6
fix: don't keep responses that aren't images in the disk cache (#1178)
DylanVann fd53ed1
release(version): Release 8.17.2 [skip ci]
semantic-release-bot f116677
feat: add FastImage.getCachePath to get an image's file in the disk c…
DylanVann 4690b57
release(version): Release 8.18.0 [skip ci]
semantic-release-bot 051d583
test: fix the example apps' Android release builds (#1186) [skip ci]
DylanVann 58dc5b2
fix(android): ship the ProGuard rules with the library (#1185)
DylanVann a76e443
release(version): Release 8.18.1 [skip ci]
semantic-release-bot 604d121
fix(android): keep Glide modules' constructors in release builds (#1187)
DylanVann ab3d9a5
fix(android): keep React Native's event dispatcher in release builds …
DylanVann ed1bbd1
test: allow the example image server's http in release builds (#1190)
DylanVann d103a6b
test: add a --release option to verify.mts (#1191)
DylanVann 7505ef1
release(version): Release 8.18.2 [skip ci]
semantic-release-bot 73398ae
test: rebuild the Android JS bundle in verify.mts --release (#1192) […
DylanVann 0d67287
feat: add FastImage.writeToCache to store a local image as a source's…
DylanVann e44c494
feat: let getCachePath look up a source by its cacheKey alone (#1180)
DylanVann 3ec8d60
fix(ios): don't store web responses that aren't images in the HTTP ca…
DylanVann a992475
feat: add FastImage.configureCache to set the image cache's limits (#…
DylanVann 9c38246
docs: rewrite the caching guide and fix stale cache docs (#1184)
DylanVann b8231ef
release(version): Release 8.19.0 [skip ci]
semantic-release-bot 64743cf
fix(ios): tint images with the view's tintColor, and tint animated im…
DylanVann c08f9a5
release(version): Release 8.19.1 [skip ci]
semantic-release-bot 926ee06
feat: add a 0–1 progress to onProgress's event (#1194)
DylanVann ea1fe8c
release(version): Release 8.20.0 [skip ci]
semantic-release-bot 8ffbd26
feat: add blurRadius to blur the image (#1193)
DylanVann 3748e37
release(version): Release 8.21.0 [skip ci]
semantic-release-bot 0946fcf
feat: add transition to fade images in when they load (#1164)
DylanVann 683e162
release(version): Release 8.22.0 [skip ci]
semantic-release-bot 65759ad
feat: add a minimal web version for react-native-web (#1197)
DylanVann 9b2e4e7
test: add an Expo example app (iOS, Android and web) to verify.mts --…
DylanVann 07c8a61
release(version): Release 8.23.0 [skip ci]
semantic-release-bot f4c2286
test: reinstall pods in verify.mts when the Podfile changed (#1204) […
DylanVann d192886
test: leave iOS's home indicator out of screenshot comparisons (#1205…
DylanVann 95b5e26
test: grant the example apps photo library access in verify.mts (#1198)
DylanVann 6f8bd31
feat(ios): load photo library (ph://) images with SDWebImagePhotosPlu…
DylanVann 303e2aa
release(version): Release 8.24.0 [skip ci]
semantic-release-bot 08f8953
test: build one Android architecture and use Xcode's compilation cach…
DylanVann 4227c23
feat: add resizeMode repeat to tile the image (#1196)
DylanVann bba7a37
release(version): Release 8.25.0 [skip ci]
semantic-release-bot b2619b5
test: fail regression groups that are cut off, crop screenshots to th…
DylanVann efa1c7a
feat: pick one of several sources for the view's size (#1201)
DylanVann ac81166
release(version): Release 8.26.0 [skip ci]
semantic-release-bot 012f9cf
feat: load SVG images when the app has an SVG library (#1206)
DylanVann 88fef4c
release(version): Release 8.27.0 [skip ci]
semantic-release-bot ec84109
docs: README cleanup, and which React Native versions are supported (…
DylanVann acfb962
fix(types): take ImageStyle's radii, opacity and colors from ViewStyl…
DylanVann dff80ec
release(version): Release 8.27.1 [skip ci]
semantic-release-bot 5db1a95
fix(ios): load downsampled images in the order they're mounted (#1213)
DylanVann 57d8c38
release(version): Release 8.27.2 [skip ci]
semantic-release-bot 8fadf23
fix(ios): don't keep a page with an inline SVG in the web image cache…
DylanVann e57c348
release(version): Release 8.27.3 [skip ci]
semantic-release-bot f8d24c0
fix(ios): don't crash on a source without a url when downsampling (#1…
DylanVann fb6dabd
fix(ios): keep SVGs as vector images when downsampling (#1216)
DylanVann 28eafc4
fix(ios): share a download between downsampled and full-size loads (#…
DylanVann 10c1420
release(version): Release 8.27.4 [skip ci]
semantic-release-bot 8bc205f
feat(ios): downsample by default (#1218)
DylanVann e314971
release(version): Release 8.28.0 [skip ci]
semantic-release-bot 715ab7f
test: images for the performance benchmark [skip ci] (#1210)
DylanVann babfeb6
test: performance benchmark harness for iOS and Android [skip ci] (#1…
DylanVann 5fe7667
fix(android): only send progress events for images with onProgress (#…
DylanVann af589ff
release(version): Release 8.28.1 [skip ci]
semantic-release-bot e16de53
test: image format cases in the regression runner (#1221)
DylanVann 793f988
feat(ios): register an animated WebP coder by default (#1222)
DylanVann 813f0f4
release(version): Release 8.29.0 [skip ci]
semantic-release-bot e92b561
chore(example): use androidx.collection 1.4.4 on Android [skip ci] (#…
DylanVann a008df2
test: leave React Native's tiled Image out of the repeat screenshot o…
DylanVann 13d332a
test: hold the background-loading case's download until the app is ba…
DylanVann 2a0130a
feat(android): animate animated WebP and AVIF (Glide 4.16 by default)…
DylanVann 6d42e5d
perf(android): decode animated WebP copies off the main thread, and r…
DylanVann 6cd5ece
feat(android): animate APNG images (#1228)
DylanVann 66a5f0e
fix(android): download an image once when a view loads it while it's …
DylanVann 2c789c6
feat(ios): include SDWebImagePhotosPlugin, so photo library images lo…
DylanVann 6ac65c7
release(version): Release 8.30.0 [skip ci]
semantic-release-bot 21ba2f3
test: reinstall pods when the podspec changes, and refresh the librar…
DylanVann 19db372
fix(android): show a paused APNG's first frame (#1237)
DylanVann 5adcc97
release(version): Release 8.30.1 [skip ci]
semantic-release-bot 043adc6
docs: generate the README's API docs from the doc comments, and a web…
DylanVann ad0bc05
feat(ios): animate AVIF images (#1239)
DylanVann 2e987e4
release(version): Release 8.31.0 [skip ci]
semantic-release-bot b26e50d
docs: link to the website from the README [skip ci]
DylanVann 56f2d67
fix(android): work in apps that have expo-image (#1241)
DylanVann eb2c7cd
release(version): Release 8.31.1 [skip ci]
semantic-release-bot d436d41
fix(ios): load images in the app by name, e.g. from its asset catalog…
DylanVann a9439cc
release(version): Release 8.31.2 [skip ci]
semantic-release-bot a96cd05
Merge upstream v8.31.2 into the Phantom fork
lewiscasewell File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
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 |
|---|---|---|
| @@ -1,17 +1,65 @@ | ||
| name: ci | ||
| on: [push, pull_request] | ||
| permissions: | ||
| contents: read | ||
| jobs: | ||
| build: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v2 | ||
| - uses: actions/setup-node@v2 | ||
| - run: yarn --frozen-lockfile | ||
| - run: yarn build | ||
| - run: yarn test --coverage | ||
| - if: github.event.repository.fork == false && github.event_name != 'pull_request' | ||
| run: yarn dv-scripts ci | ||
| # Actions are pinned to commits (tag in the comment) so a moved tag | ||
| # can't change what runs. | ||
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | ||
| - uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 | ||
| with: | ||
| node-version-file: .node-version | ||
| - uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0 | ||
| with: | ||
| bun-version-file: package.json | ||
| - run: bun install --frozen-lockfile | ||
| - run: bun run lint | ||
| - run: bun run format:check | ||
| - run: bun run typecheck | ||
| - run: bun run build:package | ||
| - run: bun run test | ||
| # The README's props section is generated from the doc comments in src/. | ||
| - run: bun install --frozen-lockfile && bun run check | ||
| working-directory: website | ||
| release: | ||
| needs: build | ||
| if: github.repository == 'DylanVann/react-native-fast-image' && github.event_name == 'push' && github.ref == 'refs/heads/main' | ||
| runs-on: ubuntu-latest | ||
| # Waits for a maintainer to approve the run (the environment's required | ||
| # reviewer). npm only accepts trusted publishing from this environment. | ||
| environment: release | ||
| # One release at a time: a second run waits instead of racing the first to | ||
| # push its release commit. | ||
| concurrency: | ||
| group: release | ||
| cancel-in-progress: false | ||
| permissions: | ||
| contents: write # push the release commit and tag | ||
| issues: write # comment on released issues | ||
| pull-requests: write # comment on released PRs | ||
| id-token: write # npm trusted publishing (OIDC) and provenance | ||
| steps: | ||
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | ||
| with: | ||
| # The branch's latest commit, not the one that triggered this run: a | ||
| # run that waited for another release would otherwise be behind that | ||
| # release's commit, and semantic-release skips publishing when the | ||
| # local branch is behind. | ||
| ref: ${{ github.ref }} | ||
| fetch-depth: 0 | ||
| - uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 | ||
| with: | ||
| node-version-file: .node-version | ||
| - uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0 | ||
| with: | ||
| bun-version-file: package.json | ||
| - run: bun install --frozen-lockfile | ||
| - run: bun run build:package | ||
| # Bumps the version, publishes to npm, and pushes the release commit and | ||
| # tag (release.config.mjs). | ||
| - run: bun run release | ||
| env: | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
| NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
| - uses: codecov/codecov-action@v2 |
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
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 |
|---|---|---|
| @@ -1 +1 @@ | ||
| v15.2.0 | ||
| 26 |
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 |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| { | ||
| "$schema": "./node_modules/oxfmt/configuration_schema.json", | ||
| "semi": false, | ||
| "singleQuote": true, | ||
| "tabWidth": 4, | ||
| "trailingComma": "all", | ||
| "printWidth": 80, | ||
| "sortPackageJson": false, | ||
| "ignorePatterns": [ | ||
| "CHANGELOG.md", | ||
| "ReactNativeFastImageExample/ios", | ||
| "ReactNativeFastImageExample/android", | ||
| "ReactNativeFastImageExampleLegacy/ios", | ||
| "ReactNativeFastImageExampleLegacy/android", | ||
| ".local" | ||
| ], | ||
| "overrides": [ | ||
| { | ||
| "files": [".github/**/*.yml", ".github/**/*.yaml"], | ||
| "options": { | ||
| "tabWidth": 2 | ||
| } | ||
| } | ||
| ] | ||
| } |
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 |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| { | ||
| "$schema": "./node_modules/oxlint/configuration_schema.json", | ||
| "plugins": ["typescript", "unicorn", "oxc", "react"], | ||
| "categories": { | ||
| "correctness": "error" | ||
| }, | ||
| "rules": {}, | ||
| "env": { | ||
| "builtin": true | ||
| }, | ||
| "ignorePatterns": [".local"] | ||
| } |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
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.
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.
🔒 Security & Privacy | 🟡 Minor | ⚡ Quick win
Turn off the Bun cache in the publish job.
This job has
id-token: write, and npm trusted publishing uses that token to publish the package.oven-sh/setup-buncaches by default. If another workflow run saves a poisoned cache, this job can restore it. The poisoned code then runs beforenpm publishand can change the published tarball. A release job does not need the speed of a cache. Setno-cache: true.🔒️ Proposed fix
- uses: oven-sh/setup-bun@v2 with: bun-version-file: package.json + no-cache: true📝 Committable suggestion
🧰 Tools
🪛 zizmor (1.30.1)
[error] 34-34: runtime artifacts potentially vulnerable to a cache poisoning attack (cache-poisoning): omitting
no-cacheenables caching(cache-poisoning)
🤖 Prompt for AI Agents
Source: Linters/SAST tools