Skip to content

Commit

Permalink
Update babel packages
Browse files Browse the repository at this point in the history
  • Loading branch information
juffalow committed Jan 4, 2019
1 parent da9c9df commit b668ae5
Show file tree
Hide file tree
Showing 4 changed files with 1,162 additions and 773 deletions.
11 changes: 2 additions & 9 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
{
"presets": ["env", "flow"],
"plugins": [
[
"transform-runtime", {
"polyfill": false,
"regenerator": true
}
]
]
"presets": ["@babel/preset-env", "@babel/preset-flow"],
"plugins": ["@babel/plugin-transform-runtime"]
}
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
require('babel-register');
require("@babel/register");
require('./src/index.js');
15 changes: 8 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "pentest-tool-lite",
"description": "Check your website ( or any other website ) for common vulnerabilities.",
"version": "1.1.1",
"version": "1.2.2",
"author": {
"name": "Matej Jellus",
"email": "[email protected]",
Expand All @@ -12,6 +12,7 @@
},
"license": "MIT",
"dependencies": {
"@babel/runtime": "^7.2.0",
"commander": "^2.11.0",
"csso": "^3.3.1",
"htmlparser2": "^3.9.2",
Expand All @@ -37,13 +38,13 @@
"test-ci": "./node_modules/.bin/istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- --require babel-register --recursive -R spec && ./node_modules/.bin/codecov"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-core": "^6.26.3",
"@babel/cli": "^7.2.3",
"@babel/core": "^7.2.2",
"@babel/plugin-transform-runtime": "^7.2.0",
"@babel/preset-env": "^7.2.3",
"@babel/preset-flow": "^7.0.0",
"@babel/register": "^7.0.0",
"babel-eslint": "^8.2.3",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-env": "^1.7.0",
"babel-preset-flow": "^6.23.0",
"babel-register": "^6.26.0",
"chai": "^4.1.2",
"codecov": "^3.0.0",
"eslint": "^4.9.0",
Expand Down
Loading

0 comments on commit b668ae5

Please sign in to comment.