Skip to content

Commit d93ae8e

Browse files
pre release
1 parent 50e9b65 commit d93ae8e

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
package-manager-strict=false

packages/shiki/src/index.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -126,14 +126,14 @@ Object.defineProperty(instance, "processAST", {
126126
Object.defineProperty(instance, "hasRegisteredCurrentLang", {
127127
value: (lang: string) => {
128128
return internal?.getLanguage(lang) !== undefined;
129-
}
130-
})
129+
},
130+
});
131131

132132
Object.defineProperty(instance, "getHighlighterEngine", {
133133
value: () => {
134134
return internal;
135-
}
136-
})
135+
},
136+
});
137137

138138
const highlighter: DiffHighlighter = instance as DiffHighlighter;
139139

ui/react-example/src/Example.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,6 @@ export function Example() {
115115
}
116116
}, [expandAll]);
117117

118-
119118
const reactElement = (
120119
<DiffViewReact<string>
121120
ref={ref}

0 commit comments

Comments
 (0)