Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump up babel-cli version to fix security alert #3121

Merged
merged 4 commits into from
Jun 8, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ Module system
To build an compile the flow typed sources to javascript use:
```
npm install
npm run build
# The dependency `babel-preset-react-app` requires that you specify `NODE_ENV` or `BABEL_ENV` environment variables
env BABEL_ENV={YOUR_ENV} npm run build
```

### Publishing
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
{
"presets": ["react-app"],
"plugins": ["transform-flow-strip-types"]
"presets": [
"react-app",
"@babel/preset-flow"
],
"plugins": [
"@babel/plugin-transform-flow-strip-types"
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,11 @@
"portable-fetch": "^3.0.0"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-core": "^6.26.3",
"babel-plugin-transform-flow-strip-types": "^6.22.0",
"babel-preset-react-app": "^3.1.1",
"@babel/cli": "^7.0.0",
"@babel/core": "^7.0.0",
"@babel/plugin-transform-flow-strip-types": "^7.0.0",
"@babel/preset-flow": "^7.0.0",
"babel-preset-react-app": "^7.0.0",
"flow-copy-source": "^1.3.0",
"rimraf": "^2.6.2"
}
Expand Down
9 changes: 7 additions & 2 deletions samples/client/petstore/javascript-flowtyped/.babelrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
{
"presets": ["react-app"],
"plugins": ["transform-flow-strip-types"]
"presets": [
"react-app",
"@babel/preset-flow"
],
"plugins": [
"@babel/plugin-transform-flow-strip-types"
]
}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.0.0-SNAPSHOT
4.0.2-SNAPSHOT
3 changes: 2 additions & 1 deletion samples/client/petstore/javascript-flowtyped/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ Module system
To build an compile the flow typed sources to javascript use:
```
npm install
npm run build
# The dependency `babel-preset-react-app` requires that you specify `NODE_ENV` or `BABEL_ENV` environment variables
env BABEL_ENV={YOUR_ENV} npm run build
```

### Publishing
Expand Down
Loading