Describe the bug
Since 2.7.0 the file svgo/lib/svgo/svg2js no longer exists... it is used in https://github.com/Ashung/svg2vectordrawable
Is there a "public" API with the capabilities of svg2js?
To Reproduce
Steps to reproduce the behavior:
mkdir test; cd test
npm i svg2vectordrawable svgo
$ npx s2v -h
-
node:internal/modules/cjs/loader:936
throw err;
^
Error: Cannot find module 'svgo/lib/svgo/svg2js'
Require stack:
// ...
Expected behavior
s2v to run
Desktop (please complete the following information):
- SVGO Version 2.7.x+
- NodeJs Version v16.11.1
- OS: Mac
Additional context
I search through some issues and it seems svg2js is considered a private API? if so how about releasing a new major version with an "export" map then those apis will become actually private (e.g. users will no longer be able to import anything that is NOT in the export map)
https://nodejs.org/api/packages.html#exports
Describe the bug
Since 2.7.0 the file
svgo/lib/svgo/svg2jsno longer exists... it is used in https://github.com/Ashung/svg2vectordrawableIs there a "public" API with the capabilities of svg2js?
To Reproduce
Steps to reproduce the behavior:
mkdir test; cd testnpm i svg2vectordrawable svgo$ npx s2v -hExpected behavior
s2vto runDesktop (please complete the following information):
Additional context
I search through some issues and it seems svg2js is considered a private API? if so how about releasing a new major version with an "export" map then those apis will become actually private (e.g. users will no longer be able to import anything that is NOT in the export map)
https://nodejs.org/api/packages.html#exports