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

as-custom-element

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

as-custom-element - npm Package Compare versions

Comparing version 0.0.1 to 0.1.0

1

cjs/index.js

@@ -83,2 +83,3 @@ 'use strict';

d.add(disconnectedCallback || fallback);
// if (target.isConnected) // No IE11/Edge support
if (target.ownerDocument.contains(target))

@@ -85,0 +86,0 @@ (connectedCallback || fallback).call(target);

@@ -82,2 +82,3 @@ const wm = new WeakMap;

d.add(disconnectedCallback || fallback);
// if (target.isConnected) // No IE11/Edge support
if (target.ownerDocument.contains(target))

@@ -84,0 +85,0 @@ (connectedCallback || fallback).call(target);

3

index.js

@@ -98,3 +98,4 @@ self.asCustomElement = (function (exports) {

c.add(connectedCallback || fallback);
d.add(disconnectedCallback || fallback);
d.add(disconnectedCallback || fallback); // if (target.isConnected) // No IE11/Edge support
if (target.ownerDocument.contains(target)) (connectedCallback || fallback).call(target);

@@ -101,0 +102,0 @@ return target;

{
"name": "as-custom-element",
"version": "0.0.1",
"version": "0.1.0",
"description": "Setup any element as if it was a Custom Element",

@@ -40,3 +40,11 @@ "main": "./cjs/index.js",

},
"unpkg": "min.js"
"unpkg": "min.js",
"repository": {
"type": "git",
"url": "git+https://github.com/WebReflection/as-custom-element.git"
},
"bugs": {
"url": "https://github.com/WebReflection/as-custom-element/issues"
},
"homepage": "https://github.com/WebReflection/as-custom-element#readme"
}
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