Skip to content
Permalink
Browse files

fix: upgrade deps for security reasons

  • Loading branch information...
dadamssg committed Mar 20, 2019
1 parent d2e0894 commit bc1a9973086bbbaf1bef523bd4bc2e5ef27af867
Showing with 521 additions and 691 deletions.
  1. +3 −10 api-explorer/webpack.config.js
  2. +2 −4 package.json
  3. +516 −677 yarn.lock
@@ -4,7 +4,7 @@ const HtmlWebpackPlugin = require('html-webpack-plugin')
const CleanWebpackPlugin = require('clean-webpack-plugin')
const ExtractTextPlugin = require('extract-text-webpack-plugin')

const extractSASS = new ExtractTextPlugin('[name].css')
const extractCSS = new ExtractTextPlugin('[name].css')
const NODE_ENV = process.env.NODE_ENV ? process.env.NODE_ENV : 'development'

let config = {
@@ -29,7 +29,7 @@ let config = {
new HtmlWebpackPlugin({
template: path.resolve(__dirname, 'src', 'index.ejs')
}),
extractSASS,
extractCSS,
new webpack.DefinePlugin({
'global.NODE_ENV': JSON.stringify(NODE_ENV)
})
@@ -48,18 +48,11 @@ let config = {
},
{
test: /\.css$/,
loader: extractSASS.extract({
loader: extractCSS.extract({
fallback: 'style-loader',
use: [ 'css-loader' ]
})
},
{
test: /\.scss/,
loader: extractSASS.extract({
fallback: 'style-loader',
use: [ 'css-loader', 'sass-loader?sourceMap' ]
})
},
{
test: /\.otf(\?v=\d+\.\d+\.\d+)?$/,
use: [ 'file-loader' ]
@@ -63,10 +63,9 @@
"extract-text-webpack-plugin": "^4.0.0-beta.0",
"file-loader": "^1.1.11",
"html-webpack-plugin": "^3.0.4",
"lodash": "^4.17.10",
"lodash": "^4.17.11",
"markdown-it": "^8.4.1",
"moment": "^2.22.1",
"node-sass": "^4.7.2",
"nodemon": "^1.17.5",
"open-iconic": "^1.1.1",
"path-to-regexp": "^2.2.1",
@@ -78,13 +77,12 @@
"react-router-dom": "^4.2.2",
"react-spinkit": "^3.0.0",
"react-syntax-highlighter": "^7.0.4",
"sass-loader": "^6.0.6",
"style-loader": "^0.20.2",
"url-loader": "^0.6.2",
"url-search-params-polyfill": "^4.0.0",
"webpack": "^4.8.3",
"webpack-cli": "^2.1.4",
"webpack-dev-server": "^3.1.4"
"webpack-dev-server": "^3.1.11"
},
"peerDependencies": {
"express": "^4.0.0"

0 comments on commit bc1a997

Please sign in to comment.
You can’t perform that action at this time.