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

new-react-app

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

new-react-app - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

2

package.json
{
"name": "new-react-app",
"private": false,
"version": "1.0.0",
"version": "1.0.1",
"description": "React starter boilerplate for client and server rendering (Universal)",

@@ -6,0 +6,0 @@ "repository": {

@@ -1,2 +0,2 @@

var path = require('path')
const path = require('path')

@@ -3,0 +3,0 @@ function resolvePath(pathName) {

var webpack = require('webpack')
var projectPath = require('./path')
const webpack = require('webpack')
const projectPath = require('./path')

@@ -5,0 +5,0 @@ module.exports = {

@@ -0,8 +1,7 @@

const webpack = require('webpack')
const HtmlWebpackPlugin = require('html-webpack-plugin')
const ExtractTextPlugin = require('extract-text-webpack-plugin')
const projectPath = require('./path')
var webpack = require('webpack')
var HtmlWebpackPlugin = require('html-webpack-plugin')
var ExtractTextPlugin = require('extract-text-webpack-plugin')
var projectPath = require('./path')
var plugins = [
const plugins = [
new webpack.optimize.ModuleConcatenationPlugin(),

@@ -65,3 +64,3 @@ new webpack.DefinePlugin({

entry: {
app: projectPath.indexFile,
app: ['babel-polyfill', projectPath.indexFile],
vendor: [

@@ -68,0 +67,0 @@ 'babel-polyfill',

@@ -19,3 +19,3 @@ {

"test:watch": "better-npm-run test:watch",
"lint": "eslint ./"
"lint": "eslint ./app"
},

@@ -22,0 +22,0 @@ "betterScripts": {

require('babel-core/register')
var express = require('express')
var app = express()
var chalk = require('chalk')
var formatWebpackMessages = require('react-dev-utils/formatWebpackMessages')
var clearConsole = require('react-dev-utils/clearConsole')
var openBrowser = require('react-dev-utils/openBrowser')
var webpack = require('webpack')
var webpackConfig = require('../configs/webpack.config.dev')
var projectPath = require('../configs/path')
var config = require('../configs')
const express = require('express')
const app = express()
const chalk = require('chalk')
const formatWebpackMessages = require('react-dev-utils/formatWebpackMessages')
const clearConsole = require('react-dev-utils/clearConsole')
const openBrowser = require('react-dev-utils/openBrowser')
const webpack = require('webpack')
const webpackConfig = require('../configs/webpack.config.dev')
const projectPath = require('../configs/path')
const config = require('../configs')
var protocol = process.env.HTTPS === 'true' ? 'https' : 'http'
var host = process.env.HOST || 'localhost'
var port = config.port
var isFirstCompile = true
const protocol = process.env.HTTPS === 'true' ? 'https' : 'http'
const host = process.env.HOST || 'localhost'
const port = config.port
let isFirstCompile = true
var compiler = webpack(webpackConfig)
const compiler = webpack(webpackConfig)

@@ -26,5 +26,5 @@ compiler.plugin('invalid', function() {

compiler.plugin('done', function(stats) {
var messages = formatWebpackMessages(stats.toJson({}, true))
var isSuccessful = !messages.errors.length && !messages.warnings.length
var showInstructions = isSuccessful && isFirstCompile
const messages = formatWebpackMessages(stats.toJson({}, true))
const isSuccessful = !messages.errors.length && !messages.warnings.length
const showInstructions = isSuccessful && isFirstCompile

@@ -31,0 +31,0 @@ clearConsole()

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