Socket
Socket
Sign inDemoInstall

orionjs

Package Overview
Dependencies
1
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.3 to 2.0.4

9

actions/data-state.js

@@ -313,5 +313,14 @@ //--------------------------------------------------------------------------------------------------------------------------------------

if(typeof mutation.addedNodes[d].getAttribute === 'function') {
// grab any child elements of added node with data-state
var dataStateChildren = mutation.addedNodes[d].querySelectorAll("[data-state]");
// If added node has data-state
if(mutation.addedNodes[d].getAttribute("data-state")) {
initDataState(mutation.addedNodes[d]);
}
// Apply event listeners to relevant child elements
else if(dataStateChildren) {
for(var i = 0; i < dataStateChildren.length; i++) {
initDataState(dataStateChildren[i]);
}
}
}

@@ -318,0 +327,0 @@ }

2

package.json
{
"name": "orionjs",
"version": "2.0.3",
"version": "2.0.4",
"author": "Luke Harrison",

@@ -5,0 +5,0 @@ "description": "OrionJS is a simple collection of reusable functions to help streamline DOM manipulation in UI development.",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc