Skip to content

Conversation

@ArthurClemens
Copy link

@ArthurClemens ArthurClemens commented Oct 28, 2018

A slightly improved change over the pull request firien:remove-eval, tested against fontkit .

new Function is not allowed on sites with a Content Security Policy (CSP) and sane defaults.

@fsauter
Copy link

fsauter commented Nov 3, 2018

Hope this gets through soon :/ @devongovett any chance to merge this one?

@Hopding
Copy link

Hopding commented Dec 22, 2018

Just wanted to mention that I applied these changes to my fork, which I'm using in pdf-lib@0.5.1 to allow pdf-lib to work on CSP sites. All of pdf-lib's tests pass, and it seems to be running just fine. I've published my fork to NPM as well, if anybody is interested in using it themselves: @pdf-lib/restructure. Version 0.0.0 includes just the changes from this PR.

@sangm
Copy link

sangm commented Mar 6, 2019

Any update on this?

@ClaytonBrawley
Copy link

Is there any reason these changes haven't been incorporated into the code base?

@devongovett
Copy link
Member

Should be fixed by #34.

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.

7 participants