Socket
Socket
Sign inDemoInstall

@financial-times/x-engine

Package Overview
Dependencies
Maintainers
12
Versions
172
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@financial-times/x-engine - npm Package Compare versions

Comparing version 8.2.2 to 8.2.3

2

package.json
{
"name": "@financial-times/x-engine",
"version": "8.2.2",
"version": "8.2.3",
"description": "This module is a consolidation library to render x-dash components with any compatible runtime.",

@@ -5,0 +5,0 @@ "main": "src/server.js",

@@ -7,3 +7,4 @@ const deepGet = require('./concerns/deep-get')

// 1. try to load the application's package manifest
const pkg = require(resolvePkg())
const pkgPath = resolvePkg()
const pkg = require(pkgPath)

@@ -14,3 +15,3 @@ // 2. if we have the manifest then find the engine configuration

if (!raw) {
throw new Error(`x-engine requires a server runtime to be specified. none found in ${pkg.name}`)
throw new Error(`x-engine server configuration not found in ${pkg.name}'s package.json (${pkgPath}). this configuration is required so that x-engine knows which JSX runtime to use. follow the configuration guide to add this configuration: https://github.com/Financial-Times/x-dash/tree/main/packages/x-engine#configuration`)
}

@@ -17,0 +18,0 @@

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