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

Fix: Issue #125 - Vulnerabilities found in project dependencies #126

Open
wants to merge 18 commits into
base: master
Choose a base branch
from
Open
2 changes: 1 addition & 1 deletion .babelrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{ "presets": ["es2015", "react", "stage-3"] }
{ "presets": ["@babel/react"] }
1 change: 1 addition & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{ "parser": "babel-eslint" }
3 changes: 3 additions & 0 deletions .mocharc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
require:
- 'core-js'
- '@babel/register'
3 changes: 3 additions & 0 deletions babel.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"presets": ["@babel/preset-env"]
}
17 changes: 15 additions & 2 deletions lib/react-currency-input.cjs.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/react-currency-input.cjs.js.map

Large diffs are not rendered by default.

17 changes: 15 additions & 2 deletions lib/react-currency-input.es.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/react-currency-input.es.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/react-currency-input.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/react-currency-input.min.js.map

Large diffs are not rendered by default.

41 changes: 22 additions & 19 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-currency-input",
"version": "1.3.7",
"name": "@gustavo-cardoso-deal/react-currency-input",
"version": "1.3.8",
"description": "React component for inputing currency amounts",
"main": "lib/react-currency-input.cjs.js",
"jsnext:main": "lib/react-currency-input.es.js",
Expand All @@ -13,13 +13,13 @@
"build": "rimraf lib && npm run build:umd && npm run build:cjs && npm run build:es",
"prepublish": "npm run build",
"build-example": "browserify examples/index.js -o examples/bundle.js -t [ babelify --presets [ es2015 react ] ]",
"test": "mocha --compilers js:babel-register",
"test": "mocha",
"webpack": "webpack",
"webpack-dev": "webpack-dev-server"
},
"repository": {
"type": "git",
"url": "git+https://github.com/jsillitoe/react-currency-input.git"
"url": "git+https://github.com/gustavo-cardoso-deal/react-currency-input.git"
},
"keywords": [
"react",
Expand All @@ -31,29 +31,32 @@
"react-component"
],
"author": "Joe Sillitoe <jsillitoe@gmail.com>",
"contributors": [
"Gustavo Cardoso <gustavo.cardoso@deal.com.br>"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/jsillitoe/react-currency-input/issues"
"url": "https://github.com/gustavo-cardoso-deal/react-currency-input/issues"
},
"homepage": "https://github.com/jsillitoe/react-currency-input#readme",
"homepage": "https://github.com/gustavo-cardoso-deal/react-currency-input#readme",
"peerDependencies": {
"prop-types": "^15.6.0",
"react": "^16.0.0",
"react-dom": "^16.0.0"
},
"devDependencies": {
"babel-cli": "^6.18.0",
"babel-loader": "6.4.0",
"babel-preset-es2015": "^6.9.0",
"babel-preset-react": "^6.5.0",
"babel-preset-stage-3": "6.22.0",
"babel-register": "^6.9.0",
"@babel/cli": "^7.18.6",
"@babel/core": "^7.18.6",
"@babel/preset-env": "^7.18.6",
"@babel/preset-react": "^7.18.6",
"@babel/register": "^7.18.6",
"babelify": "^7.3.0",
"browserify": "^13.0.1",
"chai": "^3.5.0",
"core-js": "^3.23.4",
"cross-env": "^5.1.0",
"eslint": "^2.13.1",
"mocha": "^2.5.3",
"eslint": "5.16.0",
"mocha": "9.2.2",
"rimraf": "^2.5.2",
"rollup": "^0.50.0",
"rollup-plugin-buble": "^0.16.0",
Expand All @@ -64,13 +67,13 @@
"rollup-plugin-uglify": "^2.0.1",
"sinon": "^1.17.4",
"sinon-chai": "^2.8.0",
"webpack": "2.2.1",
"webpack-dev-server": "2.4.1"
"webpack": "5.73.0",
"webpack-dev-server": "4.9.3"
},
"dependencies": {
"jsdom": "^9.12.0",
"jsdom": "19.0.0",
"prop-types": "^15.6.0",
"react": "^16.4.1",
"react-dom": "^16.4.1"
"react": "16.14.0",
"react-dom": "16.14.0"
}
}
Loading