Skip to content

Commit

Permalink
[DEV-11885] Switch from @y_nk/cached-fetch to a fork: `@e1himself/c…
Browse files Browse the repository at this point in the history
…ached-fetch`

Until the proposed PRs get accepted, merged and released:
- y-nk/nonorepo#3
- y-nk/nonorepo#2
  • Loading branch information
e1himself committed Oct 31, 2023
1 parent 0356f74 commit b1ae99a
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 21 deletions.
34 changes: 17 additions & 17 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"test": "npx playwright test"
},
"dependencies": {
"@e1himself/cached-fetch": "1.0.0",
"@hcaptcha/react-hcaptcha": "1.8.1",
"@headlessui/react": "1.7.17",
"@playwright/test": "^1.33.0",
Expand All @@ -41,7 +42,6 @@
"@prezly/uploadcare-image": "0.3.2",
"@react-hookz/web": "14.7.1",
"@sentry/nextjs": "7.74.0",
"@y_nk/cached-fetch": "1.0.0",
"algoliasearch": "4.20.0",
"classnames": "2.3.2",
"modern-normalize": "1.1.0",
Expand Down
2 changes: 1 addition & 1 deletion theme-kit/api/cache/fetch.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { createCachedFetch, createDedupedFetch } from '@y_nk/cached-fetch';
import { createCachedFetch, createDedupedFetch } from '@e1himself/cached-fetch';

import { getCacheKey } from './getCacheKey';
import type { Options as StoreOptions } from './store';
Expand Down
3 changes: 1 addition & 2 deletions theme-kit/api/cache/store.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import type { Store } from '@y_nk/cached-fetch';
import { createMemoryStore } from '@y_nk/cached-fetch';
import { createMemoryStore, type Store } from '@e1himself/cached-fetch';

type Milliseconds = number;

Expand Down

0 comments on commit b1ae99a

Please sign in to comment.