New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@webcomponents/shadydom

Package Overview
Dependencies
Maintainers
2
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@webcomponents/shadydom - npm Package Compare versions

Comparing version 1.0.7 to 1.0.8

2

package.json
{
"name": "@webcomponents/shadydom",
"version": "1.0.7",
"version": "1.0.8",
"description": "Shadow DOM polyfill",

@@ -5,0 +5,0 @@ "main": "shadydom.min.js",

@@ -56,6 +56,6 @@ (function(){/*

function Bb(a,b,c,d,e,f){for(var h=0;h<a.length;h++){var g=a[h],l=g.type,k=g.capture,m=g.once,q=g.passive;if(b===g.node&&c===l&&d===k&&e===m&&f===q)return h}return-1}
function Cb(a,b,c){if(b){if("object"===typeof c){var d=!!c.capture;var e=!!c.once;var f=!!c.passive}else d=!!c,f=e=!1;var h=c&&c.v||this,g=b[Y];if(g){if(-1<Bb(g,h,a,d,e,f))return}else b[Y]=[];g=function(d){e&&this.removeEventListener(a,b,c);d.__target||Db(d);if(h!==this){var f=Object.getOwnPropertyDescriptor(d,"currentTarget");Object.defineProperty(d,"currentTarget",{get:function(){return h},configurable:!0})}if(d.composed||-1<d.composedPath().indexOf(h))if(d.target===d.relatedTarget)d.eventPhase===
function Cb(a,b,c){if(b){if(c&&"object"===typeof c){var d=!!c.capture;var e=!!c.once;var f=!!c.passive}else d=!!c,f=e=!1;var h=c&&c.v||this,g=b[Y];if(g){if(-1<Bb(g,h,a,d,e,f))return}else b[Y]=[];g=function(d){e&&this.removeEventListener(a,b,c);d.__target||Db(d);if(h!==this){var f=Object.getOwnPropertyDescriptor(d,"currentTarget");Object.defineProperty(d,"currentTarget",{get:function(){return h},configurable:!0})}if(d.composed||-1<d.composedPath().indexOf(h))if(d.target===d.relatedTarget)d.eventPhase===
Event.BUBBLING_PHASE&&d.stopImmediatePropagation();else if(d.eventPhase===Event.CAPTURING_PHASE||d.bubbles||d.target===h){var g="object"===typeof b&&b.handleEvent?b.handleEvent(d):b.call(h,d);h!==this&&(f?(Object.defineProperty(d,"currentTarget",f),f=null):delete d.currentTarget);return g}};b[Y].push({node:this,type:a,capture:d,once:e,passive:f,V:g});yb[a]?(this.__handlers=this.__handlers||{},this.__handlers[a]=this.__handlers[a]||{capture:[],bubble:[]},this.__handlers[a][d?"capture":"bubble"].push(g)):
(this instanceof Window?I.T:I.addEventListener).call(this,a,g,c)}}
function Eb(a,b,c){if(b){if("object"===typeof c){var d=!!c.capture;var e=!!c.once;var f=!!c.passive}else d=!!c,f=e=!1;var h=c&&c.v||this,g=void 0;var l=null;try{l=b[Y]}catch(k){}l&&(e=Bb(l,h,a,d,e,f),-1<e&&(g=l.splice(e,1)[0].V,l.length||(b[Y]=void 0)));(this instanceof Window?I.U:I.removeEventListener).call(this,a,g||b,c);g&&yb[a]&&this.__handlers&&this.__handlers[a]&&(a=this.__handlers[a][d?"capture":"bubble"],g=a.indexOf(g),-1<g&&a.splice(g,1))}}
function Eb(a,b,c){if(b){if(c&&"object"===typeof c){var d=!!c.capture;var e=!!c.once;var f=!!c.passive}else d=!!c,f=e=!1;var h=c&&c.v||this,g=void 0;var l=null;try{l=b[Y]}catch(k){}l&&(e=Bb(l,h,a,d,e,f),-1<e&&(g=l.splice(e,1)[0].V,l.length||(b[Y]=void 0)));(this instanceof Window?I.U:I.removeEventListener).call(this,a,g||b,c);g&&yb[a]&&this.__handlers&&this.__handlers[a]&&(a=this.__handlers[a][d?"capture":"bubble"],g=a.indexOf(g),-1<g&&a.splice(g,1))}}
function Fb(){for(var a in yb)window.addEventListener(a,function(a){a.__target||(Db(a),Ab(a))},!0)}function Db(a){a.__target=a.target;a.D=a.relatedTarget;if(t.h){var b=Object.getPrototypeOf(a);if(!b.hasOwnProperty("__patchProto")){var c=Object.create(b);c.W=b;A(c,wb);b.__patchProto=c}a.__proto__=b.__patchProto}else A(a,wb)}var Gb=xb(window.Event),Hb=xb(window.CustomEvent),Ib=xb(window.MouseEvent);function Jb(a){var b=a.getRootNode();w(b)&&ib(b);return a.__shady&&a.__shady.assignedSlot||null}

@@ -62,0 +62,0 @@ var Kb={addEventListener:Cb.bind(window),removeEventListener:Eb.bind(window)},Lb={addEventListener:Cb,removeEventListener:Eb,appendChild:function(a){return R(this,a)},insertBefore:function(a,b){return R(this,a,b)},removeChild:function(a){return Ra(this,a)},replaceChild:function(a,b){R(this,a,b);Ra(this,b);return a},cloneNode:function(a){if("template"==this.localName)var b=I.cloneNode.call(this,a);else if(b=I.cloneNode.call(this,!1),a){a=this.childNodes;for(var c=0,d;c<a.length;c++)d=a[c].cloneNode(!0),

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