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

react

Package Overview
Dependencies
Maintainers
4
Versions
2203
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react - npm Package Compare versions

Comparing version 19.1.0-canary-f0edf41e-20250115 to 19.1.0-canary-f83903bf-20250212

27

cjs/react.development.js

@@ -490,3 +490,4 @@ /**

);
newKey._store.validated = oldElement._store.validated;
oldElement._store &&
(newKey._store.validated = oldElement._store.validated);
return newKey;

@@ -960,2 +961,3 @@ }

S: null,
V: null,
actQueue: null,

@@ -1481,4 +1483,13 @@ isBatchingLegacy: !1,

};
exports.useEffect = function (create, deps) {
return resolveDispatcher().useEffect(create, deps);
exports.useEffect = function (create, createDeps, update) {
null == create &&
console.warn(
"React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"
);
var dispatcher = resolveDispatcher();
if ("function" === typeof update)
throw Error(
"useEffect CRUD overload is not enabled in this build of React."
);
return dispatcher.useEffect(create, createDeps);
};

@@ -1492,5 +1503,13 @@ exports.useId = function () {

exports.useInsertionEffect = function (create, deps) {
null == create &&
console.warn(
"React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"
);
return resolveDispatcher().useInsertionEffect(create, deps);
};
exports.useLayoutEffect = function (create, deps) {
null == create &&
console.warn(
"React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"
);
return resolveDispatcher().useLayoutEffect(create, deps);

@@ -1527,3 +1546,3 @@ };

};
exports.version = "19.1.0-canary-f0edf41e-20250115";
exports.version = "19.1.0-canary-f83903bf-20250212";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&

@@ -1530,0 +1549,0 @@ "function" ===

13

cjs/react.production.js

@@ -75,3 +75,3 @@ /**

var isArrayImpl = Array.isArray,
ReactSharedInternals = { H: null, A: null, T: null, S: null },
ReactSharedInternals = { H: null, A: null, T: null, S: null, V: null },
hasOwnProperty = Object.prototype.hasOwnProperty;

@@ -501,4 +501,9 @@ function ReactElement(type, key, self, source, owner, props) {

};
exports.useEffect = function (create, deps) {
return ReactSharedInternals.H.useEffect(create, deps);
exports.useEffect = function (create, createDeps, update) {
var dispatcher = ReactSharedInternals.H;
if ("function" === typeof update)
throw Error(
"useEffect CRUD overload is not enabled in this build of React."
);
return dispatcher.useEffect(create, createDeps);
};

@@ -546,2 +551,2 @@ exports.useId = function () {

};
exports.version = "19.1.0-canary-f0edf41e-20250115";
exports.version = "19.1.0-canary-f83903bf-20250212";

@@ -452,3 +452,4 @@ /**

);
newKey._store.validated = oldElement._store.validated;
oldElement._store &&
(newKey._store.validated = oldElement._store.validated);
return newKey;

@@ -1114,3 +1115,3 @@ }

};
exports.version = "19.1.0-canary-f0edf41e-20250115";
exports.version = "19.1.0-canary-f83903bf-20250212";
})();

@@ -426,2 +426,2 @@ /**

};
exports.version = "19.1.0-canary-f0edf41e-20250115";
exports.version = "19.1.0-canary-f83903bf-20250212";

@@ -7,3 +7,3 @@ {

],
"version": "19.1.0-canary-f0edf41e-20250115",
"version": "19.1.0-canary-f83903bf-20250212",
"homepage": "https://react.dev/",

@@ -10,0 +10,0 @@ "bugs": "https://github.com/facebook/react/issues",

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