Skip to content

Commit f5d66d0

Browse files
author
Justin Kimbrell
committed
chore: cleanup
1 parent a230265 commit f5d66d0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/.vitepress/config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,11 +99,11 @@ export default defineConfig({
9999
},
100100

101101
socialLinks: [
102-
{ icon: 'github', link: 'https://github.com/objectivehtml/flipclock' }
102+
{ icon: 'github', link: 'https://github.com/objectivehtml/FlipClock' }
103103
],
104104

105105
editLink: {
106-
pattern: 'https://github.com/objectivehtml/flipclock/edit/master/docs/:path'
106+
pattern: 'https://github.com/objectivehtml/FlipClock/edit/master/docs/:path'
107107
}
108108
},
109109
markdown: {

src/helpers/css.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export function mergeCss<TSource extends CSSProperties, TTarget extends CSSPrope
2424
target: TTarget
2525
): TSource {
2626
for (const key in target) {
27-
if (!target.hasOwnProperty(key)) {
27+
if (!target.hasOwnProperty(key) || ['__proto__', 'constructor', 'prototype'].includes(key)) {
2828
continue;
2929
}
3030

0 commit comments

Comments
 (0)