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

@domql/state

Package Overview
Dependencies
Maintainers
0
Versions
116
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@domql/state - npm Package Compare versions

Comparing version 2.5.134 to 2.5.138

5

create.js

@@ -47,3 +47,3 @@ 'use strict'

const dependentState = applyDependentState(element, element.state)
const dependentState = applyDependentState(element, element.state || parent.state || {})
if (dependentState) element.state = dependentState

@@ -80,3 +80,4 @@

const checkForTypes = (element) => {
const { state, __ref: ref } = element
const { state: orig, props, __ref: ref } = element
const state = props?.state || orig
if (isFunction(state)) {

@@ -83,0 +84,0 @@ ref.__state = state

@@ -48,3 +48,3 @@ "use strict";

}
const dependentState = applyDependentState(element, element.state);
const dependentState = applyDependentState(element, element.state || parent.state || {});
if (dependentState)

@@ -72,3 +72,4 @@ element.state = dependentState;

const checkForTypes = (element) => {
const { state, __ref: ref } = element;
const { state: orig, props, __ref: ref } = element;
const state = (props == null ? void 0 : props.state) || orig;
if ((0, import_utils.isFunction)(state)) {

@@ -75,0 +76,0 @@ ref.__state = state;

8

package.json
{
"name": "@domql/state",
"version": "2.5.134",
"version": "2.5.138",
"license": "MIT",

@@ -30,7 +30,7 @@ "type": "module",

"dependencies": {
"@domql/event": "^2.5.134",
"@domql/event": "^2.5.138",
"@domql/report": "^2.5.0",
"@domql/utils": "^2.5.134"
"@domql/utils": "^2.5.138"
},
"gitHead": "20e65426dc742448bd6dc85211dea3a48ed74ae0"
"gitHead": "91afb60b8354f1a95c3364be94ba74612f907918"
}
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