Skip to content

Commit

Permalink
Update reading-time package version
Browse files Browse the repository at this point in the history
  • Loading branch information
xuelink committed Feb 27, 2024
1 parent fd5c705 commit 5f34299
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 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 @@ -30,7 +30,7 @@
"mdsvex": "^0.11.0",
"prettier": "^2.8.0",
"prettier-plugin-svelte": "^2.10.1",
"reading-time": "^1.5.0",
"reading-time": "^1.2.0",
"rehype-autolink-headings": "^7.0.0",
"rehype-external-links": "^3.0.0",
"rehype-slug": "^6.0.0",
Expand Down
2 changes: 1 addition & 1 deletion src/lib/data/blog-posts/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import Prism from 'prismjs';
// is not removed automatically on build
const ifYouRemoveMeTheBuildFails = Prism;
import 'prism-svelte';
const readingTime = require('reading-time/lib/reading-time');
import readingTime from 'reading-time';
import striptags from 'striptags';
import type { BlogPost } from '$lib/utils/types';

Expand Down

0 comments on commit 5f34299

Please sign in to comment.