Skip to content

Commit ec76f01

Browse files
authored
fix libraries URL validation RegExp, bump dependencies (#2128)
1 parent 24bbc8a commit ec76f01

3 files changed

Lines changed: 28 additions & 28 deletions

File tree

bun.lock

Lines changed: 23 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@
2828
"@react-native-picker/picker": "^2.11.4",
2929
"@sentry/react": "^10.34.0",
3030
"crypto-js": "^4.2.0",
31-
"es-toolkit": "^1.43.0",
31+
"es-toolkit": "^1.44.0",
3232
"expo": "54.0.31",
3333
"expo-font": "^14.0.10",
34-
"next": "^16.1.1",
34+
"next": "^16.1.3",
3535
"node-emoji": "^2.2.0",
3636
"postcss": "^8.5.6",
3737
"react": "19.2.3",
@@ -54,7 +54,7 @@
5454
},
5555
"devDependencies": {
5656
"@expo/next-adapter": "^6.0.0",
57-
"@next/bundle-analyzer": "^16.1.1",
57+
"@next/bundle-analyzer": "^16.1.3",
5858
"@prettier/plugin-oxc": "^0.1.3",
5959
"@types/bun": "^1.3.6",
6060
"@types/crypto-js": "^4.2.2",
@@ -70,7 +70,7 @@
7070
"next-images": "^1.8.5",
7171
"oxfmt": "^0.24.0",
7272
"oxlint": "^1.39.0",
73-
"oxlint-tsgolint": "^0.11.0",
73+
"oxlint-tsgolint": "^0.11.1",
7474
"simple-git-hooks": "^2.13.1",
7575
"typescript": "^5.9.3",
7676
"user-agent-data-types": "^0.4.2"

scripts/validate-libraries.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { VALID_ENTRY_KEYS } from '~/util/Constants';
44

55
import libraries from '../react-native-libraries.json';
66

7-
const GITHUB_URL_PATTERN = /^https:\/\/github\.com\/[\w.-]+\/[\w.-]+(\/tree\/[\w-\\/.%@]+)?$/g;
7+
const GITHUB_URL_PATTERN = /^https:\/\/github\.com\/[\w.-]+\/[\w.-]+(\/tree\/[\w-\\/.%@]+)?$/;
88

99
function validateLibrariesFormat(libraries: LibraryType[]) {
1010
console.log('🔍️Checking all libraries have the correct format');

0 commit comments

Comments
 (0)