Skip to content

Commit

Permalink
Merge branch 'v2' into gkong/unused-module
Browse files Browse the repository at this point in the history
  • Loading branch information
gorakong committed Mar 23, 2022
2 parents 32e311e + d3ea255 commit 071052d
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .flowconfig
Expand Up @@ -36,4 +36,4 @@ untyped-import
untyped-type-import

[version]
0.173.0
0.174.1
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -42,7 +42,7 @@
"@types/node": "^15.12.4",
"cross-env": "^7.0.0",
"eslint": "^7.20.0",
"flow-bin": "0.173.0",
"flow-bin": "0.174.1",
"glob": "^7.1.6",
"gulp": "^4.0.2",
"gulp-babel": "^8.0.0",
Expand Down
6 changes: 1 addition & 5 deletions packages/core/core/src/AssetGraph.js
Expand Up @@ -541,11 +541,7 @@ export default class AssetGraph extends ContentGraph<AssetGraphNode> {
}

getIncomingDependencies(asset: Asset): Array<Dependency> {
let nodeId = this._contentKeyToNodeId.get(asset.id);
if (!nodeId) {
return [];
}

let nodeId = this.getNodeIdByContentKey(asset.id);
let assetGroupIds = this.getNodeIdsConnectedTo(nodeId);
let dependencies = [];
for (let i = 0; i < assetGroupIds.length; i++) {
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Expand Up @@ -6118,10 +6118,10 @@ flatted@^3.1.0:
resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.1.1.tgz#c4b489e80096d9df1dfc97c79871aea7c617c469"
integrity sha512-zAoAQiudy+r5SvnSw3KJy5os/oRJYHzrzja/tBDqrZtNhUw8bt6y8OBzMWcjWr+8liV8Eb6yOhw8WZ7VFZ5ZzA==

flow-bin@0.173.0:
version "0.173.0"
resolved "https://packages.atlassian.com/api/npm/npm-remote/flow-bin/-/flow-bin-0.173.0.tgz#4eb4b0143ffcef3ef3ee64638554a8dff6b89735"
integrity sha512-CIvShSnB4I7SsfkE9S7ECpUCkBNqDQGDWr+0uzulKGYEBnCYwFzITE1T84weLmINQwO1dR6ntsH0LlWLoGCquQ==
flow-bin@0.174.1:
version "0.174.1"
resolved "https://packages.atlassian.com/api/npm/npm-remote/flow-bin/-/flow-bin-0.174.1.tgz#95024b83c39f42f04c3f5529044cf63e5fc60bf3"
integrity sha512-r69pWMF+b+dbEIq/a8V3B/p6bIjLqVUXjQqC6yDCeVSXL6BQT4QkLJeSn1i877ahFw2GiK3kzIMgfnuZBWEaPQ==

flush-write-stream@^1.0.0, flush-write-stream@^1.0.2:
version "1.1.1"
Expand Down

0 comments on commit 071052d

Please sign in to comment.