Skip to content

feat: add clone to copy path data before transforming it - #102

Open
YevheniiKotyrlo wants to merge 1 commit into
nfroidure:mainfrom
YevheniiKotyrlo:feat/clone
Open

YevheniiKotyrlo wants to merge 1 commit into
nfroidure:mainfrom
YevheniiKotyrlo:feat/clone

Conversation

@YevheniiKotyrlo

Copy link
Copy Markdown

Proposed changes

Code quality

  • I made some tests for my changes
  • I added my name in the
    contributors
    field of the package.json file. Beware to use the same format than for the author field
    for the entries so that you'll get a mention in the README.md with a link to your website.

License

To get your contribution merged, you must check the following.

  • I read the project license in the LICENSE file
  • I agree with publishing under this project license

Transformers such as toAbs, normalizeST and qtToC rewrite each command
in place, so transforming a copy made from the commands array alone
also changes the original. clone() copies every command with the CLONE
transformer, the copy CALCULATE_BOUNDS already takes for the same
reason.
@armano2

armano2 commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

cc @NaridaL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants