emf-converter 3.0.1 → 3.0.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/index.js CHANGED
@@ -244,7 +244,11 @@ async function ensureNodeCanvasModule() {
244
244
  return nodeCanvasModule;
245
245
  }
246
246
  try {
247
- nodeCanvasModule = await import('@napi-rs/canvas');
247
+ nodeCanvasModule = await import(
248
+ /* webpackIgnore: true */
249
+ /* @vite-ignore */
250
+ '@napi-rs/canvas'
251
+ );
248
252
  } catch {
249
253
  nodeCanvasModule = null;
250
254
  }
package/dist/index.mjs CHANGED
@@ -242,7 +242,11 @@ async function ensureNodeCanvasModule() {
242
242
  return nodeCanvasModule;
243
243
  }
244
244
  try {
245
- nodeCanvasModule = await import('@napi-rs/canvas');
245
+ nodeCanvasModule = await import(
246
+ /* webpackIgnore: true */
247
+ /* @vite-ignore */
248
+ '@napi-rs/canvas'
249
+ );
246
250
  } catch {
247
251
  nodeCanvasModule = null;
248
252
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "emf-converter",
3
- "version": "3.0.1",
3
+ "version": "3.0.2",
4
4
  "description": "Convert EMF/WMF metafile binaries to PNG data URLs using Canvas",
5
5
  "keywords": [
6
6
  "canvas",