Skip to content

Commit be00b88

Browse files
committed
디펜던시 버전업 및 lint 적용
1 parent 6322c73 commit be00b88

File tree

10 files changed

+2450
-3950
lines changed

10 files changed

+2450
-3950
lines changed

.yarn/install-state.gz

187 KB
Binary file not shown.

data/posts/dns-resolving-timeout-issue/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,4 @@ HTTP 프로토콜로 필터를 걸고 와이어샤크로 확인했는데 재전
5353

5454
## 결론
5555

56-
해당 문제를 해결하기까지 시간이 많이 걸렸던 것으로 기억하는데요. 아예 원인이 어디인지도 감을 못 잡았기에 이것저것 확인하고 시도하느라 오래 걸렸습니다. 단순히 동작하는 코드가 아니라 해당 코드가 어떻게 동작하는지, 어느 환경에서 돌아가고 있는지에 대해 좀 더 많은 고민을 해야겠다는 생각이 많이 들었습니다.
56+
해당 문제를 해결하기까지 시간이 많이 걸렸던 것으로 기억하는데요. 아예 원인이 어디인지도 감을 못 잡았기에 이것저것 확인하고 시도하느라 오래 걸렸습니다. 단순히 동작하는 코드가 아니라 해당 코드가 어떻게 동작하는지, 어느 환경에서 돌아가고 있는지에 대해 좀 더 많은 고민을 해야겠다는 생각이 많이 들었습니다.

data/posts/how-to-edit-first-commit/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,4 +106,4 @@ git rebase $base
106106
## 참고
107107

108108
- [https://stackoverflow.com/questions/2246208/change-first-commit-of-project-with-git](https://stackoverflow.com/questions/2246208/change-first-commit-of-project-with-git)
109-
- [https://raw.githubusercontent.com/git/git/master/Documentation/RelNotes/1.7.12.txt](https://raw.githubusercontent.com/git/git/master/Documentation/RelNotes/1.7.12.txt)
109+
- [https://raw.githubusercontent.com/git/git/master/Documentation/RelNotes/1.7.12.txt](https://raw.githubusercontent.com/git/git/master/Documentation/RelNotes/1.7.12.txt)

data/posts/probabilistic-data-structures-link/index.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -10,56 +10,56 @@ draft: false
1010

1111
## 소개
1212

13-
확률적 자료구조인 Bloom filter를 공부하다가, 다른 확률적 자료구조는 어떠한 것이 있는지 궁금했기에 검색을 해봤더니 위키피디아에서 'Probabilistic data structures' 카테고리 페이지를 찾을 수 있었습니다. [[링크]](https://en.wikipedia.org/wiki/Category:Probabilistic_data_structures)
13+
확률적 자료구조인 Bloom filter를 공부하다가, 다른 확률적 자료구조는 어떠한 것이 있는지 궁금했기에 검색을 해봤더니 위키피디아에서 'Probabilistic data structures' 카테고리 페이지를 찾을 수 있었습니다. [(링크)](https://en.wikipedia.org/wiki/Category:Probabilistic_data_structures)
1414

1515
## 확률적 자료구조 리스트
1616

1717
그 중, 한글 자료가 있는 자료구조를 추려 리스트로 만들고 링크를 걸어보았습니다.
1818

1919
### Bloom filter
2020

21-
* 확률적 자료구조를 이용한 추정 - 원소 포함 여부 판단(Membership Query)과 Bloom Filter, 송기선님의 포스트 [[링크]](https://d2.naver.com/helloworld/749531)
21+
* 확률적 자료구조를 이용한 추정 - 원소 포함 여부 판단(Membership Query)과 Bloom Filter, 송기선님의 포스트 [(링크)](https://d2.naver.com/helloworld/749531)
2222

2323
### Count-min sketch
2424

25-
* 확률적 자료구조를 이용한 추정 - 빈도(Frequency) 추정을 위한 Count-Min Sketch, 송기선님의 포스트 [[링크]](https://d2.naver.com/helloworld/799782)
25+
* 확률적 자료구조를 이용한 추정 - 빈도(Frequency) 추정을 위한 Count-Min Sketch, 송기선님의 포스트 [(링크)](https://d2.naver.com/helloworld/799782)
2626

2727
### HyperLogLog
2828

29-
* 확률적 자료구조를 이용한 추정 - 유일한 원소 개수(Cardinality) 추정과 HyperLogLog, 송기선님의 포스트 [[링크]](https://d2.naver.com/helloworld/711301)
29+
* 확률적 자료구조를 이용한 추정 - 유일한 원소 개수(Cardinality) 추정과 HyperLogLog, 송기선님의 포스트 [(링크)](https://d2.naver.com/helloworld/711301)
3030

3131
### Locality-sensitive hashing
3232

33-
* Random Projection and Locality Sensitive Hashing - lovit님의 포스트 [[링크]](https://lovit.github.io/machine%20learning/vector%20indexing/2018/03/28/lsh/#locality-sensitve-hashing)
33+
* Random Projection and Locality Sensitive Hashing - lovit님의 포스트 [(링크)](https://lovit.github.io/machine%20learning/vector%20indexing/2018/03/28/lsh/#locality-sensitve-hashing)
3434

3535
### MinHash
3636

37-
* MinHash란?, wan2land님의 포스트 [[링크]](http://wani.kr/posts/2016/11/25/minhash/)
37+
* MinHash란?, wan2land님의 포스트 [(링크)](http://wani.kr/posts/2016/11/25/minhash/)
3838

3939
### SimHash
4040

41-
* Near Duplicate Documents Detection SimHash 계산 방법, aragorn님의 포스트 [[링크]](https://github.com/aragorn/home/wiki/Near-Duplicate-Documents-Detection#simhash-%EA%B3%84%EC%82%B0-%EB%B0%A9%EB%B2%95)
41+
* Near Duplicate Documents Detection SimHash 계산 방법, aragorn님의 포스트 [(링크)](https://github.com/aragorn/home/wiki/Near-Duplicate-Documents-Detection#simhash-%EA%B3%84%EC%82%B0-%EB%B0%A9%EB%B2%95)
4242

4343
### Skip List
4444

45-
* Skip List, 김종욱님의 포스트 [[링크]](https://www.slideshare.net/jongwookkim/skip-list)
45+
* Skip List, 김종욱님의 포스트 [(링크)](https://www.slideshare.net/jongwookkim/skip-list)
4646

4747
### Treap
4848

49-
* Treap, namnamseo님의 포스트 [[링크]](http://namnamseo.tistory.com/entry/Treap)
49+
* Treap, namnamseo님의 포스트 [(링크)](http://namnamseo.tistory.com/entry/Treap)
5050

5151
## 그 외 자료
5252

5353
그 이외에도 이러한 자료들을 찾을 수 있었습니다.
5454

55-
* 실시간 추천엔진 머신한대에 구겨넣기, 하용호님 포스트 [[링크]](https://www.slideshare.net/deview/261-52784785)
55+
* 실시간 추천엔진 머신한대에 구겨넣기, 하용호님 포스트 [(링크)](https://www.slideshare.net/deview/261-52784785)
5656

57-
* 게임 서비스 플랫폼을 지탱하는 알고리즘, 전이삭님 포스트 [[링크]](https://www.slideshare.net/isaacjeon/ss-96910180)
57+
* 게임 서비스 플랫폼을 지탱하는 알고리즘, 전이삭님 포스트 [(링크)](https://www.slideshare.net/isaacjeon/ss-96910180)
5858

59-
전이삭님의 유튜브 발표 영상도 있어 같이 링크합니다. [[링크]](https://www.youtube.com/watch?v=yoVmf-9fW1c)
59+
전이삭님의 유튜브 발표 영상도 있어 같이 링크합니다. [(링크)](https://www.youtube.com/watch?v=yoVmf-9fW1c)
6060

6161
## 정리
6262

6363
1. 평균적인 성능(시간복잡도)을 보장할 때 쓰입니다.
6464

65-
2. 정확한 값이 아닌 작은 오차를 가진 근사값이여도 상관이 없을 때 쓰입니다. 대신 저장 공간이나 속도 측면에서 많은 이득을 볼 수 있습니다.
65+
2. 정확한 값이 아닌 작은 오차를 가진 근사값이여도 상관이 없을 때 쓰입니다. 대신 저장 공간이나 속도 측면에서 많은 이득을 볼 수 있습니다.

data/posts/redis-manually-force-a-failover/index.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@ draft: false
1717

1818
레디스 센티널은 내부적으로 마스터가 odown으로 판단되었을 때, replicaof no one 명령어를 통해 페일오버를 수행하여 레플리카를 마스터로 승격시킨다
1919

20-
> For a failover to be considered successful, it requires that the Sentinel was able to send the REPLICAOF NO ONE command to the selected replica, and that the switch to master was later observed in the INFO output of the master.
21-
([관련 링크](https://redis.io/docs/manual/sentinel/#configuration-propagation))
20+
> For a failover to be considered successful, it requires that the Sentinel was able to send the REPLICAOF NO ONE command to the selected replica, and that the switch to master was later observed in the INFO output of the master. ([관련 링크](https://redis.io/docs/manual/sentinel/#configuration-propagation))
2221
2322
하지만 모든 레플리카가 아래와 같은 이유로 마스터로 승격시키기에 적합하지 않은 경우가 발생할 수 있다
2423
> A replica that is found to be disconnected from the master for more than ten times the configured master timeout (down-after-milliseconds option), plus the time the master is also not available from the point of view of the Sentinel doing the failover, is considered to be not suitable for the failover and is skipped. ([관련 링크](https://redis.io/docs/manual/sentinel/#replica-selection-and-priority))

data/posts/tcp-keepalive-and-http-keepalive/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,4 @@ HTTP Keepalive를 설정하면 기존 TCP 커넥션을 재사용하게 됩니다
3939
## 참고 자료
4040

4141
* <http://tldp.org/HOWTO/TCP-Keepalive-HOWTO/usingkeepalive.html>
42-
* <https://en.wikipedia.org/wiki/HTTP_persistent_connection>
42+
* <https://en.wikipedia.org/wiki/HTTP_persistent_connection>

package.json

Lines changed: 30 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,13 @@
2525
},
2626
"dependencies": {
2727
"@cfaester/enzyme-adapter-react-18": "^0.8.0",
28-
"@graphql-codegen/add": "^1.2.0",
29-
"@graphql-codegen/cli": "^1.9.0",
30-
"@graphql-codegen/typescript": "^1.2.0",
28+
"@graphql-codegen/add": "^5.0.3",
29+
"@graphql-codegen/cli": "^5.0.5",
30+
"@graphql-codegen/typescript": "^4.1.6",
3131
"babel-eslint": "^10.1.0",
3232
"change-case": "^5.4.4",
3333
"codeclimate-test-reporter": "^0.5.1",
34+
"eslint-config-xo-react": "^0.28.0",
3435
"gatsby": "^5.14.3",
3536
"gatsby-link": "^5.14.1",
3637
"gatsby-plugin-gtag": "^1.0.13",
@@ -53,60 +54,60 @@
5354
"react-helmet": "^6.1.0",
5455
"react-redux": "^8.0.0",
5556
"react-scripts": "^5.0.1",
56-
"redux-devtools-extension": "^2.13.8",
57+
"redux-devtools-extension": "^2.13.9",
5758
"semantic-ui-react": "^2.1.5",
5859
"slash": "5.1.0",
5960
"ts-loader": "^9.5.2"
6061
},
6162
"devDependencies": {
6263
"@babel/core": "^7.26.10",
6364
"@babel/preset-typescript": "^7.27.0",
64-
"@storybook/addon-actions": "^7.6.20",
65-
"@storybook/addon-knobs": "^5.3.21",
66-
"@storybook/addon-links": "^7.6.20",
65+
"@storybook/addon-actions": "^8.6.12",
66+
"@storybook/addon-knobs": "^8.0.1",
67+
"@storybook/addon-links": "^8.6.12",
6768
"@storybook/addon-notes": "^5.3.21",
6869
"@storybook/addon-options": "^5.3.21",
69-
"@storybook/react": "^7.0.0",
70+
"@storybook/react": "^8.6.12",
7071
"@types/acorn": "^6.0.4",
7172
"@types/enzyme": "^3.10.18",
72-
"@types/jest": "^24.9.1",
73-
"@types/lodash-es": "^4",
74-
"@types/node": "^12.20.55",
75-
"@types/reach__router": "^1.2.4",
73+
"@types/jest": "^29.5.14",
74+
"@types/lodash-es": "^4.17.12",
75+
"@types/node": "^22.14.1",
76+
"@types/reach__router": "^1.3.15",
7677
"@types/react": "^18.0.0",
7778
"@types/react-dom": "^18.0.0",
7879
"@types/react-helmet": "5.0.8",
7980
"@types/react-redux": "^7.0.9",
8081
"@types/react-test-renderer": "^16.8.1",
81-
"@types/semantic-ui": "^2.2.7",
82-
"@types/storybook-readme": "^5.0.4",
83-
"@types/webpack-env": "^1.13.9",
82+
"@types/semantic-ui": "^2.2.9",
83+
"@types/storybook-readme": "^5.0.12",
84+
"@types/webpack-env": "^1.18.8",
8485
"enzyme": "^3.11.0",
85-
"eslint": "^9.25.0",
86+
"eslint": "^9.25.1",
8687
"eslint-config-react-app": "^7.0.1",
87-
"eslint-config-xo-react": "0.19.0",
88-
"eslint-plugin-flowtype": "^2.0.0",
89-
"eslint-plugin-import": "^2.17.2",
90-
"eslint-plugin-jsx-a11y": "^6.2.1",
91-
"eslint-plugin-react": "^7.13.0",
92-
"eslint-plugin-react-hooks": "^1.6.0",
88+
"eslint-config-xo-space": "^0.35.0",
89+
"eslint-plugin-flowtype": "^8.0.3",
90+
"eslint-plugin-import": "^2.31.0",
91+
"eslint-plugin-jsx-a11y": "^6.10.2",
92+
"eslint-plugin-react": "^7.37.5",
93+
"eslint-plugin-react-hooks": "^5.2.0",
9394
"flat": "^6.0.1",
9495
"husky": "^9.1.7",
9596
"jest": "^29.7.0",
96-
"lint-staged": "8.1.7",
97+
"lint-staged": "15.5.1",
9798
"mkdirp": "^3.0.1",
9899
"plop": "^4.0.1",
99100
"raw-loader": "^4.0.2",
100101
"react-test-renderer": "^18.0.0",
101-
"remark-cli": "^6.0.1",
102+
"remark-cli": "^12.0.1",
102103
"remark-frontmatter": "^5.0.0",
103-
"remark-preset-lint-recommended": "^3.0.2",
104+
"remark-preset-lint-recommended": "^7.0.1",
104105
"storybook-readme": "^5.0.9",
105-
"stylelint": "^10.0.1",
106-
"stylelint-config-standard": "^18.3.0",
106+
"stylelint": "^16.18.0",
107+
"stylelint-config-standard": "^38.0.0",
107108
"ts-jest": "^29.3.2",
108109
"ts-lint": "4.5.1",
109-
"typescript": "^5.8.3",
110+
"typescript": "^4.9.5",
110111
"xo": "^0.60.0"
111112
},
112113
"resolutions": {
@@ -164,7 +165,7 @@
164165
]
165166
},
166167
"xo": {
167-
"extends": "xo-react/space",
168+
"extends": "xo-space",
168169
"space": true,
169170
"rules": {
170171
"no-case-declarations": 0,

src/css/responsive.css

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*/
1010

1111
/* Mobile */
12-
@media only screen and (max-width: 767px) {
12+
@media only screen and (width <= 767px) {
1313
[class*="mobile hidden"],
1414
[class*="tablet only"]:not(.mobile),
1515
[class*="computer only"]:not(.mobile),
@@ -21,7 +21,7 @@
2121
}
2222

2323
/* Tablet / iPad Portrait */
24-
@media only screen and (min-width: 768px) and (max-width: 991px) {
24+
@media only screen and (width >= 768px) and (width <= 991px) {
2525
[class*="mobile only"]:not(.tablet),
2626
[class*="tablet hidden"],
2727
[class*="computer only"]:not(.tablet),
@@ -33,31 +33,31 @@
3333
}
3434

3535
/* Computer / Desktop / iPad Landscape */
36-
@media only screen and (min-width: 992px) and (max-width: 1199px) {
36+
@media only screen and (width >= 992px) and (width <= 1199px) {
3737
[class*="mobile only"]:not(.computer),
3838
[class*="tablet only"]:not(.computer),
3939
[class*="computer hidden"],
4040
[class*="large screen only"]:not(.computer),
4141
[class*="widescreen only"]:not(.computer),
42-
[class*="or lower hidden"]:not(.tablet):not(.mobile) {
42+
[class*="or lower hidden"]:not(.tablet, .mobile) {
4343
display: none !important;
4444
}
4545
}
4646

4747
/* Large Monitor */
48-
@media only screen and (min-width: 1200px) and (max-width: 1919px) {
48+
@media only screen and (width >= 1200px) and (width <= 1919px) {
4949
[class*="mobile only"]:not([class*="large screen"]),
5050
[class*="tablet only"]:not([class*="large screen"]),
5151
[class*="computer only"]:not([class*="large screen"]),
5252
[class*="large screen hidden"],
5353
[class*="widescreen only"]:not([class*="large screen"]),
54-
[class*="or lower hidden"]:not(.computer):not(.tablet):not(.mobile) {
54+
[class*="or lower hidden"]:not(.computer, .tablet, .mobile) {
5555
display: none !important;
5656
}
5757
}
5858

5959
/* Widescreen Monitor */
60-
@media only screen and (min-width: 1920px) {
60+
@media only screen and (width >= 1920px) {
6161
[class*="mobile only"]:not([class*="widescreen"]),
6262
[class*="tablet only"]:not([class*="widescreen"]),
6363
[class*="computer only"]:not([class*="widescreen"]),

src/css/styles.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
display: none;
7878
}
7979

80-
@media only screen and (max-width: 700px) {
80+
@media only screen and (width <= 700px) {
8181
.masthead.segment {
8282
min-height: 350px;
8383
}

0 commit comments

Comments
 (0)