chore(deps): update dependency reveal.js to v4 [security] #78
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^3.5.0
->^4.0.0
GitHub Vulnerability Alerts
CVE-2020-8127
Insufficient validation in cross-origin communication (postMessage) in reveal.js version 3.9.1 and earlier allow attackers to perform cross-site scripting attacks.
CVE-2022-0776
The onmessage event listener in /plugin/notes/speaker-view.html does not check the origin of postMessage before adding the content to the webpage. The vulnerable code allows any origin to postMessage on the browser window and feeds attacker's input to parts using which attacker can execute arbitrary javascript code on victim's browser window hosting reveal.js
Release Notes
hakimel/reveal.js
v4.3.0
Compare Source
tldr — self-destruction and bug fixes 💣
Changes
Fixes
v4.2.1
Compare Source
Bug fix release 🐛
Fixes
9e583b8
@hakimel)--host
not working innpm start -- --host=0.0.0.0
(@cashcat #3075)v4.2.0
Compare Source
Changes
beforeslidechange
(#3003). This makes it possible to conditionally prevent navigations:Reveal.right({ skipFragments: true })
.beforeHighlight
callback to the highlight plugin (@rajgoel in #3026).<code data-ln-start-from="10">
..reveal
or.slides
containers are missing #2217.Fixes
navigationMode
was set tolinear
.v4.1.3
Compare Source
v4.1.2
Compare Source
Changes
data-auto-animate-restart
anddata-auto-animate-id
. These properties give you finer control over which slides that should auto-animate between each other (@coffeenotfound in #2896).Here's an example you can drop into your presentation's HTML:
Fixes
<aside class="notes" data-markdown>
) are no longer visible on-slide.v4.1.1
Compare Source
Mostly bug fixes and enhancements 🐛
Changes
data-background-image
now accepts multiple images (#2940).animateLists
— automatically turns all lists into stepped fragments (#2956).Fixes
---
) as advertised.r-fit-text
layout helper now sizes text correctly in PDF exports.has-dark-background
helper class now works when using named colors fordata-background-color
(#2933).v4.1.0
Compare Source
Changes
data-visibility="hidden"
to a slide to hide it from view. Docs & examplesr-fit-text
class to make a text node grow to be as large as possible without overflowing the slide. Docs & examples--slide-width
/--slide-height
).Fixes
v4.0.2
Compare Source
Changes
data-autoslide
attribute now takes precedence over automatic detection of<video>
durations.Reveal.configure
andReveal.isReady
are now available in the pre-initialized reveal.js API, to match v3.x behavior.Bug fixes
v4.0.1
Compare Source
Bug fixes
v4.0.0
Compare Source
Breaking Changes 🚨
This release includes a small number of breaking changes. Please read the Upgrade Instructions if you want to migrate an existing presentation.
Highlights
keyboardCondition: 'focused'
config option lets presentations capture keyboard events only when they're focused by the viewer.Changes
Reveal.initialize
method now returns a promise that resolves once reveal.js is ready and all plugins have finished initializing.slidetransitionend
event.data-visibility="uncounted"
to exclude slides from the progress bar and slide number count. #2543 by @lassepeReveal.getComputedSlideSize
API method.Reveal.addEventListener
andReveal.removeEventListener
API methods toReveal.on
andReveal.off
. Old names are aliased for backwards compatibility.<img>
s. Can be added with ther-frame
class.Plugins
Bug fixes
navigationMode: 'linear'
incorrectly hid valid vertical directions. #2582 by @earboxercontentedtable=false
was focused. #2650v3.9.2
Compare Source
Fixes a security vulnerability in the postMessage API. The follow methods are now blacklisted and can not be called via the postMessage API:
registerPlugin
,registerKeyboardShortcut
,addKeyBinding
,addEventListener
.v3.9.1
Compare Source
This version contains no changes. It was only released to bump the published version on npm.
3.9.0 was published to npm with local edits 🤦♂️
v3.9.0
Compare Source
Changes:
slideNumber
is now honored in PDF exports. (#2337 by @dougalsutherland)(
4c557a5
)data-fragment=<index>
to any slidesection[data-fragment="2"] { ... }
.Reveal.getHorizontalSlides()
andReveal. getVerticalSlides()
for getting all horizontal/vertical slides in a deck.Reveal.hasHorizontalSlides()
andReveal. hasVerticalSlides()
for checking whether or not a deck contains any horizontal or vertical slides.mobileViewDistance
configuration option. Mobile view distance was previously hardcoded at 2. (#2513 by @TuurDutoit)allow="autoplay"
to iframes to comply with Chrome's Autoplay Policy Changes (#2437 by @TehDmitry)Bug fixes:
navigationMode
set tolinear
(#2416 by @earboxer).And more...
v3.8.0
Compare Source
Changes:
hideCursorTime: <milliseconds>
, or you can disable the feature entirely withhideInactiveCursor: false
.navigationMode: <default/linear/grid>
config option. Set to "grid" to navigate across adjacent vertical stacks. Learn more in the docs. (#2307)hash: <boolean>
config option. When set to true, reveal.js will reflect the current slide in the address bar without pushing each slide change to the browser history. (#2286 by @asottile)preloadIframes
config option for flagging if iframes should be preloaded or not. Can be set per-frame using thedata-preload
attribute. More info. (#2354 by @maxrothman)resize
event is now dispatched anytime the presentation scale changes. (#2300 by @mw75)controls
are set to false. (#2215 by @anderslemke)Reveal.getRevealElement()
for retrieving the presentation's root element (<div class="reveal">
).6abc6e0
#1952 & #2248)Plugin Changes:
Reveal.registerPlugin( 'myPlugin', MyPluginInstance )
. If a registered plugin returns a promise when initialized, reveal.js will wait for that promise to be fulfilled before firing the ready event. Learn more in the docs.data-line-numbers
to your code blocks.data-line-numbers
. Line ranges, like 5-15, are supported too.math
config option. (#2090 by @bnjmnt4n)Bug fixes:
b6ce0a9
#1947)Reveal.getProgress()
to return a value higher than 1 when there were fragments on the last slide..stretch
now show up in the overview mode. (@sanand0)And more...
v3.7.0
Compare Source
Changes:
pdfSeparateFragments
option for exporting fragments on separate PDF pages (@koehlma)fragmentInURL
option for including fragments in the URL (@dougalsutherland)hashOneBasedIndex
option for switching slide URLs from 0 to 1-based index (@sean-parent)data-background-opacity
attribute for fading out background mediasemi-fade-out
: starts fully visible and fades out to 50% opacityfade-in-then-semi-out
: fades in like a normal fragment and remains visible but faded out when you move to the next fragmentReveal.syncSlide
: same use asReveal.sync
but more efficient when you've only made changes to one specific slideReveal.syncFragments
: same use asReveal.sync
but more efficient when you've only made changes to fragments on one specific slidehistory
is disabled (#2133 by @sean-parent)Bug fixes:
And more...
Configuration
📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.