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

@react-native/dev-middleware

Package Overview
Dependencies
Maintainers
2
Versions
554
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-native/dev-middleware - npm Package Compare versions

Comparing version 0.78.0-rc.4 to 0.78.0-rc.5

11

dist/createDevMiddleware.js

@@ -92,2 +92,13 @@ "use strict";

break;
case "fusebox_console_notice":
logger?.info(
"\n" +
"\u001B[7m" +
" \u001B[1m💡 JavaScript logs have moved!\u001B[22m They can now be " +
"viewed in React Native DevTools. Tip: Type \u001B[1mj\u001B[22m in " +
"the terminal to open (requires Google Chrome or Microsoft Edge)." +
"\u001B[27m" +
"\n"
);
break;
}

@@ -94,0 +105,0 @@ reporter?.logEvent(event);

@@ -43,2 +43,3 @@ "use strict";

const FILE_PREFIX = "file://";
let fuseboxConsoleNoticeLogged = false;
const REACT_NATIVE_RELOADABLE_PAGE_ID = "-1";

@@ -381,2 +382,3 @@ class Device {

if (this.#pageHasCapability(page, "nativePageReloads")) {
this.#logFuseboxConsoleNotice();
continue;

@@ -814,3 +816,10 @@ }

}
#logFuseboxConsoleNotice() {
if (fuseboxConsoleNoticeLogged) {
return;
}
this.#deviceEventReporter?.logFuseboxConsoleNotice();
fuseboxConsoleNoticeLogged = true;
}
}
exports.default = Device;

1

dist/inspector-proxy/DeviceEventReporter.d.ts

@@ -52,4 +52,5 @@ /**

): void;
logFuseboxConsoleNotice(): void;
}
declare const $$EXPORT_DEFAULT_DECLARATION$$: typeof DeviceEventReporter;
export default $$EXPORT_DEFAULT_DECLARATION$$;

@@ -162,2 +162,7 @@ "use strict";

}
logFuseboxConsoleNotice() {
this.#eventReporter.logEvent({
type: "fusebox_console_notice",
});
}
#logExpiredCommand(pendingCommand) {

@@ -164,0 +169,0 @@ this.#eventReporter.logEvent({

3

dist/types/EventReporter.d.ts

@@ -82,4 +82,5 @@ /**

any
| { type: "fusebox_console_notice" }
| /**
* > 92 | ...DebuggerSessionIDs,
* > 95 | ...DebuggerSessionIDs,
* | ^^^^^^^^^^^^^^^^^^^^^ Unsupported feature: Translating "object types with spreads in the middle or at the end" is currently not supported.

@@ -86,0 +87,0 @@ **/

{
"name": "@react-native/dev-middleware",
"version": "0.78.0-rc.4",
"version": "0.78.0-rc.5",
"description": "Dev server middleware for React Native",

@@ -26,3 +26,3 @@ "keywords": [

"@isaacs/ttlcache": "^1.4.1",
"@react-native/debugger-frontend": "0.78.0-rc.4",
"@react-native/debugger-frontend": "0.78.0-rc.5",
"chrome-launcher": "^0.15.2",

@@ -29,0 +29,0 @@ "chromium-edge-launcher": "^0.2.0",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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