Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mobiledoc-text-renderer

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mobiledoc-text-renderer - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

17

dist/amd/mobiledoc-text-renderer.js

@@ -102,2 +102,7 @@ define('mobiledoc-text-renderer/cards/image', ['exports'], function (exports) {

var MARKUP_SECTION_TYPE = 1;
var IMAGE_SECTION_TYPE = 2;
var LIST_SECTION_TYPE = 3;
var CARD_SECTION_TYPE = 10;
function validateVersion(version) {

@@ -167,13 +172,9 @@ if (version !== '0.2.0') {

switch (type) {
case 1:
// markup section
case MARKUP_SECTION_TYPE:
return this.renderMarkupSection(section);
case 2:
// image section
case IMAGE_SECTION_TYPE:
return this.renderImageSection(section);
case 3:
// list section
case LIST_SECTION_TYPE:
return this.renderListSection(section);
case 10:
// card section
case CARD_SECTION_TYPE:
return this.renderCardSection(section);

@@ -180,0 +181,0 @@ default:

@@ -21,2 +21,7 @@ /**

var MARKUP_SECTION_TYPE = 1;
var IMAGE_SECTION_TYPE = 2;
var LIST_SECTION_TYPE = 3;
var CARD_SECTION_TYPE = 10;
function validateVersion(version) {

@@ -86,13 +91,9 @@ if (version !== '0.2.0') {

switch (type) {
case 1:
// markup section
case MARKUP_SECTION_TYPE:
return this.renderMarkupSection(section);
case 2:
// image section
case IMAGE_SECTION_TYPE:
return this.renderImageSection(section);
case 3:
// list section
case LIST_SECTION_TYPE:
return this.renderListSection(section);
case 10:
// card section
case CARD_SECTION_TYPE:
return this.renderCardSection(section);

@@ -99,0 +100,0 @@ default:

@@ -292,2 +292,7 @@ ;(function() {

var MARKUP_SECTION_TYPE = 1;
var IMAGE_SECTION_TYPE = 2;
var LIST_SECTION_TYPE = 3;
var CARD_SECTION_TYPE = 10;
function validateVersion(version) {

@@ -357,13 +362,9 @@ if (version !== '0.2.0') {

switch (type) {
case 1:
// markup section
case MARKUP_SECTION_TYPE:
return this.renderMarkupSection(section);
case 2:
// image section
case IMAGE_SECTION_TYPE:
return this.renderImageSection(section);
case 3:
// list section
case LIST_SECTION_TYPE:
return this.renderListSection(section);
case 10:
// card section
case CARD_SECTION_TYPE:
return this.renderCardSection(section);

@@ -370,0 +371,0 @@ default:

{
"name": "mobiledoc-text-renderer",
"version": "0.2.0",
"version": "0.2.1",
"description": "Renders mobiledoc input to text (string) output",

@@ -5,0 +5,0 @@ "main": "dist/commonjs/mobiledoc-text-renderer/index.js",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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