mirror of
https://github.com/apotdevin/thunderhub.git
synced 2026-08-13 12:33:08 +02:00
chore: 🔧 update dependencies
This commit is contained in:
parent
d10b2120b5
commit
180614be4f
3 changed files with 2043 additions and 1041 deletions
3020
package-lock.json
generated
3020
package-lock.json
generated
File diff suppressed because it is too large
Load diff
60
package.json
60
package.json
|
|
@ -34,18 +34,18 @@
|
|||
"author": "",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@apollo/client": "^3.3.6",
|
||||
"@apollo/client": "^3.3.7",
|
||||
"@next/bundle-analyzer": "^10.0.3",
|
||||
"@visx/chord": "^1.0.0",
|
||||
"@visx/curve": "^1.0.0",
|
||||
"@visx/event": "^1.3.0",
|
||||
"@visx/group": "^1.0.0",
|
||||
"@visx/responsive": "^1.3.0",
|
||||
"@visx/scale": "^1.3.0",
|
||||
"@visx/shape": "^1.3.0",
|
||||
"@visx/scale": "^1.4.0",
|
||||
"@visx/shape": "^1.4.0",
|
||||
"@visx/tooltip": "^1.3.0",
|
||||
"apollo-server-micro": "^2.19.1",
|
||||
"balanceofsatoshis": "^7.14.0",
|
||||
"apollo-server-micro": "^2.19.2",
|
||||
"balanceofsatoshis": "^7.17.1",
|
||||
"bcryptjs": "^2.4.3",
|
||||
"bech32": "^1.1.4",
|
||||
"bip32": "^2.0.6",
|
||||
|
|
@ -61,9 +61,9 @@
|
|||
"graphql-rate-limit": "^2.0.1",
|
||||
"intersection-observer": "^0.12.0",
|
||||
"js-cookie": "^2.2.1",
|
||||
"js-yaml": "^3.14.1",
|
||||
"js-yaml": "^4.0.0",
|
||||
"jsonwebtoken": "^8.5.1",
|
||||
"ln-service": "^50.10.0",
|
||||
"ln-service": "^50.11.2",
|
||||
"lodash.debounce": "^4.0.8",
|
||||
"lodash.groupby": "^4.6.0",
|
||||
"lodash.merge": "^4.6.2",
|
||||
|
|
@ -71,21 +71,21 @@
|
|||
"next": "^10.0.3",
|
||||
"node-fetch": "^2.6.1",
|
||||
"numeral": "^2.0.6",
|
||||
"qrcode.react": "^1.0.0",
|
||||
"qrcode.react": "^1.0.1",
|
||||
"react": "^17.0.1",
|
||||
"react-circular-progressbar": "^2.0.3",
|
||||
"react-copy-to-clipboard": "^5.0.2",
|
||||
"react-copy-to-clipboard": "^5.0.3",
|
||||
"react-dom": "^17.0.1",
|
||||
"react-feather": "^2.0.9",
|
||||
"react-intersection-observer": "^8.31.0",
|
||||
"react-qr-reader": "^2.2.1",
|
||||
"react-select": "^3.1.1",
|
||||
"react-select": "^3.2.0",
|
||||
"react-slider": "^1.1.2",
|
||||
"react-spinners": "^0.9.0",
|
||||
"react-spinners": "^0.10.4",
|
||||
"react-spring": "^8.0.27",
|
||||
"react-table": "^7.6.2",
|
||||
"react-table": "^7.6.3",
|
||||
"react-toastify": "^6.2.0",
|
||||
"react-tooltip": "^4.2.11",
|
||||
"react-tooltip": "^4.2.13",
|
||||
"secp256k1": "^4.0.2",
|
||||
"socks-proxy-agent": "^5.0.0",
|
||||
"styled-components": "^5.2.1",
|
||||
|
|
@ -106,31 +106,31 @@
|
|||
"@graphql-codegen/fragment-matcher": "^2.0.1",
|
||||
"@graphql-codegen/introspection": "^1.18.1",
|
||||
"@graphql-codegen/near-operation-file-preset": "^1.17.13",
|
||||
"@graphql-codegen/typescript": "^1.19.0",
|
||||
"@graphql-codegen/typescript": "^1.20.0",
|
||||
"@graphql-codegen/typescript-operations": "^1.17.13",
|
||||
"@graphql-codegen/typescript-react-apollo": "^2.2.1",
|
||||
"@graphql-codegen/typescript-resolvers": "^1.18.1",
|
||||
"@testing-library/jest-dom": "^5.11.6",
|
||||
"@testing-library/react": "^11.2.2",
|
||||
"@testing-library/jest-dom": "^5.11.9",
|
||||
"@testing-library/react": "^11.2.3",
|
||||
"@types/bcryptjs": "^2.4.2",
|
||||
"@types/cookie": "^0.4.0",
|
||||
"@types/crypto-js": "^4.0.1",
|
||||
"@types/d3-array": "^2.8.0",
|
||||
"@types/graphql-iso-date": "^3.4.0",
|
||||
"@types/js-cookie": "^2.2.6",
|
||||
"@types/js-yaml": "^3.12.5",
|
||||
"@types/js-yaml": "^4.0.0",
|
||||
"@types/jsonwebtoken": "^8.5.0",
|
||||
"@types/lodash.groupby": "^4.6.6",
|
||||
"@types/lodash.merge": "^4.6.6",
|
||||
"@types/lodash.omit": "^4.5.6",
|
||||
"@types/lodash.sortby": "^4.7.6",
|
||||
"@types/node": "^14.14.16",
|
||||
"@types/numeral": "0.0.28",
|
||||
"@types/node": "^14.14.21",
|
||||
"@types/numeral": "0.0.29",
|
||||
"@types/qrcode.react": "^1.0.1",
|
||||
"@types/react": "^17.0.0",
|
||||
"@types/react-copy-to-clipboard": "^5.0.0",
|
||||
"@types/react-qr-reader": "^2.1.3",
|
||||
"@types/react-select": "^3.0.28",
|
||||
"@types/react-select": "^3.1.2",
|
||||
"@types/react-slider": "^1.1.0",
|
||||
"@types/react-table": "^7.0.26",
|
||||
"@types/secp256k1": "^4.0.1",
|
||||
|
|
@ -139,30 +139,30 @@
|
|||
"@types/styled-theming": "^2.2.5",
|
||||
"@types/underscore": "^1.10.24",
|
||||
"@types/uuid": "^8.3.0",
|
||||
"@typescript-eslint/eslint-plugin": "^4.11.1",
|
||||
"@typescript-eslint/parser": "^4.11.1",
|
||||
"apollo-server": "^2.19.1",
|
||||
"apollo-server-testing": "^2.19.1",
|
||||
"@typescript-eslint/eslint-plugin": "^4.14.0",
|
||||
"@typescript-eslint/parser": "^4.14.0",
|
||||
"apollo-server": "^2.19.2",
|
||||
"apollo-server-testing": "^2.19.2",
|
||||
"babel-jest": "^26.6.3",
|
||||
"babel-loader": "^8.2.2",
|
||||
"babel-plugin-inline-react-svg": "^1.1.2",
|
||||
"babel-plugin-styled-components": "^1.12.0",
|
||||
"babel-preset-react-app": "^10.0.0",
|
||||
"devmoji": "^2.1.13",
|
||||
"eslint": "^7.16.0",
|
||||
"eslint-config-prettier": "^7.1.0",
|
||||
"eslint": "^7.18.0",
|
||||
"eslint-config-prettier": "^7.2.0",
|
||||
"eslint-plugin-import": "^2.22.1",
|
||||
"eslint-plugin-jest": "^24.1.3",
|
||||
"eslint-plugin-jsx-a11y": "^6.4.1",
|
||||
"eslint-plugin-prettier": "^3.3.0",
|
||||
"eslint-plugin-react": "^7.21.5",
|
||||
"eslint-plugin-prettier": "^3.3.1",
|
||||
"eslint-plugin-react": "^7.22.0",
|
||||
"eslint-plugin-react-hooks": "^4.2.0",
|
||||
"husky": "^4.3.6",
|
||||
"husky": "^4.3.8",
|
||||
"jest": "^26.6.3",
|
||||
"jest-fetch-mock": "^3.0.3",
|
||||
"lint-staged": "^10.5.3",
|
||||
"prettier": "^2.2.1",
|
||||
"standard-version": "^9.0.0"
|
||||
"standard-version": "^9.1.0"
|
||||
},
|
||||
"husky": {
|
||||
"hooks": {
|
||||
|
|
|
|||
|
|
@ -103,7 +103,7 @@ export const parseYaml = (filePath: string): AccountConfigType | null => {
|
|||
}
|
||||
|
||||
try {
|
||||
const yamlObject = yaml.safeLoad(yamlConfig);
|
||||
const yamlObject = yaml.load(yamlConfig);
|
||||
// TODO: validate this, before returning?
|
||||
return yamlObject as AccountConfigType;
|
||||
} catch (err) {
|
||||
|
|
@ -120,7 +120,7 @@ const saveHashedYaml = (config: AccountConfigType, filePath: string): void => {
|
|||
logger.info('Saving new yaml file with hashed passwords');
|
||||
|
||||
try {
|
||||
const yamlString = yaml.safeDump(config);
|
||||
const yamlString = yaml.dump(config);
|
||||
fs.writeFileSync(filePath, yamlString);
|
||||
logger.info('Succesfully saved');
|
||||
} catch (error) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue