Skip to content

Commit c454468

Browse files
committed
fix(changes): Remove unexpected changes
1 parent c346541 commit c454468

File tree

2 files changed

+11
-6
lines changed

2 files changed

+11
-6
lines changed

package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,10 @@
5454
"ts-node": "^10.9.2",
5555
"typescript": "^5.4.5",
5656
"vite": "^4.5.0",
57-
"vite-plugin-css-injected-by-js": "^3.3.0"
57+
"vite-plugin-css-injected-by-js": "^3.3.0",
58+
"vite-plugin-dts": "^3.9.1"
5859
},
59-
"dependencies": {}
60+
"dependencies": {
61+
"@editorjs/editorjs": "^2.29.1"
62+
}
6063
}

src/services.ts

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
/* eslint-disable no-useless-escape */
2-
export default {
2+
import type { ServicesConfigType } from './serviceConfig';
3+
4+
const SERVICES: ServicesConfigType = {
35
vimeo: {
46
regex: /(?:http[s]?:\/\/)?(?:www.)?(?:player.)?vimeo\.co(?:.+\/([^\/]\d+)(?:#t=[\d]+)?s?$)/,
57
embedUrl: 'https://player.vimeo.com/video/<%= remote_id %>?title=0&byline=0',
@@ -42,9 +44,9 @@ export default {
4244
return null;
4345
}
4446

45-
if (value === 'LL'
46-
|| value.startsWith('RDMM')
47-
|| value.startsWith('FL')) {
47+
if (value === 'LL' ||
48+
value.startsWith('RDMM') ||
49+
value.startsWith('FL')) {
4850
return null;
4951
}
5052

0 commit comments

Comments
 (0)