Socket
Socket
Sign inDemoInstall

@financial-times/x-engine

Package Overview
Dependencies
Maintainers
10
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 14.4.2 to 14.5.0

2

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

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

@@ -27,7 +27,12 @@ const assignDeep = require('assign-deep')

apply(compiler) {
const alias = compiler?.options?.resolve?.alias
const configRuntimePath = alias && alias[config.runtime] ? alias[config.runtime] : runtimeResolution
const configRenderModule =
alias && alias[config.renderModule] ? alias[config.renderModule] : renderResolution
assignDeep(compiler.options, {
resolve: {
alias: {
[config.runtime]: runtimeResolution,
[config.renderModule]: renderResolution
//Do not override current alias resolvers
[config.runtime]: configRuntimePath,
[config.renderModule]: configRenderModule
}

@@ -34,0 +39,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