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

intact-react

Package Overview
Dependencies
Maintainers
7
Versions
93
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

intact-react - npm Package Compare versions

Comparing version 3.0.17 to 3.0.18

29

dist/index.cjs.dev.js

@@ -488,3 +488,3 @@ 'use strict';

}
return intact.createComponentVNode(4, tag, props, key, normalizeRef(vNode.ref));
return intact.createComponentVNode(4 /* Types.ComponentKnown */, tag, props, key, normalizeRef(vNode.ref));
}

@@ -795,3 +795,4 @@ if (vNode.type === react.Fragment) {

done().then(function () {
intact.callAll(_this.$mountedQueue);
callMountedQueue(_this.$mountedQueue);
// callAll(this.$mountedQueue);
});

@@ -832,11 +833,27 @@ }

function getMountedQueue(parent) {
var queue = [];
queue.priority = [];
if (parent) {
parent.$mountedQueue;
var mountedQueue = parent.$mountedQueue;
var parentPromises = parent.$provides[PROMISES];
if (!parentPromises.done) {
return parent.$mountedQueue;
var children = mountedQueue.children || (mountedQueue.children = []);
children.push(queue);
}
}
return [];
return queue;
}
function callMountedQueue(mountedQueue) {
var priority = mountedQueue.priority;
if (priority) {
intact.callAll(priority);
}
var children = mountedQueue.children;
if (children) {
children.forEach(function (mountedQueue) {
callMountedQueue(mountedQueue);
});
}
intact.callAll(mountedQueue);
}
function createTemplateVNode(ref, key, providers) {

@@ -849,3 +866,3 @@ var vnode = react.createElement('template', {

providers.forEach(function (value, provider) {
vnode = react.createElement(provider._context.Consumer, null, (function (vnode) {
vnode = react.createElement(provider._context.Consumer, { key: key }, (function (vnode) {
return function () { return vnode; };

@@ -852,0 +869,0 @@ })(vnode));

@@ -475,3 +475,3 @@ 'use strict';

}
return intact.createComponentVNode(4, tag, props, key, normalizeRef(vNode.ref));
return intact.createComponentVNode(4 /* Types.ComponentKnown */, tag, props, key, normalizeRef(vNode.ref));
}

@@ -769,3 +769,4 @@ if (vNode.type === react.Fragment) {

done().then(function () {
intact.callAll(_this.$mountedQueue);
callMountedQueue(_this.$mountedQueue);
// callAll(this.$mountedQueue);
});

@@ -806,11 +807,27 @@ }

function getMountedQueue(parent) {
var queue = [];
queue.priority = [];
if (parent) {
parent.$mountedQueue;
var mountedQueue = parent.$mountedQueue;
var parentPromises = parent.$provides[PROMISES];
if (!parentPromises.done) {
return parent.$mountedQueue;
var children = mountedQueue.children || (mountedQueue.children = []);
children.push(queue);
}
}
return [];
return queue;
}
function callMountedQueue(mountedQueue) {
var priority = mountedQueue.priority;
if (priority) {
intact.callAll(priority);
}
var children = mountedQueue.children;
if (children) {
children.forEach(function (mountedQueue) {
callMountedQueue(mountedQueue);
});
}
intact.callAll(mountedQueue);
}
function createTemplateVNode(ref, key, providers) {

@@ -823,3 +840,3 @@ var vnode = react.createElement('template', {

providers.forEach(function (value, provider) {
vnode = react.createElement(provider._context.Consumer, null, (function (vnode) {
vnode = react.createElement(provider._context.Consumer, { key: key }, (function (vnode) {
return function () { return vnode; };

@@ -826,0 +843,0 @@ })(vnode));

import { __spreadArray, __assign, __extends } from 'tslib';
import { removeVNodeDom, createVNode, createTextVNode, createComponentVNode, isComponentClass, validateProps, inject, provide, setInstance, findDomFromVNode, callAll, Component as Component$1 } from 'intact';
import { removeVNodeDom, createVNode, createTextVNode, createComponentVNode, isComponentClass, validateProps, inject, provide, setInstance, findDomFromVNode, Component as Component$1, callAll } from 'intact';
export * from 'intact';

@@ -485,3 +485,3 @@ import { createElement, createContext, cloneElement, forwardRef, Fragment, createRef } from 'react';

}
return createComponentVNode(4, tag, props, key, normalizeRef(vNode.ref));
return createComponentVNode(4 /* Types.ComponentKnown */, tag, props, key, normalizeRef(vNode.ref));
}

@@ -792,3 +792,4 @@ if (vNode.type === Fragment) {

done().then(function () {
callAll(_this.$mountedQueue);
callMountedQueue(_this.$mountedQueue);
// callAll(this.$mountedQueue);
});

@@ -829,11 +830,27 @@ }

function getMountedQueue(parent) {
var queue = [];
queue.priority = [];
if (parent) {
parent.$mountedQueue;
var mountedQueue = parent.$mountedQueue;
var parentPromises = parent.$provides[PROMISES];
if (!parentPromises.done) {
return parent.$mountedQueue;
var children = mountedQueue.children || (mountedQueue.children = []);
children.push(queue);
}
}
return [];
return queue;
}
function callMountedQueue(mountedQueue) {
var priority = mountedQueue.priority;
if (priority) {
callAll(priority);
}
var children = mountedQueue.children;
if (children) {
children.forEach(function (mountedQueue) {
callMountedQueue(mountedQueue);
});
}
callAll(mountedQueue);
}
function createTemplateVNode(ref, key, providers) {

@@ -846,3 +863,3 @@ var vnode = createElement('template', {

providers.forEach(function (value, provider) {
vnode = createElement(provider._context.Consumer, null, (function (vnode) {
vnode = createElement(provider._context.Consumer, { key: key }, (function (vnode) {
return function () { return vnode; };

@@ -849,0 +866,0 @@ })(vnode));

{
"name": "intact-react",
"version": "3.0.17",
"version": "3.0.18",
"description": "A compatibility layer for running intact component in React@17",

@@ -32,6 +32,6 @@ "main": "index.js",

"dependencies": {
"intact": "^3.0.17",
"intact-shared": "^3.0.17",
"intact": "^3.0.18",
"intact-shared": "^3.0.18",
"tslib": "^2.3.1"
}
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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