Commit Graph

6 Commits

Author SHA1 Message Date
Patrick East 1fdb3264db docs: Update minimist dev tool dependency
More follow on to fixing our dev tooling for the website for:

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-7598

Signed-off-by: Patrick East <east.patrick@gmail.com>
2020-03-16 18:13:47 -07:00
Patrick East 015e1b5291 docs: Update acorn to fix CVE with dev tooling
Fixing https://github.com/advisories/GHSA-7fhm-mqm4-2wp7

This also fixes the unit tests (not sure how long they've been borken)
and makes them run as part of the netlify preview build, so any
regressions should be seen in PR's.

Signed-off-by: Patrick East <east.patrick@gmail.com>
2020-03-16 17:52:02 -07:00
Patrick East 11503a770c Update serialize-javascript for live-blocks tooling
There is a known security issue with the older version. Updating to
the latest mitigates the risk.

Signed-off-by: Patrick East <east.patrick@gmail.com>
2019-12-10 10:03:45 -08:00
Patrick East 64f87cc2d9 docs/live-blocks: Update codemirror-rego to 1.1.0
This brings in syntax highlighting for the `some` keyword

Signed-off-by: Patrick East <east.patrick@gmail.com>
2019-10-22 12:58:06 -07:00
Patrick East 6b6dd1cf83 docs: remove lint step from live-blocks
This should fix the critical vulnerability found by scanners in the
eslint-utils package by removing the lint script.

We can re-visit this again in the future when someone can spend more
time to fix it.

Signed-off-by: Patrick East <east.patrick@gmail.com>
2019-09-05 19:18:36 -06:00
David Boles 91d98c7205 docs: Add live-editable code blocks to the docs.
This commit adds a postprocessor to the docs build that enables
examples to be edited and have the results show up live. See the
additions to `docs/README.md` for more about what writing these
blocks looks like or the netlify PR preview
(e.g. at `docs/edge/how-do-i-write-policies/`)
to see them in action (you'll need to disable CORS for live output).

Signed-off-by: David Boles <me@davidbol.es>
2019-08-21 10:12:49 -07:00