Skip to content

Commit

Permalink
Bump dep
Browse files Browse the repository at this point in the history
  • Loading branch information
cmdcolin committed Jun 19, 2024
1 parent 1b55f61 commit 46620f5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
"crypto-js": "^4.2.0",
"css-loader": "^6.5.1",
"css-minimizer-webpack-plugin": "^6.0.0",
"dependency-graph": "^0.11.0",
"dependency-graph": "^1.0.0",
"dotenv": "^16.3.1",
"dotenv-expand": "^11.0.3",
"electron": "31.0.1",
Expand Down
2 changes: 1 addition & 1 deletion scripts/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ function getDependencyGraph(packages) {
function getLevels(graph, levels = []) {
const done = levels.flat()
const newLevel = []
for (const n of Object.keys(graph.nodes).filter(n => !done.includes(n))) {
for (const n of [...graph.nodes.keys()].filter(n => !done.includes(n))) {
const deps = graph.dependenciesOf(n)
if (!done.includes(n) && deps.every(d => done.includes(d))) {
newLevel.push(n)
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8206,10 +8206,10 @@ depd@~1.1.2:
resolved "https://registry.yarnpkg.com/depd/-/depd-1.1.2.tgz#9bcd52e14c097763e749b274c4346ed2e560b5a9"
integrity sha512-7emPTl6Dpo6JRXOXjLRxck+FlLRX5847cLKEn00PLAgc3g2hTZZgr+e4c2v6QpSmLeFP3n5yUo7ft6avBK/5jQ==

dependency-graph@^0.11.0:
version "0.11.0"
resolved "https://registry.yarnpkg.com/dependency-graph/-/dependency-graph-0.11.0.tgz#ac0ce7ed68a54da22165a85e97a01d53f5eb2e27"
integrity sha512-JeMq7fEshyepOWDfcfHK06N3MhyPhz++vtqWhMT5O9A3K42rdsEDpfdVqjaqaAhsw6a+ZqeDvQVtD0hFHQWrzg==
dependency-graph@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/dependency-graph/-/dependency-graph-1.0.0.tgz#bb5e85aec1310bc13b22dbd76e3196c4ee4c10d2"
integrity sha512-cW3gggJ28HZ/LExwxP2B++aiKxhJXMSIt9K48FOXQkm+vuG5gyatXnLsONRJdzO/7VfjDIiaOOa/bs4l464Lwg==

deprecation@^2.0.0:
version "2.3.1"
Expand Down

0 comments on commit 46620f5

Please sign in to comment.