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

cp-card

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cp-card - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

2

cp-card.compiled.js

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

!function(e,t){if("function"==typeof define&&define.amd)define([],t);else if("undefined"!=typeof exports)t();else{var n={exports:{}};t(),e.cpCard=n.exports}}(this,function(){"use strict";function e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function t(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function n(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),r=document.createElement("template");r.innerHTML="\n <style>:host {\n display: block; }\n</style>\n\n <h3>Hey</h3>\n <slot></slot>\n",window.ShadyCSS&&ShadyCSS.prepareTemplate(r,"cp-card");var i=function(i){function a(){e(this,a);var n=t(this,(a.__proto__||Object.getPrototypeOf(a)).call(this));return n.attachShadow({mode:"open"}),n.shadowRoot.appendChild(r.content.cloneNode(!0)),n}return n(a,HTMLElement),o(a,[{key:"connectedCallback",value:function(){window.ShadyCSS&&ShadyCSS.styleElement(this)}}]),a}();window.customElements.define("cp-card",i)});
!function(e,t){if("function"==typeof define&&define.amd)define([],t);else if("undefined"!=typeof exports)t();else{var n={exports:{}};t(),e.cpCard=n.exports}}(this,function(){"use strict";function e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function t(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function n(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),r=document.createElement("template");r.innerHTML="\n <style>:host {\n display: block; }\n</style>\n\n <h3>Hey</h3>\n <slot></slot>\n",window.ShadyCSS&&ShadyCSS.prepareTemplate(r,"cp-card");var i=function(i){function a(){e(this,a);var n=t(this,(a.__proto__||Object.getPrototypeOf(a)).call(this));return n.attachShadow({mode:"open"}),n.shadowRoot.appendChild(r.content.cloneNode(!0)),console.log("working"),n}return n(a,HTMLElement),o(a,[{key:"connectedCallback",value:function(){window.ShadyCSS&&ShadyCSS.styleElement(this)}}]),a}();window.customElements.define("cp-card",i)});

@@ -21,2 +21,3 @@ const cardTemplate = document.createElement('template');

this.shadowRoot.appendChild(cardTemplate.content.cloneNode(true));
console.log('working');
}

@@ -23,0 +24,0 @@

{
"name": "cp-card",
"version": "0.1.0",
"version": "0.1.1",
"description": "Card element for RHElements",

@@ -5,0 +5,0 @@ "repository": {

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