react-json-editor-ajrm
Advanced tools
Comparing version 2.0.2 to 2.0.3
{ | ||
"name": "react-json-editor-ajrm", | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"description": "A stylish, editor-like, modular, react component for viewing, editing, and debugging javascript object syntax!", | ||
@@ -44,12 +44,11 @@ "author": "andrew.redican.mejia@gmail.com", | ||
"babel-loader": "^7.1.2", | ||
"babel-polyfill": "^6.26.0", | ||
"babel-plugin-transform-object-rest-spread": "^6.26.0", | ||
"babel-plugin-transform-remove-strict-mode": "0.0.2", | ||
"babel-preset-env": "^1.6.1", | ||
"babel-preset-react": "^6.24.1", | ||
"babel-plugin-transform-object-rest-spread": "^6.26.0", | ||
"babel-plugin-transform-remove-strict-mode": "0.0.2", | ||
"webpack": "^3.10.0", | ||
"react": ">=16.2.0", | ||
"react-dom": ">=16.2.0", | ||
"uglifyjs-webpack-plugin": "^1.1.8", | ||
"react": ">=16.2.0", | ||
"react-dom": ">=16.2.0" | ||
"webpack": "^3.10.0" | ||
} | ||
} |
@@ -10,14 +10,13 @@ const | ||
entry : [ | ||
'babel-polyfill', | ||
'./src/index.js' | ||
], | ||
output: { | ||
path : path.join(__dirname, './dist'), | ||
filename : 'index.js', | ||
library : libraryName, | ||
libraryTarget : 'umd', | ||
publicPath : '/dist/', | ||
umdNamedDefine : true | ||
output: { | ||
path : path.join(__dirname, './dist'), | ||
filename : 'index.js', | ||
library : libraryName, | ||
libraryTarget : 'umd', | ||
publicPath : '/dist/', | ||
umdNamedDefine : true | ||
}, | ||
plugins : [ | ||
plugins : [ | ||
new webpack.DefinePlugin({ 'process.env.NODE_ENV': 'true' }), | ||
@@ -42,22 +41,22 @@ new UglifyJSPlugin() | ||
}, | ||
resolve: { | ||
alias: { | ||
resolve: { | ||
alias: { | ||
react : path.resolve(__dirname, './node_modules/react'), | ||
'react-dom': path.resolve(__dirname, './node_modules/react-dom'), | ||
} | ||
'react-dom': path.resolve(__dirname, './node_modules/react-dom') | ||
} | ||
}, | ||
externals: { | ||
react: { | ||
commonjs : 'react', | ||
commonjs2 : 'react', | ||
amd : 'React', | ||
root : 'React' | ||
}, | ||
'react-dom': { | ||
commonjs : 'react-dom', | ||
commonjs2 : 'react-dom', | ||
amd : 'ReactDOM', | ||
root : 'ReactDOM' | ||
} | ||
react: { | ||
commonjs : 'react', | ||
commonjs2 : 'react', | ||
amd : 'React', | ||
root : 'React' | ||
}, | ||
'react-dom': { | ||
commonjs : 'react-dom', | ||
commonjs2 : 'react-dom', | ||
amd : 'ReactDOM', | ||
root : 'ReactDOM' | ||
} | ||
} | ||
} |
Sorry, the diff of this file is too big to display
Uses eval
Supply chain riskPackage uses eval() which is a dangerous function. This prevents the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 2 instances in 1 package
10
0
114028
1755