Skip to content

Commit 3ea4e1b

Browse files
authored
fix: add missing dep to package.json (#974)
## Description There is a missing dep, namely "pngjs" that is utilized in `TextToImageModule.ts` file but not enforced in package.json. This fix adds it ### Introduces a breaking change? - [ ] Yes - [x] No ### Type of change - [x] Bug fix (change which fixes an issue) - [ ] New feature (change which adds functionality) - [ ] Documentation update (improves or adds clarity to existing documentation) - [ ] Other (chores, tests, code style improvements etc.) ### Tested on - [x] iOS - [x] Android ### Testing instructions Check that our files indeed depends on this package (`TextToImageModule.ts`) ### Screenshots <!-- Add screenshots here, if applicable --> ### Related issues <!-- Link related issues here using #issue-number --> ### Checklist - [x] I have performed a self-review of my code - [x] I have commented my code, particularly in hard-to-understand areas - [x] I have updated the documentation accordingly - [x] My changes generate no new warnings ### Additional notes <!-- Include any additional information, assumptions, or context that reviewers might need to understand this PR. -->
1 parent 32fc68b commit 3ea4e1b

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

packages/react-native-executorch/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@
119119
"@huggingface/jinja": "^0.5.0",
120120
"jsonrepair": "^3.12.0",
121121
"jsonschema": "^1.5.0",
122+
"pngjs": "^7.0.0",
122123
"zod": "^4.3.6"
123124
}
124125
}

yarn.lock

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13889,6 +13889,13 @@ __metadata:
1388913889
languageName: node
1389013890
linkType: hard
1389113891

13892+
"pngjs@npm:^7.0.0":
13893+
version: 7.0.0
13894+
resolution: "pngjs@npm:7.0.0"
13895+
checksum: 10/e843ebbb0df092ee0f3a3e7dbd91ff87a239a4e4c4198fff202916bfb33b67622f4b83b3c29f3ccae94fcb97180c289df06068624554f61686fe6b9a4811f7db
13896+
languageName: node
13897+
linkType: hard
13898+
1389213899
"possible-typed-array-names@npm:^1.0.0":
1389313900
version: 1.1.0
1389413901
resolution: "possible-typed-array-names@npm:1.1.0"
@@ -14372,6 +14379,7 @@ __metadata:
1437214379
jsonrepair: "npm:^3.12.0"
1437314380
jsonschema: "npm:^1.5.0"
1437414381
metro-react-native-babel-preset: "npm:^0.77.0"
14382+
pngjs: "npm:^7.0.0"
1437514383
react: "npm:19.1.0"
1437614384
react-native: "npm:0.81.5"
1437714385
react-native-builder-bob: "npm:^0.40.12"

0 commit comments

Comments
 (0)