Skip to content

Instantly share code, notes, and snippets.

@jacobmischka
Created February 1, 2016 19:13
Show Gist options
  • Save jacobmischka/562b5fcbe755fe3cbd7d to your computer and use it in GitHub Desktop.
Save jacobmischka/562b5fcbe755fe3cbd7d to your computer and use it in GitHub Desktop.
[mischka@mischka-work browser-laptop-0.7.12dev]$ npm run build-package
> [email protected] build-package /home/mischka/Downloads/browser-laptop-0.7.12dev
> node ./tools/buildPackage.js
Building version 0.7.12 in Brave-linux-x64 with Electron 0.36.7
echo cleaning up target...&&rm -rf Brave-linux-x64&&rm -f dist/*.dmg dist/*.nupkg dist/*.exe dist/*.msi dist/RELEASES dist/*.zip&&echo done&&echo starting build...&&"./node_modules/.bin/webpack"&&npm run checks&&node ./node_modules/electron-packager/cli.js . Brave --overwrite --ignore="test/|tools/|abp-filter-parser-cpp/(node_modules|test|perf|sample|scripts|test|vendor|ABPFilterParserData.dat)|tracking-protection/(node_modules|test|data|scripts|vendor)|sqlite3/(src|deps)|sqlite3/build/Release/(obj|obj.target|.deps)|abp-filter-parser-cpp/build/Release/(obj|obj.target|.deps)|tracking-protection/build/Release/(obj|obj.target|.deps)|nsp/node_modules|electron-installer-squirrel-windows|electron-chromedriver|node-notifier/vendor|node-gyp|.brave-gyp|electron-download|electron-rebuild|electron-packager|electron-builder|electron-prebuilt|electron-rebuild|babel$|babel-(?!polyfill|regenerator-runtime)" --platform=linux --arch=x64 --version=0.36.7 --icon=res/app.png --asar=true --app-version=0.7.12 --build-version=0.36.7 --protocol="http" --protocol-name="HTTP Handler" --protocol="https" --protocol-name="HTTPS Handler" --version-string.CompanyName="Brave Inc." --version-string.ProductName="Brave" --version-string.Copyright="Copyright 2016, Brave Inc." --version-string.FileDescription="Brave"
cleaning up target...
done
starting build...
[BABEL] Note: The code generator has deoptimised the styling of "/home/mischka/Downloads/browser-laptop-0.7.12dev/js/data/adInfo.js" as it exceeds the max of "100KB".
Hash: 8f9d6abd97fd35ba7635
Version: webpack 1.12.12
Time: 18520ms
Asset Size Chunks Chunk Names
4649bb782ba56950d4ab1c9c97de340d.png 1.27 kB [emitted]
78029e5dac3359eac0fc970d09a47308.png 1.96 kB [emitted]
f5b88c0fbba0cf7a138aeaa50a6c7bb7.png 2.21 kB [emitted]
32400f4e08932a94d8bfd2422702c446.eot 70.8 kB [emitted]
db812d8a70a4e88e888744c1c9a27e89.woff2 66.6 kB [emitted]
a35720c2fed2c7f043bc7e4ffb45e073.woff 83.6 kB [emitted]
a3de2170e4e9df77161ea5d3f31b2668.ttf 142 kB [emitted]
f775f9cca88e21d45bebe185b27c0e5b.svg 366 kB [emitted]
bundle.js 2.42 MB 0 [emitted] app
bundle.js.map 4.22 MB 0 [emitted] app
[0] multi app 40 bytes {0} [built]
+ 240 hidden modules
> [email protected] checks /home/mischka/Downloads/browser-laptop-0.7.12dev
> npm run check-security
> [email protected] check-security /home/mischka/Downloads/browser-laptop-0.7.12dev
> nsp check
(+) 1 vulnerabilities found
┌───────────────┬─────────────────────────────────────────────────────────────────┐
│ │ Regular Expression Denial of Service │
├───────────────┼─────────────────────────────────────────────────────────────────┤
│ Name │ moment │
├───────────────┼─────────────────────────────────────────────────────────────────┤
│ Installed │ 2.11.1 │
├───────────────┼─────────────────────────────────────────────────────────────────┤
│ Vulnerable │ All │
├───────────────┼─────────────────────────────────────────────────────────────────┤
│ Patched │ None │
├───────────────┼─────────────────────────────────────────────────────────────────┤
│ Path │ [email protected] > [email protected]
├───────────────┼─────────────────────────────────────────────────────────────────┤
│ More Info │ https://nodesecurity.io/advisories/55 │
└───────────────┴─────────────────────────────────────────────────────────────────┘
npm ERR! Linux 4.3.3-3-ARCH
npm ERR! argv "/usr/bin/node" "/home/mischka/Downloads/browser-laptop-0.7.12dev/node_modules/.bin/npm" "run" "check-security"
npm ERR! node v5.5.0
npm ERR! npm v3.4.1
npm ERR! code ELIFECYCLE
npm ERR! [email protected] check-security: `nsp check`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] check-security script 'nsp check'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the brave package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! nsp check
npm ERR! You can get their info via:
npm ERR! npm owner ls brave
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /home/mischka/Downloads/browser-laptop-0.7.12dev/npm-debug.log
npm ERR! Linux 4.3.3-3-ARCH
npm ERR! argv "/usr/bin/node" "/home/mischka/Downloads/browser-laptop-0.7.12dev/node_modules/.bin/npm" "run" "checks"
npm ERR! node v5.5.0
npm ERR! npm v3.4.1
npm ERR! code ELIFECYCLE
npm ERR! [email protected] checks: `npm run check-security`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] checks script 'npm run check-security'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the brave package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! npm run check-security
npm ERR! You can get their info via:
npm ERR! npm owner ls brave
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /home/mischka/Downloads/browser-laptop-0.7.12dev/npm-debug.log
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment