filestack-react
Advanced tools
Comparing version 1.3.4 to 1.3.5
{ | ||
"name": "filestack-react", | ||
"version": "1.3.4", | ||
"version": "1.3.5", | ||
"main": "dist/filestack-react.js", | ||
@@ -5,0 +5,0 @@ "description": "react component for filestack", |
@@ -1,2 +0,2 @@ | ||
[](https://www.npmjs.com/package/filestack-react) | ||
[](https://www.npmjs.com/package/filestack-react) | ||
[](https://www.npmjs.com/package/filestack-react) | ||
@@ -129,6 +129,14 @@ [](http://packagequality.com/#?package=react-filestack) | ||
## Result | ||
## Examples | ||
You can find the example in ``/examples/demo``. | ||
Run | ||
```javascript | ||
yarn start | ||
``` | ||
and connect to localhost:8080. | ||
 | ||
@@ -135,0 +143,0 @@ |
@@ -6,3 +6,3 @@ const path = require('path'); | ||
module.exports = [{ | ||
module.exports = { | ||
entry: './src/ReactFilestack', | ||
@@ -34,28 +34,2 @@ output: { | ||
], | ||
}, { | ||
entry: './examples/demo/demo.jsx', | ||
output: { | ||
path: path.join(__dirname, 'examples/demo/dist'), | ||
filename: 'demo.js' | ||
}, | ||
devtool: 'source-map', | ||
resolve: { | ||
modules: ['node_modules', 'examples/demo'], | ||
extensions: ['.json', '.js', '.jsx'], | ||
}, | ||
module: { rules }, | ||
plugins: [ | ||
new webpack.LoaderOptionsPlugin({ | ||
minimize: true, | ||
}), | ||
new webpack.DefinePlugin({ | ||
'process.env.NODE_ENV': JSON.stringify('production'), | ||
}), | ||
new webpack.optimize.UglifyJsPlugin({ | ||
sourceMap: true, | ||
compress: { | ||
warnings: false, | ||
}, | ||
}), | ||
], | ||
}]; | ||
}; |
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
46
192
1336160
1487
4