zotero-plugin-scaffold 0.4.1 → 0.4.2

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/dist/cli.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import process from 'node:process';
2
2
  import { Command } from 'commander';
3
- import { l as logger, E as ExitSignals, C as Config, B as Build, S as Serve, T as Test, R as Release } from './shared/zotero-plugin-scaffold.Be6yYGJh.mjs';
3
+ import { l as logger, E as ExitSignals, C as Config, B as Build, S as Serve, T as Test, R as Release } from './shared/zotero-plugin-scaffold.DGHktPRh.mjs';
4
4
  import { readFile } from 'node:fs/promises';
5
5
  import { pathExists } from 'fs-extra';
6
6
  import tinyUpdateNotifier from 'tiny-update-notifier';
@@ -31,7 +31,7 @@ import 'xvfb-ts';
31
31
  import 'node:http';
32
32
 
33
33
  const name = "zotero-plugin-scaffold";
34
- const version = "0.4.1";
34
+ const version = "0.4.2";
35
35
  const pkg = {
36
36
  name: name,
37
37
  version: version};
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- export { B as Build, C as Config, R as Release, S as Serve, T as Test, d as defineConfig } from './shared/zotero-plugin-scaffold.Be6yYGJh.mjs';
1
+ export { B as Build, C as Config, R as Release, S as Serve, T as Test, d as defineConfig } from './shared/zotero-plugin-scaffold.DGHktPRh.mjs';
2
2
  import 'c12';
3
3
  import 'es-toolkit';
4
4
  import 'fs-extra/esm';
@@ -400,6 +400,9 @@ class PrefsManager {
400
400
  else
401
401
  throw new Error("Invalid prefs.js file - unsupported value type.");
402
402
  break;
403
+ case "TemplateLiteral":
404
+ value = arg2.expression.quasis[0]?.cooked ?? "";
405
+ break;
403
406
  default:
404
407
  throw new Error("Invalid prefs.js file - unsupported value type.");
405
408
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "zotero-plugin-scaffold",
3
3
  "type": "module",
4
- "version": "0.4.1",
4
+ "version": "0.4.2",
5
5
  "description": "A scaffold for Zotero plugin development.",
6
6
  "author": "northword",
7
7
  "license": "AGPL-3.0-or-later",
@@ -63,18 +63,18 @@
63
63
  }
64
64
  },
65
65
  "dependencies": {
66
- "@swc/core": "^1.11.11",
66
+ "@swc/core": "^1.11.16",
67
67
  "adm-zip": "^0.5.16",
68
68
  "bumpp": "^10.1.0",
69
- "c12": "^3.0.2",
69
+ "c12": "^3.0.3",
70
70
  "chokidar": "^4.0.3",
71
71
  "commander": "^13.1.0",
72
- "es-toolkit": "^1.33.0",
73
- "esbuild": "^0.25.1",
72
+ "es-toolkit": "^1.34.1",
73
+ "esbuild": "^0.25.2",
74
74
  "fs-extra": "^11.3.0",
75
75
  "hookable": "^5.5.3",
76
76
  "octokit": "^4.1.2",
77
- "std-env": "^3.8.1",
77
+ "std-env": "^3.9.0",
78
78
  "tiny-update-notifier": "^2.0.0",
79
79
  "tinyglobby": "^0.2.12",
80
80
  "xvfb-ts": "^1.1.0"