filestack-react
Advanced tools
Comparing version 1.3.8 to 1.3.9
{ | ||
"name": "filestack-react", | ||
"version": "1.3.8", | ||
"version": "1.3.9", | ||
"main": "dist/filestack-react.js", | ||
@@ -8,3 +8,3 @@ "description": "react component for filestack", | ||
"test": "jest --watch --no-cache --coverage", | ||
"build": "rimraf dist && webpack --colors --debug --display-error-details", | ||
"build": "rimraf dist && webpack --colors -p --display-error-details", | ||
"prepublish": "npm run build", | ||
@@ -70,4 +70,5 @@ "lint": "eslint" | ||
}, | ||
"dependencies": { | ||
"filestack-js": "^0.9.1" | ||
"peerDependencies": { | ||
"filestack-js": "^0.11.2", | ||
"react": "^15.5.4" | ||
}, | ||
@@ -74,0 +75,0 @@ "jest": { |
@@ -18,10 +18,10 @@ [![NPM Version](https://img.shields.io/badge/npm-1.3.8-red.svg)](https://www.npmjs.com/package/filestack-react) | ||
Install ``filestack-react`` through npm | ||
Install ``filestack-react`` and ``filestack-js`` through npm | ||
```shell | ||
npm install filestack-react | ||
npm install filestack-react filestack-js | ||
``` | ||
or | ||
```shell | ||
yarn add filestack-react | ||
yarn add filestack-react filestack-js | ||
``` | ||
@@ -28,0 +28,0 @@ ## Import |
@@ -11,3 +11,3 @@ const path = require('path'); | ||
filename: 'filestack-react.js', | ||
libraryTarget: 'commonjs2', | ||
libraryTarget: 'umd', | ||
}, | ||
@@ -20,2 +20,5 @@ devtool: 'source-map', | ||
module: { rules }, | ||
externals: [ | ||
'react', 'filestack-js', 'prop-types' | ||
], | ||
plugins: [ | ||
@@ -22,0 +25,0 @@ new webpack.LoaderOptionsPlugin({ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
709755
2
57
1262
1
1
+ Addedasap@2.0.6(transitive)
+ Addedcore-js@1.2.7(transitive)
+ Addedcreate-react-class@15.7.0(transitive)
+ Addedencoding@0.1.13(transitive)
+ Addedfbjs@0.8.18(transitive)
+ Addedfilestack-js@0.11.5(transitive)
+ Addediconv-lite@0.6.3(transitive)
+ Addedis-stream@1.1.0(transitive)
+ Addedisomorphic-fetch@2.2.1(transitive)
+ Addedjs-tokens@4.0.0(transitive)
+ Addedloose-envify@1.4.0(transitive)
+ Addednode-fetch@1.7.3(transitive)
+ Addedobject-assign@4.1.1(transitive)
+ Addedpromise@7.3.1(transitive)
+ Addedprop-types@15.8.1(transitive)
+ Addedreact@15.7.0(transitive)
+ Addedreact-is@16.13.1(transitive)
+ Addedsafer-buffer@2.1.2(transitive)
+ Addedsetimmediate@1.0.5(transitive)
+ Addedua-parser-js@0.7.38(transitive)
+ Addedwhatwg-fetch@3.6.20(transitive)
- Removedfilestack-js@^0.9.1
- Removedfilestack-js@0.9.12(transitive)