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

create-react-app-ssr

Package Overview
Dependencies
Maintainers
1
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-react-app-ssr - npm Package Compare versions

Comparing version 0.0.21 to 0.0.22

6

lib/create-ssr-router.js

@@ -35,5 +35,5 @@ 'use strict';

var rules = Array.isArray(settngs.ssrBlacklist) ? settings.ssrBlacklist : settings.ssrBlacklist.split(',');
rules.forEach(function (path) {
return router.get(path, _serveAppStatic(settings));
var rules = Array.isArray(settings.ssrBlacklist) ? settings.ssrBlacklist : settings.ssrBlacklist.split(',');
rules.forEach(function (rule) {
return router.get(rule, _serveAppStatic(settings));
});

@@ -40,0 +40,0 @@ }

{
"name": "create-react-app-ssr",
"version": "0.0.21",
"version": "0.0.22",
"description": "Server Side Rendering for Create React App (with redux, router, code splitting, ...)",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -27,7 +27,7 @@ const express = require('express')

const { serveAppStatic } = require('./middlewares/serve-app-static')
const rules = (Array.isArray(settngs.ssrBlacklist)
const rules = (Array.isArray(settings.ssrBlacklist)
? settings.ssrBlacklist
: settings.ssrBlacklist.split(',')
)
rules.forEach(path => router.get(path, serveAppStatic(settings)))
rules.forEach(rule => router.get(rule, serveAppStatic(settings)))
}

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