phantom / deep-link-demo-app

156 stars 25 forks source link

Update dependencies, make the demo app work with a dev build, add linter #31

Closed tian000 closed 9 months ago

tian000 commented 9 months ago

This PR upgrades dependencies and adds linters to the project.

It also fixes a bug that allows the app to work with dev builds.

socket-security[bot] commented 9 months ago

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@0no-co/graphql.web@1.0.4 Transitive: environment +1 2.27 MB philpl
npm/@babel/code-frame@7.23.5 Transitive: environment +10 191 kB nicolo-ribaudo
npm/@babel/compat-data@7.23.5 None 0 64.6 kB nicolo-ribaudo
npm/@babel/core@7.23.9 environment, filesystem, unsafe Transitive: shell +52 10.8 MB nicolo-ribaudo
npm/@babel/generator@7.23.6 Transitive: environment +10 3.38 MB nicolo-ribaudo
npm/@babel/helper-compilation-targets@7.23.6 Transitive: environment, filesystem, shell +12 2.6 MB nicolo-ribaudo
npm/@babel/helper-create-class-features-plugin@7.23.9 Transitive: environment, filesystem, shell, unsafe +58 11.2 MB nicolo-ribaudo
npm/@babel/helper-create-regexp-features-plugin@7.22.15 Transitive: environment, filesystem, shell, unsafe +63 11.1 MB nicolo-ribaudo
npm/@babel/helper-environment-visitor@7.22.20 None 0 6.56 kB nicolo-ribaudo
npm/@babel/helper-function-name@7.23.0 Transitive: environment +16 4.61 MB nicolo-ribaudo
npm/@babel/helper-member-expression-to-functions@7.23.0 Transitive: environment +4 2.55 MB nicolo-ribaudo
npm/@babel/helper-plugin-utils@7.22.5 None 0 11.9 kB nicolo-ribaudo
npm/@babel/helper-remap-async-to-generator@7.22.20 Transitive: environment, filesystem, shell, unsafe +55 10.8 MB nicolo-ribaudo
npm/@babel/helper-skip-transparent-expression-wrappers@7.22.5 Transitive: environment +4 2.5 MB nicolo-ribaudo
npm/@babel/helper-validator-option@7.23.5 None 0 11.7 kB nicolo-ribaudo
npm/@babel/highlight@7.23.4 Transitive: environment +9 168 kB nicolo-ribaudo
npm/@babel/parser@7.23.9 None 0 1.88 MB nicolo-ribaudo
npm/@babel/plugin-proposal-class-properties@7.18.6 Transitive: environment, filesystem, shell, unsafe +60 11.2 MB nicolo-ribaudo
npm/@babel/plugin-proposal-nullish-coalescing-operator@7.18.6 Transitive: environment, filesystem, shell, unsafe +55 10.8 MB nicolo-ribaudo
npm/@babel/plugin-proposal-object-rest-spread@7.20.7 Transitive: environment, filesystem, shell, unsafe +56 10.9 MB nicolo-ribaudo
npm/@babel/plugin-proposal-optional-chaining@7.21.0 Transitive: environment, filesystem, shell, unsafe +56 10.8 MB nicolo-ribaudo
npm/@babel/plugin-syntax-export-default-from@7.23.3 Transitive: environment, filesystem, shell, unsafe +54 10.8 MB nicolo-ribaudo
npm/@babel/plugin-syntax-flow@7.23.3 Transitive: environment, filesystem, shell, unsafe +54 10.8 MB nicolo-ribaudo
npm/@babel/plugin-syntax-jsx@7.23.3 Transitive: environment, filesystem, shell, unsafe +54 10.8 MB nicolo-ribaudo
npm/@babel/plugin-transform-arrow-functions@7.23.3 Transitive: environment, filesystem, shell, unsafe +54 10.8 MB nicolo-ribaudo
npm/@babel/plugin-transform-async-to-generator@7.23.3 Transitive: environment, filesystem, shell, unsafe +57 10.8 MB nicolo-ribaudo
npm/@babel/plugin-transform-block-scoped-functions@7.23.3 Transitive: environment, filesystem, shell, unsafe +54 10.8 MB nicolo-ribaudo
npm/@babel/plugin-transform-block-scoping@7.23.4 Transitive: environment, filesystem, shell, unsafe +54 10.9 MB nicolo-ribaudo
npm/@babel/plugin-transform-classes@7.23.8 Transitive: environment, filesystem, shell, unsafe +58 11 MB nicolo-ribaudo
npm/@babel/plugin-transform-computed-properties@7.23.3 Transitive: environment, filesystem, shell, unsafe +54 10.8 MB nicolo-ribaudo
npm/@babel/plugin-transform-destructuring@7.23.3 Transitive: environment, filesystem, shell, unsafe +54 10.9 MB nicolo-ribaudo
npm/@babel/plugin-transform-flow-strip-types@7.23.3 Transitive: environment, filesystem, shell, unsafe +55 10.8 MB nicolo-ribaudo
npm/@babel/plugin-transform-for-of@7.23.6 Transitive: environment, filesystem, shell, unsafe +55 10.8 MB nicolo-ribaudo
npm/@babel/plugin-transform-function-name@7.23.3 Transitive: environment, filesystem, shell, unsafe +54 10.8 MB nicolo-ribaudo
npm/@babel/plugin-transform-literals@7.23.3 Transitive: environment, filesystem, shell, unsafe +54 10.8 MB nicolo-ribaudo
npm/@babel/plugin-transform-member-expression-literals@7.23.3 Transitive: environment, filesystem, shell, unsafe +54 10.8 MB nicolo-ribaudo
npm/@babel/plugin-transform-modules-commonjs@7.23.3 Transitive: environment, filesystem, shell, unsafe +54 10.8 MB nicolo-ribaudo
npm/@babel/plugin-transform-named-capturing-groups-regex@7.22.5 Transitive: environment, filesystem, shell, unsafe +65 11.1 MB nicolo-ribaudo
npm/@babel/plugin-transform-object-super@7.23.3 Transitive: environment, filesystem, shell, unsafe +57 10.9 MB nicolo-ribaudo
npm/@babel/plugin-transform-optional-chaining@7.23.4 Transitive: environment, filesystem, shell, unsafe +56 10.8 MB nicolo-ribaudo
npm/@babel/plugin-transform-parameters@7.23.3 Transitive: environment, filesystem, shell, unsafe +54 10.8 MB nicolo-ribaudo
npm/@babel/plugin-transform-property-literals@7.23.3 Transitive: environment, filesystem, shell, unsafe +54 10.8 MB nicolo-ribaudo
npm/@babel/plugin-transform-react-jsx@7.23.4 Transitive: environment, filesystem, shell, unsafe +56 10.9 MB nicolo-ribaudo
npm/@babel/plugin-transform-shorthand-properties@7.23.3 Transitive: environment, filesystem, shell, unsafe +54 10.8 MB nicolo-ribaudo
npm/@babel/plugin-transform-spread@7.23.3 Transitive: environment, filesystem, shell, unsafe +55 10.8 MB nicolo-ribaudo
npm/@babel/plugin-transform-sticky-regex@7.23.3 Transitive: environment, filesystem, shell, unsafe +54 10.8 MB nicolo-ribaudo
npm/@babel/plugin-transform-template-literals@7.23.3 Transitive: environment, filesystem, shell, unsafe +54 10.8 MB nicolo-ribaudo
npm/@babel/plugin-transform-typescript@7.23.6 Transitive: environment, filesystem, shell, unsafe +61 11.4 MB nicolo-ribaudo
npm/@babel/plugin-transform-unicode-regex@7.23.3 Transitive: environment, filesystem, shell, unsafe +65 11.1 MB nicolo-ribaudo
npm/@babel/runtime@7.23.9 None +1 277 kB nicolo-ribaudo
npm/@babel/template@7.23.9 Transitive: environment +15 4.59 MB nicolo-ribaudo
npm/@babel/traverse@7.23.9 Transitive: environment +30 6.22 MB nicolo-ribaudo
npm/@babel/types@7.23.9 environment +3 2.49 MB nicolo-ribaudo
npm/@eslint-community/eslint-utils@4.4.0 Transitive: environment, eval, filesystem, shell, unsafe +92 10.7 MB eslint-community-bot
npm/@eslint-community/regexpp@4.10.0 None 0 431 kB eslint-community-bot
npm/@expo/bunyan@4.0.0 environment, filesystem +16 405 kB evanbacon
npm/@expo/config-plugins@6.0.2 filesystem Transitive: environment, shell, unsafe +59 4.68 MB tsapeta
npm/@expo/config@8.0.5 environment, filesystem Transitive: shell, unsafe +106 9.54 MB brentvatne
npm/@expo/spawn-async@1.5.0 Transitive: environment, filesystem +7 125 kB fson
npm/@hapi/hoek@9.3.0 None 0 51.5 kB devinivy
npm/@jridgewell/gen-mapping@0.3.3 None +4 359 kB jridgewell
npm/@jridgewell/sourcemap-codec@1.4.15 None 0 45.9 kB jridgewell
npm/@jridgewell/trace-mapping@0.3.22 None +2 265 kB jridgewell
npm/@react-native-community/cli-platform-android@10.2.0 environment, filesystem, shell Transitive: network +81 2.95 MB thymikee
npm/@react-native/normalize-color@2.1.0 None 0 13.4 kB dmitryrykun
npm/@types/bs58@4.0.4 None +4 4.1 MB types
npm/@types/istanbul-lib-coverage@2.0.6 None 0 5.45 kB types
npm/@types/react-native@0.64.38 None +4 1.81 MB types
npm/@types/react@18.0.38 None +3 1.61 MB types
npm/@urql/core@2.3.6 environment, network +3 2.87 MB npm-urql
npm/acorn@8.11.3 None 0 531 kB marijn
npm/ansi-escapes@4.3.2 None +1 135 kB sindresorhus
npm/array-includes@3.1.7 Transitive: eval +57 3.22 MB ljharb
npm/array.prototype.flat@1.3.2 Transitive: eval +58 3.23 MB ljharb
npm/array.prototype.flatmap@1.3.2 Transitive: eval +58 3.23 MB ljharb
npm/call-bind@1.0.5 Transitive: eval +9 197 kB ljharb
npm/charenc@0.0.2 None 0 2.93 kB pvorb
npm/ci-info@3.9.0 environment 0 26.1 kB sibiraj-s
npm/cli-spinners@2.9.2 None 0 32.1 kB sindresorhus
npm/core-js-compat@3.35.1 Transitive: environment, filesystem, shell +7 3.07 MB zloirock
npm/cross-fetch@3.1.8 network +4 568 kB lquixada
npm/cross-spawn@7.0.3 environment, filesystem, shell +5 52.1 kB satazor
npm/crypt@0.0.2 None 0 5.03 kB pvorb
npm/define-data-property@1.1.1 Transitive: eval +7 157 kB ljharb
npm/define-properties@1.2.1 Transitive: eval +9 197 kB ljharb
npm/eslint-config-universe@12.0.0 Transitive: environment, eval, filesystem, shell, unsafe +242 99.9 MB ide
npm/eslint-visitor-keys@3.4.3 None 0 32.3 kB eslintbot
npm/eslint@8.56.0 environment, filesystem Transitive: eval, shell, unsafe +92 10.7 MB eslintbot
npm/espree@9.6.1 None +3 662 kB eslintbot
npm/estraverse@5.3.0 None 0 37.1 kB michaelficarra
npm/expo-constants@14.2.1 Transitive: environment, eval, filesystem, network, shell, unsafe +604 56.5 MB brentvatne
npm/expo-linking@4.0.1 Transitive: environment, eval, filesystem, network, shell, unsafe +606 56.6 MB brentvatne
npm/expo-splash-screen@0.18.2 Transitive: environment, eval, filesystem, network, shell, unsafe +612 58.5 MB kudochien
npm/expo-status-bar@1.4.4 None 0 45.2 kB brentvatne
npm/expo-updates@0.16.4 Transitive: environment, eval, filesystem, network, shell, unsafe +610 59.2 MB kudochien
npm/expo@48.0.21 environment, network Transitive: eval, filesystem, shell, unsafe +604 56.5 MB kudochien
npm/fast-deep-equal@3.1.3 None 0 13 kB esp
npm/fast-glob@3.3.2 filesystem +17 508 kB mrmlnc
npm/fbjs@3.0.5 Transitive: environment, eval, network +12 1.28 MB bigfootjon
npm/flow-parser@0.185.2 None 0 1.09 MB flowtype
npm/function-bind@1.1.2 None 0 31.4 kB ljharb
npm/function.prototype.name@1.1.6 Transitive: eval +56 3.2 MB ljharb
npm/get-intrinsic@1.2.2 eval +4 110 kB ljharb
npm/globby@11.1.0 filesystem +23 599 kB sindresorhus
npm/graceful-fs@4.2.11 environment, filesystem 0 32.5 kB isaacs
npm/has-bigints@1.0.2 None 0 12.8 kB ljharb
npm/has-property-descriptors@1.0.1 Transitive: eval +5 121 kB ljharb
npm/ignore@5.3.0 None 0 51.2 kB kael
npm/is-array-buffer@3.0.2 Transitive: eval +16 328 kB ljharb
npm/is-callable@1.2.7 None 0 28.9 kB ljharb
npm/is-core-module@2.13.1 None +2 72.5 kB ljharb
npm/is-date-object@1.0.5 None +2 52.3 kB ljharb
npm/is-docker@2.2.1 filesystem 0 3.01 kB sindresorhus
npm/is-path-inside@3.0.3 None 0 4.12 kB sindresorhus
npm/is-string@1.0.7 None +2 50.6 kB ljharb
npm/is-symbol@1.0.4 None +1 42.6 kB ljharb
npm/is-typed-array@1.1.12 Transitive: eval +15 316 kB ljharb
npm/is-wsl@2.2.0 environment, filesystem +1 6.77 kB sindresorhus
npm/json5@2.2.3 None 0 235 kB jordanbtucker
npm/micromatch@4.0.5 None +5 244 kB jonschlinkert
npm/minimist@1.2.8 None 0 54.5 kB ljharb
npm/minipass@3.1.6 None +1 52.5 kB isaacs
npm/mkdirp@0.5.6 filesystem +1 62.2 kB isaacs
npm/node-fetch@2.7.0 network +3 493 kB node-fetch-bot
npm/node-forge@1.3.1 None 0 1.66 MB davidlehn
npm/node-gyp-build@4.8.0 environment, filesystem 0 13.4 kB mafintosh
npm/object-inspect@1.13.1 None 0 97.2 kB ljharb
npm/object.fromentries@2.0.7 Transitive: eval +57 3.21 MB ljharb
npm/object.values@1.1.7 Transitive: eval +57 3.23 MB ljharb
npm/open@8.4.2 environment, filesystem, shell +3 57.5 kB sindresorhus
npm/pirates@4.0.6 unsafe 0 13.5 kB danez
npm/prettier@3.2.4 environment, filesystem, unsafe 0 8.38 MB prettier-bot
npm/punycode@2.3.1 None 0 33.5 kB google-wombot
npm/qs@6.11.0 Transitive: eval +12 538 kB ljharb
npm/react-dom@18.2.0 environment +4 4.93 MB gnoff
npm/react-native-get-random-values@1.8.0 Transitive: environment, eval, filesystem, network, shell, unsafe +536 159 MB linusu
npm/react-native-web@0.18.12 environment Transitive: eval, network +26 9.64 MB necolas
npm/react-native@0.71.14 environment, network Transitive: eval, filesystem, shell, unsafe +534 159 MB react-native-bot
npm/react@18.2.0 environment +2 337 kB gnoff
npm/regexp.prototype.flags@1.5.1 Transitive: eval +14 302 kB ljharb
npm/resolve@1.22.8 environment, filesystem +5 232 kB ljharb
npm/sax@1.3.0 None 0 55 kB isaacs
npm/semver@6.3.1 None 0 68.3 kB lukekarrys
npm/send@0.18.0 filesystem, network Transitive: environment, eval, unsafe +16 249 kB dougwilson
npm/set-function-name@2.0.1 Transitive: eval +9 184 kB ljharb
npm/shell-quote@1.8.1 None 0 45 kB ljharb
npm/tar@6.2.0 environment, filesystem +6 325 kB isaacs
npm/tslib@2.6.2 None 0 84 kB typescript-bot
npm/type-check@0.4.0 None +1 57.9 kB gkz
npm/typescript@4.9.5 None 0 66.8 MB typescript-bot
npm/which-typed-array@1.1.13 Transitive: eval +14 299 kB ljharb
npm/wonka@4.0.15 None 0 349 kB philpl
npm/ws@8.16.0 environment, network Transitive: filesystem +3 972 kB lpinca

🚮 Removed packages: npm/@babel/code-frame@7.16.7, npm/@babel/compat-data@7.17.7, npm/@babel/core@7.17.7, npm/@babel/generator@7.17.7, npm/@babel/helper-compilation-targets@7.17.7, npm/@babel/helper-create-class-features-plugin@7.17.6, npm/@babel/helper-module-imports@7.16.7, npm/@babel/helper-module-transforms@7.17.7, npm/@babel/helper-plugin-utils@7.16.7, npm/@babel/highlight@7.16.10, npm/@babel/parser@7.17.7, npm/@babel/plugin-proposal-class-properties@7.16.7, npm/@babel/plugin-proposal-nullish-coalescing-operator@7.16.7, npm/@babel/plugin-proposal-object-rest-spread@7.17.3, npm/@babel/plugin-proposal-optional-catch-binding@7.16.7, npm/@babel/plugin-proposal-optional-chaining@7.16.7, npm/@babel/plugin-proposal-unicode-property-regex@7.16.7, npm/@babel/plugin-syntax-export-default-from@7.16.7, npm/@babel/plugin-syntax-flow@7.16.7, npm/@babel/plugin-syntax-jsx@7.16.7, npm/@babel/plugin-transform-arrow-functions@7.16.7, npm/@babel/plugin-transform-block-scoped-functions@7.16.7, npm/@babel/plugin-transform-block-scoping@7.16.7, npm/@babel/plugin-transform-classes@7.16.7, npm/@babel/plugin-transform-computed-properties@7.16.7, npm/@babel/plugin-transform-destructuring@7.17.7, npm/@babel/plugin-transform-dotall-regex@7.16.7, npm/@babel/plugin-transform-exponentiation-operator@7.16.7, npm/@babel/plugin-transform-flow-strip-types@7.16.7, npm/@babel/plugin-transform-for-of@7.16.7, npm/@babel/plugin-transform-function-name@7.16.7, npm/@babel/plugin-transform-literals@7.16.7, npm/@babel/plugin-transform-member-expression-literals@7.16.7, npm/@babel/plugin-transform-modules-commonjs@7.17.7, npm/@babel/plugin-transform-object-super@7.16.7, npm/@babel/plugin-transform-parameters@7.16.7, npm/@babel/plugin-transform-property-literals@7.16.7, npm/@babel/plugin-transform-react-jsx@7.17.3, npm/@babel/plugin-transform-regenerator@7.16.7, npm/@babel/plugin-transform-shorthand-properties@7.16.7, npm/@babel/plugin-transform-spread@7.16.7, npm/@babel/plugin-transform-sticky-regex@7.16.7, npm/@babel/plugin-transform-template-literals@7.16.7, npm/@babel/plugin-transform-typescript@7.16.8, npm/@babel/plugin-transform-unicode-regex@7.16.7, npm/@babel/runtime@7.17.7, npm/@babel/template@7.16.7, npm/@babel/traverse@7.17.3, npm/@babel/types@7.17.0, npm/@expo/config-plugins@4.0.6, npm/@expo/config-types@43.0.1, npm/@expo/config@6.0.6, npm/@expo/json-file@8.2.33, npm/@expo/plist@0.0.15, npm/@react-native-community/cli-platform-android@5.0.1, npm/@types/bs58@4.0.1, npm/@types/istanbul-lib-coverage@2.0.4, npm/@types/react-native@0.64.24, npm/@types/react@17.0.40, npm/browserslist@4.20.2, npm/core-js-compat@3.21.1, npm/cross-fetch@3.1.5, npm/expo-constants@13.0.2, npm/expo-linking@3.0.0, npm/expo-status-bar@1.2.0, npm/expo-updates@0.11.6, npm/expo@44.0.6, npm/extend-shallow@3.0.2, npm/flow-parser@0.121.0, npm/get-value@2.0.6, npm/graceful-fs@4.2.9, npm/is-descriptor@1.0.2, npm/is-extendable@0.1.1, npm/jest-worker@26.6.2, npm/metro-config@0.64.0, npm/metro-core@0.64.0, npm/metro-react-native-babel-preset@0.64.0, npm/metro-react-native-babel-transformer@0.64.0, npm/metro-resolver@0.64.0, npm/metro-runtime@0.64.0, npm/metro@0.64.0, npm/micromatch@4.0.4, npm/minimist@1.2.5, npm/node-fetch@2.6.7, npm/node-gyp-build@4.3.0, npm/pirates@4.0.5, npm/plist@3.0.4, npm/react-dom@17.0.1, npm/react-native-get-random-values@1.7.2, npm/react-native-web@0.17.1, npm/react-native@0.64.3, npm/react@17.0.1, npm/regenerator-runtime@0.13.9, npm/regex-not@1.0.2, npm/resolve@1.22.0, npm/sax@1.2.4, npm/semver@6.3.0, npm/set-value@2.0.1, npm/shell-quote@1.6.1, npm/simple-plist@1.3.0, npm/split-string@3.1.0, npm/to-regex@3.0.2, npm/typescript@4.3.5, npm/whatwg-fetch@3.6.2, npm/ws@7.5.7

View full report↗︎

socket-security[bot] commented 9 months ago

👍 Dependency issues cleared. Learn more about Socket for GitHub ↗︎

This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored.

Ignoring: npm/bufferutil@4.0.8, npm/sudo-prompt@8.2.5

View full report↗︎

Next steps

Take a deeper look at the dependency

Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support [AT] socket [DOT] dev.

Remove the package

If you happen to install a dependency that Socket reports as Known Malware you should immediately remove it and select a different dependency. For other alert types, you may may wish to investigate alternative packages or consider if there are other ways to mitigate the specific risk posed by the dependency.

Mark a package as acceptable risk

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of ecosystem/package-name@version specifiers. e.g. @SocketSecurity ignore npm/foo@1.0.0 or ignore all packages with @SocketSecurity ignore-all

tian000 commented 9 months ago
@SocketSecurity ignore npm/sudo-prompt@8.2.5
tian000 commented 9 months ago

@SocketSecurity ignore npm/bufferutil@4.0.8