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.32 to 3.0.33

dist/packages/intact-react/__tests__/view.d.ts

18

dist/index.cjs.dev.js

@@ -629,6 +629,11 @@ 'use strict';

else if (tmp = getEventName(key, events)) {
// We have to call react event callback asynchronously, because react will update
// view immediately when one native event happend.
// @unit test: update in updating
// @issue: https://github.com/ksc-fe/kpc/issues/894
/**
* We have to call react event callback asynchronously, because react will update
* view immediately when one native event happend.
* @unit test: update in updating
* @issue: https://github.com/ksc-fe/kpc/issues/894
*
* @Modify: nextTick will affect event stopPropagation
* @issue: #973
*/
normalizedProps[tmp] = (function () {

@@ -639,6 +644,9 @@ var args = [];

}
intact.nextTick(function () {
// nextTick(() => {
reactDom.unstable_batchedUpdates(function () {
value.apply(void 0, args);
});
// });
});
// normalizedProps[tmp] = value;
}

@@ -645,0 +653,0 @@ else if (key.startsWith('slot')) {

@@ -622,6 +622,11 @@ 'use strict';

else if (tmp = getEventName(key, events)) {
// We have to call react event callback asynchronously, because react will update
// view immediately when one native event happend.
// @unit test: update in updating
// @issue: https://github.com/ksc-fe/kpc/issues/894
/**
* We have to call react event callback asynchronously, because react will update
* view immediately when one native event happend.
* @unit test: update in updating
* @issue: https://github.com/ksc-fe/kpc/issues/894
*
* @Modify: nextTick will affect event stopPropagation
* @issue: #973
*/
normalizedProps[tmp] = (function () {

@@ -632,6 +637,9 @@ var args = [];

}
intact.nextTick(function () {
// nextTick(() => {
reactDom.unstable_batchedUpdates(function () {
value.apply(void 0, args);
});
// });
});
// normalizedProps[tmp] = value;
}

@@ -638,0 +646,0 @@ else if (key.startsWith('slot')) {

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

@@ -626,6 +626,11 @@ import { version, createElement, createContext, cloneElement, forwardRef, Fragment, createRef } from 'react';

else if (tmp = getEventName(key, events)) {
// We have to call react event callback asynchronously, because react will update
// view immediately when one native event happend.
// @unit test: update in updating
// @issue: https://github.com/ksc-fe/kpc/issues/894
/**
* We have to call react event callback asynchronously, because react will update
* view immediately when one native event happend.
* @unit test: update in updating
* @issue: https://github.com/ksc-fe/kpc/issues/894
*
* @Modify: nextTick will affect event stopPropagation
* @issue: #973
*/
normalizedProps[tmp] = (function () {

@@ -636,6 +641,9 @@ var args = [];

}
nextTick(function () {
// nextTick(() => {
unstable_batchedUpdates(function () {
value.apply(void 0, args);
});
// });
});
// normalizedProps[tmp] = value;
}

@@ -642,0 +650,0 @@ else if (key.startsWith('slot')) {

@@ -15,4 +15,5 @@ import { Reference, IntactDom, VNode, ComponentConstructor, ComponentFunction, Hooks } from './types';

i?: number;
done?: boolean;
}): void;
export declare const namespaces: Record<string, string>;
export declare const hooks: Hooks;
{
"name": "intact-react",
"version": "3.0.32",
"version": "3.0.33",
"description": "A compatibility layer for running intact component in React@17",

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

"dependencies": {
"intact": "^3.0.32",
"intact-shared": "^3.0.32",
"intact": "^3.0.33",
"intact-shared": "^3.0.33",
"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