zotero-plugin 6.2.2 → 6.3.0

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 CHANGED
@@ -11,7 +11,7 @@ import { Entry as KeyRingEntry } from "@napi-rs/keyring";
11
11
  import prompts from "prompts";
12
12
 
13
13
  // package.json
14
- var version = "6.2.2";
14
+ var version = "6.3.0";
15
15
 
16
16
  // bin/crypto.ts
17
17
  import crypto from "crypto";
package/esbuild.d.ts ADDED
@@ -0,0 +1,4 @@
1
+ export declare const pem: {
2
+ name: string;
3
+ setup(build: any): void;
4
+ };
package/esbuild.js ADDED
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.pem = void 0;
4
+ const tslib_1 = require("tslib");
5
+ const fs_1 = tslib_1.__importDefault(require("fs"));
6
+ exports.pem = {
7
+ name: 'PEM loader',
8
+ setup(build) {
9
+ build.onLoad({ filter: /[.]pem$/i }, async (args) => {
10
+ return {
11
+ contents: await fs_1.default.promises.readFile(args.path, 'utf-8'),
12
+ loader: 'text',
13
+ };
14
+ });
15
+ },
16
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zotero-plugin",
3
- "version": "6.2.2",
3
+ "version": "6.3.0",
4
4
  "description": "Zotero plugin builder",
5
5
  "homepage": "https://github.com/retorquere/zotero-plugin/wiki",
6
6
  "bin": {
@@ -80,6 +80,8 @@
80
80
  "bin/start.mjs",
81
81
  "bin/fetch-log.mjs",
82
82
  "bin/keypair.mjs",
83
+ "esbuild.d.ts",
84
+ "esbuild.js",
83
85
  "continuous-integration.d.ts",
84
86
  "continuous-integration.js",
85
87
  "copy-assets.d.ts",