ducsvg 3.2.2 → 3.4.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/README.md CHANGED
@@ -1,3 +1,5 @@
1
+ # ducsvg
2
+
1
3
  <p align="center">
2
4
  <br/>
3
5
  <a href="https://duc.ducflair.com" target="_blank"><img width="256px" src="https://raw.githubusercontent.com/ducflair/assets/refs/heads/main/src/duc/duc-extended.png" /></a>
@@ -9,7 +11,6 @@
9
11
  </p>
10
12
  </p>
11
13
 
12
- # ducsvg
13
14
 
14
15
  `ducsvg` is a lightweight adapter for rendering `duc` CAD documents to SVG. It’s built on top of `ducjs` and focuses on accurate, standards-compliant SVG output you can embed in browsers or export from Node.js.
15
16
 
package/dist/index.js CHANGED
@@ -21,7 +21,7 @@ async function u(t) {
21
21
  return JSON.parse(r);
22
22
  }
23
23
  const f = async (t, e) => {
24
- const r = await i(t, e);
24
+ const { data: r } = await i(t, e);
25
25
  return await u(r);
26
26
  };
27
27
  export {
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ducsvg",
3
- "version": "3.2.2",
3
+ "version": "3.4.0",
4
4
  "description": "Adapter for converting duc CAD documents to SVG. Built on top of ducjs.",
5
5
  "private": false,
6
6
  "type": "module",
@@ -33,8 +33,8 @@
33
33
  "author": "Ducflair",
34
34
  "license": "MIT",
35
35
  "dependencies": {
36
- "ducjs": "^2.2.2",
37
- "ducpdf": "^3.2.1"
36
+ "ducjs": "^3.0.0",
37
+ "ducpdf": "^3.5.0"
38
38
  },
39
39
  "devDependencies": {
40
40
  "@xmldom/xmldom": "^0.8.11",