Skip to content

Commit

Permalink
Merge pull request #31 from payscale/fix-security-warnings
Browse files Browse the repository at this point in the history
Fix security warnings in Github Repo
  • Loading branch information
dfenske committed Apr 6, 2020
2 parents 0cfb8af + 69d53c9 commit 7b0edfe
Show file tree
Hide file tree
Showing 5 changed files with 3,284 additions and 2,511 deletions.
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
registry=https://registry.npmjs.org
1 change: 1 addition & 0 deletions .yarnrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
registry=https://registry.yarnpkg.com
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "country-currency-map",
"version": "2.1.6",
"version": "2.1.7",
"description": "Mapping of countries and their primary currency.",
"main": "lib/index.js",
"scripts": {
Expand Down Expand Up @@ -44,10 +44,10 @@
"eslint": "4.18.2",
"eslint-config-payscale": "1.2.3",
"eslint-plugin-react": "7.16.0",
"jest": "24.9.0",
"mocha": "6.2.1",
"jest": "25.2.7",
"mocha": "7.1.1",
"path": "0.12.7",
"uglifyjs-webpack-plugin": "2.2.0",
"terser-webpack-plugin": "2.3.5",
"webpack": "4.41.0",
"webpack-cli": "3.3.9"
},
Expand Down
4 changes: 2 additions & 2 deletions webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const webpack = require("webpack");
const UglifyJsPlugin = require("uglifyjs-webpack-plugin");
const TerserPlugin = require('terser-webpack-plugin');
const path = require("path");

module.exports = {
Expand All @@ -14,7 +14,7 @@ module.exports = {
},
optimization: {
minimizer: [
new UglifyJsPlugin({
new TerserPlugin({
include: /\.min\.js$/
})
]
Expand Down
Loading

0 comments on commit 7b0edfe

Please sign in to comment.