New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@marp-team/marpit

Package Overview
Dependencies
Maintainers
1
Versions
81
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@marp-team/marpit - npm Package Compare versions

Comparing version 0.6.0 to 0.6.1

10

CHANGELOG.md

@@ -5,2 +5,12 @@ # Change Log

## v0.6.1 - 2019-01-25
### Fixed
- Include inline SVG elements when rendered with `htmlAsArray` env ([#123](https://github.com/marp-team/marpit/pull/123))
### Changed
- Small update for README and docs ([#122](https://github.com/marp-team/marpit/pull/122))
## v0.6.0 - 2019-01-19

@@ -7,0 +17,0 @@

10

lib/markdown/collect.js

@@ -28,2 +28,3 @@ "use strict";

let currentPage;
let pageIdx = -1;

@@ -37,10 +38,11 @@ const collectComment = token => {

for (const token of state.tokens) {
if (token.type === 'marpit_slide_open' && token.meta && token.meta.marpitSlide !== undefined) {
currentPage = token.meta.marpitSlide;
if (token.meta && token.meta.marpitSlideElement === 1) {
pageIdx += 1;
currentPage = pageIdx;
if (currentPage >= 0 && marpit.lastSlideTokens[currentPage] === undefined) {
if (marpit.lastSlideTokens[currentPage] === undefined) {
marpit.lastSlideTokens[currentPage] = [token];
marpit.lastComments[currentPage] = [];
}
} else if (token.type === 'marpit_slide_close') {
} else if (token.meta && token.meta.marpitSlideElement === -1) {
if (collectable()) marpit.lastSlideTokens[currentPage].push(token);

@@ -47,0 +49,0 @@ currentPage = undefined;

2

package.json
{
"name": "@marp-team/marpit",
"version": "0.6.0",
"version": "0.6.1",
"description": "The skinny framework for creating slide deck from Markdown",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -8,5 +8,5 @@ <p align="center">

<p align="center">
<a href="https://circleci.com/gh/marp-team/marpit/"><img src="https://img.shields.io/circleci/project/github/marp-team/marpit/master.svg?style=flat-square" alt="CircleCI" /></a>
<a href="https://codecov.io/gh/marp-team/marpit"><img src="https://img.shields.io/codecov/c/github/marp-team/marpit/master.svg?style=flat-square" alt="Codecov" /></a>
<a href="https://www.npmjs.com/package/@marp-team/marpit"><img src="https://img.shields.io/npm/v/@marp-team/marpit.svg?style=flat-square" alt="npm" /></a>
<a href="https://circleci.com/gh/marp-team/marpit/"><img src="https://img.shields.io/circleci/project/github/marp-team/marpit/master.svg?style=flat-square&logo=circleci" alt="CircleCI" /></a>
<a href="https://codecov.io/gh/marp-team/marpit"><img src="https://img.shields.io/codecov/c/github/marp-team/marpit/master.svg?style=flat-square&logo=codecov" alt="Codecov" /></a>
<a href="https://www.npmjs.com/package/@marp-team/marpit"><img src="https://img.shields.io/npm/v/@marp-team/marpit.svg?style=flat-square&logo=npm" alt="npm" /></a>
<a href="./LICENSE"><img src="https://img.shields.io/github/license/marp-team/marpit.svg?style=flat-square" alt="LICENSE" /></a>

@@ -21,4 +21,5 @@ </p>

This framework is actually created for use as [a core][marp-core] of the next version of [Marp](https://github.com/yhatt/marp/).
In fact, this framework is created for using as the base of [a core converter][marp-core] in [the next version of Marp][marp].
[marp]: https://github.com/marp-team/marp/
[marp-core]: https://github.com/marp-team/marp-core/

@@ -62,2 +63,6 @@

## Sub-projects
- **[@marp-team/marpit-svg-polyfill](https://github.com/marp-team/marpit-svg-polyfill)** - A polyfill of the inline SVG slide in Safari based browsers.
## Author

@@ -64,0 +69,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc