From d58dfcc91b7c3def6a0304ffc6e779568ace7f61 Mon Sep 17 00:00:00 2001
From: neobooru <50623835+neobooru@users.noreply.github.com>
Date: Tue, 31 Jan 2023 20:57:17 +0100
Subject: [PATCH] Update
---
.eslintignore | 2 +
package.json | 4 +-
pnpm-lock.yaml | 371 ++++++++++++--------------
src/api/index.ts | 2 +-
src/components/PostNotes.vue | 4 +-
src/components/PostNotes.vue.todo.txt | 143 ----------
src/manifest.ts | 7 +-
src/styles/main.scss | 5 +
8 files changed, 196 insertions(+), 342 deletions(-)
delete mode 100644 src/components/PostNotes.vue.todo.txt
diff --git a/.eslintignore b/.eslintignore
index e6a8276..e2ef9aa 100644
--- a/.eslintignore
+++ b/.eslintignore
@@ -1,3 +1,5 @@
dist
node_modules
public
+auto-imports.d.ts
+components.d.ts
diff --git a/package.json b/package.json
index 1331fdb..cd1afbc 100644
--- a/package.json
+++ b/package.json
@@ -20,6 +20,7 @@
"pack:xpi": "cross-env WEB_EXT_ARTIFACTS_DIR=./ web-ext build --source-dir ./extension --filename extension.xpi --overwrite-dest",
"start:chromium": "web-ext run --source-dir ./extension --target=chromium",
"start:firefox": "web-ext run --source-dir ./extension --target=firefox-desktop",
+ "sign:firefox": "web-ext sign --use-submission-api --source-dir ./extension --channel unlisted",
"clear": "rimraf extension/dist extension/manifest.json extension.*",
"lint": "eslint .",
"test": "vitest test"
@@ -48,6 +49,7 @@
"cross-env": "^7.0.3",
"crx": "^5.0.1",
"eslint": "^8.28.0",
+ "eslint-plugin-vue": "^9.9.0",
"esno": "^0.16.3",
"fs-extra": "^10.1.0",
"jsdom": "^20.0.3",
@@ -61,7 +63,7 @@
"vite": "^3.2.4",
"vitest": "^0.25.3",
"vue": "^3.2.45",
- "web-ext": "^7.3.1",
+ "web-ext": "^7.5.0",
"webextension-polyfill": "^0.10.0"
}
}
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 1b56830..89d4668 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -19,6 +19,7 @@ specifiers:
cross-env: ^7.0.3
crx: ^5.0.1
eslint: ^8.28.0
+ eslint-plugin-vue: ^9.9.0
esno: ^0.16.3
fs-extra: ^10.1.0
jsdom: ^20.0.3
@@ -35,7 +36,7 @@ specifiers:
vite: ^3.2.4
vitest: ^0.25.3
vue: ^3.2.45
- web-ext: ^7.3.1
+ web-ext: ^7.5.0
webextension-polyfill: ^0.10.0
dependencies:
@@ -53,7 +54,7 @@ devDependencies:
'@types/markdown-it': 12.2.3
'@types/node': 18.11.18
'@types/webextension-polyfill': 0.9.2
- '@typescript-eslint/eslint-plugin': 5.48.2_caon6io6stgpr7lz2rtbhekxqy
+ '@typescript-eslint/eslint-plugin': 5.48.2_skqhap4rvjneq2n5v2vocxqt74
'@vitejs/plugin-vue': 3.2.0_vite@3.2.5+vue@3.2.45
'@vue/compiler-sfc': 3.2.45
'@vue/test-utils': 2.2.7_vue@3.2.45
@@ -62,6 +63,7 @@ devDependencies:
cross-env: 7.0.3
crx: 5.0.1
eslint: 8.32.0
+ eslint-plugin-vue: 9.9.0_eslint@8.32.0
esno: 0.16.3
fs-extra: 10.1.0
jsdom: 20.0.3
@@ -75,7 +77,7 @@ devDependencies:
vite: 3.2.5_ovmyjmuuyckt3r3gpaexj2onji
vitest: 0.25.8_jsdom@20.0.3+sass@1.57.1
vue: 3.2.45
- web-ext: 7.4.0
+ web-ext: 7.5.0
webextension-polyfill: 0.10.0
packages:
@@ -258,8 +260,8 @@ packages:
'@babel/types': 7.20.7
dev: true
- /@babel/runtime/7.20.1:
- resolution: {integrity: sha512-mrzLkl6U9YLF8qpqI7TB82PESyEGjm/0Ly91jG575eVxMMlb8fYfOXFZIJ8XfLrJZQbm7dlKry2bJmXBUEkdFg==}
+ /@babel/runtime/7.20.13:
+ resolution: {integrity: sha512-gt3PKXs0DBoL9xCvOIIZ2NEqAGZqHjAnmVbfQtB620V0uReIQutpel14KcneZuer7UioY8ALKZ7iocavvzTNFA==}
engines: {node: '>=6.9.0'}
dependencies:
regenerator-runtime: 0.13.11
@@ -491,8 +493,8 @@ packages:
'@jridgewell/sourcemap-codec': 1.4.14
dev: true
- /@mdn/browser-compat-data/5.2.17:
- resolution: {integrity: sha512-aA+rFHhXmq14GVIcEWNk8OntLEOQFwEZk9ZgG5VcDquz+pQhIjJPXacR+rwL9Z0Elfg909EcRRHC96p06/CNUg==}
+ /@mdn/browser-compat-data/5.2.29:
+ resolution: {integrity: sha512-bEBrkTWbDAs/PB4IdRg4CtU750oBRytXHK/wC2oIDkgKZqnt76nACSooQQuHF11mK5k43f/IgFUMO5t5quRPVA==}
dev: true
/@nodelib/fs.scandir/2.1.5:
@@ -684,7 +686,7 @@ packages:
'@types/node': 18.11.18
dev: true
- /@typescript-eslint/eslint-plugin/5.48.2_caon6io6stgpr7lz2rtbhekxqy:
+ /@typescript-eslint/eslint-plugin/5.48.2_skqhap4rvjneq2n5v2vocxqt74:
resolution: {integrity: sha512-sR0Gja9Ky1teIq4qJOl0nC+Tk64/uYdX+mi+5iB//MH8gwyx8e3SOyhEzeLZEFEEfCaLf8KJq+Bd/6je1t+CAg==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
@@ -695,7 +697,7 @@ packages:
typescript:
optional: true
dependencies:
- '@typescript-eslint/parser': 5.48.2_7uibuqfxkfaozanbtbziikiqje
+ '@typescript-eslint/parser': 5.50.0_7uibuqfxkfaozanbtbziikiqje
'@typescript-eslint/scope-manager': 5.48.2
'@typescript-eslint/type-utils': 5.48.2_7uibuqfxkfaozanbtbziikiqje
'@typescript-eslint/utils': 5.48.2_7uibuqfxkfaozanbtbziikiqje
@@ -711,8 +713,8 @@ packages:
- supports-color
dev: true
- /@typescript-eslint/parser/5.48.2_7uibuqfxkfaozanbtbziikiqje:
- resolution: {integrity: sha512-38zMsKsG2sIuM5Oi/olurGwYJXzmtdsHhn5mI/pQogP+BjYVkK5iRazCQ8RGS0V+YLk282uWElN70zAAUmaYHw==}
+ /@typescript-eslint/parser/5.50.0_7uibuqfxkfaozanbtbziikiqje:
+ resolution: {integrity: sha512-KCcSyNaogUDftK2G9RXfQyOCt51uB5yqC6pkUYqhYh8Kgt+DwR5M0EwEAxGPy/+DH6hnmKeGsNhiZRQxjH71uQ==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
eslint: ^6.0.0 || ^7.0.0 || ^8.0.0
@@ -721,9 +723,9 @@ packages:
typescript:
optional: true
dependencies:
- '@typescript-eslint/scope-manager': 5.48.2
- '@typescript-eslint/types': 5.48.2
- '@typescript-eslint/typescript-estree': 5.48.2_typescript@4.9.4
+ '@typescript-eslint/scope-manager': 5.50.0
+ '@typescript-eslint/types': 5.50.0
+ '@typescript-eslint/typescript-estree': 5.50.0_typescript@4.9.4
debug: 4.3.4
eslint: 8.32.0
typescript: 4.9.4
@@ -739,6 +741,14 @@ packages:
'@typescript-eslint/visitor-keys': 5.48.2
dev: true
+ /@typescript-eslint/scope-manager/5.50.0:
+ resolution: {integrity: sha512-rt03kaX+iZrhssaT974BCmoUikYtZI24Vp/kwTSy841XhiYShlqoshRFDvN1FKKvU2S3gK+kcBW1EA7kNUrogg==}
+ engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
+ dependencies:
+ '@typescript-eslint/types': 5.50.0
+ '@typescript-eslint/visitor-keys': 5.50.0
+ dev: true
+
/@typescript-eslint/type-utils/5.48.2_7uibuqfxkfaozanbtbziikiqje:
resolution: {integrity: sha512-QVWx7J5sPMRiOMJp5dYshPxABRoZV1xbRirqSk8yuIIsu0nvMTZesKErEA3Oix1k+uvsk8Cs8TGJ6kQ0ndAcew==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
@@ -764,6 +774,11 @@ packages:
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
dev: true
+ /@typescript-eslint/types/5.50.0:
+ resolution: {integrity: sha512-atruOuJpir4OtyNdKahiHZobPKFvZnBnfDiyEaBf6d9vy9visE7gDjlmhl+y29uxZ2ZDgvXijcungGFjGGex7w==}
+ engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
+ dev: true
+
/@typescript-eslint/typescript-estree/5.48.2_typescript@4.9.4:
resolution: {integrity: sha512-bibvD3z6ilnoVxUBFEgkO0k0aFvUc4Cttt0dAreEr+nrAHhWzkO83PEVVuieK3DqcgL6VAK5dkzK8XUVja5Zcg==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
@@ -785,6 +800,27 @@ packages:
- supports-color
dev: true
+ /@typescript-eslint/typescript-estree/5.50.0_typescript@4.9.4:
+ resolution: {integrity: sha512-Gq4zapso+OtIZlv8YNAStFtT6d05zyVCK7Fx3h5inlLBx2hWuc/0465C2mg/EQDDU2LKe52+/jN4f0g9bd+kow==}
+ engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
+ peerDependencies:
+ typescript: '*'
+ peerDependenciesMeta:
+ typescript:
+ optional: true
+ dependencies:
+ '@typescript-eslint/types': 5.50.0
+ '@typescript-eslint/visitor-keys': 5.50.0
+ debug: 4.3.4
+ globby: 11.1.0
+ is-glob: 4.0.3
+ semver: 7.3.8
+ tsutils: 3.21.0_typescript@4.9.4
+ typescript: 4.9.4
+ transitivePeerDependencies:
+ - supports-color
+ dev: true
+
/@typescript-eslint/utils/5.48.2_7uibuqfxkfaozanbtbziikiqje:
resolution: {integrity: sha512-2h18c0d7jgkw6tdKTlNaM7wyopbLRBiit8oAxoP89YnuBOzCZ8g8aBCaCqq7h208qUTroL7Whgzam7UY3HVLow==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
@@ -813,6 +849,14 @@ packages:
eslint-visitor-keys: 3.3.0
dev: true
+ /@typescript-eslint/visitor-keys/5.50.0:
+ resolution: {integrity: sha512-cdMeD9HGu6EXIeGOh2yVW6oGf9wq8asBgZx7nsR/D36gTfQ0odE5kcRYe5M81vjEFAcPeugXrHg78Imu55F6gg==}
+ engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
+ dependencies:
+ '@typescript-eslint/types': 5.50.0
+ eslint-visitor-keys: 3.3.0
+ dev: true
+
/@vitejs/plugin-vue/3.2.0_vite@3.2.5+vue@3.2.45:
resolution: {integrity: sha512-E0tnaL4fr+qkdCNxJ+Xd0yM31UwMkQje76fsDVBBUCoGOUPexu2VDUYHL8P4CwV+zMvWw6nlRw19OnRKmYAJpw==}
engines: {node: ^14.18.0 || >=16.0.0}
@@ -977,34 +1021,35 @@ packages:
hasBin: true
dev: true
- /addons-linter/5.23.0_node-fetch@3.3.0:
- resolution: {integrity: sha512-Vo6+5YlM2Ge3yYMY+gNg9Smcfcl1J0ZMfGVXnGJjUwDVHuszHVIvurunQuJURnO4FR1gi4Vy1sWye8ArRL5LOw==}
+ /addons-linter/5.27.0_node-fetch@3.3.0:
+ resolution: {integrity: sha512-gDgl0FcmhZ5cs3St0qAaO9J1BoektwnY+p4dVgcvPu8WaBqH9MG2fk0gL/evCpoHSXeSw15GA87n8Y7zy7raVQ==}
engines: {node: '>=12.21.0'}
hasBin: true
dependencies:
- '@mdn/browser-compat-data': 5.2.17
+ '@mdn/browser-compat-data': 5.2.29
addons-moz-compare: 1.3.0
- addons-scanner-utils: 8.1.0_node-fetch@3.3.0
- ajv: 8.11.2
- ajv-merge-patch: 5.0.1_ajv@8.11.2
+ addons-scanner-utils: 8.3.0_node-fetch@3.3.0
+ ajv: 8.12.0
chalk: 4.1.2
cheerio: 1.0.0-rc.12
columnify: 1.6.0
common-tags: 1.8.2
deepmerge: 4.2.2
- eslint: 8.28.0
- eslint-plugin-no-unsanitized: 4.0.1_eslint@8.28.0
+ eslint: 8.32.0
+ eslint-plugin-no-unsanitized: 4.0.2_eslint@8.32.0
eslint-visitor-keys: 3.3.0
espree: 9.4.1
esprima: 4.0.1
- fluent-syntax: 0.13.0
- glob: 8.0.3
+ fast-json-patch: 3.1.1
+ fluent-syntax: 0.14.0
+ glob: 8.1.0
image-size: 1.0.2
is-mergeable-object: 1.1.1
jed: 1.1.1
+ json-merge-patch: 1.0.2
os-locale: 5.0.0
- pino: 8.7.0
- postcss: 8.4.19
+ pino: 8.8.0
+ postcss: 8.4.21
relaxed-json: 1.0.3
semver: 7.3.8
sha.js: 2.4.11
@@ -1025,8 +1070,8 @@ packages:
resolution: {integrity: sha512-/rXpQeaY0nOKhNx00pmZXdk5Mu+KhVlL3/pSBuAYwrxRrNiTvI/9xfQI8Lmm7DMMl+PDhtfAHY/0ibTpdeoQQQ==}
dev: true
- /addons-scanner-utils/8.1.0_node-fetch@3.3.0:
- resolution: {integrity: sha512-wxqnmmrzZXjz4B4GZbFcR4HJxTP+pGu+C6iOjMJdmL6mgZZey/UEVJlU6XTxu8GdGv0bUoJxyIioH8XEDxy91Q==}
+ /addons-scanner-utils/8.3.0_node-fetch@3.3.0:
+ resolution: {integrity: sha512-XP+2kxhZxlxiVFXVJ7lyJEuxpUS8ryrolUDqnUEnvOZ/3p8qt9hWCYSliXhI2W+Swf/hZ3F4CLAG6tBnqdxDYA==}
peerDependencies:
body-parser: 1.20.1
express: 4.18.2
@@ -1065,16 +1110,6 @@ packages:
- supports-color
dev: true
- /ajv-merge-patch/5.0.1_ajv@8.11.2:
- resolution: {integrity: sha512-0UP3aJCzfzBOkmLR+EinJDCfg6DNtprj3bVPo7JJNgUpZMKt097t9xxQOWFGRoB4JvKKIHE2qe0HkVaS/HyrjQ==}
- peerDependencies:
- ajv: '>=8.0.0'
- dependencies:
- ajv: 8.11.2
- fast-json-patch: 2.2.1
- json-merge-patch: 1.0.2
- dev: true
-
/ajv/6.12.6:
resolution: {integrity: sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==}
dependencies:
@@ -1084,8 +1119,8 @@ packages:
uri-js: 4.4.1
dev: true
- /ajv/8.11.2:
- resolution: {integrity: sha512-E4bfmKAhGiSTvMfL1Myyycaub+cUEU2/IvpylXkUu7CHBkBj1f/ikdzbD7YQ6FKUbixDxeYvB/xY4fvyroDlQg==}
+ /ajv/8.12.0:
+ resolution: {integrity: sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==}
dependencies:
fast-deep-equal: 3.1.3
json-schema-traverse: 1.0.0
@@ -1288,7 +1323,7 @@ packages:
engines: {node: '>=14.16'}
dependencies:
ansi-align: 3.0.1
- camelcase: 7.0.0
+ camelcase: 7.0.1
chalk: 5.2.0
cli-boxes: 3.0.0
string-width: 5.1.2
@@ -1410,8 +1445,8 @@ packages:
engines: {node: '>=6'}
dev: true
- /camelcase/7.0.0:
- resolution: {integrity: sha512-JToIvOmz6nhGsUhAYScbo2d6Py5wojjNfoxoc2mEVLUdJ70gJK2gnd+ABY1Tc3sVMyK7QDPtN0T/XdlCQWITyQ==}
+ /camelcase/7.0.1:
+ resolution: {integrity: sha512-xlx1yCK2Oc1APsPXDL2LdlNP6+uu8OCDdhOBSVT279M/S+y75O30C2VuD8T2ogdePBBl7PfPF4504tnLgX3zfw==}
engines: {node: '>=14.16'}
dev: true
@@ -1658,8 +1693,8 @@ packages:
resolution: {integrity: sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==}
dev: true
- /core-js/3.25.3:
- resolution: {integrity: sha512-y1hvKXmPHvm5B7w4ln1S4uc9eV/O5+iFExSRUimnvIph11uaizFR8LFMdONN8hG3P2pipUfX4Y/fR8rAEtcHcQ==}
+ /core-js/3.27.1:
+ resolution: {integrity: sha512-GutwJLBChfGCpwwhbYoqfv03LAfmiz7e7D/BNxzeMxwQf10GRSzqiOjx7AmtEk+heiD/JWmBuyBPgFtx0Sg1ww==}
requiresBuild: true
dev: true
@@ -1761,6 +1796,12 @@ packages:
engines: {node: '>= 6'}
dev: true
+ /cssesc/3.0.0:
+ resolution: {integrity: sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==}
+ engines: {node: '>=4'}
+ hasBin: true
+ dev: true
+
/cssom/0.3.8:
resolution: {integrity: sha512-b0tGHbfegbhPJpxpiBPU2sCkigAqtM9O121le6bbOlgyV+NyGyCmVfJ6QW9eRjz8CpNfWEOYBIMIGRYkLwsIYg==}
dev: true
@@ -2361,12 +2402,30 @@ packages:
source-map: 0.6.1
dev: true
- /eslint-plugin-no-unsanitized/4.0.1_eslint@8.28.0:
- resolution: {integrity: sha512-y/lAMWnPPC7RYuUdxlEL/XiCL8FehN9h9s3Kjqbp/Kv0i9NZs+IXSC2kS546Fa4Bumwy31HlVS/OdWX0Kxb5Xg==}
+ /eslint-plugin-no-unsanitized/4.0.2_eslint@8.32.0:
+ resolution: {integrity: sha512-Pry0S9YmHoz8NCEMRQh7N0Yexh2MYCNPIlrV52hTmS7qXnTghWsjXouF08bgsrrZqaW9tt1ZiK3j5NEmPE+EjQ==}
peerDependencies:
eslint: ^6 || ^7 || ^8
dependencies:
- eslint: 8.28.0
+ eslint: 8.32.0
+ dev: true
+
+ /eslint-plugin-vue/9.9.0_eslint@8.32.0:
+ resolution: {integrity: sha512-YbubS7eK0J7DCf0U2LxvVP7LMfs6rC6UltihIgval3azO3gyDwEGVgsCMe1TmDiEkl6GdMKfRpaME6QxIYtzDQ==}
+ engines: {node: ^14.17.0 || >=16.0.0}
+ peerDependencies:
+ eslint: ^6.2.0 || ^7.0.0 || ^8.0.0
+ dependencies:
+ eslint: 8.32.0
+ eslint-utils: 3.0.0_eslint@8.32.0
+ natural-compare: 1.4.0
+ nth-check: 2.1.1
+ postcss-selector-parser: 6.0.11
+ semver: 7.3.8
+ vue-eslint-parser: 9.1.0_eslint@8.32.0
+ xml-name-validator: 4.0.0
+ transitivePeerDependencies:
+ - supports-color
dev: true
/eslint-scope/5.1.1:
@@ -2385,16 +2444,6 @@ packages:
estraverse: 5.3.0
dev: true
- /eslint-utils/3.0.0_eslint@8.28.0:
- resolution: {integrity: sha512-uuQC43IGctw68pJA1RgbQS8/NP7rch6Cwd4j3ZBtgo4/8Flj4eGE7ZYSZRN3iq5pVUv6GPdW5Z1RFleo84uLDA==}
- engines: {node: ^10.0.0 || ^12.0.0 || >= 14.0.0}
- peerDependencies:
- eslint: '>=5'
- dependencies:
- eslint: 8.28.0
- eslint-visitor-keys: 2.1.0
- dev: true
-
/eslint-utils/3.0.0_eslint@8.32.0:
resolution: {integrity: sha512-uuQC43IGctw68pJA1RgbQS8/NP7rch6Cwd4j3ZBtgo4/8Flj4eGE7ZYSZRN3iq5pVUv6GPdW5Z1RFleo84uLDA==}
engines: {node: ^10.0.0 || ^12.0.0 || >= 14.0.0}
@@ -2415,54 +2464,6 @@ packages:
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
dev: true
- /eslint/8.28.0:
- resolution: {integrity: sha512-S27Di+EVyMxcHiwDrFzk8dJYAaD+/5SoWKxL1ri/71CRHsnJnRDPNt2Kzj24+MT9FDupf4aqqyqPrvI8MvQ4VQ==}
- engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
- hasBin: true
- dependencies:
- '@eslint/eslintrc': 1.4.1
- '@humanwhocodes/config-array': 0.11.8
- '@humanwhocodes/module-importer': 1.0.1
- '@nodelib/fs.walk': 1.2.8
- ajv: 6.12.6
- chalk: 4.1.2
- cross-spawn: 7.0.3
- debug: 4.3.4
- doctrine: 3.0.0
- escape-string-regexp: 4.0.0
- eslint-scope: 7.1.1
- eslint-utils: 3.0.0_eslint@8.28.0
- eslint-visitor-keys: 3.3.0
- espree: 9.4.1
- esquery: 1.4.0
- esutils: 2.0.3
- fast-deep-equal: 3.1.3
- file-entry-cache: 6.0.1
- find-up: 5.0.0
- glob-parent: 6.0.2
- globals: 13.19.0
- grapheme-splitter: 1.0.4
- ignore: 5.2.4
- import-fresh: 3.3.0
- imurmurhash: 0.1.4
- is-glob: 4.0.3
- is-path-inside: 3.0.3
- js-sdsl: 4.2.0
- js-yaml: 4.1.0
- json-stable-stringify-without-jsonify: 1.0.1
- levn: 0.4.1
- lodash.merge: 4.6.2
- minimatch: 3.1.2
- natural-compare: 1.4.0
- optionator: 0.9.1
- regexpp: 3.2.0
- strip-ansi: 6.0.1
- strip-json-comments: 3.1.1
- text-table: 0.2.0
- transitivePeerDependencies:
- - supports-color
- dev: true
-
/eslint/8.32.0:
resolution: {integrity: sha512-nETVXpnthqKPFyuY2FNjz/bEd6nbosRgKbkgS/y1C7LJop96gYHWpiguLecMHQ2XCPxn77DS0P+68WzG6vkZSQ==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
@@ -2606,10 +2607,6 @@ packages:
engines: {'0': node >=0.6.0}
dev: true
- /fast-deep-equal/2.0.1:
- resolution: {integrity: sha512-bCK/2Z4zLidyB4ReuIsvALH6w31YfAQDmXMqMx6FyfHqvBxtjC0eRumeSu4Bs3XtXwpyIywtSTrVT99BxY1f9w==}
- dev: true
-
/fast-deep-equal/3.1.3:
resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==}
dev: true
@@ -2625,11 +2622,8 @@ packages:
micromatch: 4.0.5
dev: true
- /fast-json-patch/2.2.1:
- resolution: {integrity: sha512-4j5uBaTnsYAV5ebkidvxiLUYOwjQ+JSFljeqfTxCrH9bDmlCQaOJFS84oDJ2rAXZq2yskmk3ORfoP9DCwqFNig==}
- engines: {node: '>= 0.4.0'}
- dependencies:
- fast-deep-equal: 2.0.1
+ /fast-json-patch/3.1.1:
+ resolution: {integrity: sha512-vf6IHUX2SBcA+5/+4883dsIjpBTqmfBjmYiWK1savxQmFk4JfBMLa7ynTYOs1Rolp/T1betJxHiGD3g1Mn8lUQ==}
dev: true
/fast-json-stable-stringify/2.1.0:
@@ -2720,9 +2714,10 @@ packages:
resolution: {integrity: sha512-5nqDSxl8nn5BSNxyR3n4I6eDmbolI6WT+QqR547RwxQapgjQBmtktdP+HTBb/a/zLsbzERTONyUB5pefh5TtjQ==}
dev: true
- /fluent-syntax/0.13.0:
- resolution: {integrity: sha512-0Bk1AsliuYB550zr4JV9AYhsETsD3ELXUQzdXGJfIc1Ni/ukAfBdQInDhVMYJUaT2QxoamNslwkYF7MlOrPUwg==}
+ /fluent-syntax/0.14.0:
+ resolution: {integrity: sha512-+k8uXWfRpSrE33764RbpjIKMzIX6R9EnSjFBgaA1s0Mboc3KnW9sYe0c6vjIoZQY1C4Gst1VFvAOP6YGJjTJuA==}
engines: {node: '>=8.9.0'}
+ deprecated: Renamed to @fluent/syntax 0.14.0
dev: true
/follow-redirects/1.15.2:
@@ -2796,6 +2791,15 @@ packages:
universalify: 2.0.0
dev: true
+ /fs-extra/11.1.0:
+ resolution: {integrity: sha512-0rcTq621PD5jM/e0a3EJoGC/1TC5ZBCERW82LQuwfGnCa1V8w7dpYH1yNu+SLb6E5dkeCBzKEyLGlFrnr+dUyw==}
+ engines: {node: '>=14.14'}
+ dependencies:
+ graceful-fs: 4.2.10
+ jsonfile: 6.1.0
+ universalify: 2.0.0
+ dev: true
+
/fs-extra/9.0.1:
resolution: {integrity: sha512-h2iAoN838FqAFJY2/qVpzFXy+EBxfVE220PalAqQLDVsFOHLJrZvut5puAbCdNv6WJk+B8ihI+k0c7JK5erwqQ==}
engines: {node: '>=10'}
@@ -2962,14 +2966,14 @@ packages:
path-is-absolute: 1.0.1
dev: true
- /glob/8.0.3:
- resolution: {integrity: sha512-ull455NHSHI/Y1FqGaaYFaLGkNMMJbavMrEGFXG/PGrg6y7sutWHUHrz6gy6WEBH6akM1M414dWKCNs+IhKdiQ==}
+ /glob/8.1.0:
+ resolution: {integrity: sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==}
engines: {node: '>=12'}
dependencies:
fs.realpath: 1.0.0
inflight: 1.0.6
inherits: 2.0.4
- minimatch: 5.1.4
+ minimatch: 5.1.6
once: 1.4.0
dev: true
@@ -3519,8 +3523,8 @@ packages:
hasBin: true
dev: true
- /jose/4.11.1:
- resolution: {integrity: sha512-YRv4Tk/Wlug8qicwqFNFVEZSdbROCHRAC6qu/i0dyNKr5JQdoa2pIGoS04lLO/jXQX7Z9omoNewYIVIxqZBd9Q==}
+ /jose/4.11.2:
+ resolution: {integrity: sha512-njj0VL2TsIxCtgzhO+9RRobBvws4oYyCM8TpvoUQwl/MbIM3NFJRR9+e6x0sS5xXaP1t6OCBkaBME98OV9zU5A==}
dev: true
/js-sdsl/4.2.0:
@@ -3645,20 +3649,14 @@ packages:
graceful-fs: 4.2.10
dev: true
- /jsonwebtoken/8.5.1:
- resolution: {integrity: sha512-XjwVfRS6jTMsqYs0EsuJ4LGxXV14zQybNd4L2r0UvbVnSF9Af8x7p5MzbJ90Ioz/9TI41/hTCvznF/loiSzn8w==}
- engines: {node: '>=4', npm: '>=1.4.28'}
+ /jsonwebtoken/9.0.0:
+ resolution: {integrity: sha512-tuGfYXxkQGDPnLJ7SibiQgVgeDgfbPq2k2ICcbgqW8WxWLBAxKQM/ZCu/IT8SOSwmaYl4dpTFCW5xZv7YbbWUw==}
+ engines: {node: '>=12', npm: '>=6'}
dependencies:
jws: 3.2.2
- lodash.includes: 4.3.0
- lodash.isboolean: 3.0.3
- lodash.isinteger: 4.0.4
- lodash.isnumber: 3.0.3
- lodash.isplainobject: 4.0.6
- lodash.isstring: 4.0.1
- lodash.once: 4.1.1
+ lodash: 4.17.21
ms: 2.1.3
- semver: 5.7.1
+ semver: 7.3.8
dev: true
/jsprim/1.4.2:
@@ -3828,38 +3826,14 @@ packages:
resolution: {integrity: sha512-C5N2Z3DgnnKr0LOpv/hKCgKdb7ZZwafIrsesve6lmzvZIRZRGaZ/l6Q8+2W7NaT+ZwO3fFlSCzCzrDCFdJfZ4g==}
dev: true
- /lodash.includes/4.3.0:
- resolution: {integrity: sha512-W3Bx6mdkRTGtlJISOvVD/lbqjTlPPUDTMnlXZFnVwi9NKJ6tiAk6LVdlhZMm17VZisqhKcgzpO5Wz91PCt5b0w==}
- dev: true
-
- /lodash.isboolean/3.0.3:
- resolution: {integrity: sha512-Bz5mupy2SVbPHURB98VAcw+aHh4vRV5IPNhILUCsOzRmsTmSQ17jIuqopAentWoehktxGd9e/hbIXq980/1QJg==}
- dev: true
-
- /lodash.isinteger/4.0.4:
- resolution: {integrity: sha512-DBwtEWN2caHQ9/imiNeEA5ys1JoRtRfY3d7V9wkqtbycnAmTvRRmbHKDV4a0EYc678/dia0jrte4tjYwVBaZUA==}
- dev: true
-
- /lodash.isnumber/3.0.3:
- resolution: {integrity: sha512-QYqzpfwO3/CWf3XP+Z+tkQsfaLL/EnUlXWVkIk5FUPc4sBdTehEqZONuyRt2P67PXAk+NXmTBcc97zw9t1FQrw==}
- dev: true
-
/lodash.isplainobject/4.0.6:
resolution: {integrity: sha512-oSXzaWypCMHkPC3NvBEaPHf0KsA5mvPrOPgQWDsbg8n7orZ290M0BmC/jgRZ4vcJ6DTAhjrsSYgdsW/F+MFOBA==}
dev: true
- /lodash.isstring/4.0.1:
- resolution: {integrity: sha512-0wJxfxH1wgO3GrbuP+dTTk7op+6L41QCXbGINEmD+ny/G/eCqGzxyCsh7159S+mgDDcoarnBw6PC1PS5+wUGgw==}
- dev: true
-
/lodash.merge/4.6.2:
resolution: {integrity: sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==}
dev: true
- /lodash.once/4.1.1:
- resolution: {integrity: sha512-Sb487aTOCr9drQVL8pIxOzVhafOjZN9UU54hiN8PU3uAiSV7lx1yYNpbNmex2PK6dSJoNTSJUUswT651yww3Mg==}
- dev: true
-
/lodash.template/4.5.0:
resolution: {integrity: sha512-84vYFxIkmidUiFxidA/KjjH9pAycqW+h980j7Fuz5qxRtO9pgB7MDFTdys1N7A5mcucRiDyEq4fusljItR1T/A==}
dependencies:
@@ -4031,8 +4005,8 @@ packages:
brace-expansion: 1.1.11
dev: true
- /minimatch/5.1.4:
- resolution: {integrity: sha512-U0iNYXt9wALljzfnGkhFSy5sAC6/SCR3JrHrlsdJz4kF8MvhTRQNiC59iUi1iqsitV7abrNAJWElVL9pdnoUgw==}
+ /minimatch/5.1.6:
+ resolution: {integrity: sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==}
engines: {node: '>=10'}
dependencies:
brace-expansion: 2.0.1
@@ -4555,8 +4529,8 @@ packages:
resolution: {integrity: sha512-KO0m2f1HkrPe9S0ldjx7za9BJjeHqBku5Ch8JyxETxT8dEFGz1PwgrHaOQupVYitpzbFSYm7nnljxD8dik2c+g==}
dev: true
- /pino/8.7.0:
- resolution: {integrity: sha512-l9sA5uPxmZzwydhMWUcm1gI0YxNnYl8MfSr2h8cwLvOAzQLBLewzF247h/vqHe3/tt6fgtXeG9wdjjoetdI/vA==}
+ /pino/8.8.0:
+ resolution: {integrity: sha512-cF8iGYeu2ODg2gIwgAHcPrtR63ILJz3f7gkogaHC/TXVVXxZgInmNYiIpDYEwgEkxZti2Se6P2W2DxlBIZe6eQ==}
hasBin: true
dependencies:
atomic-sleep: 1.0.0
@@ -4586,13 +4560,12 @@ packages:
enhanced-resolve: 4.5.0
dev: true
- /postcss/8.4.19:
- resolution: {integrity: sha512-h+pbPsyhlYj6N2ozBmHhHrs9DzGmbaarbLvWipMRO7RLS+v4onj26MPFXA5OBYFxyqYhUJK456SwDcY9H2/zsA==}
- engines: {node: ^10 || ^12 || >=14}
+ /postcss-selector-parser/6.0.11:
+ resolution: {integrity: sha512-zbARubNdogI9j7WY4nQJBiNqQf3sLS3wCP4WfOidu+p28LofJqDH1tcXypGrcmMHhDk2t9wGhCsYe/+szLTy1g==}
+ engines: {node: '>=4'}
dependencies:
- nanoid: 3.3.4
- picocolors: 1.0.0
- source-map-js: 1.0.2
+ cssesc: 3.0.0
+ util-deprecate: 1.0.2
dev: true
/postcss/8.4.21:
@@ -4671,6 +4644,11 @@ packages:
engines: {node: '>=6'}
dev: true
+ /punycode/2.3.0:
+ resolution: {integrity: sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA==}
+ engines: {node: '>=6'}
+ dev: true
+
/pupa/3.1.0:
resolution: {integrity: sha512-FLpr4flz5xZTSJxSeaheeMKN/EDzMdK7b8PTOC6a5PYFKTucWbdqjgqaEyH0shFiSJrVB1+Qqi4Tk19ccU6Aug==}
engines: {node: '>=12.20'}
@@ -5065,15 +5043,15 @@ packages:
object-inspect: 1.12.3
dev: true
- /sign-addon/5.1.0:
- resolution: {integrity: sha512-fag/csbsw25WpW+G+uWE6rRImSjlfwQNjuP28fFhvXpfW+kXccxl/o1QEW+hXtTidwpysksb7Y0B8UCeMkYkSA==}
+ /sign-addon/5.2.0:
+ resolution: {integrity: sha512-t5CZ4MSKAd3uJBUfjgWfSyKYC1pQS6BMUbgI5OytzMkTOQ9NkdkFE8bB0AJLQIGqDrNS2b1+/ghAP56iuCUE+g==}
dependencies:
common-tags: 1.8.2
- core-js: 3.25.3
+ core-js: 3.27.1
deepcopy: 2.1.0
es6-error: 4.1.1
es6-promisify: 7.0.0
- jsonwebtoken: 8.5.1
+ jsonwebtoken: 9.0.0
mz: 2.7.0
request: 2.88.2
source-map-support: 0.5.21
@@ -5439,7 +5417,7 @@ packages:
engines: {node: '>=0.8'}
dependencies:
psl: 1.9.0
- punycode: 2.2.0
+ punycode: 2.3.0
dev: true
/tough-cookie/4.1.2:
@@ -5867,6 +5845,24 @@ packages:
vue: 3.2.45
dev: true
+ /vue-eslint-parser/9.1.0_eslint@8.32.0:
+ resolution: {integrity: sha512-NGn/iQy8/Wb7RrRa4aRkokyCZfOUWk19OP5HP6JEozQFX5AoS/t+Z0ZN7FY4LlmWc4FNI922V7cvX28zctN8dQ==}
+ engines: {node: ^14.17.0 || >=16.0.0}
+ peerDependencies:
+ eslint: '>=6.0.0'
+ dependencies:
+ debug: 4.3.4
+ eslint: 8.32.0
+ eslint-scope: 7.1.1
+ eslint-visitor-keys: 3.3.0
+ espree: 9.4.1
+ esquery: 1.4.0
+ lodash: 4.17.21
+ semver: 7.3.8
+ transitivePeerDependencies:
+ - supports-color
+ dev: true
+
/vue/3.2.45:
resolution: {integrity: sha512-9Nx/Mg2b2xWlXykmCwiTUCWHbWIj53bnkizBxKai1g61f2Xit700A1ljowpTIM11e3uipOeiPcSqnmBg6gyiaA==}
dependencies:
@@ -5898,25 +5894,25 @@ packages:
defaults: 1.0.4
dev: true
- /web-ext/7.4.0:
- resolution: {integrity: sha512-dT2HJaGNXxRNuOtzaVBtEULccL0kM2SN1ark1NnN/ZSlbucobBxCDj6119iki72YyuXpaXZCJGqfZtVf1Znocg==}
+ /web-ext/7.5.0:
+ resolution: {integrity: sha512-Ymflj7Aq/LOD+zGoyvwRbAPx/yMJeig2OEb/rRXYrWl6NWRI5E0c2iWGqlBcnL45iKrOzz70H438dVeJk0w2ug==}
engines: {node: '>=14.0.0', npm: '>=6.9.0'}
hasBin: true
dependencies:
- '@babel/runtime': 7.20.1
+ '@babel/runtime': 7.20.13
'@devicefarmer/adbkit': 3.2.3
- addons-linter: 5.23.0_node-fetch@3.3.0
+ addons-linter: 5.27.0_node-fetch@3.3.0
bunyan: 1.8.15
- camelcase: 7.0.0
+ camelcase: 7.0.1
chrome-launcher: 0.15.1
debounce: 1.2.1
decamelize: 6.0.0
es6-error: 4.1.1
firefox-profile: 4.2.2
- fs-extra: 10.1.0
+ fs-extra: 11.1.0
fx-runner: 1.3.0
import-fresh: 3.3.0
- jose: 4.11.1
+ jose: 4.11.2
mkdirp: 1.0.4
multimatch: 6.0.0
mz: 2.7.0
@@ -5925,14 +5921,14 @@ packages:
open: 8.4.0
parse-json: 6.0.2
promise-toolbox: 0.21.0
- sign-addon: 5.1.0
+ sign-addon: 5.2.0
source-map-support: 0.5.21
strip-bom: 5.0.0
strip-json-comments: 5.0.0
tmp: 0.2.1
update-notifier: 6.0.2
watchpack: 2.4.0
- ws: 8.11.0
+ ws: 8.12.0
yargs: 17.6.2
zip-dir: 2.0.0
transitivePeerDependencies:
@@ -6083,19 +6079,6 @@ packages:
typedarray-to-buffer: 3.1.5
dev: true
- /ws/8.11.0:
- resolution: {integrity: sha512-HPG3wQd9sNQoT9xHyNCXoDUa+Xw/VevmY9FoHyQ+g+rrMn4j6FB4np7Z0OhdTgjx6MgQLK7jwSy1YecU1+4Asg==}
- engines: {node: '>=10.0.0'}
- peerDependencies:
- bufferutil: ^4.0.1
- utf-8-validate: ^5.0.2
- peerDependenciesMeta:
- bufferutil:
- optional: true
- utf-8-validate:
- optional: true
- dev: true
-
/ws/8.12.0:
resolution: {integrity: sha512-kU62emKIdKVeEIOIKVegvqpXMSTAMLJozpHZaJNDYqBjzlSYXQGviYwN1osDLJ9av68qHd4a2oSjd7yD4pacig==}
engines: {node: '>=10.0.0'}
diff --git a/src/api/index.ts b/src/api/index.ts
index 50b3abf..b60e563 100644
--- a/src/api/index.ts
+++ b/src/api/index.ts
@@ -149,7 +149,7 @@ export default class SzurubooruApi {
if (this.username && this.authToken) {
const token = "Token " + btoa(`${this.username}:${this.authToken}`);
if (!config.headers) config.headers = {};
- // @ts-expect-error
+ // @ts-expect-error xxx
config.headers["Authorization"] = token;
}
diff --git a/src/components/PostNotes.vue b/src/components/PostNotes.vue
index 5d63fb2..a6268b6 100644
--- a/src/components/PostNotes.vue
+++ b/src/components/PostNotes.vue
@@ -117,11 +117,11 @@ const hoverNoteStyle = computed(() => {
box-sizing: border-box;
}
- & :deep(p:last-of-type) {
+ &:deep(p:last-of-type) {
margin-bottom: 0;
}
- & :deep(p:first-of-type) {
+ &:deep(p:first-of-type) {
margin-top: 0;
}
}
diff --git a/src/components/PostNotes.vue.todo.txt b/src/components/PostNotes.vue.todo.txt
deleted file mode 100644
index 1d4af11..0000000
--- a/src/components/PostNotes.vue.todo.txt
+++ /dev/null
@@ -1,143 +0,0 @@
-
-
-
-
-
-
-
diff --git a/src/manifest.ts b/src/manifest.ts
index 7af37db..4b7f74a 100644
--- a/src/manifest.ts
+++ b/src/manifest.ts
@@ -11,7 +11,7 @@ export async function getManifest() {
const manifest: Manifest.WebExtensionManifest = {
name: pkg.displayName,
description: pkg.description,
- version: pkg.version,
+ version: process.env.SZ_VERSION || pkg.version,
manifest_version: 2,
icons: {
16: "./assets/icon-128.png",
@@ -38,6 +38,11 @@ export async function getManifest() {
js: ["./dist/contentScripts/index.global.js"],
},
],
+ browser_specific_settings: {
+ gecko: {
+ id: "{13372607-2257-4360-8f51-5ce66fa73350}",
+ },
+ },
};
if (isDev) {
diff --git a/src/styles/main.scss b/src/styles/main.scss
index 45a62d5..24e6d52 100644
--- a/src/styles/main.scss
+++ b/src/styles/main.scss
@@ -43,6 +43,10 @@ body {
display: block;
}
+input[type="email"],
+input[type="number"],
+input[type="password"],
+input[type="text"],
select,
button {
height: 30px;
@@ -130,6 +134,7 @@ ul.compact {
display: flex;
align-items: center;
gap: 0.5em;
+ line-height: 1.2rem;
}
}