0.0.4 • Published 10 years ago

acorn-csp v0.0.4

Weekly downloads
6
License
MIT
Repository
github
Last release
10 years ago

acorn-csp

Builder for Acorn that precompiles and inlines predicates in order to satisfy Content Security Policy (CSP).

This workaround addresses acorn#90 and acorn#123 issues.

For generating CSP-safe version, execute following command:

acorn-csp <destination filename> [path to acorn]

And use generated file instead of original Acorn's acorn.js.

When path to acorn is not specified, it's assumed to be available as require('acorn') from current directory.

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago