Skip to content
This repository has been archived by the owner on Feb 6, 2023. It is now read-only.

Commit

Permalink
Update dependencies in examples/draft-0-10-0/playground (#2258)
Browse files Browse the repository at this point in the history
Summary:
This fixes security vulnerabilities detected by github
Pull Request resolved: #2258

Test Plan: Used the example. Everything still works as intended.

Differential Revision: D18690749

Pulled By: mrkev

fbshipit-source-id: 7fd6930023c2baf4ebb66605ca8a96679f94a21a
  • Loading branch information
mrkev authored and facebook-github-bot committed Nov 25, 2019
1 parent 7d26fab commit 11bc5d8
Show file tree
Hide file tree
Showing 4 changed files with 5,644 additions and 3,463 deletions.
1 change: 1 addition & 0 deletions examples/draft-0-10-0/playground/.env
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SKIP_PREFLIGHT_CHECK=true
15 changes: 14 additions & 1 deletion examples/draft-0-10-0/playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,29 @@
"draft-js": "file:../../..",
"immutable": "^3.8.2",
"react": "^16.2.0",
"react-app-polyfill": "^1.0.4",
"react-codemirror2": "^3.0.7",
"react-dom": "^16.2.0",
"react-json-tree": "^0.11.0",
"react-panelgroup": "^1.0.5",
"react-scripts": "^1.1.5"
"react-scripts": "3.2.0"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test --env=jsdom",
"eject": "react-scripts eject"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}
2 changes: 2 additions & 0 deletions examples/draft-0-10-0/playground/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

import 'react-app-polyfill/ie9'; // For IE 9-11 support

import GkManager from './GkManager';
import React from 'react';
import ReactDOM from 'react-dom';
Expand Down
Loading

0 comments on commit 11bc5d8

Please sign in to comment.