chore(node): update nodejs stuff

Node image to LTS 22.11.0
Chase rename of mercury-parser -> parser
npm update and npm audit fix
This commit is contained in:
viq 2024-11-17 20:18:43 +01:00
parent 495859a5a8
commit a406802a7b
No known key found for this signature in database
GPG key ID: 9938E037F6F4E4F7
5 changed files with 3510 additions and 1576 deletions

View file

@ -1,4 +1,4 @@
FROM node:14.4.0
FROM node:22.11.0
ENV NODE_ENV=production
WORKDIR /node
# Install app dependencies

View file

@ -1,4 +1,4 @@
Mercury = require('@postlight/mercury-parser')
Mercury = require('@postlight/parser')
log = require './log.js'
original_text = (app) =>

View file

@ -2,7 +2,7 @@
(function() {
var Mercury, log, original_text;
Mercury = require('@postlight/mercury-parser');
Mercury = require('@postlight/parser');
log = require('./log.js');

5070
node/package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -4,9 +4,9 @@
"description": "Servers used in running NewsBlur",
"main": "favicons.js",
"dependencies": {
"@postlight/mercury-parser": "^2.2.3",
"@sentry/browser": "^6.12.0",
"@sentry/node": "^6.12.0",
"@postlight/parser": "^2.2.3",
"@sentry/browser": "^8.38.0",
"@sentry/node": "^8.38.0",
"@sentry/tracing": "^6.12.0",
"bufferutil": "^4.0.3",
"cjs": "0.0.11",
@ -21,8 +21,8 @@
"psl": "^1.8.0",
"qs": "^6.9.4",
"redis": "^3.1.2",
"socket.io": "^3.1.1",
"socket.io-client": "^3.1.1",
"socket.io": "^4.8.1",
"socket.io-client": "^4.8.1",
"supervisor": "^0.12.0",
"utf-8-validate": "^5.0.4",
"ws": "^7.4.2"