{"id":17922541,"url":"https://github.com/rreverser/acorn-csp","last_synced_at":"2025-04-03T10:45:20.380Z","repository":{"id":20456872,"uuid":"23734085","full_name":"RReverser/acorn-csp","owner":"RReverser","description":"Builder for Acorn that precompiles predicates in order to satisfy CSP.","archived":false,"fork":false,"pushed_at":"2014-09-08T21:58:40.000Z","size":160,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-28T18:49:36.968Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RReverser.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-09-06T12:28:04.000Z","updated_at":"2014-09-06T16:54:35.000Z","dependencies_parsed_at":"2022-07-31T20:38:01.571Z","dependency_job_id":null,"html_url":"https://github.com/RReverser/acorn-csp","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RReverser%2Facorn-csp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RReverser%2Facorn-csp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RReverser%2Facorn-csp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RReverser%2Facorn-csp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RReverser","download_url":"https://codeload.github.com/RReverser/acorn-csp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246989498,"owners_count":20865306,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-28T20:39:33.872Z","updated_at":"2025-04-03T10:45:20.360Z","avatar_url":"https://github.com/RReverser.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"acorn-csp\n=========\n\nBuilder for Acorn that precompiles and inlines predicates in order to satisfy Content Security Policy (CSP).\n\nThis workaround addresses [acorn#90](https://github.com/marijnh/acorn/issues/90) and [acorn#123](https://github.com/marijnh/acorn/issues/123) issues.\n\nFor generating CSP-safe version, execute following command:\n\n```bash\nacorn-csp \u003cdestination filename\u003e [path to acorn]\n```\n\nAnd use generated file instead of original Acorn's `acorn.js`.\n\nWhen path to acorn is not specified, it's assumed to be available as `require('acorn')` from current directory.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frreverser%2Facorn-csp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frreverser%2Facorn-csp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frreverser%2Facorn-csp/lists"}