zotero-plugin 6.2.0 → 6.2.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/bin/fetch-log.mjs +1 -1
- package/debug-log.js +8 -1
- package/package.json +1 -1
package/bin/fetch-log.mjs
CHANGED
package/debug-log.js
CHANGED
|
@@ -3,8 +3,15 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.DebugLog = exports.Bundler = void 0;
|
|
5
5
|
const tslib_1 = require("tslib");
|
|
6
|
+
var ZOTERO_CONFIG; // eslint-disable-line no-var
|
|
7
|
+
if (Zotero.version[0] === '8') {
|
|
8
|
+
;
|
|
9
|
+
({ ZOTERO_CONFIG } = ChromeUtils.importESModule('resource://zotero/config.mjs'));
|
|
10
|
+
}
|
|
11
|
+
else {
|
|
12
|
+
Components.utils.import('resource://zotero/config.js');
|
|
13
|
+
}
|
|
6
14
|
Components.utils.importGlobalProperties(['FormData']);
|
|
7
|
-
const { ZOTERO_CONFIG } = ChromeUtils.importESModule('resource://zotero/config.mjs');
|
|
8
15
|
const pkg = require('./package.json');
|
|
9
16
|
const UZip = tslib_1.__importStar(require("uzip"));
|
|
10
17
|
class Bundler {
|