[Snyk] Upgrade reveal.js from 3.3.0 to 3.9.2 #2
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.
Snyk has created this PR to upgrade reveal.js from 3.3.0 to 3.9.2.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.The recommended version fixes:
npm:ws:20171108
npm:ws:20160624
npm:qs:20170213
npm:parsejson:20170908
npm:negotiator:20160616
npm:minimatch:20160620
npm:fresh:20170908
npm:engine.io-client:20160426
SNYK-JS-REVEALJS-543841
SNYK-JS-LODASH-73638
SNYK-JS-LODASH-450202
npm:ws:20160920
npm:ws:20160104
npm:ms:20151024
npm:lodash:20180130
SNYK-JS-LODASH-73639
npm:ms:20170412
npm:mime:20170907
npm:debug:20170905
npm:debug:20170905
npm:debug:20170905
npm:debug:20170905
npm:debug:20170905
Release notes
Package name: reveal.js
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
.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 🤦♂️
Changes:
slideNumber
is now honored in PDF exports. (#2337 by @dougalsutherland)(4c557a5)
data-fragment=<index>
to any slide with fragments in it. This lets you target specific fragment states with CSS likesection[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...
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">
).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:
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...
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...
Changes:
controlsTutorial
config option to false.controlsLayout: "edges"
to have the controls appear along the edges of the screen instead of the bottom right corner. Try it out.showNotes
config option no longer shows the notes UI if there are no notes.<span>
. (#1909 by @linux-man)autoSlide
option to false to prevent ALL auto-sliding (includingdata-autoslide
attributes).Reveal.isSpeakerNotes()
to check if the current instance of reveal.js is running inside of the speaker view.Reveal.loadSlide()
/Reveal.unloadSlide()
for manually triggering the content on a slide to load or unload.<q>
.Bug fixes:
Reveal.configure()
from being called directly before or afterReveal.initialize()
.And more...
Changes:
display
config option to control the display mode slide section elements. (#1324 by @mojavelinux)Reveal.toggleHelp()
for toggling the help overlay. (#1816 by @Frazer)<textarea data-template></textarea>
wrapper for Markdown to avoid HTML parsing issues. (#1780 by @ccqgithub)data-background-interactive
is present on the slide element.dependencies
todevDependencies
(#1764 by @demoneaux)Bug fixes:
<video>
and<audio>
, particularly on slow connections.And more...
Changes:
data-trim
(#1756 by @ jmpp)showNotes: 'separate-page'
to print speaker notes on separate pages (#1518)pdf-ready
event when the presentation is initialized, laid out and ready to printpdfMaxPagesPerSlide
config value for controlling how many pages a slide can split into when printing to PDF 5558103aria-hidden="true"
anddisplay: none;
elements (#1665 by @Sonaryr)Reveal.showHelp()
can be called to display a help overlay with keyboard shortcuts #1611ready
class to the.reveal
container that CSS can hook intoBug fixes:
playbackRate
mousewheel
-event based navigation when using a trackpad (#1607 by @gera2ld)And more...
Changes:
index.html – barebones presentation suitable to add your own content into
demo.html – example presentation where many reveal.js features are demonstrated
Reveal.shuffle()
for randomizing slide order, also available through configReveal.initialize({ shuffle: true })
(#1506)data-background-video-muted
for muting background video (#1360 by @oslego)autoSlideMethod
config option for controlling how auto-slide navigates. For example, for backwards navigation you can useReveal.configure({ autoSlideMethod: Reveal.navigatePrev })
(#1437 by @der-michik)Reveal.VERSION
(#1451 by @SethosII)now plugin/multiplex
Bug fixes:
And more...
Commit messages
Package name: reveal.js
Compare
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs