From a6e4748ef4792acd3e85b900603d93916ad4af98 Mon Sep 17 00:00:00 2001 From: windingwind <33902321+windingwind@users.noreply.github.com> Date: Sun, 17 Dec 2023 16:19:08 +0800 Subject: [PATCH] update: deps --- package.json | 55 +++++++++++++++++++++++------------------------ scripts/build.mjs | 1 + 2 files changed, 28 insertions(+), 28 deletions(-) diff --git a/package.json b/package.json index 5c37bf2..31b2ebc 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,6 @@ "homepage": "https://github.com/windingwind/zotero-better-notes#readme", "dependencies": { "asciidoctor": "^3.0.2", - "crypto-js": "^4.1.1", "diff": "^5.1.0", "hast-util-to-html": "^9.0.0", "hast-util-to-mdast": "^8.4.1", @@ -42,12 +41,12 @@ "hastscript": "^8.0.0", "html-docx-js": "^0.3.1", "html-docx-js-typescript": "^0.1.5", - "katex": "^0.16.8", + "katex": "^0.16.9", "path-browserify": "^1.0.1", "rehype-format": "^4.0.1", - "rehype-parse": "^8.0.4", + "rehype-parse": "^8.0.5", "rehype-remark": "^9.1.2", - "rehype-stringify": "^9.0.3", + "rehype-stringify": "^9.0.4", "remark-gfm": "^3.0.1", "remark-math": "^5.1.1", "remark-parse": "^10.0.2", @@ -59,38 +58,38 @@ "unist-util-visit": "^5.0.0", "unist-util-visit-parents": "^6.0.1", "yamljs": "^0.3.0", - "zotero-plugin-toolkit": "^2.3.12" + "zotero-plugin-toolkit": "^2.3.15" }, "devDependencies": { "@esbuild-plugins/node-globals-polyfill": "^0.2.3", - "@prettier/plugin-xml": "^3.2.0", - "@types/browser-or-node": "^1.3.0", - "@types/diff": "^5.0.3", - "@types/html-docx-js": "^0.3.1", - "@types/katex": "^0.16.2", - "@types/node": "^20.5.6", - "@types/path-browserify": "^1.0.1", - "@types/seedrandom": "^3.0.5", - "@types/yamljs": "^0.2.31", - "@typescript-eslint/eslint-plugin": "^6.4.1", - "@typescript-eslint/parser": "^6.4.1", + "@prettier/plugin-xml": "^3.2.2", + "@types/browser-or-node": "^1.3.2", + "@types/diff": "^5.0.9", + "@types/html-docx-js": "^0.3.4", + "@types/katex": "^0.16.7", + "@types/node": "^20.10.4", + "@types/path-browserify": "^1.0.2", + "@types/seedrandom": "^3.0.8", + "@types/yamljs": "^0.2.34", + "@typescript-eslint/eslint-plugin": "^6.14.0", + "@typescript-eslint/parser": "^6.14.0", "chokidar-cli": "^3.0.0", "compressing": "^1.10.0", - "concurrently": "^8.2.1", + "concurrently": "^8.2.2", "cross-env": "^7.0.3", - "esbuild": "^0.19.2", - "eslint": "^8.47.0", - "eslint-config-prettier": "^9.0.0", - "prettier": "^3.0.2", - "prosemirror-model": "^1.19.3", + "esbuild": "^0.19.9", + "eslint": "^8.56.0", + "eslint-config-prettier": "^9.1.0", + "prettier": "^3.1.1", + "prosemirror-model": "^1.19.4", "prosemirror-state": "^1.4.3", - "prosemirror-transform": "^1.7.5", - "prosemirror-view": "^1.31.7", - "release-it": "^16.1.5", - "replace-in-file": "^7.0.1", - "typescript": "^5.2.2", + "prosemirror-transform": "^1.8.0", + "prosemirror-view": "^1.32.6", + "release-it": "^16.3.0", + "replace-in-file": "^7.0.2", + "typescript": "^5.3.3", "xslt3": "^2.6.0", - "zotero-types": "^1.3.5" + "zotero-types": "^1.3.11" }, "eslintConfig": { "env": { diff --git a/scripts/build.mjs b/scripts/build.mjs index dd7ef23..96bd4a1 100644 --- a/scripts/build.mjs +++ b/scripts/build.mjs @@ -47,6 +47,7 @@ function replaceString(buildTime) { const replaceResult = replaceInFileSync({ files: [ `${buildDir}/addon/**/*.xhtml`, + `${buildDir}/addon/**/*.html`, `${buildDir}/addon/**/*.json`, `${buildDir}/addon/prefs.js`, `${buildDir}/addon/manifest.json`,