Socket
Socket
Sign inDemoInstall

react

Package Overview
Dependencies
0
Maintainers
4
Versions
1857
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 19.0.0-rc-bf3a29d097-20240603 to 19.0.0-rc-cc1ec60d0d-20240607

6

cjs/react-compiler-runtime.development.js

@@ -28,3 +28,3 @@ /**

printWarning('error', format, args);
printWarning('error', format, args, new Error('react-stack-top-frame'));
}

@@ -34,3 +34,3 @@ }

function printWarning(level, format, args) {
function printWarning(level, format, args, currentStack) {
// When changing this logic, you might want to also

@@ -45,3 +45,3 @@ // update consoleWithStackDev.www.js as well.

// can be lost while DevTools isn't open but we can't detect this.
var stack = ReactSharedInternals.getCurrentStack();
var stack = ReactSharedInternals.getCurrentStack(currentStack);

@@ -48,0 +48,0 @@ if (stack !== '') {

@@ -77,3 +77,3 @@ /**

printWarning('error', format, args);
printWarning('error', format, args, new Error('react-stack-top-frame'));
}

@@ -83,3 +83,3 @@ }

function printWarning(level, format, args) {
function printWarning(level, format, args, currentStack) {
// When changing this logic, you might want to also

@@ -94,3 +94,3 @@ // update consoleWithStackDev.www.js as well.

// can be lost while DevTools isn't open but we can't detect this.
var stack = ReactSharedInternals.getCurrentStack();
var stack = ReactSharedInternals.getCurrentStack(currentStack);

@@ -97,0 +97,0 @@ if (stack !== '') {

@@ -82,3 +82,3 @@ /**

printWarning('error', format, args);
printWarning('error', format, args, new Error('react-stack-top-frame'));
}

@@ -88,3 +88,3 @@ }

function printWarning(level, format, args) {
function printWarning(level, format, args, currentStack) {
// When changing this logic, you might want to also

@@ -99,3 +99,3 @@ // update consoleWithStackDev.www.js as well.

// can be lost while DevTools isn't open but we can't detect this.
var stack = ReactSharedInternalsServer.getCurrentStack();
var stack = ReactSharedInternalsServer.getCurrentStack(currentStack);

@@ -102,0 +102,0 @@ if (stack !== '') {

@@ -77,3 +77,3 @@ /**

printWarning('error', format, args);
printWarning('error', format, args, new Error('react-stack-top-frame'));
}

@@ -83,3 +83,3 @@ }

function printWarning(level, format, args) {
function printWarning(level, format, args, currentStack) {
// When changing this logic, you might want to also

@@ -94,3 +94,3 @@ // update consoleWithStackDev.www.js as well.

// can be lost while DevTools isn't open but we can't detect this.
var stack = ReactSharedInternals.getCurrentStack();
var stack = ReactSharedInternals.getCurrentStack(currentStack);

@@ -97,0 +97,0 @@ if (stack !== '') {

@@ -82,3 +82,3 @@ /**

printWarning('error', format, args);
printWarning('error', format, args, new Error('react-stack-top-frame'));
}

@@ -88,3 +88,3 @@ }

function printWarning(level, format, args) {
function printWarning(level, format, args, currentStack) {
// When changing this logic, you might want to also

@@ -99,3 +99,3 @@ // update consoleWithStackDev.www.js as well.

// can be lost while DevTools isn't open but we can't detect this.
var stack = ReactSharedInternalsServer.getCurrentStack();
var stack = ReactSharedInternalsServer.getCurrentStack(currentStack);

@@ -102,0 +102,0 @@ if (stack !== '') {

@@ -539,2 +539,2 @@ /**

};
exports.version = "19.0.0-rc-bf3a29d097-20240603";
exports.version = "19.0.0-rc-cc1ec60d0d-20240607";

@@ -91,3 +91,3 @@ /**

}
function noop$1() {}
function noop() {}
function resolveThenable(thenable) {

@@ -102,3 +102,3 @@ switch (thenable.status) {

("string" === typeof thenable.status
? thenable.then(noop$1, noop$1)
? thenable.then(noop, noop)
: ((thenable.status = "pending"),

@@ -270,32 +270,2 @@ thenable.then(

}
var reportGlobalError =
"function" === typeof reportError
? reportError
: function (error) {
if (
"object" === typeof window &&
"function" === typeof window.ErrorEvent
) {
var event = new window.ErrorEvent("error", {
bubbles: !0,
cancelable: !0,
message:
"object" === typeof error &&
null !== error &&
"string" === typeof error.message
? String(error.message)
: String(error),
error: error
});
if (!window.dispatchEvent(event)) return;
} else if (
"object" === typeof process &&
"function" === typeof process.emit
) {
process.emit("uncaughtException", error);
return;
}
console.error(error);
};
function noop() {}
exports.Children = {

@@ -447,27 +417,5 @@ map: mapChildren,

};
exports.startTransition = function (scope) {
var prevTransition = ReactSharedInternals.T,
transition = {};
ReactSharedInternals.T = transition;
try {
var returnValue = scope(),
onStartTransitionFinish = ReactSharedInternals.S;
null !== onStartTransitionFinish &&
onStartTransitionFinish(transition, returnValue);
"object" === typeof returnValue &&
null !== returnValue &&
"function" === typeof returnValue.then &&
returnValue.then(noop, reportGlobalError);
} catch (error) {
reportGlobalError(error);
} finally {
ReactSharedInternals.T = prevTransition;
}
};
exports.use = function (usable) {
return ReactSharedInternals.H.use(usable);
};
exports.useActionState = function (action, initialState, permalink) {
return ReactSharedInternals.H.useActionState(action, initialState, permalink);
};
exports.useCallback = function (callback, deps) {

@@ -483,2 +431,2 @@ return ReactSharedInternals.H.useCallback(callback, deps);

};
exports.version = "19.0.0-rc-bf3a29d097-20240603";
exports.version = "19.0.0-rc-cc1ec60d0d-20240607";

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

],
"version": "19.0.0-rc-bf3a29d097-20240603",
"version": "19.0.0-rc-cc1ec60d0d-20240607",
"homepage": "https://react.dev/",

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

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc