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

@ne1410s/cust-elems

Package Overview
Dependencies
Maintainers
1
Versions
137
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ne1410s/cust-elems - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

2

dist/ne14_cust_elems.umd.min.js

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

!function(e){"function"==typeof define&&define.amd?define(e):e()}((function(){"use strict";class e extends HTMLElement{constructor(e,t,c="closed"){super(),this.root=this.attachShadow({mode:c}),this.root.innerHTML=this.decode(t);const s=document.createElement("style");s.textContent=this.decode(e),this.root.appendChild(s)}decode(e){const t=(e+"").indexOf("base64,");return-1===t?e:window.atob(e.substring(t+7))}}class t extends e{constructor(){super("data:text/css;base64,LnJvb3Qgew0KICBwb3NpdGlvbjogcmVsYXRpdmU7DQogIGJvcmRlcjogMXB4IHNvbGlkIGJsYWNrOw0KICBib3JkZXItcmFkaXVzOiAzcHg7DQogIHBhZGRpbmc6IDA7DQogIG1hcmdpbjogMDsNCiAgZGlzcGxheTogaW5saW5lLWJsb2NrOw0KfQ0KLm5vcm1hbCB7DQogIHBhZGRpbmc6IDAgLjI1cmVtOw0KICB0cmFuc2l0aW9uOiBjb2xvciAuM3MsIGJhY2tncm91bmQtY29sb3IgLjNzOw0KICBkaXNwbGF5OiBibG9jazsNCn0NCi5yZXZlYWxbZGF0YS1jb3JuZXJdIHsgcG9zaXRpb246IGZpeGVkOyB9DQoucmV2ZWFsW2RhdGEtY29ybmVyPSIxIl0geyB0b3A6IDA7IGxlZnQ6IDA7IH0NCi5yZXZlYWxbZGF0YS1jb3JuZXI9IjIiXSB7IHRvcDogMDsgcmlnaHQ6IDA7IH0NCi5yZXZlYWxbZGF0YS1jb3JuZXI9IjMiXSB7IGJvdHRvbTogMDsgcmlnaHQ6MDsgfQ0KLnJldmVhbFtkYXRhLWNvcm5lcj0iNCJdIHsgYm90dG9tOiAwOyBsZWZ0OiAwOyB9DQoucmV2ZWFsOm5vdChbZGF0YS1jb3JuZXJdKSB7IHRvcDogY2FsYygtNTAlKTsgbGVmdDogY2FsYygxMDAlKTsgfQ0KLnJldmVhbCB7DQogIG9wYWNpdHk6IDA7DQogIHBvc2l0aW9uOiBhYnNvbHV0ZTsNCiAgcG9pbnRlci1ldmVudHM6IG5vbmU7DQogIGJvcmRlcjogMXB4IHNvbGlkIGJsYWNrOw0KICBib3JkZXItcmFkaXVzOiAzcHg7DQogIGJhY2tncm91bmQ6IHdoaXRlOw0KICB3aGl0ZS1zcGFjZTogbm93cmFwOw0KICBmb250LXN0eWxlOiBpdGFsaWM7DQogIGZvbnQtc2l6ZTogLjhlbTsNCiAgcGFkZGluZzogLjVyZW07DQogIHotaW5kZXg6IDE7DQp9DQoucm9vdDpob3ZlciAubm9ybWFsIHsNCiAgY29sb3I6IHdoaXRlOw0KICBiYWNrZ3JvdW5kOiBibGFjazsNCn0NCi5yb290OmhvdmVyIC5yZXZlYWwgew0KICBvcGFjaXR5OiAxOw0KICBwb2ludGVyLWV2ZW50czogaW5pdGlhbDsNCn0NCi5yb290Om5vdCg6aG92ZXIpIC5yZXZlYWwgew0KICBkaXNwbGF5OiBub25lOw0KfQ==","data:text/html;base64,PHNwYW4gY2xhc3M9InJvb3QiPg0KICA8c3BhbiBjbGFzcz0ibm9ybWFsIj4NCiAgICA8c2xvdD48L3Nsb3Q+DQogIDwvc3Bhbj4NCiAgPHNwYW4gY2xhc3M9InJldmVhbCI+DQogICAgPHNsb3QgbmFtZT0icmV2ZWFsIj48L3Nsb3Q+DQogIDwvc3Bhbj4NCjwvc3Bhbj4=")}set reveal(e){this.setAttribute("reveal",e)}set corner(e){this.setAttribute("corner",e+"")}attributeChangedCallback(e,t,c){switch(e){case"corner":const e=this.root.querySelector(".reveal"),t=-1==="1234".split("").indexOf(c)?"":c;t?e.setAttribute("data-corner",t+""):e.removeAttribute("data-corner");break;case"reveal":this.root.querySelector("slot[name=reveal]").textContent=c}}connectedCallback(){}disconnectedCallback(){}}t.observedAttributes=["corner","reveal"],"customElements"in window&&window.customElements.define("ne14-tip",t)}));
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).ne_cust_elems={})}(this,(function(e){"use strict";class t extends HTMLElement{constructor(e,t,o="closed"){super(),this.root=this.attachShadow({mode:o}),this.root.innerHTML=this.decode(t);const n=document.createElement("style");n.textContent=this.decode(e),this.root.appendChild(n)}decode(e){const t=(e+"").indexOf("base64,");return-1===t?e:window.atob(e.substring(t+7))}}e.CustomElementBase=t,Object.defineProperty(e,"__esModule",{value:!0})}));
{
"name": "@ne1410s/cust-elems",
"version": "0.1.0",
"version": "0.1.1",
"description": "ES Custom Elements base functionality",

@@ -14,3 +14,2 @@ "main": "dist/ne14_cust_elems.cjs.min.js",

"scripts": {
"dev": "npx rollup -c rollup.browser.config.js -m -w",
"clean": "npx rimraf dist",

@@ -38,5 +37,2 @@ "build": "npm run clean && npx rollup -c",

"devDependencies": {
"@rollup/plugin-commonjs": "^11.1.0",
"@rollup/plugin-node-resolve": "^7.1.3",
"@rollup/plugin-typescript": "^4.1.1",
"@rollup/plugin-url": "^4.0.2",

@@ -43,0 +39,0 @@ "rimraf": "^3.0.1",

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