Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: use ref value to only target and restore reference values #21

Merged
merged 1 commit into from Jul 20, 2022

Conversation

jorenbroekema
Copy link
Contributor

@jorenbroekema jorenbroekema commented Jul 19, 2022

also fixes the high prio vulnerability, for the moderate one it seems quite new and no fix yet.

fixes #20

@mihkeleidast this should fix your issue I think

@changeset-bot
Copy link

changeset-bot bot commented Jul 19, 2022

🦋 Changeset detected

Latest commit: 4415a6d

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@divriots/style-dictionary-to-figma Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

src/use-ref-value.js Outdated Show resolved Hide resolved
@jorenbroekema jorenbroekema force-pushed the ref-value branch 2 times, most recently from e50217a to e904999 Compare July 19, 2022 18:00
Copy link
Contributor

@mihkeleidast mihkeleidast left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested in my project, works as expected!

@jorenbroekema jorenbroekema merged commit b6cb742 into main Jul 20, 2022
@jorenbroekema jorenbroekema deleted the ref-value branch July 20, 2022 06:37
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.

useRefValue restores original value, discarding potential transforms
3 participants