Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@podium/layout

Package Overview
Dependencies
Maintainers
4
Versions
252
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@podium/layout - npm Package Compare versions

Comparing version 3.0.0-beta.7 to 3.0.0-beta.8

12

lib/layout.js

@@ -5,2 +5,3 @@ /* eslint-disable no-underscore-dangle */

const { HttpIncoming } = require('@podium/utils');
const schemas = require('@podium/schemas');

@@ -15,3 +16,2 @@ const Context = require('@podium/context');

const joi = require('joi');
const State = require('./state');

@@ -137,4 +137,4 @@ const utils = require('./utils');

async process(state) {
const s = state;
async process(incoming) {
const s = incoming;
s.name = this.name;

@@ -149,8 +149,8 @@

return (req, res, next) => {
const state = new State(req, res, res.locals);
const incoming = new HttpIncoming(req, res, res.locals);
this.process(state)
this.process(incoming)
.then(result => {
if (result) {
putils.setAtLocalsPodium(res, 'context', state.context);
putils.setAtLocalsPodium(res, 'context', incoming.context);
next();

@@ -157,0 +157,0 @@ }

{
"name": "@podium/layout",
"version": "3.0.0-beta.7",
"version": "3.0.0-beta.8",
"description": "Module for composing full page layouts out of page fragments in a micro frontend architecture.",

@@ -36,10 +36,9 @@ "main": "lib/layout.js",

"@podium/client": "3.0.0-beta.2",
"@podium/context": "3.0.0-beta.4",
"@podium/proxy": "3.0.0-beta.3",
"@podium/context": "3.0.0-beta.5",
"@podium/proxy": "3.0.0-beta.4",
"@podium/schemas": "3.0.0",
"@podium/utils": "3.0.0",
"@podium/utils": "3.1.0",
"abslog": "2.2.3",
"joi": "^14.3.1",
"lodash.merge": "^4.6.1",
"original-url": "^1.2.2",
"readable-stream": "^3.1.1"

@@ -46,0 +45,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