Remove some unused libraries from asar
This commit is contained in:
parent
2835934277
commit
3d8aaf0a5a
4 changed files with 14 additions and 303 deletions
|
@ -1926,55 +1926,6 @@ Signal Desktop makes use of the following open source projects.
|
|||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
|
||||
## lottie-react
|
||||
|
||||
The MIT License
|
||||
|
||||
Copyright David Gamote and other contributors.
|
||||
|
||||
This software consists of voluntary contributions made by many
|
||||
individuals. For exact contribution history, see the revision history
|
||||
available on GitHub.
|
||||
|
||||
The following license applies to all parts of this software except as
|
||||
documented below:
|
||||
|
||||
====
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of this software and associated documentation files (the
|
||||
"Software"), to deal in the Software without restriction, including
|
||||
without limitation the rights to use, copy, modify, merge, publish,
|
||||
distribute, sublicense, and/or sell copies of the Software, and to
|
||||
permit persons to whom the Software is furnished to do so, subject to
|
||||
the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be
|
||||
included in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
||||
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
||||
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
====
|
||||
|
||||
Copyright and related rights for sample code are waived via CC0. Sample
|
||||
code is defined as all source code displayed within the prose of the
|
||||
documentation.
|
||||
|
||||
CC0: http://creativecommons.org/publicdomain/zero/1.0/
|
||||
|
||||
====
|
||||
|
||||
Files located in the node_modules and vendor directories are externally
|
||||
maintained libraries used by this software which have their own
|
||||
licenses; we recommend you read them, as their terms may differ from the
|
||||
terms above.
|
||||
|
||||
## lru-cache
|
||||
|
||||
The ISC License
|
||||
|
|
18
package-lock.json
generated
18
package-lock.json
generated
|
@ -58,7 +58,6 @@
|
|||
"linkify-it": "2.2.0",
|
||||
"lodash": "4.17.21",
|
||||
"long": "4.0.0",
|
||||
"lottie-react": "2.4.0",
|
||||
"lru-cache": "6.0.0",
|
||||
"mac-screen-capture-permissions": "2.0.0",
|
||||
"memoizee": "0.4.14",
|
||||
|
@ -26148,23 +26147,6 @@
|
|||
"loose-envify": "cli.js"
|
||||
}
|
||||
},
|
||||
"node_modules/lottie-react": {
|
||||
"version": "2.4.0",
|
||||
"resolved": "https://registry.npmjs.org/lottie-react/-/lottie-react-2.4.0.tgz",
|
||||
"integrity": "sha512-pDJGj+AQlnlyHvOHFK7vLdsDcvbuqvwPZdMlJ360wrzGFurXeKPr8SiRCjLf3LrNYKANQtSsh5dz9UYQHuqx4w==",
|
||||
"dependencies": {
|
||||
"lottie-web": "^5.10.2"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"react": "^16.8.0 || ^17.0.0 || ^18.0.0",
|
||||
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/lottie-web": {
|
||||
"version": "5.12.2",
|
||||
"resolved": "https://registry.npmjs.org/lottie-web/-/lottie-web-5.12.2.tgz",
|
||||
"integrity": "sha512-uvhvYPC8kGPjXT3MyKMrL3JitEAmDMp30lVkuq/590Mw9ok6pWcFCwXJveo0t5uqYw1UREQHofD+jVpdjBv8wg=="
|
||||
},
|
||||
"node_modules/loupe": {
|
||||
"version": "2.3.7",
|
||||
"resolved": "https://registry.npmjs.org/loupe/-/loupe-2.3.7.tgz",
|
||||
|
|
22
package.json
22
package.json
|
@ -141,7 +141,6 @@
|
|||
"linkify-it": "2.2.0",
|
||||
"lodash": "4.17.21",
|
||||
"long": "4.0.0",
|
||||
"lottie-react": "2.4.0",
|
||||
"lru-cache": "6.0.0",
|
||||
"mac-screen-capture-permissions": "2.0.0",
|
||||
"memoizee": "0.4.14",
|
||||
|
@ -411,9 +410,6 @@
|
|||
]
|
||||
}
|
||||
],
|
||||
"files": [
|
||||
"!node_modules/@indutny/simple-windows-notifications/build/Release/*.node"
|
||||
],
|
||||
"bundleVersion": "1"
|
||||
},
|
||||
"win": {
|
||||
|
@ -461,9 +457,6 @@
|
|||
"deb"
|
||||
],
|
||||
"icon": "build/icons/png",
|
||||
"files": [
|
||||
"!node_modules/@indutny/simple-windows-notifications/build/Release/*.node"
|
||||
],
|
||||
"publish": []
|
||||
},
|
||||
"deb": {
|
||||
|
@ -519,6 +512,7 @@
|
|||
"libtextsecure/**",
|
||||
"ts/**/*.js",
|
||||
"ts/*.js",
|
||||
"!ts/scripts/**",
|
||||
"!build",
|
||||
"!ts/{storybook,test-node,test-mock,test-both,test-electron}",
|
||||
"!**/{tsconfig,bower,component}.json",
|
||||
|
@ -535,6 +529,7 @@
|
|||
"!**/*.{bak,bnf,flow,patch,markdown,bnf,mli,ts,map}",
|
||||
"!node_modules/intl-tel-input/composer.json",
|
||||
"!js/register.js",
|
||||
"!fixtures",
|
||||
"stylesheets/*.css",
|
||||
"app/*",
|
||||
"!app/*.ts",
|
||||
|
@ -560,7 +555,7 @@
|
|||
"!node_modules/spellchecker/vendor/hunspell/**/*",
|
||||
"!node_modules/@formatjs/intl-displaynames/**/*",
|
||||
"!node_modules/@formatjs/intl-listformat/**/*",
|
||||
"!**/node_modules/*/{CHANGELOG.md,README.md,README,readme.md,readme,test,__tests__,tests,powered-test,example,examples,*.d.ts,*d.ts.map,*.gypi,.snyk-*.flag,benchmark}",
|
||||
"!**/node_modules/*/{CHANGELOG.md,README.md,README,readme.md,readme,test,__tests__,tests,powered-test,example,examples,*.d.ts,*d.ts.map,*.js.map,*.gypi,.snyk-*.flag,benchmark}",
|
||||
"!**/node_modules/.bin",
|
||||
"!**/node_modules/**/build/**",
|
||||
"node_modules/intl-tel-input/build/**",
|
||||
|
@ -585,6 +580,17 @@
|
|||
"node_modules/@indutny/simple-windows-notifications/build/Release/*.node",
|
||||
"node_modules/fs-xattr/build/Release/*.node",
|
||||
"!node_modules/@indutny/simple-windows-notifications/*.cpp",
|
||||
"!node_modules/libheif-js/libheif",
|
||||
"!node_modules/libheif-js/libheif-wasm/libheif-bundle.mjs",
|
||||
"!node_modules/libheif-js/libheif-wasm/*.wasm",
|
||||
"!node_modules/@react-aria/**",
|
||||
"!node_modules/react-aria-components/**",
|
||||
"!node_modules/react-virtualized/**",
|
||||
"!node_modules/@react-stately/**",
|
||||
"!node_modules/@popperjs/**",
|
||||
"!node_modules/@internationalized/**",
|
||||
"!node_modules/protobufjs/dist/**",
|
||||
"node_modules/protobufjs/dist/minimal/**",
|
||||
"!**/node_modules/react-dom/*/*.development.js",
|
||||
"!node_modules/mp4box/**",
|
||||
"node_modules/mp4box/package.json",
|
||||
|
|
|
@ -748,234 +748,6 @@
|
|||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2021-04-05T20:48:36.065Z"
|
||||
},
|
||||
{
|
||||
"rule": "React-useRef",
|
||||
"path": "node_modules/lottie-react/build/index.es.js",
|
||||
"line": " var animationInstanceRef = useRef();",
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2023-06-29T17:01:25.145Z"
|
||||
},
|
||||
{
|
||||
"rule": "React-useRef",
|
||||
"path": "node_modules/lottie-react/build/index.es.js",
|
||||
"line": " var animationContainer = useRef(null);",
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2023-06-29T17:01:25.145Z"
|
||||
},
|
||||
{
|
||||
"rule": "React-useRef",
|
||||
"path": "node_modules/lottie-react/build/index.js",
|
||||
"line": " var animationInstanceRef = React.useRef();",
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2023-06-29T17:01:25.145Z"
|
||||
},
|
||||
{
|
||||
"rule": "React-useRef",
|
||||
"path": "node_modules/lottie-react/build/index.js",
|
||||
"line": " var animationContainer = React.useRef(null);",
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2023-06-29T17:01:25.145Z"
|
||||
},
|
||||
{
|
||||
"rule": "React-useRef",
|
||||
"path": "node_modules/lottie-react/build/index.min.js",
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2023-06-29T17:01:25.145Z"
|
||||
},
|
||||
{
|
||||
"rule": "React-useRef",
|
||||
"path": "node_modules/lottie-react/build/index.umd.js",
|
||||
"line": " var animationInstanceRef = React.useRef();",
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2023-06-29T17:01:25.145Z"
|
||||
},
|
||||
{
|
||||
"rule": "React-useRef",
|
||||
"path": "node_modules/lottie-react/build/index.umd.js",
|
||||
"line": " var animationContainer = React.useRef(null);",
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2023-06-29T17:01:25.145Z"
|
||||
},
|
||||
{
|
||||
"rule": "React-useRef",
|
||||
"path": "node_modules/lottie-react/build/index.umd.min.js",
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2023-06-29T17:01:25.145Z"
|
||||
},
|
||||
{
|
||||
"rule": "eval",
|
||||
"path": "node_modules/lottie-web/build/player/cjs/lottie.min.js",
|
||||
"line": " var expression_function = eval('[function _expression_function(){' + val + ';scoped_bm_rt=$bm_rt}]')[0]; // eslint-disable-line no-eval",
|
||||
"reasonCategory": "notExercisedByOurApp",
|
||||
"updated": "2023-06-29T17:01:25.145Z"
|
||||
},
|
||||
{
|
||||
"rule": "eval",
|
||||
"path": "node_modules/lottie-web/build/player/cjs/lottie_canvas.min.js",
|
||||
"line": " var expression_function = eval('[function _expression_function(){' + val + ';scoped_bm_rt=$bm_rt}]')[0]; // eslint-disable-line no-eval",
|
||||
"reasonCategory": "notExercisedByOurApp",
|
||||
"updated": "2023-06-29T17:01:25.145Z"
|
||||
},
|
||||
{
|
||||
"rule": "eval",
|
||||
"path": "node_modules/lottie-web/build/player/cjs/lottie_html.min.js",
|
||||
"line": " var expression_function = eval('[function _expression_function(){' + val + ';scoped_bm_rt=$bm_rt}]')[0]; // eslint-disable-line no-eval",
|
||||
"reasonCategory": "notExercisedByOurApp",
|
||||
"updated": "2023-06-29T17:01:25.145Z"
|
||||
},
|
||||
{
|
||||
"rule": "eval",
|
||||
"path": "node_modules/lottie-web/build/player/cjs/lottie_svg.min.js",
|
||||
"line": " var expression_function = eval('[function _expression_function(){' + val + ';scoped_bm_rt=$bm_rt}]')[0]; // eslint-disable-line no-eval",
|
||||
"reasonCategory": "notExercisedByOurApp",
|
||||
"updated": "2023-06-29T17:01:25.145Z"
|
||||
},
|
||||
{
|
||||
"rule": "eval",
|
||||
"path": "node_modules/lottie-web/build/player/esm/lottie.min.js",
|
||||
"line": " var expression_function = eval('[function _expression_function(){' + val + ';scoped_bm_rt=$bm_rt}]')[0]; // eslint-disable-line no-eval",
|
||||
"reasonCategory": "notExercisedByOurApp",
|
||||
"updated": "2023-06-29T17:01:25.145Z"
|
||||
},
|
||||
{
|
||||
"rule": "eval",
|
||||
"path": "node_modules/lottie-web/build/player/esm/lottie_canvas.min.js",
|
||||
"line": " var expression_function = eval('[function _expression_function(){' + val + ';scoped_bm_rt=$bm_rt}]')[0]; // eslint-disable-line no-eval",
|
||||
"reasonCategory": "notExercisedByOurApp",
|
||||
"updated": "2023-06-29T17:01:25.145Z"
|
||||
},
|
||||
{
|
||||
"rule": "eval",
|
||||
"path": "node_modules/lottie-web/build/player/esm/lottie_html.min.js",
|
||||
"line": " var expression_function = eval('[function _expression_function(){' + val + ';scoped_bm_rt=$bm_rt}]')[0]; // eslint-disable-line no-eval",
|
||||
"reasonCategory": "notExercisedByOurApp",
|
||||
"updated": "2023-06-29T17:01:25.145Z"
|
||||
},
|
||||
{
|
||||
"rule": "eval",
|
||||
"path": "node_modules/lottie-web/build/player/esm/lottie_svg.min.js",
|
||||
"line": " var expression_function = eval('[function _expression_function(){' + val + ';scoped_bm_rt=$bm_rt}]')[0]; // eslint-disable-line no-eval",
|
||||
"reasonCategory": "notExercisedByOurApp",
|
||||
"updated": "2023-06-29T17:01:25.145Z"
|
||||
},
|
||||
{
|
||||
"rule": "eval",
|
||||
"path": "node_modules/lottie-web/build/player/lottie.js",
|
||||
"line": " var expression_function = eval('[function _expression_function(){' + val + ';scoped_bm_rt=$bm_rt}]')[0]; // eslint-disable-line no-eval",
|
||||
"reasonCategory": "notExercisedByOurApp",
|
||||
"updated": "2023-06-29T17:01:25.145Z"
|
||||
},
|
||||
{
|
||||
"rule": "eval",
|
||||
"path": "node_modules/lottie-web/build/player/lottie.min.js",
|
||||
"reasonCategory": "notExercisedByOurApp",
|
||||
"updated": "2023-06-29T17:01:25.145Z"
|
||||
},
|
||||
{
|
||||
"rule": "eval",
|
||||
"path": "node_modules/lottie-web/build/player/lottie_canvas.js",
|
||||
"line": " var expression_function = eval('[function _expression_function(){' + val + ';scoped_bm_rt=$bm_rt}]')[0]; // eslint-disable-line no-eval",
|
||||
"reasonCategory": "notExercisedByOurApp",
|
||||
"updated": "2023-06-29T17:01:25.145Z"
|
||||
},
|
||||
{
|
||||
"rule": "eval",
|
||||
"path": "node_modules/lottie-web/build/player/lottie_canvas.min.js",
|
||||
"reasonCategory": "notExercisedByOurApp",
|
||||
"updated": "2023-06-29T17:01:25.145Z"
|
||||
},
|
||||
{
|
||||
"rule": "DOM-innerHTML",
|
||||
"path": "node_modules/lottie-web/build/player/lottie_canvas_worker.js",
|
||||
"line": " animation.container.innerHTML = '';",
|
||||
"reasonCategory": "notExercisedByOurApp",
|
||||
"updated": "2023-06-29T17:01:25.145Z"
|
||||
},
|
||||
{
|
||||
"rule": "eval",
|
||||
"path": "node_modules/lottie-web/build/player/lottie_canvas_worker.js",
|
||||
"line": " var expression_function = eval('[function _expression_function(){' + val + ';scoped_bm_rt=$bm_rt}]')[0]; // eslint-disable-line no-eval",
|
||||
"reasonCategory": "notExercisedByOurApp",
|
||||
"updated": "2023-06-29T17:01:25.145Z"
|
||||
},
|
||||
{
|
||||
"rule": "DOM-innerHTML",
|
||||
"path": "node_modules/lottie-web/build/player/lottie_canvas_worker.min.js",
|
||||
"reasonCategory": "notExercisedByOurApp",
|
||||
"updated": "2023-06-29T17:01:25.145Z"
|
||||
},
|
||||
{
|
||||
"rule": "eval",
|
||||
"path": "node_modules/lottie-web/build/player/lottie_canvas_worker.min.js",
|
||||
"reasonCategory": "notExercisedByOurApp",
|
||||
"updated": "2023-06-29T17:01:25.145Z"
|
||||
},
|
||||
{
|
||||
"rule": "eval",
|
||||
"path": "node_modules/lottie-web/build/player/lottie_html.js",
|
||||
"line": " var expression_function = eval('[function _expression_function(){' + val + ';scoped_bm_rt=$bm_rt}]')[0]; // eslint-disable-line no-eval",
|
||||
"reasonCategory": "notExercisedByOurApp",
|
||||
"updated": "2023-06-29T17:01:25.145Z"
|
||||
},
|
||||
{
|
||||
"rule": "eval",
|
||||
"path": "node_modules/lottie-web/build/player/lottie_html.min.js",
|
||||
"reasonCategory": "notExercisedByOurApp",
|
||||
"updated": "2023-06-29T17:01:25.145Z"
|
||||
},
|
||||
{
|
||||
"rule": "eval",
|
||||
"path": "node_modules/lottie-web/build/player/lottie_svg.js",
|
||||
"line": " var expression_function = eval('[function _expression_function(){' + val + ';scoped_bm_rt=$bm_rt}]')[0]; // eslint-disable-line no-eval",
|
||||
"reasonCategory": "notExercisedByOurApp",
|
||||
"updated": "2023-06-29T17:01:25.145Z"
|
||||
},
|
||||
{
|
||||
"rule": "eval",
|
||||
"path": "node_modules/lottie-web/build/player/lottie_svg.min.js",
|
||||
"reasonCategory": "notExercisedByOurApp",
|
||||
"updated": "2023-06-29T17:01:25.145Z"
|
||||
},
|
||||
{
|
||||
"rule": "DOM-innerHTML",
|
||||
"path": "node_modules/lottie-web/build/player/lottie_worker.js",
|
||||
"line": " animation.container.innerHTML = '';",
|
||||
"reasonCategory": "notExercisedByOurApp",
|
||||
"updated": "2023-06-29T17:01:25.145Z"
|
||||
},
|
||||
{
|
||||
"rule": "eval",
|
||||
"path": "node_modules/lottie-web/build/player/lottie_worker.js",
|
||||
"line": " var expression_function = eval('[function _expression_function(){' + val + ';scoped_bm_rt=$bm_rt}]')[0]; // eslint-disable-line no-eval",
|
||||
"reasonCategory": "notExercisedByOurApp",
|
||||
"updated": "2023-06-29T17:01:25.145Z"
|
||||
},
|
||||
{
|
||||
"rule": "DOM-innerHTML",
|
||||
"path": "node_modules/lottie-web/build/player/lottie_worker.min.js",
|
||||
"reasonCategory": "notExercisedByOurApp",
|
||||
"updated": "2023-06-29T17:01:25.145Z"
|
||||
},
|
||||
{
|
||||
"rule": "eval",
|
||||
"path": "node_modules/lottie-web/build/player/lottie_worker.min.js",
|
||||
"reasonCategory": "notExercisedByOurApp",
|
||||
"updated": "2023-06-29T17:01:25.145Z"
|
||||
},
|
||||
{
|
||||
"rule": "eval",
|
||||
"path": "node_modules/lottie-web/player/js/utils/expressions/ExpressionManager.js",
|
||||
"line": " var expression_function = eval('[function _expression_function(){' + val + ';scoped_bm_rt=$bm_rt}]')[0]; // eslint-disable-line no-eval",
|
||||
"reasonCategory": "notExercisedByOurApp",
|
||||
"updated": "2023-06-29T17:01:25.145Z"
|
||||
},
|
||||
{
|
||||
"rule": "DOM-innerHTML",
|
||||
"path": "node_modules/lottie-web/player/js/worker_wrapper.js",
|
||||
"line": " animation.container.innerHTML = '';",
|
||||
"reasonCategory": "notExercisedByOurApp",
|
||||
"updated": "2023-06-29T17:01:25.145Z"
|
||||
},
|
||||
{
|
||||
"rule": "DOM-innerHTML",
|
||||
"path": "node_modules/lz-string/tests/lib/jasmine-1.3.1/jasmine-html.js",
|
||||
|
|
Loading…
Add table
Reference in a new issue