Skip to content

Commit

Permalink
fix(update-v8): add abseil-cpp as a V8 dependency (nodejs#565)
Browse files Browse the repository at this point in the history
Add new V8 dependency introduced in V8 9.6.
  • Loading branch information
richardlau authored Sep 25, 2021
1 parent 35d281b commit 96d46ab
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/update-v8/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@ exports.v8Deps = [
},
since: 55
},
{
name: 'abseil-cpp',
repo: 'third_party/abseil-cpp',
gitignore: '!third_party/abseil-cpp',
since: 96
},
{
name: 'gtest',
repo: 'testing/gtest',
Expand Down
3 changes: 3 additions & 0 deletions lib/update-v8/majorUpdate.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,9 @@ async function readDeps(nodeDir, depName) {
let deps;
eval(depsDeclaration); // eslint-disable-line no-eval
const dep = deps[depName];
if (typeof dep === 'object') {
return dep.url.split('@');
}
return dep.split('@');
}

Expand Down

0 comments on commit 96d46ab

Please sign in to comment.