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

Fix for empty Licenses page (GH-1187) #103

Merged
merged 2 commits into from Jun 13, 2018
Merged
Changes from all commits
Commits
File filter
Filter file types
Jump to
Jump to file
Failed to load files.

Always

Just for now

@@ -19,7 +19,7 @@ const fs = require('fs-extra');
const read = require('read-file');
const path = require('path');

path.extname('index.html')
path.extname('index.html');

//Build list of licenses
const licenseList = {};
@@ -38,8 +38,10 @@ checker.init({
if(key !== 'browser-core') {
const packagePath = `./node_modules/${key}/package.json`;
if(fs.pathExistsSync(packagePath)) {
const newKey = jsonfile.readFileSync(packagePath)['_id'];
keysArray.push(newKey);
const {name, version} = jsonfile.readFileSync(packagePath);
if(name && version) {
keysArray.push(name + "@" + version);
}
}
}
});
@@ -1710,7 +1710,7 @@ brorand@^1.0.1:

"browser-core@https://s3.amazonaws.com/cdncliqz/update/edge/ghostery/v7.27/7.27.5.tgz?v=1":
version "7.27.5"
resolved "https://s3.amazonaws.com/cdncliqz/update/edge/ghostery/v7.27/7.27.5.tgz?v=1#02761a949c1bdaa3596b2422083b98c1bd4aa303"
resolved "https://s3.amazonaws.com/cdncliqz/update/edge/ghostery/v7.27/7.27.5.tgz?v=1#476a8837beb6907fbf2b128faf1ecc2381ee406c"
dependencies:
"@cliqz-oss/dexie" "2.0.3"
"@cliqz-oss/pouchdb" "6.3.4-security-error-fix-2"
ProTip! Use n and p to navigate between commits in a pull request.