Skip to content

feat(csp): set nonce attribute for injected styles if available#328

Merged
arahansen merged 1 commit intomasterfrom
arahansen/csp
Dec 15, 2017
Merged

feat(csp): set nonce attribute for injected styles if available#328
arahansen merged 1 commit intomasterfrom
arahansen/csp

Conversation

@arahansen
Copy link
Copy Markdown
Collaborator

@arahansen arahansen commented Dec 15, 2017

Uses a fork of cxs that sets a nonce attribute to the injected style tag if it is globally available. Related cxs PR to merge this functionality into the base lib: cxs-css/cxs#97

Also, we don't need to use my fork of flow-copy-source anymore since we don't need css flow support now.

FYI: I'm a little skeptical of getting my fork merged into the cxs library anytime soon. 1, it seems the maintainer has not had a lot of time to review PRs lately, and 2, given that the whole selling point of the library is tiny css-in-js, he may be against adding functionality that isn't totally essential to what the lib does.

Uses a fork of cxs that sets a nonce attribute to the injected style tag if it is globally available. Related cxs PR to merge this functionality into the base lib: cxs-css/cxs#97
@arahansen arahansen merged commit ca92123 into master Dec 15, 2017
@arahansen arahansen deleted the arahansen/csp branch December 15, 2017 20:23
@arahansen arahansen mentioned this pull request Dec 15, 2017
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