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

light-dom-element

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

light-dom-element - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

.git/objects/02/17af5e6e4cae39812f7e25c70b586ccb21814d

10

light-dom-element.d.ts
/// <reference lib="dom" />
import ''
import ShadowDomElement from "shadow-dom-element/shadow-dom-element";
/**

@@ -15,2 +15,10 @@ * Web Component to populate html slots into template using Light DOM.

/**
* Overrides HTMLElement {attachShadow} method to prevent shadow creation.
* called from constructor before `slotsInit()`
* @param init Information about ShadowRoot.
* @returns ShadowRoot
*/
attachShadow(init: ShadowRootInit): ShadowRoot; // eslint-disable-line no-undef
/**
* applies template content and renders slots, called from `slotsInit()`

@@ -17,0 +25,0 @@ * @param templateElement

3

light-dom-element.js

@@ -11,3 +11,2 @@ import { CssChain as $ } from "css-chain";

((ce,tag)=>ce.get(tag) || ce.define(tag, LightDomElement))(window.customElements,'light-dom-element');
window.customElements.get('light-dom-element') || window.customElements.define('light-dom-element', LightDomElement);
window.customElements.define('light-dom-element', LightDomElement);
{
"name": "light-dom-element",
"version": "0.0.3",
"version": "0.0.4",
"description": "light-dom-element web component to render local and remote template",

@@ -42,5 +42,5 @@ "author": {

"css-chain": "^1.1.3",
"shadow-dom-element": "^0.0.3"
"shadow-dom-element": "^0.0.4"
},
"customElements": "custom-elements.json"
}

@@ -13,3 +13,3 @@ # light-dom-element

[![git](https://cdnjs.cloudflare.com/ajax/libs/octicons/8.5.0/svg/mark-github.svg) GitHub](https://github.com/sashafirsov/light-dom-element)
| Demo: [light-dom-element](https://unpkg.com/light-dom-element@0.0.3/demo/index.html)
| Demo: [light-dom-element](https://unpkg.com/light-dom-element@0.0.4/demo/index.html)
| [tests project](https://github.com/sashafirsov/light-dom-element-test)

@@ -78,3 +78,3 @@

[npm-url]: https://npmjs.org/package/light-dom-element
[coverage-image]: https://unpkg.com/light-dom-element-test@0.0.3/coverage/coverage.svg
[coverage-url]: https://unpkg.com/light-dom-element-test@0.0.3/coverage/lcov-report/index.html
[coverage-image]: https://unpkg.com/light-dom-element-test@0.0.4/coverage/coverage.svg
[coverage-url]: https://unpkg.com/light-dom-element-test@0.0.4/coverage/lcov-report/index.html

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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