ducsvg 4.0.1 → 4.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/README.md +2 -2
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<p align="center">
|
|
4
4
|
<br/>
|
|
5
5
|
<a href="https://duc.ducflair.com" target="_blank"><img width="256px" src="https://cdn.jsdelivr.net/gh/ducflair/assets@main/src/duc/duc-extended.png" /></a>
|
|
6
|
-
<p align="center">SVG Adapter for the duc
|
|
6
|
+
<p align="center">SVG Adapter for the .duc project-state format</p>
|
|
7
7
|
<p align="center" style="align: center;">
|
|
8
8
|
<a href="https://www.npmjs.com/package/ducsvg"><img src="https://shields.io/badge/NPM-cc3534?logo=Npm&logoColor=white&style=round-square" alt="NPM" /></a>
|
|
9
9
|
<a href="https://www.npmjs.com/package/ducsvg"><img src="https://img.shields.io/npm/v/ducsvg/latest?style=round-square&label=latest%20stable" alt="NPM ducsvg@latest release" /></a>
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
</p>
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
`ducsvg` is a lightweight adapter for rendering `duc`
|
|
15
|
+
`ducsvg` is a lightweight adapter for rendering `duc` 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.
|
|
16
16
|
|
|
17
17
|
> This library leverages the stable renderer from `ducpdf`, first converting the `duc` document to PDF format before transforming it into SVG using `hayro` and `hayro_svg`. This approach ensures high fidelity in the SVG output by utilizing the robust rendering capabilities of the PDF format.
|
|
18
18
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ducsvg",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.2",
|
|
4
4
|
"description": "Adapter for converting duc CAD documents to SVG. Built on top of ducjs.",
|
|
5
5
|
"private": false,
|
|
6
6
|
"type": "module",
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
"author": "Ducflair",
|
|
38
38
|
"license": "MIT",
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"ducjs": "^4.0.
|
|
41
|
-
"ducpdf": "^4.0.
|
|
40
|
+
"ducjs": "^4.0.1",
|
|
41
|
+
"ducpdf": "^4.0.2"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@xmldom/xmldom": "^0.8.11",
|