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

mobiledoc-dom-renderer

Package Overview
Dependencies
Maintainers
2
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mobiledoc-dom-renderer - npm Package Compare versions

Comparing version 0.1.9 to 0.1.10

4

dist/amd/mobiledoc-dom-renderer.js

@@ -1,2 +0,2 @@

define('mobiledoc-dom-renderer/cards/image', ['exports', 'mobiledoc-dom-renderer/cards/utils'], function (exports, _mobiledocDomRendererCardsUtils) {
define('mobiledoc-dom-renderer/cards/image', ['exports', 'mobiledoc-dom-renderer/utils'], function (exports, _mobiledocDomRendererUtils) {
'use strict';

@@ -9,3 +9,3 @@

if (payload.src) {
var img = (0, _mobiledocDomRendererCardsUtils.createElement)('img');
var img = (0, _mobiledocDomRendererUtils.createElement)('img');
img.src = payload.src;

@@ -12,0 +12,0 @@ element.appendChild(img);

@@ -201,3 +201,3 @@ ;(function() {

define('mobiledoc-dom-renderer/cards/image', ['exports', 'mobiledoc-dom-renderer/cards/utils'], function (exports, _mobiledocDomRendererCardsUtils) {
define('mobiledoc-dom-renderer/cards/image', ['exports', 'mobiledoc-dom-renderer/utils'], function (exports, _mobiledocDomRendererUtils) {
'use strict';

@@ -210,3 +210,3 @@

if (payload.src) {
var img = (0, _mobiledocDomRendererCardsUtils.createElement)('img');
var img = (0, _mobiledocDomRendererUtils.createElement)('img');
img.src = payload.src;

@@ -213,0 +213,0 @@ element.appendChild(img);

@@ -169,3 +169,3 @@ module('JSHint - tests/jshint/cards');

var payload = {
src: 'example.org/foo.jpg'
src: 'http://example.org/foo.jpg'
};

@@ -183,4 +183,4 @@ var mobiledoc = {

assert.equal(sectionEl.firstChild.tagName, 'IMG');
assert.equal(sectionEl.firstChild.src, 'example.org/foo.jpg');
assert.equal(sectionEl.firstChild.src, 'http://example.org/foo.jpg');
});
});
import {
createElement
} from "./utils";
} from "../utils";

@@ -5,0 +5,0 @@ const ImageCard = {

{
"name": "mobiledoc-dom-renderer",
"version": "0.1.9",
"version": "0.1.10",
"description": "Renders Mobiledoc input to DOM output",

@@ -5,0 +5,0 @@ "main": "dist/global/mobiledoc-dom-renderer.js",

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