Socket
Socket
Sign inDemoInstall

metro-core

Package Overview
Dependencies
Maintainers
2
Versions
155
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

metro-core - npm Package Compare versions

Comparing version 0.80.9 to 0.80.10

5

package.json
{
"name": "metro-core",
"version": "0.80.9",
"version": "0.80.10",
"description": "🚇 Metro's core package.",

@@ -15,4 +15,5 @@ "main": "src/index.js",

"dependencies": {
"flow-enums-runtime": "^0.0.6",
"lodash.throttle": "^4.1.1",
"metro-resolver": "0.80.9"
"metro-resolver": "0.80.10"
},

@@ -19,0 +20,0 @@ "license": "MIT",

8

src/Logger.js

@@ -40,3 +40,3 @@ "use strict";

}
function createActionEndEntry(logEntry) {
function createActionEndEntry(logEntry, error) {
const { action_name, action_phase, start_timestamp } = logEntry;

@@ -54,2 +54,8 @@ if (action_phase !== "start" || !Array.isArray(start_timestamp)) {

duration_ms,
...(error != null
? {
error_message: error.message,
error_stack: error.stack,
}
: null),
});

@@ -56,0 +62,0 @@ }

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