zotero-plugin 5.0.9 → 5.0.11

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/release.js CHANGED
@@ -8248,7 +8248,7 @@ Expecting one of '${allowedValues.join("', '")}'`);
8248
8248
  "package.json"(exports, module) {
8249
8249
  module.exports = {
8250
8250
  name: "zotero-plugin",
8251
- version: "5.0.9",
8251
+ version: "5.0.11",
8252
8252
  description: "Zotero plugin builder",
8253
8253
  homepage: "https://github.com/retorquere/zotero-plugin/wiki",
8254
8254
  bin: {
package/debug-log.js CHANGED
@@ -136,7 +136,7 @@ class DebugLogSender {
136
136
  'User-Agent': 'curl/8.7.1',
137
137
  },
138
138
  });
139
- const body = await response.text();
139
+ const body = (await response.text()).trim();
140
140
  url += '/';
141
141
  if (!body.startsWith(url))
142
142
  throw new Error(body);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zotero-plugin",
3
- "version": "5.0.9",
3
+ "version": "5.0.11",
4
4
  "description": "Zotero plugin builder",
5
5
  "homepage": "https://github.com/retorquere/zotero-plugin/wiki",
6
6
  "bin": {