Skip to content

Commit d6db8fb

Browse files
committed
chore: upgrade dependencies
1 parent b3438ad commit d6db8fb

File tree

5 files changed

+821
-153
lines changed

5 files changed

+821
-153
lines changed

.yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs

Lines changed: 541 additions & 0 deletions
Large diffs are not rendered by default.

.yarnrc.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
nodeLinker: node-modules
22

3+
plugins:
4+
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
5+
spec: "@yarnpkg/plugin-interactive-tools"
6+
37
yarnPath: .yarn/releases/yarn-3.6.3.cjs

README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Anchr’s focus is on ease and quickness of use – short loading times, flat me
4040
## 📡 How to run?
4141
### Prerequisites
4242
In order to host Anchr on your own, you need a few things.
43-
* Node.js >= 18.x
43+
* Node.js >= 20.x
4444
* MongoDB >= 6.x
4545
* Alternative 1: [Mongo Atlas](https://mongodb.com/atlas) (hosted cloud MongoDB)
4646
* Alternative 2: [FerretDB](https://www.ferretdb.io/) (with Postgres or SQLite)
@@ -129,5 +129,16 @@ You can integrate Anchr with [ShareX](https://github.com/ShareX/ShareX) on Windo
129129
## 🧩 Project History
130130
The project's origins lie in 2014, back when the [MEAN stack](https://www.mongodb.com/mean-stack) was the sh*t. It was the author's first real web project and a great opportunity to learn. The project is maintained ever since, however, considered mostly feature-complete. Dependencies are updated occasionally. Because the project started quite a couple of years ago, some parts are still based on old-fashioned JavaScript ES5 syntax, alongside vintage tools like [Grunt](https://gruntjs.com/) and [Bower](https://bower.io/). Certainly, this is not state-of-the-art in web dev anymore. However, to keep consistency with existing code, the original code style should still be followed in new contributions. **Update:** Just [recently](https://github.com/muety/anchr/issues/54), all backend-side code was refactored to modern JavaScript syntax to ease development.
131131
132+
## 🧑‍💻 Developer Notes
133+
### Upgrade packges
134+
```bash
135+
# Backend
136+
$ yarn plugin import interactive-tools
137+
$ yarn upgrade-interactive
138+
139+
# Frontend
140+
$ cat bower.json | jq '.dependencies | keys[]' -r | xargs npx bower update
141+
```
142+
132143
## 📓 License
133144
GNU General Public License v3 (GPL-3) @ [Ferdinand Mütsch](https://muetsch.io)

package.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,43 +11,43 @@
1111
"lint": "eslint --fix *.js app/**/*.js config/*.js config/**/*.js lib/**/*.js"
1212
},
1313
"engines": {
14-
"node": ">=18.0.0"
14+
"node": ">=20.0.0"
1515
},
1616
"dependencies": {
1717
"@brigand/abp-filter-parser": "^0.3.2",
18-
"axios": "^1.4.0",
19-
"bcrypt": "^5.1.0",
18+
"axios": "^1.6.7",
19+
"bcrypt": "^5.1.1",
2020
"body-parser": "^1.20.2",
2121
"connect-multiparty": "^2.2.0",
2222
"cors": "^2.8.5",
2323
"du": "^1.0.0",
2424
"express": "^4.18.2",
25-
"helmet": "^7.0.0",
26-
"htmlparser2": "^9.0.0",
27-
"jsonwebtoken": "^9.0.1",
25+
"helmet": "^7.1.0",
26+
"htmlparser2": "^9.1.0",
27+
"jsonwebtoken": "^9.0.2",
2828
"memory-cache": "^0.2.0",
2929
"method-override": "^3.0.0",
3030
"mime-types": "^2.1.35",
31-
"mongoose": "^7.4.1",
31+
"mongoose": "^8.2.0",
3232
"morgan": "^1.10.0",
33-
"node-cron": "^3.0.2",
34-
"nodemailer": "^6.9.1",
35-
"passport": "^0.6.0",
33+
"node-cron": "^3.0.3",
34+
"nodemailer": "^6.9.10",
35+
"passport": "^0.7.0",
3636
"passport-facebook": "^3.0.0",
3737
"passport-google-oauth": "^2.0.0",
3838
"passport-http": "^0.3.0",
3939
"passport-jwt": "^4.0.1",
4040
"passport-local": "^1.0.0",
41-
"prom-client": "github:siimon/prom-client#v14.2.0",
41+
"prom-client": "^15.1.0",
4242
"safe-browse-url-lookup": "0.1.1",
4343
"swagger-jsdoc": "^4.3.2",
44-
"swagger-ui-express": "^4.6.2",
44+
"swagger-ui-express": "^4.6.3",
4545
"underscore": "^1.13.6"
4646
},
4747
"devDependencies": {
4848
"autoprefixer-core": "6.0.1",
4949
"bower": "^1.8.14",
50-
"eslint": "^8.38.0",
50+
"eslint": "^8.57.0",
5151
"grunt": "^1.6.1",
5252
"grunt-angular-templates": "^1.2.0",
5353
"grunt-cli": "^1.4.3",

0 commit comments

Comments
 (0)