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

Update octicon version #1652

Merged
merged 17 commits into from
Sep 18, 2021
72 changes: 63 additions & 9 deletions package-lock.json

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

7 changes: 5 additions & 2 deletions packages/cli/test/functional/testUtil/compare.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const diffChars = require('./diffChars');
const _ = {};
_.isEqual = require('lodash/isEqual');

// Other files to ignore / files with binary extensions not recognised by istextorbinary package
// Other files to ignore / files with binary extensions not recognized by istextorbinary package
const TEST_BLACKLIST = ignore().add([
'*.log',
'*.woff',
Expand All @@ -24,6 +24,7 @@ function _readFileSync(...paths) {
return fs.readFileSync(path.resolve(...paths), 'utf8');
}

// Used to compare files expected to be generated by the build process against the expected files
function compare(root, expectedSiteRelativePath = 'expected', siteRelativePath = '_site') {
const expectedDirectory = path.join(root, expectedSiteRelativePath);
const actualDirectory = path.join(root, siteRelativePath);
Expand Down Expand Up @@ -65,7 +66,9 @@ function compare(root, expectedSiteRelativePath = 'expected', siteRelativePath =
}
/* eslint-enable no-continue */

if (error) throw new Error('Diffs found in files');
if (error) {
throw new Error('Diffs found in files');
}
}

module.exports = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
display: inline-block;
vertical-align: text-top;
fill: currentColor;
overflow: visible;
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
display: inline-block;
vertical-align: text-top;
fill: currentColor;
overflow: visible;
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
display: inline-block;
vertical-align: text-top;
fill: currentColor;
overflow: visible;
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
display: inline-block;
vertical-align: text-top;
fill: currentColor;
overflow: visible;
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
display: inline-block;
vertical-align: text-top;
fill: currentColor;
overflow: visible;
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
display: inline-block;
vertical-align: text-top;
fill: currentColor;
overflow: visible;
}
4 changes: 2 additions & 2 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"dependencies": {
"@fortawesome/fontawesome-free": "^5.14.0",
"@markbind/core-web": "^3.0.6",
"@primer/octicons": "^9.3.1",
"@primer/octicons": "^15.0.1",
"@sindresorhus/slugify": "^0.9.1",
"bluebird": "^3.7.2",
"bootswatch": "^4.4.1",
Expand Down Expand Up @@ -72,4 +72,4 @@
"jest": "^26.1.0",
"memfs": "^3.0.1"
}
}
}