Update deps and Zammad version (6.4.1)

This commit is contained in:
Darren Clarke 2025-01-15 14:15:02 +01:00
parent 07ee819520
commit 9e5ea2fc41
40 changed files with 973 additions and 849 deletions

View file

@ -1,6 +1,6 @@
{
"name": "@link-stack/bridge-common",
"version": "2.3.4",
"version": "2.4.0b1",
"main": "build/main/index.js",
"type": "module",
"author": "Darren Clarke <darren@redaranj.com>",
@ -17,6 +17,6 @@
"devDependencies": {
"@link-stack/eslint-config": "*",
"@link-stack/typescript-config": "*",
"typescript": "^5.7.2"
"typescript": "^5.7.3"
}
}

View file

@ -1,25 +1,25 @@
{
"name": "@link-stack/bridge-ui",
"version": "2.3.4",
"version": "2.4.0b1",
"scripts": {
"build": "tsc -p tsconfig.json"
},
"dependencies": {
"@link-stack/bridge-common": "^2.2.0",
"@link-stack/bridge-common": "*",
"@link-stack/signal-api": "*",
"@link-stack/ui": "^2.2.0",
"@link-stack/ui": "*",
"@mui/material": "^6",
"@mui/x-data-grid-pro": "^7.23.2",
"@mui/x-data-grid-pro": "^7.23.6",
"kysely": "0.26.1",
"next": "15.1.0",
"next": "15.1.4",
"react": "19.0.0",
"react-dom": "19.0.0",
"react-qr-code": "^2.0.15"
},
"devDependencies": {
"@types/node": "^22.10.2",
"@types/react": "19.0.1",
"@types/react-dom": "^19.0.2",
"typescript": "5.7.2"
"@types/node": "^22.10.6",
"@types/react": "19.0.7",
"@types/react-dom": "^19.0.3",
"typescript": "5.7.3"
}
}

View file

@ -1,6 +1,6 @@
{
"name": "@link-stack/eslint-config",
"version": "2.3.4",
"version": "2.4.0b1",
"description": "amigo's eslint config",
"author": "Abel Luck <abel@guardianproject.info>",
"license": "AGPL-3.0-or-later",
@ -9,17 +9,17 @@
"fmt": "prettier \"profile/**/*.js\" --write"
},
"dependencies": {
"@rushstack/eslint-patch": "^1.10.4",
"@typescript-eslint/eslint-plugin": "^8.18.0",
"@typescript-eslint/parser": "^8.18.0",
"eslint-config-prettier": "^9.1.0",
"@rushstack/eslint-patch": "^1.10.5",
"@typescript-eslint/eslint-plugin": "^8.20.0",
"@typescript-eslint/parser": "^8.20.0",
"eslint-config-prettier": "^10.0.1",
"eslint-config-xo-space": "^0.35.0",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-jest": "^28.9.0",
"eslint-plugin-jest": "^28.11.0",
"eslint-plugin-promise": "^7.2.1",
"eslint-plugin-unicorn": "56.0.1",
"@babel/eslint-parser": "7.25.9"
"@babel/eslint-parser": "7.26.5"
},
"peerDependencies": {
"typescript": "^4.9.5"
@ -27,6 +27,6 @@
"devDependencies": {
"eslint": "^8",
"jest": "^29.7.0",
"typescript": "^5.7.2"
"typescript": "^5.7.3"
}
}

View file

@ -1,6 +1,6 @@
{
"name": "@link-stack/jest-config",
"version": "2.3.4",
"version": "2.4.0b1",
"description": "",
"author": "Abel Luck <abel@guardianproject.info>",
"license": "AGPL-3.0-or-later",

View file

@ -1,6 +1,6 @@
{
"name": "@link-stack/leafcutter-ui",
"version": "2.3.4",
"version": "2.4.0b1",
"scripts": {
"build": "tsc -p tsconfig.json"
},
@ -10,23 +10,23 @@
"@link-stack/opensearch-common": "*",
"@mui/icons-material": "^6",
"@mui/material": "^6",
"@mui/x-data-grid-pro": "^7.23.2",
"@mui/x-date-pickers-pro": "^7.23.2",
"@mui/x-data-grid-pro": "^7.23.6",
"@mui/x-date-pickers-pro": "^7.23.6",
"date-fns": "^4.1.0",
"next": "15.1.0",
"next": "15.1.4",
"next-auth": "^4.24.11",
"react": "19.0.0",
"react-cookie": "^7.2.2",
"react-dom": "19.0.0",
"react-iframe": "^1.8.5",
"react-markdown": "^9.0.1",
"react-markdown": "^9.0.3",
"react-polyglot": "^0.7.2"
},
"devDependencies": {
"@link-stack/eslint-config": "*",
"@link-stack/typescript-config": "*",
"@types/node": "^22.10.2",
"@types/react": "19.0.1",
"typescript": "5.7.2"
"@types/node": "^22.10.6",
"@types/react": "19.0.7",
"typescript": "5.7.3"
}
}

View file

@ -164,7 +164,7 @@ const getIndexPattern: any = async (index: string) => {
sort: ["updated_at:desc"],
});
if (res.body.hits.total.value === 0) {
if (res?.body?.hits?.total?.valueOf() === 0) {
// eslint-disable-next-line no-use-before-define
return createCurrentUserIndexPattern(index);
}

View file

@ -1,18 +1,18 @@
{
"name": "@link-stack/opensearch-common",
"version": "2.3.4",
"version": "2.4.0b1",
"scripts": {
"build": "tsc -p tsconfig.json"
},
"dependencies": {
"@opensearch-project/opensearch": "^2.13.0",
"uuid": "^11.0.3"
"@opensearch-project/opensearch": "^3.1.0",
"uuid": "^11.0.5"
},
"devDependencies": {
"@types/node": "^22.10.2",
"@types/node": "^22.10.6",
"@types/uuid": "^10.0.0",
"@link-stack/typescript-config": "*",
"@link-stack/eslint-config": "*",
"typescript": "5.7.2"
"typescript": "5.7.3"
}
}

View file

@ -1,6 +1,6 @@
{
"name": "@link-stack/signal-api",
"version": "2.3.4",
"version": "2.4.0b1",
"type": "module",
"main": "build/index.js",
"exports": {

View file

@ -1,6 +1,6 @@
{
"name": "@link-stack/typescript-config",
"version": "2.3.4",
"version": "2.4.0b1",
"description": "Shared TypeScript config",
"license": "AGPL-3.0-or-later",
"author": "Abel Luck <abel@guardianproject.info>",

View file

@ -1,6 +1,6 @@
{
"name": "@link-stack/ui",
"version": "2.3.4",
"version": "2.4.0b1",
"description": "",
"scripts": {
"build": "tsc -p tsconfig.json"
@ -9,15 +9,15 @@
"dependencies": {
"@mui/icons-material": "^6",
"@mui/material": "^6",
"@mui/x-data-grid-pro": "^7.23.2",
"@mui/x-license": "^7.23.2",
"next": "15.1.0",
"@mui/x-data-grid-pro": "^7.23.6",
"@mui/x-license": "^7.23.6",
"next": "15.1.4",
"react": "19.0.0",
"react-dom": "19.0.0"
},
"devDependencies": {
"@types/node": "^22.10.2",
"@types/react": "19.0.1",
"typescript": "^5.7.2"
"@types/node": "^22.10.6",
"@types/react": "19.0.7",
"typescript": "^5.7.3"
}
}

View file

@ -1,7 +1,7 @@
{
"name": "@link-stack/zammad-addon-bridge",
"displayName": "Bridge",
"version": "2.3.4",
"version": "2.4.0b1",
"description": "An addon that adds CDR Bridge channels to Zammad.",
"scripts": {
"build": "node '../../node_modules/@link-stack/zammad-addon-common/dist/build.js'",

View file

@ -10,7 +10,7 @@ class CdrSignalChannel < ActiveRecord::Migration[5.2]
)
Permission.create_if_not_exists(
name: 'admin.channel_cdr_signal',
note: 'Manage %s',
description: 'Manage %s',
preferences: {
translations: ['Channel - Signal']
}

View file

@ -10,7 +10,7 @@ class CdrVoiceChannel < ActiveRecord::Migration[5.2]
)
Permission.create_if_not_exists(
name: 'admin.channel_cdr_voice',
note: 'Manage %s',
description: 'Manage %s',
preferences: {
translations: ['Channel - Voice']
}

View file

@ -10,7 +10,7 @@ class CdrWhatsappChannel < ActiveRecord::Migration[5.2]
)
Permission.create_if_not_exists(
name: 'admin.channel_cdr_whatsapp',
note: 'Manage %s',
description: 'Manage %s',
preferences: {
translations: ['Channel - Whatsapp']
}

View file

@ -1,6 +1,6 @@
{
"name": "@link-stack/zammad-addon-common",
"version": "2.3.4",
"version": "2.4.0b1",
"description": "",
"bin": {
"zpm-build": "./dist/build.js",
@ -10,12 +10,12 @@
"build": "tsc"
},
"devDependencies": {
"@types/node": "^22.10.2",
"@types/node": "^22.10.6",
"typescript": "^5"
},
"author": "",
"license": "AGPL-3.0-or-later",
"dependencies": {
"glob": "^11.0.0"
"glob": "^11.0.1"
}
}

View file

@ -1,7 +1,7 @@
{
"name": "@link-stack/zammad-addon-hardening",
"displayName": "Hardening",
"version": "2.3.4",
"version": "2.4.0b1",
"description": "A Zammad addon that hardens a Zammad instance according to CDR's needs.",
"scripts": {
"build": "node '../../node_modules/@link-stack/zammad-addon-common/dist/build.js'",

View file

@ -1,7 +1,7 @@
{
"name": "@link-stack/zammad-addon-leafcutter",
"displayName": "Leafcutter",
"version": "2.3.4",
"version": "2.4.0b1",
"description": "Adds a common set of tags for Leafcutter uses.",
"scripts": {
"build": "node '../../node_modules/@link-stack/zammad-addon-common/dist/build.js'",