Socket
Socket
Sign inDemoInstall

react-refresh

Package Overview
Dependencies
0
Maintainers
10
Versions
1596
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.0-experimental-6883d7944-20221101 to 0.0.0-experimental-6946ebe620-20240508

cjs/react-refresh-babel.production.js

2

babel.js
'use strict';
if (process.env.NODE_ENV === 'production') {
module.exports = require('./cjs/react-refresh-babel.production.min.js');
module.exports = require('./cjs/react-refresh-babel.production.js');
} else {
module.exports = require('./cjs/react-refresh-babel.development.js');
}

@@ -172,3 +172,3 @@ /**

}
} else ;

@@ -273,2 +273,20 @@ break;

case 'React.useDebugValue':
case 'useId':
case 'React.useId':
case 'useDeferredValue':
case 'React.useDeferredValue':
case 'useTransition':
case 'React.useTransition':
case 'useInsertionEffect':
case 'React.useInsertionEffect':
case 'useSyncExternalStore':
case 'React.useSyncExternalStore':
case 'useFormStatus':
case 'React.useFormStatus':
case 'useFormState':
case 'React.useFormState':
case 'useActionState':
case 'React.useActionState':
case 'useOptimistic':
case 'React.useOptimistic':
return true;

@@ -275,0 +293,0 @@

@@ -17,3 +17,2 @@ /**

// ATTENTION
var REACT_FORWARD_REF_TYPE = Symbol.for('react.forward_ref');

@@ -561,3 +560,2 @@ var REACT_MEMO_TYPE = Symbol.for('react.memo');

// We're in the innermost call, so this is the actual type.
// $FlowFixMe[escaped-generic] discovered when updating Flow
savedType = type;

@@ -564,0 +562,0 @@ hasCustomHooks = typeof getCustomHooks === 'function';

@@ -7,4 +7,4 @@ {

],
"version": "0.0.0-experimental-6883d7944-20221101",
"homepage": "https://reactjs.org/",
"version": "0.0.0-experimental-6946ebe620-20240508",
"homepage": "https://react.dev/",
"bugs": "https://github.com/facebook/react/issues",

@@ -17,4 +17,3 @@ "license": "MIT",

"runtime.js",
"cjs/",
"umd/"
"cjs/"
],

@@ -21,0 +20,0 @@ "main": "runtime.js",

'use strict';
if (process.env.NODE_ENV === 'production') {
module.exports = require('./cjs/react-refresh-runtime.production.min.js');
module.exports = require('./cjs/react-refresh-runtime.production.js');
} else {
module.exports = require('./cjs/react-refresh-runtime.development.js');
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc