create-react-app-ssr
Advanced tools
Comparing version 0.0.2 to 0.0.3
module.exports = { | ||
createSSRRouter: require('./lib/create-ssr-router').createSSRRouter, | ||
createSSRRemder: require('./lib/create-ssr-render').createSSRRemder, | ||
} |
@@ -23,4 +23,6 @@ 'use strict'; | ||
Helmet = _require.Helmet; | ||
// const { staticRender } = require('../../../../src/index.ssr') | ||
var _require2 = require('../ssr-version'), | ||
ssrVersion = _require2.ssrVersion; | ||
var readFile = function readFile(filePath) { | ||
@@ -138,3 +140,3 @@ var encoding = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'utf8'; | ||
case 9: | ||
if (!(staticRender.ssrVersion !== '0.0.2')) { | ||
if (!(staticRender.ssrVersion !== ssrVersion)) { | ||
_context.next = 11; | ||
@@ -141,0 +143,0 @@ break; |
{ | ||
"name": "create-react-app-ssr", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "Server Side Rendering for Create React App (with redux, router, code splitting, ...)", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -5,3 +5,3 @@ const path = require('path') | ||
const { Helmet } = require('react-helmet') | ||
// const { staticRender } = require('../../../../src/index.ssr') | ||
const { ssrVersion } = require('../ssr-version') | ||
@@ -91,3 +91,3 @@ const readFile = (filePath, encoding = 'utf8') => new Promise((resolve, reject) => { | ||
} | ||
if (staticRender.ssrVersion !== '0.0.2') { | ||
if (staticRender.ssrVersion !== ssrVersion) { | ||
throw new Error('ssr static render version signature does not appear to match') | ||
@@ -94,0 +94,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
82565
16
463