Skip to content

Commit

Permalink
Merge pull request #385 from maoserr/develop
Browse files Browse the repository at this point in the history
t
  • Loading branch information
maoserr authored Aug 2, 2024
2 parents b1236e9 + f0c8223 commit 2864056
Show file tree
Hide file tree
Showing 9 changed files with 154 additions and 83 deletions.
15 changes: 13 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,20 @@ updates:
- package-ecosystem: github-actions
directory: /
schedule:
interval: daily
interval: monthly
groups:
dev-dependencies:
patterns:
- "*"

- package-ecosystem: npm
directory: /
schedule:
interval: daily
interval: monthly
groups:
dev-dependencies:
patterns:
- "*"
ignore:
- dependency-name: "*"
update-types: ["version-update:semver-major"]
2 changes: 1 addition & 1 deletion .github/workflows/dependabot-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
steps:
- name: Dependabot metadata
id: metadata
uses: dependabot/fetch-metadata@v2.1.0
uses: dependabot/fetch-metadata@v2.2.0
with:
github-token: '${{ secrets.GITHUB_TOKEN }}'
- name: Enable auto-merge for Dependabot PRs
Expand Down
4 changes: 4 additions & 0 deletions assets/config/default.js
Original file line number Diff line number Diff line change
Expand Up @@ -181,9 +181,11 @@ function chap_name_search(inputs,
let ancs = dom.querySelectorAll(inputs['Query Selector']);
let chaps = []
const chap_reg = new RegExp(inputs['Link Regex'], 'i')
let i = 0
ancs.forEach((element) => {
if (chap_reg.test(element.innerText)) {
chaps.push({
id: i++,
url: element.href,
title: element.innerText
});
Expand Down Expand Up @@ -213,9 +215,11 @@ function nu_toc_parser(inputs, url, source, helpers) {
let parser_msg = "Please expand all chapters!"
if (chap_popup != null) {
let chap_lis = chap_popup.querySelectorAll("a");
let i = 0
chap_lis.forEach((element) => {
if (element.href.includes("extnu")) {
chaps.unshift({
id: i++,
url: element.href,
title: element.innerText.trim()
});
Expand Down
186 changes: 113 additions & 73 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@
"style-loader": "^4.0.0",
"terser-webpack-plugin": "^5.3.10",
"ts-loader": "^9.5.1",
"typescript": "^5.5.2",
"typescript": "^5.5.4",
"vue-loader": "^17.4.2",
"webpack": "^5.92.1",
"webpack": "^5.93.0",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^5.0.4"
},
Expand All @@ -51,7 +51,7 @@
"primevue": "^3.53.0",
"prismjs": "^1.29.0",
"tsepub": "^1.1.19",
"vue": "^3.4.31",
"vue": "^3.4.35",
"vue-codemirror": "^6.1.1",
"vue-prism-editor": "^2.0.0-alpha.2",
"webextension-polyfill": "^0.12.0"
Expand Down
Loading

0 comments on commit 2864056

Please sign in to comment.