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

@polymer/marked-element

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@polymer/marked-element - npm Package Compare versions

Comparing version 3.0.0-pre.6 to 3.0.0-pre.7

.github/CODEOWNERS

14

marked-element.js

@@ -1,3 +0,5 @@

import '../polymer/polymer.js';
import { html } from '../polymer/polymer.js';
import './marked-import.js';
import { Polymer } from '../polymer/lib/legacy/polymer-fn.js';
import { dom } from '../polymer/lib/legacy/polymer.dom.js';
/**

@@ -94,3 +96,3 @@ @license

Polymer({
_template: Polymer.html`
_template: html`
<style>

@@ -209,3 +211,3 @@ :host {

// "text/markdown". Script elements beyond the first are ignored.
this._markdownElement = Polymer.dom(this).querySelector('[type="text/markdown"]');
this._markdownElement = dom(this).querySelector('[type="text/markdown"]');
if (!this._markdownElement) {

@@ -258,3 +260,3 @@ return;

get outputElement () {
var child = Polymer.dom(this).queryDistributedElements('[slot="markdown-html"]')[0];
var child = dom(this).queryDistributedElements('[slot="markdown-html"]')[0];
return child || this.$.content;

@@ -286,3 +288,3 @@ },

if (!this.markdown) {
Polymer.dom(this._outputElement).innerHTML = '';
dom(this._outputElement).innerHTML = '';
return;

@@ -307,3 +309,3 @@ }

Polymer.dom(this._outputElement).innerHTML = marked(this.markdown, opts, this.callback);
dom(this._outputElement).innerHTML = marked(this.markdown, opts, this.callback);
this.fire('marked-render-complete', {}, {composed: true});

@@ -310,0 +312,0 @@ },

{
"name": "@polymer/marked-element",
"flat": true,
"version": "3.0.0-pre.6",
"version": "3.0.0-pre.7",
"description": "Element wrapper for the marked library",

@@ -24,8 +24,8 @@ "contributors": [

"dependencies": {
"@polymer/polymer": "^3.0.0-pre.6"
"@polymer/polymer": "^3.0.0-pre.7"
},
"devDependencies": {
"@polymer/paper-styles": "^3.0.0-pre.6",
"@polymer/iron-component-page": "^3.0.0-pre.6",
"@polymer/test-fixture": "^3.0.0-pre.6",
"@polymer/paper-styles": "^3.0.0-pre.7",
"@polymer/iron-component-page": "^3.0.0-pre.7",
"@polymer/test-fixture": "^3.0.0-pre.7",
"wct-browser-legacy": "0.0.1-pre.11",

@@ -32,0 +32,0 @@ "@webcomponents/webcomponentsjs": "^1.0.0"

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