@riebeckite/plugin-qr-code 0.0.26 → 0.0.28

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/index.js CHANGED
@@ -81,16 +81,12 @@ var init_options = __esm({
81
81
  // src/render.ts
82
82
  var render_exports = {};
83
83
  __export(render_exports, {
84
- buildQrSvg: () => buildQrSvg,
85
- resetQrCodeEncoderCache: () => resetQrCodeEncoderCache
84
+ buildQrSvg: () => buildQrSvg
86
85
  });
87
86
  import fs from "node:fs";
88
87
  import { createRequire } from "node:module";
89
88
  import path from "node:path";
90
89
  import { fileURLToPath, pathToFileURL } from "node:url";
91
- function resetQrCodeEncoderCache() {
92
- encoderPromise = null;
93
- }
94
90
  async function buildQrSvg(text2, options) {
95
91
  const source = text2.trim();
96
92
  if (source === "") {
@@ -1,5 +1,4 @@
1
1
  import type { QrBuildResult, ResolvedQrCodeOptions } from "./types.js";
2
- export declare function resetQrCodeEncoderCache(): void;
3
2
  /**
4
3
  * Encodes `text` into an inline SVG string. Filesystem/library failures are
5
4
  * returned as `{ ok: false }` so the rehype transformer can keep a diagnostic
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riebeckite/plugin-qr-code",
3
- "version": "0.0.26",
3
+ "version": "0.0.28",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -16,7 +16,7 @@
16
16
  },
17
17
  "dependencies": {
18
18
  "qrcode": "^1.5.4",
19
- "@riebeckite/core": "0.0.26"
19
+ "@riebeckite/core": "0.0.28"
20
20
  },
21
21
  "publishConfig": {
22
22
  "access": "public"