Skip to content

Commit

Permalink
Merge pull request #240 from EyeSeeTea/fix/security-issues
Browse files Browse the repository at this point in the history
Fix/security issues
  • Loading branch information
adrianq authored Nov 25, 2024
2 parents dfe970e + 05c4a81 commit 0fde82e
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 17 deletions.
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"type": "git",
"url": "git+https://github.com/eyeseetea/d2-ui-components.git"
},
"version": "2.9.0-beta.2",
"version": "2.9.0",
"main": "index.js",
"types": "index.d.ts",
"peerDependencies": {
Expand All @@ -30,8 +30,8 @@
"@dhis2/d2-i18n-extract": "1.0.8",
"@dhis2/d2-i18n-generate": "1.2.0",
"@material-ui/core": "4.12.3",
"@material-ui/styles": "4.11.4",
"@material-ui/icons": "4.9.1",
"@material-ui/styles": "4.11.4",
"@types/classnames": "2.2.11",
"@types/enzyme": "3.10.8",
"@types/jest": "26.0.20",
Expand Down Expand Up @@ -69,13 +69,13 @@
"@date-io/core": "1.3.6",
"@date-io/moment": "1.0.2",
"@dhis2/d2-i18n": "1.0.6",
"@dhis2/d2-ui-core": "6.3.0",
"@dhis2/d2-ui-core": "7.4.3",
"@dhis2/ui": "6.15.2",
"@material-ui/pickers": "3.2.10",
"classnames": "2.2.6",
"downshift": "5.4.2",
"lodash": "4.17.20",
"moment": "2.22.2",
"lodash": "4.17.21",
"moment": "2.29.4",
"nano-memoize": "1.2.1",
"react-linkify": "1.0.0-alpha",
"rxjs-compat": "6.6.3",
Expand Down
1 change: 1 addition & 0 deletions scripts/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ version=$(cat package.json | jq -r '.version')
publish_opts=$(echo "$version" | grep -q beta && echo "--tag beta" || true)

rm build -rf
yarn install
yarn build
yarn publish $publish_opts --new-version "$version" build/

Expand Down
42 changes: 30 additions & 12 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1692,15 +1692,16 @@
i18next "^10.3"
moment "^2.24.0"

"@dhis2/d2-ui-core@6.3.0":
version "6.3.0"
resolved "https://registry.yarnpkg.com/@dhis2/d2-ui-core/-/d2-ui-core-6.3.0.tgz#ec0ef63978a34d5b2330303c426bf7d59e0836fc"
integrity sha512-ZFthluJBkmbi1F0vNaIvx2Zbjioapo+Ewn1vNqb2MsUadTHOlPcrWQjDz3JCB0qce2ZW2avZ+spasEOytPNsFA==
"@dhis2/d2-ui-core@7.4.3":
version "7.4.3"
resolved "https://registry.yarnpkg.com/@dhis2/d2-ui-core/-/d2-ui-core-7.4.3.tgz#d880ad82f0ce28833db02fe64016242c3031610d"
integrity sha512-X+ZlTVB4IbAaQlKKWoXjHXCaTfw5jDxHy2KRIWRskIVPhXfiTiyqzdKN/DSi2/99HDQ6PSq9eqmCY4AeTJb3Kw==
dependencies:
babel-runtime "^6.26.0"
d2 "~31.7"
lodash "^4.17.10"
material-ui "^0.20.0"
rxjs "^5.5.7"

"@dhis2/prop-types@^1.6.4":
version "1.6.4"
Expand Down Expand Up @@ -6192,16 +6193,21 @@ lodash.throttle@^4.1.1:
resolved "https://registry.yarnpkg.com/lodash.throttle/-/lodash.throttle-4.1.1.tgz#c23e91b710242ac70c37f1e1cda9274cc39bf2f4"
integrity sha1-wj6RtxAkKscMN/HhzaknTMOb8vQ=

[email protected].20, lodash@^4.17.19, lodash@^4.17.20, lodash@^4.17.4:
version "4.17.20"
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.20.tgz#b44a9b6297bcb698f1c51a3545a2b3b368d59c52"
integrity sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==
[email protected].21:
version "4.17.21"
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c"
integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==

lodash@^4.0.0, lodash@^4.17.10, lodash@^4.17.13, lodash@^4.17.15:
version "4.17.15"
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.15.tgz#b447f6670a0455bbfeedd11392eff330ea097548"
integrity sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==

lodash@^4.17.19, lodash@^4.17.20, lodash@^4.17.4:
version "4.17.20"
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.20.tgz#b44a9b6297bcb698f1c51a3545a2b3b368d59c52"
integrity sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==

[email protected]:
version "1.6.1"
resolved "https://registry.yarnpkg.com/loglevel/-/loglevel-1.6.1.tgz#e0fc95133b6ef276cdc8887cdaf24aa6f156f8fa"
Expand Down Expand Up @@ -6346,10 +6352,10 @@ [email protected], mkdirp@^0.5.1:
dependencies:
minimist "^1.2.5"

moment@2.22.2:
version "2.22.2"
resolved "https://registry.yarnpkg.com/moment/-/moment-2.22.2.tgz#3c257f9839fc0e93ff53149632239eb90783ff66"
integrity sha1-PCV/mDn8DpP/UxSWMiOeuQeD/2Y=
moment@2.29.4:
version "2.29.4"
resolved "https://registry.yarnpkg.com/moment/-/moment-2.29.4.tgz#3dbe052889fe7c1b2ed966fcb3a77328964ef108"
integrity sha512-5LC9SOxjSc2HF6vO2CyuTDNivEdoz2IvyJJGj6X8DJ0eFyfszE0QiEd+iXmBvUP3WHxSjFH/vIsA0EN00cgr8w==

moment@^2.22.1, moment@^2.24.0:
version "2.25.3"
Expand Down Expand Up @@ -7570,6 +7576,13 @@ [email protected]:
resolved "https://registry.yarnpkg.com/rxjs-compat/-/rxjs-compat-6.6.3.tgz#141405fcee11f48718d428b99c8f01826f594e5c"
integrity sha512-y+wUqq7bS2dG+7rH2fNMoxsDiJ32RQzFxZQE/JdtpnmEZmwLQrb1tCiItyHxdXJHXjmHnnzFscn3b6PEmORGKw==

rxjs@^5.5.7:
version "5.5.12"
resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-5.5.12.tgz#6fa61b8a77c3d793dbaf270bee2f43f652d741cc"
integrity sha512-xx2itnL5sBbqeeiVgNPVuQQ1nC8Jp2WfNJhXWHmElW9YmrpS9UVnNzhP3EH3HFqexO5Tlp8GhYY+WEcqcVMvGw==
dependencies:
symbol-observable "1.0.1"

rxjs@^6.5.2:
version "6.6.3"
resolved "https://registry.npmjs.org/rxjs/-/rxjs-6.6.3.tgz#8ca84635c4daa900c0d3967a6ee7ac60271ee552"
Expand Down Expand Up @@ -8084,6 +8097,11 @@ supports-color@^7.1.0:
dependencies:
has-flag "^4.0.0"

[email protected]:
version "1.0.1"
resolved "https://registry.yarnpkg.com/symbol-observable/-/symbol-observable-1.0.1.tgz#8340fc4702c3122df5d22288f88283f513d3fdd4"
integrity sha512-Kb3PrPYz4HanVF1LVGuAdW6LoVgIwjUYJGzFe7NDrBLCN4lsV/5J0MFurV+ygS4bRVwrCEt2c7MQ1R2a72oJDw==

symbol-observable@^1.0.4:
version "1.2.0"
resolved "https://registry.yarnpkg.com/symbol-observable/-/symbol-observable-1.2.0.tgz#c22688aed4eab3cdc2dfeacbb561660560a00804"
Expand Down

0 comments on commit 0fde82e

Please sign in to comment.