Skip to content

Commit

Permalink
Update loot-core deps (actualbudget#2280)
Browse files Browse the repository at this point in the history
* Upgrade desktop-client depenencies

* yarn dedupe

* Update useSelectors

* Update loot-core deps

* yarn dedupe

* Move deps to devDependencies

* yarn dedupe
  • Loading branch information
joel-jeremy authored Feb 8, 2024
1 parent ce1978b commit 632e956
Show file tree
Hide file tree
Showing 8 changed files with 219 additions and 201 deletions.
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,8 @@
"eslint-plugin-react": "7.32.2",
"eslint-plugin-rulesdir": "^0.2.2",
"node-jq": "^4.0.1",
"npm-run-all": "^4.1.3",
"npm-run-all": "^4.1.5",
"prettier": "3.2.4",
"react-refresh": "^0.14.0",
"source-map-support": "^0.5.21",
"typescript": "^5.0.2",
"typescript-strict-plugin": "^2.2.2-beta.2"
Expand Down
2 changes: 1 addition & 1 deletion packages/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"clean": "rm -rf dist @types"
},
"dependencies": {
"better-sqlite3": "^9.2.2",
"better-sqlite3": "^9.3.0",
"compare-versions": "^6.1.0",
"node-fetch": "^3.3.2",
"uuid": "^9.0.1"
Expand Down
4 changes: 2 additions & 2 deletions packages/desktop-client/src/components/MobileWebMessage.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import React, { useState } from 'react';
import { useDispatch, useSelector } from 'react-redux';

import { type State } from 'loot-core/client/state-types';
import { type PrefsState } from 'loot-core/client/state-types/prefs';
import { savePrefs } from 'loot-core/src/client/actions';
import { type State } from 'loot-core/src/client/state-types';
import { type PrefsState } from 'loot-core/src/client/state-types/prefs';

import { useResponsive } from '../ResponsiveProvider';
import { theme, styles } from '../style';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { type ReactNode, useState } from 'react';
import { useSelector } from 'react-redux';

import { type State } from 'loot-core/client/state-types';
import { type PrefsState } from 'loot-core/client/state-types/prefs';
import { type State } from 'loot-core/src/client/state-types';
import { type PrefsState } from 'loot-core/src/client/state-types/prefs';
import type { FeatureFlag } from 'loot-core/src/types/prefs';

import { useActions } from '../../hooks/useActions';
Expand Down
2 changes: 1 addition & 1 deletion packages/desktop-electron/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"electron-log": "4.4.8",
"electron-updater": "6.1.7",
"loot-core": "*",
"node-fetch": "^2.6.9",
"node-fetch": "^2.7.0",
"promise-retry": "^2.0.1"
},
"devDependencies": {
Expand Down
60 changes: 29 additions & 31 deletions packages/loot-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,33 +17,33 @@
"license": "ISC",
"dependencies": {
"@jlongster/sql.js": "^1.6.7",
"@rschedule/core": "^1.2.0",
"@rschedule/ical-tools": "^1.2.0",
"@rschedule/json-tools": "^1.2.0",
"@rschedule/standard-date-adapter": "^1.2.0",
"@types/adm-zip": "^0.5.0",
"@rschedule/core": "^1.5.0",
"@rschedule/json-tools": "^1.5.0",
"@rschedule/standard-date-adapter": "^1.5.0",
"absurd-sql": "0.0.54",
"assert": "^2.0.0",
"better-sqlite3": "^9.2.2",
"browserify-zlib": "^0.2.0",
"core-js": "^3.8.3",
"csv-parse": "^4.10.1",
"csv-stringify": "^5.3.6",
"deep-equal": "^2.0.5",
"adm-zip": "^0.5.10",
"better-sqlite3": "^9.3.0",
"csv-parse": "^4.16.3",
"csv-stringify": "^5.6.5",
"date-fns": "^2.30.0",
"deep-equal": "^2.2.3",
"lru-cache": "^5.1.1",
"md5": "^2.3.0",
"mitt": "^3.0.0",
"node-fetch": "^2.6.9",
"path-browserify": "^1.0.1",
"process": "^0.11.10",
"memoize-one": "^6.0.0",
"mitt": "^3.0.1",
"node-fetch": "^2.7.0",
"reselect": "^4.1.8",
"stream-browserify": "^3.0.0"
"slash": "3.0.0",
"throttleit": "^1.0.1",
"uuid": "^9.0.1"
},
"devDependencies": {
"@actual-app/api": "*",
"@actual-app/crdt": "*",
"@swc/core": "^1.3.105",
"@swc/helpers": "^0.5.3",
"@swc/jest": "^0.2.31",
"@types/adm-zip": "^0.5.0",
"@types/better-sqlite3": "^7.6.8",
"@types/jest": "^27.5.2",
"@types/jlongster__sql.js": "npm:@types/sql.js@latest",
Expand All @@ -52,30 +52,28 @@
"@types/uuid": "^9.0.2",
"@types/webpack": "^5.28.5",
"@types/webpack-bundle-analyzer": "^4.6.3",
"adm-zip": "^0.5.9",
"assert": "^2.1.0",
"browserify-zlib": "^0.2.0",
"buffer": "^6.0.3",
"cross-env": "^7.0.3",
"date-fns": "^2.30.0",
"fake-indexeddb": "^3.1.3",
"fast-check": "3.7.1",
"fake-indexeddb": "^3.1.8",
"fast-check": "3.15.0",
"jest": "^27.5.1",
"jsverify": "^0.8.4",
"lru-cache": "^5.1.1",
"memfs": "3.1.1",
"memoize-one": "^6.0.0",
"memfs": "3.5.3",
"mockdate": "^3.0.5",
"npm-run-all": "^4.1.3",
"npm-run-all": "^4.1.5",
"path-browserify": "^1.0.1",
"peggy": "3.0.2",
"slash": "3.0.0",
"process": "^0.11.10",
"snapshot-diff": "^0.10.0",
"source-map": "^0.7.3",
"source-map": "^0.7.4",
"stream-browserify": "^3.0.0",
"swc-loader": "^0.2.3",
"terser-webpack-plugin": "^5.3.10",
"throttleit": "^1.0.0",
"ts-node": "^10.7.0",
"ts-node": "^10.9.2",
"typescript": "^5.0.2",
"uuid": "^9.0.1",
"webpack": "^5.89.0",
"webpack": "^5.90.0",
"webpack-bundle-analyzer": "^4.10.1",
"webpack-cli": "^5.1.4",
"yargs": "^9.0.1"
Expand Down
6 changes: 6 additions & 0 deletions upcoming-release-notes/2280.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
category: Maintenance
authors: [joel-jeremy]
---

Update loot-core dependencies
Loading

0 comments on commit 632e956

Please sign in to comment.