Reduce size of asar file and unpacked asar folder
This commit is contained in:
parent
59d1159c06
commit
b93164a8c0
3 changed files with 14 additions and 309 deletions
10
package.json
10
package.json
|
@ -221,7 +221,7 @@
|
|||
"babel-loader": "8.0.6",
|
||||
"babel-plugin-lodash": "3.3.4",
|
||||
"chai": "4.1.2",
|
||||
"core-js": "2.4.1",
|
||||
"core-js": "2.6.9",
|
||||
"cross-env": "5.2.0",
|
||||
"css-loader": "3.2.0",
|
||||
"electron": "11.2.3",
|
||||
|
@ -398,7 +398,7 @@
|
|||
"!node_modules/emoji-datasource-apple/emoji_pretty.json",
|
||||
"!node_modules/emoji-datasource-apple/img/apple/sheets*",
|
||||
"!node_modules/spellchecker/vendor/hunspell/**/*",
|
||||
"!**/node_modules/*/{CHANGELOG.md,README.md,README,readme.md,readme,test,__tests__,tests,powered-test,example,examples,*.d.ts,.snyk-*.flag}",
|
||||
"!**/node_modules/*/{CHANGELOG.md,README.md,README,readme.md,readme,test,__tests__,tests,powered-test,example,examples,*.d.ts,.snyk-*.flag,benchmark}",
|
||||
"!**/node_modules/.bin",
|
||||
"!**/node_modules/*/build/**",
|
||||
"!**/*.{o,hprof,orig,pyc,pyo,rbc}",
|
||||
|
@ -419,8 +419,10 @@
|
|||
"!node_modules/@journeyapps/sqlcipher/build/*",
|
||||
"!node_modules/@journeyapps/sqlcipher/build-tmp-napi-*",
|
||||
"!node_modules/@journeyapps/sqlcipher/lib/binding/node-*",
|
||||
"node_modules/libsignal-client/build/*.node",
|
||||
"node_modules/ringrtc/build/${platform}/**"
|
||||
"node_modules/libsignal-client/build/*${platform}*.node",
|
||||
"node_modules/ringrtc/build/${platform}/**",
|
||||
"!**/node_modules/ffi-napi/deps",
|
||||
"!**/node_modules/react-dom/*/*.development.js"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1954,303 +1954,6 @@
|
|||
"reasonCategory": "falseMatch",
|
||||
"updated": "2018-09-19T18:13:29.628Z"
|
||||
},
|
||||
{
|
||||
"rule": "jQuery-$(",
|
||||
"path": "node_modules/attr-accept/node_modules/core-js/build/index.js",
|
||||
"line": " if (name.indexOf(ns + \".\") === 0 && !in$(name, experimental)) {",
|
||||
"lineNumber": 36,
|
||||
"reasonCategory": "falseMatch",
|
||||
"updated": "2019-12-11T01:10:06.091Z"
|
||||
},
|
||||
{
|
||||
"rule": "jQuery-$(",
|
||||
"path": "node_modules/attr-accept/node_modules/core-js/build/index.js",
|
||||
"line": " function in$(x, xs){",
|
||||
"lineNumber": 99,
|
||||
"reasonCategory": "falseMatch",
|
||||
"updated": "2019-12-11T01:10:06.091Z"
|
||||
},
|
||||
{
|
||||
"rule": "jQuery-$(",
|
||||
"path": "node_modules/attr-accept/node_modules/core-js/client/core.js",
|
||||
"line": " reCopy = new RegExp('^' + re.source + '$(?!\\\\s)', regexpFlags.call(re));",
|
||||
"lineNumber": 2498,
|
||||
"reasonCategory": "falseMatch",
|
||||
"updated": "2019-12-11T01:10:06.091Z"
|
||||
},
|
||||
{
|
||||
"rule": "jQuery-wrap(",
|
||||
"path": "node_modules/attr-accept/node_modules/core-js/client/core.js",
|
||||
"line": " return wrap(tag);",
|
||||
"lineNumber": 4362,
|
||||
"reasonCategory": "falseMatch",
|
||||
"updated": "2019-12-11T01:10:06.091Z"
|
||||
},
|
||||
{
|
||||
"rule": "jQuery-wrap(",
|
||||
"path": "node_modules/attr-accept/node_modules/core-js/client/core.js",
|
||||
"line": " return wrap(wks(name));",
|
||||
"lineNumber": 4379,
|
||||
"reasonCategory": "falseMatch",
|
||||
"updated": "2019-12-11T01:10:06.091Z"
|
||||
},
|
||||
{
|
||||
"rule": "jQuery-$(",
|
||||
"path": "node_modules/attr-accept/node_modules/core-js/client/core.js",
|
||||
"line": "var SUBSTITUTION_SYMBOLS = /\\$([$&`']|\\d\\d?|<[^>]*>)/g;",
|
||||
"lineNumber": 6331,
|
||||
"reasonCategory": "falseMatch",
|
||||
"updated": "2019-12-11T01:10:06.091Z"
|
||||
},
|
||||
{
|
||||
"rule": "jQuery-$(",
|
||||
"path": "node_modules/attr-accept/node_modules/core-js/client/core.js",
|
||||
"line": "var SUBSTITUTION_SYMBOLS_NO_NAMED = /\\$([$&`']|\\d\\d?)/g;",
|
||||
"lineNumber": 6332,
|
||||
"reasonCategory": "falseMatch",
|
||||
"updated": "2019-12-11T01:10:06.091Z"
|
||||
},
|
||||
{
|
||||
"rule": "jQuery-wrap(",
|
||||
"path": "node_modules/attr-accept/node_modules/core-js/client/core.js",
|
||||
"line": " setTimeout: wrap(global.setTimeout),",
|
||||
"lineNumber": 8752,
|
||||
"reasonCategory": "falseMatch",
|
||||
"updated": "2019-12-11T01:10:06.091Z"
|
||||
},
|
||||
{
|
||||
"rule": "jQuery-wrap(",
|
||||
"path": "node_modules/attr-accept/node_modules/core-js/client/core.js",
|
||||
"line": " setInterval: wrap(global.setInterval)",
|
||||
"lineNumber": 8753,
|
||||
"reasonCategory": "falseMatch",
|
||||
"updated": "2020-09-11T17:24:56.124Z"
|
||||
},
|
||||
{
|
||||
"rule": "jQuery-$(",
|
||||
"path": "node_modules/attr-accept/node_modules/core-js/client/core.min.js",
|
||||
"lineNumber": 7,
|
||||
"reasonCategory": "falseMatch",
|
||||
"updated": "2019-12-11T01:10:06.091Z"
|
||||
},
|
||||
{
|
||||
"rule": "jQuery-$(",
|
||||
"path": "node_modules/attr-accept/node_modules/core-js/client/core.min.js",
|
||||
"lineNumber": 8,
|
||||
"reasonCategory": "falseMatch",
|
||||
"updated": "2020-09-11T17:24:56.124Z"
|
||||
},
|
||||
{
|
||||
"rule": "jQuery-$(",
|
||||
"path": "node_modules/attr-accept/node_modules/core-js/client/core.min.js",
|
||||
"lineNumber": 9,
|
||||
"reasonCategory": "falseMatch",
|
||||
"updated": "2019-12-11T01:10:06.091Z"
|
||||
},
|
||||
{
|
||||
"rule": "jQuery-wrap(",
|
||||
"path": "node_modules/attr-accept/node_modules/core-js/client/library.js",
|
||||
"line": " return wrap(tag);",
|
||||
"lineNumber": 4059,
|
||||
"reasonCategory": "falseMatch",
|
||||
"updated": "2019-12-11T01:10:06.091Z"
|
||||
},
|
||||
{
|
||||
"rule": "jQuery-wrap(",
|
||||
"path": "node_modules/attr-accept/node_modules/core-js/client/library.js",
|
||||
"line": " return wrap(wks(name));",
|
||||
"lineNumber": 4076,
|
||||
"reasonCategory": "falseMatch",
|
||||
"updated": "2019-12-11T01:10:06.091Z"
|
||||
},
|
||||
{
|
||||
"rule": "jQuery-wrap(",
|
||||
"path": "node_modules/attr-accept/node_modules/core-js/client/library.js",
|
||||
"line": " setTimeout: wrap(global.setTimeout),",
|
||||
"lineNumber": 7820,
|
||||
"reasonCategory": "falseMatch",
|
||||
"updated": "2019-12-11T01:10:06.091Z"
|
||||
},
|
||||
{
|
||||
"rule": "jQuery-wrap(",
|
||||
"path": "node_modules/attr-accept/node_modules/core-js/client/library.js",
|
||||
"line": " setInterval: wrap(global.setInterval)",
|
||||
"lineNumber": 7821,
|
||||
"reasonCategory": "falseMatch",
|
||||
"updated": "2020-09-11T17:24:56.124Z"
|
||||
},
|
||||
{
|
||||
"rule": "jQuery-$(",
|
||||
"path": "node_modules/attr-accept/node_modules/core-js/client/library.min.js",
|
||||
"lineNumber": 7,
|
||||
"reasonCategory": "falseMatch",
|
||||
"updated": "2019-12-11T01:10:06.091Z"
|
||||
},
|
||||
{
|
||||
"rule": "jQuery-$(",
|
||||
"path": "node_modules/attr-accept/node_modules/core-js/client/library.min.js",
|
||||
"lineNumber": 8,
|
||||
"reasonCategory": "falseMatch",
|
||||
"updated": "2019-12-11T01:10:06.091Z"
|
||||
},
|
||||
{
|
||||
"rule": "jQuery-$(",
|
||||
"path": "node_modules/attr-accept/node_modules/core-js/client/shim.js",
|
||||
"line": " reCopy = new RegExp('^' + re.source + '$(?!\\\\s)', regexpFlags.call(re));",
|
||||
"lineNumber": 2422,
|
||||
"reasonCategory": "falseMatch",
|
||||
"updated": "2019-12-11T01:10:06.091Z"
|
||||
},
|
||||
{
|
||||
"rule": "jQuery-wrap(",
|
||||
"path": "node_modules/attr-accept/node_modules/core-js/client/shim.js",
|
||||
"line": " return wrap(tag);",
|
||||
"lineNumber": 4260,
|
||||
"reasonCategory": "falseMatch",
|
||||
"updated": "2019-12-11T01:10:06.091Z"
|
||||
},
|
||||
{
|
||||
"rule": "jQuery-wrap(",
|
||||
"path": "node_modules/attr-accept/node_modules/core-js/client/shim.js",
|
||||
"line": " return wrap(wks(name));",
|
||||
"lineNumber": 4277,
|
||||
"reasonCategory": "falseMatch",
|
||||
"updated": "2019-12-11T01:10:06.091Z"
|
||||
},
|
||||
{
|
||||
"rule": "jQuery-$(",
|
||||
"path": "node_modules/attr-accept/node_modules/core-js/client/shim.js",
|
||||
"line": "var SUBSTITUTION_SYMBOLS = /\\$([$&`']|\\d\\d?|<[^>]*>)/g;",
|
||||
"lineNumber": 6229,
|
||||
"reasonCategory": "falseMatch",
|
||||
"updated": "2019-12-11T01:10:06.091Z"
|
||||
},
|
||||
{
|
||||
"rule": "jQuery-$(",
|
||||
"path": "node_modules/attr-accept/node_modules/core-js/client/shim.js",
|
||||
"line": "var SUBSTITUTION_SYMBOLS_NO_NAMED = /\\$([$&`']|\\d\\d?)/g;",
|
||||
"lineNumber": 6230,
|
||||
"reasonCategory": "falseMatch",
|
||||
"updated": "2019-12-11T01:10:06.091Z"
|
||||
},
|
||||
{
|
||||
"rule": "jQuery-wrap(",
|
||||
"path": "node_modules/attr-accept/node_modules/core-js/client/shim.js",
|
||||
"line": " setTimeout: wrap(global.setTimeout),",
|
||||
"lineNumber": 8650,
|
||||
"reasonCategory": "falseMatch",
|
||||
"updated": "2019-12-11T01:10:06.091Z"
|
||||
},
|
||||
{
|
||||
"rule": "jQuery-wrap(",
|
||||
"path": "node_modules/attr-accept/node_modules/core-js/client/shim.js",
|
||||
"line": " setInterval: wrap(global.setInterval)",
|
||||
"lineNumber": 8651,
|
||||
"reasonCategory": "falseMatch",
|
||||
"updated": "2020-09-11T17:24:56.124Z"
|
||||
},
|
||||
{
|
||||
"rule": "jQuery-$(",
|
||||
"path": "node_modules/attr-accept/node_modules/core-js/client/shim.min.js",
|
||||
"lineNumber": 7,
|
||||
"reasonCategory": "falseMatch",
|
||||
"updated": "2019-12-11T01:10:06.091Z"
|
||||
},
|
||||
{
|
||||
"rule": "jQuery-$(",
|
||||
"path": "node_modules/attr-accept/node_modules/core-js/client/shim.min.js",
|
||||
"lineNumber": 8,
|
||||
"reasonCategory": "falseMatch",
|
||||
"updated": "2019-12-11T01:10:06.091Z"
|
||||
},
|
||||
{
|
||||
"rule": "jQuery-wrap(",
|
||||
"path": "node_modules/attr-accept/node_modules/core-js/library/modules/es6.symbol.js",
|
||||
"line": " return wrap(tag);",
|
||||
"lineNumber": 144,
|
||||
"reasonCategory": "falseMatch",
|
||||
"updated": "2019-12-11T01:10:06.091Z"
|
||||
},
|
||||
{
|
||||
"rule": "jQuery-wrap(",
|
||||
"path": "node_modules/attr-accept/node_modules/core-js/library/modules/es6.symbol.js",
|
||||
"line": " return wrap(wks(name));",
|
||||
"lineNumber": 161,
|
||||
"reasonCategory": "falseMatch",
|
||||
"updated": "2019-12-11T01:10:06.091Z"
|
||||
},
|
||||
{
|
||||
"rule": "jQuery-wrap(",
|
||||
"path": "node_modules/attr-accept/node_modules/core-js/library/modules/web.timers.js",
|
||||
"line": " setTimeout: wrap(global.setTimeout),",
|
||||
"lineNumber": 18,
|
||||
"reasonCategory": "falseMatch",
|
||||
"updated": "2019-12-11T01:10:06.091Z"
|
||||
},
|
||||
{
|
||||
"rule": "jQuery-wrap(",
|
||||
"path": "node_modules/attr-accept/node_modules/core-js/library/modules/web.timers.js",
|
||||
"line": " setInterval: wrap(global.setInterval)",
|
||||
"lineNumber": 19,
|
||||
"reasonCategory": "falseMatch",
|
||||
"updated": "2020-09-11T17:24:56.124Z"
|
||||
},
|
||||
{
|
||||
"rule": "jQuery-$(",
|
||||
"path": "node_modules/attr-accept/node_modules/core-js/modules/_regexp-exec.js",
|
||||
"line": " reCopy = new RegExp('^' + re.source + '$(?!\\\\s)', regexpFlags.call(re));",
|
||||
"lineNumber": 34,
|
||||
"reasonCategory": "falseMatch",
|
||||
"updated": "2019-12-11T01:10:06.091Z"
|
||||
},
|
||||
{
|
||||
"rule": "jQuery-$(",
|
||||
"path": "node_modules/attr-accept/node_modules/core-js/modules/es6.regexp.replace.js",
|
||||
"line": "var SUBSTITUTION_SYMBOLS = /\\$([$&`']|\\d\\d?|<[^>]*>)/g;",
|
||||
"lineNumber": 12,
|
||||
"reasonCategory": "falseMatch",
|
||||
"updated": "2019-12-11T01:10:06.091Z"
|
||||
},
|
||||
{
|
||||
"rule": "jQuery-$(",
|
||||
"path": "node_modules/attr-accept/node_modules/core-js/modules/es6.regexp.replace.js",
|
||||
"line": "var SUBSTITUTION_SYMBOLS_NO_NAMED = /\\$([$&`']|\\d\\d?)/g;",
|
||||
"lineNumber": 13,
|
||||
"reasonCategory": "falseMatch",
|
||||
"updated": "2019-12-11T01:10:06.091Z"
|
||||
},
|
||||
{
|
||||
"rule": "jQuery-wrap(",
|
||||
"path": "node_modules/attr-accept/node_modules/core-js/modules/es6.symbol.js",
|
||||
"line": " return wrap(tag);",
|
||||
"lineNumber": 144,
|
||||
"reasonCategory": "falseMatch",
|
||||
"updated": "2019-12-11T01:10:06.091Z"
|
||||
},
|
||||
{
|
||||
"rule": "jQuery-wrap(",
|
||||
"path": "node_modules/attr-accept/node_modules/core-js/modules/es6.symbol.js",
|
||||
"line": " return wrap(wks(name));",
|
||||
"lineNumber": 161,
|
||||
"reasonCategory": "falseMatch",
|
||||
"updated": "2019-12-11T01:10:06.091Z"
|
||||
},
|
||||
{
|
||||
"rule": "jQuery-wrap(",
|
||||
"path": "node_modules/attr-accept/node_modules/core-js/modules/web.timers.js",
|
||||
"line": " setTimeout: wrap(global.setTimeout),",
|
||||
"lineNumber": 18,
|
||||
"reasonCategory": "falseMatch",
|
||||
"updated": "2019-12-11T01:10:06.091Z"
|
||||
},
|
||||
{
|
||||
"rule": "jQuery-wrap(",
|
||||
"path": "node_modules/attr-accept/node_modules/core-js/modules/web.timers.js",
|
||||
"line": " setInterval: wrap(global.setInterval)",
|
||||
"lineNumber": 19,
|
||||
"reasonCategory": "falseMatch",
|
||||
"updated": "2020-09-11T17:24:56.124Z"
|
||||
},
|
||||
{
|
||||
"rule": "jQuery-wrap(",
|
||||
"path": "node_modules/axe-core/axe.js",
|
||||
|
@ -15480,4 +15183,4 @@
|
|||
"updated": "2021-01-08T15:46:32.143Z",
|
||||
"reasonDetail": "Doesn't manipulate the DOM. This is just a function."
|
||||
}
|
||||
]
|
||||
]
|
||||
|
|
14
yarn.lock
14
yarn.lock
|
@ -5421,18 +5421,18 @@ core-js-pure@^3.0.1:
|
|||
resolved "https://registry.yarnpkg.com/core-js-pure/-/core-js-pure-3.2.1.tgz#879a23699cff46175bfd2d09158b5c50645a3c45"
|
||||
integrity sha512-+qpvnYrsi/JDeQTArB7NnNc2VoMYLE1YSkziCDHgjexC2KH7OFiGhLUd3urxfyWmNjSwSW7NYXPWHMhuIJx9Ow==
|
||||
|
||||
core-js@2.4.1, core-js@^2.4.0:
|
||||
version "2.4.1"
|
||||
resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.4.1.tgz#4de911e667b0eae9124e34254b53aea6fc618d3e"
|
||||
core-js@2.6.9, core-js@^2.5.0:
|
||||
version "2.6.9"
|
||||
resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.6.9.tgz#6b4b214620c834152e179323727fc19741b084f2"
|
||||
integrity sha512-HOpZf6eXmnl7la+cUdMnLvUxKNqLUzJvgIziQ0DiF3JwSImNphIqdGqzj6hIKyX04MmV0poclQ7+wjWvxQyR2A==
|
||||
|
||||
core-js@^1.0.0:
|
||||
version "1.2.7"
|
||||
resolved "https://registry.yarnpkg.com/core-js/-/core-js-1.2.7.tgz#652294c14651db28fa93bd2d5ff2983a4f08c636"
|
||||
|
||||
core-js@^2.5.0:
|
||||
version "2.6.9"
|
||||
resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.6.9.tgz#6b4b214620c834152e179323727fc19741b084f2"
|
||||
integrity sha512-HOpZf6eXmnl7la+cUdMnLvUxKNqLUzJvgIziQ0DiF3JwSImNphIqdGqzj6hIKyX04MmV0poclQ7+wjWvxQyR2A==
|
||||
core-js@^2.4.0:
|
||||
version "2.4.1"
|
||||
resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.4.1.tgz#4de911e667b0eae9124e34254b53aea6fc618d3e"
|
||||
|
||||
core-js@^3.0.1, core-js@^3.0.4:
|
||||
version "3.2.1"
|
||||
|
|
Loading…
Add table
Reference in a new issue