Skip to content

Commit 2fefb8d

Browse files
committed
chore: npm run format
1 parent 1aa2220 commit 2fefb8d

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

package.json

+2-7
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@
33
"version": "9.2.0",
44
"type": "module",
55
"description": "parse Scrapbox notation to JavaScript Object",
6-
"files": [
7-
"out"
8-
],
6+
"files": ["out"],
97
"main": "./out/index.cjs",
108
"module": "./out/index.mjs",
119
"types": "./out/index.d.ts",
@@ -32,10 +30,7 @@
3230
"type": "git",
3331
"url": "git+https://github.com/progfay/scrapbox-parser.git"
3432
},
35-
"keywords": [
36-
"scrapbox",
37-
"parser"
38-
],
33+
"keywords": ["scrapbox", "parser"],
3934
"author": "progfay",
4035
"license": "MIT",
4136
"bugs": {

src/block/node/StrongImageNode.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ import { createNodeParser } from "./creator.ts";
44
import type { NodeCreator } from "./creator.ts";
55
import type { PlainNode, StrongImageNode } from "./type.ts";
66

7-
const strongImageRegExp = /\[\[https?:\/\/[^\s\]]+\.(?:png|jpe?g|gif|svg|webp)\]\]/i;
7+
const strongImageRegExp =
8+
/\[\[https?:\/\/[^\s\]]+\.(?:png|jpe?g|gif|svg|webp)\]\]/i;
89
const strongGyazoImageRegExp =
910
/\[\[https?:\/\/(?:[0-9a-z-]+\.)?gyazo\.com\/[0-9a-f]{32}\]\]/;
1011

0 commit comments

Comments
 (0)