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

@polymer/prism-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/prism-element - npm Package Compare versions

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

.github/CODEOWNERS

5

demo/prism-demo.js

@@ -1,4 +0,5 @@

import '../../polymer/polymer.js';
import { html } from '../../polymer/polymer.js';
import '../prism-highlighter.js';
import '../prism-theme-default.js';
import { Polymer } from '../../polymer/lib/legacy/polymer-fn.js';
/**

@@ -14,3 +15,3 @@ @license

Polymer({
_template: Polymer.html`
_template: html`
<style include="prism-theme-default">

@@ -17,0 +18,0 @@ pre {

10

package.json
{
"name": "@polymer/prism-element",
"flat": true,
"version": "3.0.0-pre.6",
"version": "3.0.0-pre.7",
"description": "Prism.js import and syntax highlighting",

@@ -23,9 +23,9 @@ "contributors": [

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

@@ -32,0 +32,0 @@ },

@@ -1,3 +0,4 @@

import '../polymer/polymer.js';
import { Base } from '../polymer/polymer.js';
import './prism-import.js';
import { Polymer } from '../polymer/lib/legacy/polymer-fn.js';

@@ -59,3 +60,3 @@ var HIGHLIGHT_EVENT = 'syntax-highlight';

if (!event.detail || !event.detail.code) {
Polymer.Base._warn('Malformed', HIGHLIGHT_EVENT, 'event:', event.detail);
Base._warn('Malformed', HIGHLIGHT_EVENT, 'event:', event.detail);
return;

@@ -62,0 +63,0 @@ }

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

@@ -3,0 +4,0 @@ @license

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