Skip to content

Commit

Permalink
Merge branch 'mini' into browser
Browse files Browse the repository at this point in the history
  • Loading branch information
bhsd-harry committed Jan 24, 2025
2 parents a9105b7 + 5618289 commit b80918d
Show file tree
Hide file tree
Showing 5 changed files with 286 additions and 286 deletions.
2 changes: 1 addition & 1 deletion README-(ZH).md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
[![CodeQL](https://github.com/bhsd-harry/wikiparser-node/actions/workflows/codeql.yml/badge.svg)](https://github.com/bhsd-harry/wikiparser-node/actions/workflows/codeql.yml)
[![CI](https://github.com/bhsd-harry/wikiparser-node/actions/workflows/node.js.yml/badge.svg)](https://github.com/bhsd-harry/wikiparser-node/actions/workflows/node.js.yml)
[![jsDelivr hits (npm)](https://img.shields.io/jsdelivr/npm/hm/wikiparser-node)](https://www.npmjs.com/package/wikiparser-node)
[![codebeat badge](https://codebeat.co/badges/7cdd51e6-2c5d-4a22-aae1-f5e352047d54)](https://codebeat.co/projects/github-com-bhsd-harry-wikiparser-node-main)
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/a2fbe7641031451baca2947ae6d7891f)](https://app.codacy.com/gh/bhsd-harry/wikiparser-node/dashboard)
![Istanbul coverage](./coverage/badge.svg)

# Other Languages
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
[![CodeQL](https://github.com/bhsd-harry/wikiparser-node/actions/workflows/codeql.yml/badge.svg)](https://github.com/bhsd-harry/wikiparser-node/actions/workflows/codeql.yml)
[![CI](https://github.com/bhsd-harry/wikiparser-node/actions/workflows/node.js.yml/badge.svg)](https://github.com/bhsd-harry/wikiparser-node/actions/workflows/node.js.yml)
[![jsDelivr hits (npm)](https://img.shields.io/jsdelivr/npm/hm/wikiparser-node)](https://www.npmjs.com/package/wikiparser-node)
[![codebeat badge](https://codebeat.co/badges/7cdd51e6-2c5d-4a22-aae1-f5e352047d54)](https://codebeat.co/projects/github-com-bhsd-harry-wikiparser-node-main)
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/a2fbe7641031451baca2947ae6d7891f)](https://app.codacy.com/gh/bhsd-harry/wikiparser-node/dashboard)
![Istanbul coverage](./coverage/badge.svg)

# Other Languages
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"test:real": "node --enable-source-maps dist/test/real.js"
},
"dependencies": {
"@bhsd/common": "^0.6.1"
"@bhsd/common": "^0.6.3"
},
"devDependencies": {
"@bhsd/codemirror-mediawiki": "^2.20.1",
Expand Down
2 changes: 1 addition & 1 deletion src/attributes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ let wordRegex: RegExp;
try {
// eslint-disable-next-line prefer-regex-literals, es-x/no-regexp-unicode-property-escapes
wordRegex = new RegExp(String.raw`[\p{L}\d]`, 'u');
} catch {
} catch /* istanbul ignore next */ {
wordRegex = /[^\W_]/u;
}

Expand Down
Loading

0 comments on commit b80918d

Please sign in to comment.