zotero-plugin 2.0.16 → 2.0.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.js +2 -1
- package/.ncurc.js +3 -0
- package/debug-log.js +2 -1
- package/package.json +9 -8
package/.eslintrc.js
CHANGED
package/.ncurc.js
ADDED
package/debug-log.js
CHANGED
|
@@ -95,7 +95,8 @@ class DebugLogSender {
|
|
|
95
95
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-call, @typescript-eslint/no-unsafe-member-access
|
|
96
96
|
const zip = new Uint8Array(UZip.encode(files));
|
|
97
97
|
const blob = new Blob([zip], { type: 'application/zip' });
|
|
98
|
-
|
|
98
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-call, @typescript-eslint/no-unsafe-member-access
|
|
99
|
+
const formData = new FormData;
|
|
99
100
|
formData.append('file', blob, `${key}.zip`);
|
|
100
101
|
const response = await this.post('https://file.io', formData);
|
|
101
102
|
this.alert(`Debug log ID for ${plugin}`, `${key}-fio-${response.key}`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zotero-plugin",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.18",
|
|
4
4
|
"description": "Zotero plugin builder",
|
|
5
5
|
"homepage": "https://github.com/retorquere/zotero-plugin/wiki",
|
|
6
6
|
"bin": {
|
|
@@ -29,11 +29,11 @@
|
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@octokit/rest": "^20.1.1",
|
|
31
31
|
"@rgrove/parse-xml": "^4.1.0",
|
|
32
|
-
"@types/node": "^20.
|
|
33
|
-
"@typescript-eslint/eslint-plugin": "^7.
|
|
34
|
-
"@typescript-eslint/parser": "^7.
|
|
32
|
+
"@types/node": "^20.14.2",
|
|
33
|
+
"@typescript-eslint/eslint-plugin": "^7.12.0",
|
|
34
|
+
"@typescript-eslint/parser": "^7.12.0",
|
|
35
35
|
"@xmldom/xmldom": "^0.8.10",
|
|
36
|
-
"ajv": "^8.
|
|
36
|
+
"ajv": "^8.16.0",
|
|
37
37
|
"ajv-keywords": "^5.1.0",
|
|
38
38
|
"archiver": "^7.0.1",
|
|
39
39
|
"clp": "^4.0.12",
|
|
@@ -44,19 +44,19 @@
|
|
|
44
44
|
"eslint-plugin-import": "^2.29.1",
|
|
45
45
|
"eslint-plugin-prefer-arrow": "^1.2.3",
|
|
46
46
|
"fs-extra": "^11.2.0",
|
|
47
|
-
"glob": "^10.
|
|
47
|
+
"glob": "^10.4.1",
|
|
48
48
|
"jsesc": "^3.0.2",
|
|
49
49
|
"lodash": "^4.17.21",
|
|
50
50
|
"moment": "^2.30.1",
|
|
51
51
|
"peggy": "^4.0.2",
|
|
52
52
|
"properties-reader": "^2.3.0",
|
|
53
|
-
"pug": "^3.0.
|
|
53
|
+
"pug": "^3.0.3",
|
|
54
54
|
"rimraf": "^5.0.7",
|
|
55
55
|
"shell-quote": "^1.8.1",
|
|
56
56
|
"shelljs": "^0.8.5",
|
|
57
57
|
"string-to-arraybuffer": "^1.0.2",
|
|
58
58
|
"ts-node": "^10.9.2",
|
|
59
|
-
"tslib": "^2.6.
|
|
59
|
+
"tslib": "^2.6.3",
|
|
60
60
|
"typescript": "^5.4.5",
|
|
61
61
|
"uri-templates": "^0.2.0",
|
|
62
62
|
"uzip": "^0.20201231.0",
|
|
@@ -99,6 +99,7 @@
|
|
|
99
99
|
"root.d.ts",
|
|
100
100
|
"root.js",
|
|
101
101
|
".eslintrc.js",
|
|
102
|
+
".ncurc.js",
|
|
102
103
|
"update.rdf.pug",
|
|
103
104
|
"version.d.ts",
|
|
104
105
|
"version.js",
|