Skip to content

Commit 86130a3

Browse files
chore(deps): bump image-size from 1.1.1 to 1.2.1 in /docs (#2844)
Bumps [image-size](https://github.com/image-size/image-size) from 1.1.1 to 1.2.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/image-size/image-size/releases">image-size's releases</a>.</em></p> <blockquote> <h2>v1.2.1</h2> <h2>Fixes</h2> <ul> <li>fix potential Denial of Service via specially crafted payloads in <a href="https://github.com/image-size/image-size/commit/640a67d9e821baee4cb596def8db00627f649dfc">https://github.com/image-size/image-size/commit/640a67d9e821baee4cb596def8db00627f649dfc</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/image-size/image-size/compare/v1.2.0...v1.2.1">https://github.com/image-size/image-size/compare/v1.2.0...v1.2.1</a></p> <h2>v1.2.0</h2> <p>This release adds support for JPEG-XL ( <a href="https://redirect.github.com/image-size/image-size/issues/409">#409</a> )</p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/image-size/image-size/commit/a4178fbb334ddb22d94cb4228ed597c24fd02e10"><code>a4178fb</code></a> 1.2.1</li> <li><a href="https://github.com/image-size/image-size/commit/640a67d9e821baee4cb596def8db00627f649dfc"><code>640a67d</code></a> fix potential Denial of Service via specially crafted payloads</li> <li><a href="https://github.com/image-size/image-size/commit/9d41448d7843405d1ff2c59352ec17a9bca3f358"><code>9d41448</code></a> 1.2.0</li> <li><a href="https://github.com/image-size/image-size/commit/405a244dae9d8576528869b89229cae539f7e901"><code>405a244</code></a> fixups</li> <li><a href="https://github.com/image-size/image-size/commit/76c5c9a8aa9b38e8c703136e5a4f8c5cadc74dff"><code>76c5c9a</code></a> mention jpeg-xl in the readme</li> <li><a href="https://github.com/image-size/image-size/commit/a10262c7c32e40ac269e3434afa07895c11a1274"><code>a10262c</code></a> Add support for JPEG XL (<a href="https://redirect.github.com/image-size/image-size/issues/409">#409</a>)</li> <li><a href="https://github.com/image-size/image-size/commit/a7a24a3fc4ce750cec253618d33967b3b9d331d7"><code>a7a24a3</code></a> (app): Fix typo in comments (<a href="https://redirect.github.com/image-size/image-size/issues/411">#411</a>)</li> <li><a href="https://github.com/image-size/image-size/commit/9f482134b358dd83f58501ccc3b18df2305c9793"><code>9f48213</code></a> update dependencies, and reformat code with eslint 9</li> <li><a href="https://github.com/image-size/image-size/commit/64dda84cca1551e219a47b1ab1e3c51adc8db0e4"><code>64dda84</code></a> refactor formats that use a ISO-BMFF container</li> <li><a href="https://github.com/image-size/image-size/commit/e3ea53801dc3ca9d7548c063bfc39c2d8e159419"><code>e3ea538</code></a> no need to create hex strings in j2c</li> <li>Additional commits viewable in <a href="https://github.com/image-size/image-size/compare/v1.1.1...v1.2.1">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=image-size&package-manager=npm_and_yarn&previous-version=1.1.1&new-version=1.2.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/software-mansion/react-native-screens/network/alerts). </details> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Kacper Kafara <kacper.kafara@swmansion.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 1035329 commit 86130a3

4 files changed

Lines changed: 49 additions & 6 deletions

File tree

apps/src/tests/Test2538.tsx

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
import { NavigationContainer, ParamListBase } from '@react-navigation/native';
2+
import { NativeStackNavigationProp, createNativeStackNavigator } from '@react-navigation/native-stack';
3+
import React from 'react';
4+
import { Button, Text, View } from 'react-native';
5+
6+
const Stack = createNativeStackNavigator();
7+
8+
type RouteNavProps = {
9+
navigation: NativeStackNavigationProp<ParamListBase>;
10+
}
11+
12+
function Home({ navigation }: RouteNavProps) {
13+
return (
14+
<View style={{ flex: 1, backgroundColor: 'lightgreen' }}>
15+
<Text>Home screen</Text>
16+
<Button title="Go second" onPress={() => navigation.navigate('Second')} />
17+
</View>
18+
);
19+
}
20+
21+
function Second({ navigation }: RouteNavProps) {
22+
return (
23+
<View style={{ flex: 1, backgroundColor: 'lightblue' }}>
24+
<Text>Second screen</Text>
25+
<Button title="Go back" onPress={() => navigation.goBack()} />
26+
</View>
27+
);
28+
}
29+
30+
function App() {
31+
return (
32+
<NavigationContainer>
33+
<Stack.Navigator>
34+
<Stack.Screen name="Home" component={Home} />
35+
<Stack.Screen name="Second" component={Second} />
36+
</Stack.Navigator>
37+
</NavigationContainer>
38+
);
39+
}
40+
41+
export default App;

apps/src/tests/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ export { default as Test2332 } from './Test2332';
118118
export { default as Test2379 } from './Test2379';
119119
export { default as Test2395 } from './Test2395';
120120
export { default as Test2466 } from './Test2466';
121+
export { default as Test2538 } from './Test2538';
121122
export { default as Test2552 } from './Test2552';
122123
export { default as Test2611 } from './Test2611';
123124
export { default as Test2631 } from './Test2631';

docs/yarn.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4852,13 +4852,13 @@ __metadata:
48524852
linkType: hard
48534853

48544854
"cross-spawn@npm:^7.0.0, cross-spawn@npm:^7.0.3":
4855-
version: 7.0.3
4856-
resolution: "cross-spawn@npm:7.0.3"
4855+
version: 7.0.6
4856+
resolution: "cross-spawn@npm:7.0.6"
48574857
dependencies:
48584858
path-key: "npm:^3.1.0"
48594859
shebang-command: "npm:^2.0.0"
48604860
which: "npm:^2.0.1"
4861-
checksum: 10c0/5738c312387081c98d69c98e105b6327b069197f864a60593245d64c8089c8a0a744e16349281210d56835bb9274130d825a78b2ad6853ca13cfbeffc0c31750
4861+
checksum: 10c0/053ea8b2135caff68a9e81470e845613e374e7309a47731e81639de3eaeb90c3d01af0e0b44d2ab9d50b43467223b88567dfeb3262db942dc063b9976718ffc1
48624862
languageName: node
48634863
linkType: hard
48644864

@@ -6765,13 +6765,13 @@ __metadata:
67656765
linkType: hard
67666766

67676767
"image-size@npm:^1.0.1":
6768-
version: 1.1.1
6769-
resolution: "image-size@npm:1.1.1"
6768+
version: 1.2.1
6769+
resolution: "image-size@npm:1.2.1"
67706770
dependencies:
67716771
queue: "npm:6.0.2"
67726772
bin:
67736773
image-size: bin/image-size.js
6774-
checksum: 10c0/2660470096d12be82195f7e80fe03274689fbd14184afb78eaf66ade7cd06352518325814f88af4bde4b26647889fe49e573129f6e7ba8f5ff5b85cc7f559000
6774+
checksum: 10c0/f8b3c19d4476513f1d7e55c3e6db80997b315444743e2040d545cbcaee59be03d2eb40c46be949a8372697b7003fdb0c04925d704390a7f606bc8181e25c0ed4
67756775
languageName: node
67766776
linkType: hard
67776777

ios/RNSScreen.mm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1914,6 +1914,7 @@ - (void)setViewToSnapshot
19141914
// if we dismissed the view natively, it will already be detached from view hierarchy
19151915
if (self.view.window != nil) {
19161916
UIView *snapshot = [self.view snapshotViewAfterScreenUpdates:NO];
1917+
snapshot.frame = self.view.frame;
19171918
[self.view removeFromSuperview];
19181919
self.view = snapshot;
19191920
[superView addSubview:snapshot];

0 commit comments

Comments
 (0)