zotero-plugin 5.0.18 → 5.0.19
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/bin/fetch-zotero-log.py +3 -2
- package/bin/release.js +3 -3
- package/bin/zipup.js +1 -1
- package/package.json +3 -3
package/bin/fetch-zotero-log.py
CHANGED
|
@@ -4,9 +4,10 @@ import sys, os
|
|
|
4
4
|
import urllib.request
|
|
5
5
|
from zipfile import ZipFile
|
|
6
6
|
|
|
7
|
-
local,
|
|
8
|
-
url = 'https://
|
|
7
|
+
local, buc, remote = sys.argv[1].split('-')
|
|
8
|
+
url = f'https://bashupload.com/{remote}/{local}.zip'
|
|
9
9
|
log = 'logs/' + local + '.zip'
|
|
10
|
+
print(url, '=>', log)
|
|
10
11
|
logs = os.path.dirname(log)
|
|
11
12
|
if not os.path.exists(logs):
|
|
12
13
|
os.makedirs(logs)
|
package/bin/release.js
CHANGED
|
@@ -8382,7 +8382,7 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
8382
8382
|
"package.json"(exports, module) {
|
|
8383
8383
|
module.exports = {
|
|
8384
8384
|
name: "zotero-plugin",
|
|
8385
|
-
version: "5.0.
|
|
8385
|
+
version: "5.0.19",
|
|
8386
8386
|
description: "Zotero plugin builder",
|
|
8387
8387
|
homepage: "https://github.com/retorquere/zotero-plugin/wiki",
|
|
8388
8388
|
bin: {
|
|
@@ -8412,7 +8412,7 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
8412
8412
|
dependencies: {
|
|
8413
8413
|
"@octokit/rest": "^22.0.0",
|
|
8414
8414
|
"@rgrove/parse-xml": "^4.2.0",
|
|
8415
|
-
"@types/node": "^
|
|
8415
|
+
"@types/node": "^24.0.1",
|
|
8416
8416
|
"@xmldom/xmldom": "^0.9.8",
|
|
8417
8417
|
ajv: "^8.17.1",
|
|
8418
8418
|
"ajv-keywords": "^5.1.0",
|
|
@@ -8422,7 +8422,7 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
8422
8422
|
dotenv: "^16.5.0",
|
|
8423
8423
|
ejs: "^3.1.10",
|
|
8424
8424
|
"fs-extra": "^11.3.0",
|
|
8425
|
-
glob: "^11.0.
|
|
8425
|
+
glob: "^11.0.3",
|
|
8426
8426
|
jsesc: "^3.1.0",
|
|
8427
8427
|
lodash: "^4.17.21",
|
|
8428
8428
|
moment: "^2.30.1",
|
package/bin/zipup.js
CHANGED
|
@@ -174,7 +174,7 @@
|
|
|
174
174
|
var isSequence = isNumericSequence || isAlphaSequence;
|
|
175
175
|
var isOptions = m.body.indexOf(",") >= 0;
|
|
176
176
|
if (!isSequence && !isOptions) {
|
|
177
|
-
if (m.post.match(
|
|
177
|
+
if (m.post.match(/,(?!,).*\}/)) {
|
|
178
178
|
str = m.pre + "{" + m.body + escClose + m.post;
|
|
179
179
|
return expand(str);
|
|
180
180
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zotero-plugin",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.19",
|
|
4
4
|
"description": "Zotero plugin builder",
|
|
5
5
|
"homepage": "https://github.com/retorquere/zotero-plugin/wiki",
|
|
6
6
|
"bin": {
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@octokit/rest": "^22.0.0",
|
|
32
32
|
"@rgrove/parse-xml": "^4.2.0",
|
|
33
|
-
"@types/node": "^
|
|
33
|
+
"@types/node": "^24.0.1",
|
|
34
34
|
"@xmldom/xmldom": "^0.9.8",
|
|
35
35
|
"ajv": "^8.17.1",
|
|
36
36
|
"ajv-keywords": "^5.1.0",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"dotenv": "^16.5.0",
|
|
41
41
|
"ejs": "^3.1.10",
|
|
42
42
|
"fs-extra": "^11.3.0",
|
|
43
|
-
"glob": "^11.0.
|
|
43
|
+
"glob": "^11.0.3",
|
|
44
44
|
"jsesc": "^3.1.0",
|
|
45
45
|
"lodash": "^4.17.21",
|
|
46
46
|
"moment": "^2.30.1",
|