Skip to content

Commit 0716fba

Browse files
committed
chore: build for production
1 parent 851e08a commit 0716fba

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

dist/index.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ const plugin = (options) => {
7070
node.tag = node.attrs.tag;
7171
delete node.attrs.tag;
7272
}
73-
if (Object.prototype.hasOwnProperty.call(node.attrs, "inline")) {
73+
if (Object.hasOwn(node.attrs, "inline")) {
7474
if (node.attrs.inline === "" || node.attrs.inline) {
7575
inline = true;
7676
}

dist/index.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ const plugin = (options) => {
6363
node.tag = node.attrs.tag;
6464
delete node.attrs.tag;
6565
}
66-
if (Object.prototype.hasOwnProperty.call(node.attrs, "inline")) {
66+
if (Object.hasOwn(node.attrs, "inline")) {
6767
if (node.attrs.inline === "" || node.attrs.inline) {
6868
inline = true;
6969
}

0 commit comments

Comments
 (0)