Skip to content

Commit

Permalink
perf: 📦️ upgrade npm packages version
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewDongminYoo committed Mar 10, 2024
1 parent 7845558 commit fa0b47b
Show file tree
Hide file tree
Showing 7 changed files with 280 additions and 1,042 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module.exports = {
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
'@react-native-community',
'@react-native',
'plugin:jsdoc/recommended',
'plugin:react/recommended',
'plugin:react-hooks/recommended',
Expand Down
40 changes: 20 additions & 20 deletions docs/scripts/prettify/prettify.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ window.PR_SHOULD_USE_CONTINUATION = !0;
return (f = r[b])
? f
: '0' <= b && b <= '7'
? parseInt(a.substring(1), 8)
: b === 'u' || b === 'x'
? parseInt(a.substring(2), 16)
: a.charCodeAt(1);
? parseInt(a.substring(1), 8)
: b === 'u' || b === 'x'
? parseInt(a.substring(2), 16)
: a.charCodeAt(1);
}
function e(a) {
if (a < 32) return (a < 16 ? '\\x0' : '\\x') + a.toString(16);
Expand Down Expand Up @@ -268,18 +268,18 @@ window.PR_SHOULD_USE_CONTINUATION = !0;
'\'"',
])
: a.multiLineStrings
? m.push([
'str',
/^(?:'(?:[^'\\]|\\[\S\s])*(?:'|$)|"(?:[^"\\]|\\[\S\s])*(?:"|$)|`(?:[^\\`]|\\[\S\s])*(?:`|$))/,
q,
'\'"`',
])
: m.push([
'str',
/^(?:'(?:[^\n\r'\\]|\\.)*(?:'|$)|"(?:[^\n\r"\\]|\\.)*(?:"|$))/,
q,
'"\'',
]);
? m.push([
'str',
/^(?:'(?:[^'\\]|\\[\S\s])*(?:'|$)|"(?:[^"\\]|\\[\S\s])*(?:"|$)|`(?:[^\\`]|\\[\S\s])*(?:`|$))/,
q,
'\'"`',
])
: m.push([
'str',
/^(?:'(?:[^\n\r'\\]|\\.)*(?:'|$)|"(?:[^\n\r"\\]|\\.)*(?:"|$))/,
q,
'"\'',
]);
a.verbatimStrings && e.push(['str', /^@"(?:[^"]|"")*(?:"|$)/, q]);
var h = a.hashComments;
h &&
Expand Down Expand Up @@ -662,10 +662,10 @@ window.PR_SHOULD_USE_CONTINUATION = !0;
? b
: c
: i === 3
? N.test(c.nodeValue)
? b
: o
: o;
? N.test(c.nodeValue)
? b
: o
: o;
b = (f = o === b ? void 0 : o) && 'CODE' === f.tagName;
}
b && (k = f.className.match(g));
Expand Down
2 changes: 1 addition & 1 deletion example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"react-native-gesture-handler": "^2.14.0",
"react-native-permissions": "^4.1.4",
"react-native-reanimated": "^3.6.0",
"react-native-svg": "^14.0.0"
"react-native-svg": "^15.1.0"
},
"devDependencies": {
"@babel/core": "^7.24.0",
Expand Down
4 changes: 2 additions & 2 deletions example/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ import LogCat from './LogCat';
type SensorType<T = typeof Platform.OS> = T extends 'ios'
? 'CMPedometer'
: T extends 'android'
? 'Step Counter' | 'Accelerometer'
: 'NONE';
? 'Step Counter' | 'Accelerometer'
: 'NONE';

type SensorName = SensorType<Platform['OS']>;

Expand Down
511 changes: 63 additions & 448 deletions example/yarn.lock

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,22 +82,22 @@
"@babel/preset-env": "^7.23.2",
"@commitlint/config-conventional": "^19.0.3",
"@evilmartians/lefthook": "^1.5.2",
"@react-native-community/eslint-config": "^3.2.0",
"@react-native-community/eslint-plugin": "^1.3.0",
"@react-native/metro-config": "^0.72.12",
"@react-native/eslint-config": "^0.73.2",
"@react-native/eslint-plugin": "^0.74.0",
"@react-native/metro-config": "^0.73.5",
"@release-it/conventional-changelog": "^8.0.1",
"@rnx-kit/align-deps": "^2.2.5",
"@types/jest": "^29.5.5",
"@types/node": "20.11.24",
"@types/react": "18.2.63",
"@types/node": "20.11.25",
"@types/react": "18.2.64",
"@typescript-eslint/eslint-plugin": "^7.1.1",
"@typescript-eslint/parser": "^7.1.1",
"commitlint": "^19.0.3",
"del-cli": "^5.1.0",
"eslint": "^8.51.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-jest": "^27.4.2",
"eslint-plugin-jsdoc": "^48.0.2",
"eslint-plugin-jsdoc": "^48.2.1",
"eslint-plugin-prettier": "^5.0.1",
"jest": "^29.2.1",
"pod-install": "^0.2.0",
Expand All @@ -106,8 +106,8 @@
"react-native": "^0.73.1",
"react-native-builder-bob": "^0.23.1",
"release-it": "^17.0.1",
"turbo": "^1.10.15",
"typescript": "^5.2.2"
"turbo": "^1.12.5",
"typescript": "^5.4.2"
},
"engines": {
"node": ">= 16.0.0"
Expand Down
Loading

0 comments on commit fa0b47b

Please sign in to comment.