Socket
Socket
Sign inDemoInstall

fastify-renderer

Package Overview
Dependencies
268
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.19 to 0.1.20

2

node/renderers/react/ReactRenderer.js

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

// we load all the context needed for this render from one `loadModule` call, which is really important for keeping the same copy of React around in all of the different bits that touch it.
const { React, ReactDOMServer, Router, Layout, Entrypoint } = await this.loadModule(this.buildServerEntrypointModuleURL(render.renderable));
const { React, ReactDOMServer, Router, Layout, Entrypoint } = (await this.loadModule(this.buildServerEntrypointModuleURL(render.renderable))).default;
let app = (React.createElement(RenderBus_1.RenderBus.Context.Provider, { value: bus },

@@ -43,0 +43,0 @@ React.createElement(Router, { base: this.plugin.base, hook: static_location_1.default(this.stripBasePath(render.request.url)) },

{
"name": "fastify-renderer",
"version": "0.1.19",
"version": "0.1.20",
"description": "Simple, high performance client side app renderer for Fastify.",

@@ -5,0 +5,0 @@ "exports": {

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc