Skip to content

Commit 51a7aec

Browse files
committed
Merge branch 'main' into chore/replace-nrk-coreicons
2 parents feba414 + f336ec2 commit 51a7aec

File tree

181 files changed

+13173
-8105
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

181 files changed

+13173
-8105
lines changed

.github/workflows/deploy-docs.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ jobs:
2828
uses: actions/setup-node@v6
2929
with:
3030
node-version-file: ".node-version"
31+
- uses: ./.github/actions/setup-meteor
3132
- name: restore node_modules
3233
uses: actions/cache@v5
3334
with:
@@ -38,9 +39,13 @@ jobs:
3839
run: |
3940
corepack enable
4041
41-
cd packages
4242
yarn config set cacheFolder /home/runner/publish-docs-cache
4343
yarn install
44+
45+
# setup zodern:types. No linters are setup, so this simply installs the packages
46+
yarn meteor lint
47+
48+
cd packages
4449
yarn build:all
4550
env:
4651
CI: true
@@ -81,4 +86,4 @@ jobs:
8186
steps:
8287
- name: Deploy to GitHub Pages
8388
id: deployment
84-
uses: actions/deploy-pages@v4
89+
uses: actions/deploy-pages@v4

.github/workflows/node.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ jobs:
120120
node-version-file: ".node-version"
121121
- uses: ./.github/actions/setup-meteor
122122
- name: restore node_modules
123-
uses: actions/cache@v4
123+
uses: actions/cache@v5
124124
with:
125125
path: |
126126
node_modules
@@ -274,7 +274,7 @@ jobs:
274274
echo "image=$image" >> $GITHUB_OUTPUT
275275
- name: Trivy scanning
276276
if: steps.check-build-and-push.outputs.enable == 'true' && steps.check-ghcr.outputs.enable == 'true' && steps.ghcr-tag.outputs.tags != 0
277-
uses: aquasecurity/trivy-action@0.33.1
277+
uses: aquasecurity/trivy-action@0.34.0
278278
env:
279279
TRIVY_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-db
280280
with:
@@ -319,7 +319,7 @@ jobs:
319319
with:
320320
node-version-file: ".node-version"
321321
- name: restore node_modules
322-
uses: actions/cache@v4
322+
uses: actions/cache@v5
323323
with:
324324
path: |
325325
packages/node_modules
@@ -446,7 +446,7 @@ jobs:
446446
echo "image=$image" >> $GITHUB_OUTPUT
447447
- name: Trivy scanning
448448
if: steps.check-build-and-push.outputs.enable == 'true' && steps.check-ghcr.outputs.enable == 'true' && steps.ghcr-tag.outputs.tags != 0
449-
uses: aquasecurity/trivy-action@0.33.1
449+
uses: aquasecurity/trivy-action@0.34.0
450450
env:
451451
TRIVY_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-db
452452
with:

.github/workflows/trivy.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121

2222
steps:
2323
- name: Run Trivy vulnerability scanner (json)
24-
uses: aquasecurity/trivy-action@0.33.1
24+
uses: aquasecurity/trivy-action@0.34.0
2525
env:
2626
TRIVY_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-db
2727
with:
@@ -30,7 +30,7 @@ jobs:
3030
output: "${{ matrix.image }}-trivy-scan-results.json"
3131

3232
- name: Run Trivy vulnerability scanner (table)
33-
uses: aquasecurity/trivy-action@0.33.1
33+
uses: aquasecurity/trivy-action@0.34.0
3434
env:
3535
TRIVY_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-db
3636
with:
@@ -48,7 +48,7 @@ jobs:
4848
echo $CODE_BLOCK >> $GITHUB_STEP_SUMMARY
4949
5050
- name: Run Trivy in GitHub SBOM mode and submit results to Dependency Graph
51-
uses: aquasecurity/trivy-action@0.33.1
51+
uses: aquasecurity/trivy-action@0.34.0
5252
env:
5353
TRIVY_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-db
5454
with:

.node-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
22.20.0
1+
22.22.0

meteor/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
44

5+
## [26.3.0-1](https://github.com/Sofie-Automation/sofie-core/compare/v26.3.0-0...v26.3.0-1) (2026-02-11)
6+
57
## [26.3.0-0](https://github.com/Sofie-Automation/sofie-core/compare/v1.52.0...v26.3.0-0) (2026-02-04)
68

79

meteor/__mocks__/defaultCollectionObjects.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,10 @@ export function defaultStudio(_id: StudioId): DBStudio {
116116
routeSetsWithOverrides: wrapDefaultObject({}),
117117
routeSetExclusivityGroupsWithOverrides: wrapDefaultObject({}),
118118
packageContainersWithOverrides: wrapDefaultObject({}),
119-
previewContainerIds: [],
120-
thumbnailContainerIds: [],
119+
packageContainerSettingsWithOverrides: wrapDefaultObject({
120+
previewContainerIds: [],
121+
thumbnailContainerIds: [],
122+
}),
121123
peripheralDeviceSettings: {
122124
deviceSettings: wrapDefaultObject({}),
123125
playoutDevices: wrapDefaultObject({}),

meteor/package.json

Lines changed: 35 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "automation-core",
3-
"version": "26.3.0-0",
3+
"version": "26.3.0-1",
44
"private": true,
55
"engines": {
66
"node": ">=22.20.0"
@@ -28,82 +28,78 @@
2828
"i18n-extract-pot": "node ./scripts/extract-i18next-pot.mjs -f \"{./lib/**/*.+(ts|tsx),./server/**/*.+(ts|tsx),../packages/job-worker/src/**/*.+(ts|tsx),../packages/corelib/src/**/*.+(ts|tsx),../packages/webui/src/**/*.+(ts|tsx)}\" -o i18n/template.pot",
2929
"i18n-compile-json": "node ./scripts/i18n-compile-json.mjs",
3030
"visualize": "meteor --production --extra-packages bundle-visualizer",
31-
"release": "standard-version --commit-all",
31+
"release": "commit-and-tag-version --commit-all",
3232
"prepareChangelog": "run release --prerelease --release-as patch",
3333
"validate:all-dependencies": "run validate:prod-dependencies && run validate:dev-dependencies && run license-validate",
3434
"validate:prod-dependencies": "yarn npm audit --environment production",
3535
"validate:dev-dependencies": "yarn npm audit --environment development --severity moderate"
3636
},
3737
"dependencies": {
38-
"@babel/runtime": "^7.26.7",
38+
"@babel/runtime": "^7.28.6",
3939
"@koa/cors": "^5.0.0",
40-
"@koa/router": "^13.1.0",
40+
"@koa/router": "^15.3.0",
4141
"@mos-connection/helper": "^5.0.0-alpha.0",
42-
"@slack/webhook": "^7.0.4",
42+
"@slack/webhook": "^7.0.6",
4343
"@sofie-automation/blueprints-integration": "portal:../packages/blueprints-integration",
4444
"@sofie-automation/corelib": "portal:../packages/corelib",
4545
"@sofie-automation/job-worker": "portal:../packages/job-worker",
4646
"@sofie-automation/meteor-lib": "portal:../packages/meteor-lib",
4747
"@sofie-automation/shared-lib": "portal:../packages/shared-lib",
48-
"app-root-path": "^3.1.0",
49-
"bcrypt": "^5.1.1",
50-
"body-parser": "^1.20.3",
48+
"bcrypt": "^6.0.0",
49+
"body-parser": "^1.20.4",
5150
"deep-extend": "0.6.0",
5251
"deepmerge": "^4.3.1",
53-
"elastic-apm-node": "^4.11.0",
52+
"elastic-apm-node": "^4.15.0",
5453
"i18next": "^21.10.0",
5554
"indexof": "0.0.1",
56-
"koa": "^2.15.3",
55+
"koa": "^3.1.1",
5756
"koa-bodyparser": "^4.4.1",
58-
"koa-mount": "^4.0.0",
57+
"koa-mount": "^4.2.0",
5958
"koa-static": "^5.0.0",
60-
"meteor-node-stubs": "^1.2.12",
59+
"meteor-node-stubs": "^1.2.25",
6160
"moment": "^2.30.1",
62-
"nanoid": "^3.3.8",
63-
"node-gyp": "^9.4.1",
61+
"nanoid": "^3.3.11",
6462
"ntp-client": "^0.5.3",
6563
"object-path": "^0.11.8",
6664
"p-lazy": "^3.1.0",
67-
"semver": "^7.6.3",
65+
"semver": "^7.7.3",
6866
"superfly-timeline": "9.2.0",
69-
"threadedclass": "^1.2.2",
67+
"threadedclass": "^1.3.0",
7068
"timecode": "0.0.4",
71-
"type-fest": "^4.33.0",
69+
"type-fest": "^4.41.0",
7270
"underscore": "^1.13.7",
73-
"winston": "^3.17.0"
71+
"winston": "^3.19.0"
7472
},
7573
"devDependencies": {
76-
"@babel/core": "^7.26.7",
77-
"@babel/plugin-transform-modules-commonjs": "^7.26.3",
74+
"@babel/core": "^7.29.0",
75+
"@babel/plugin-transform-modules-commonjs": "^7.28.6",
7876
"@shopify/jest-koa-mocks": "^5.3.1",
7977
"@sofie-automation/code-standard-preset": "^3.0.0",
80-
"@types/app-root-path": "^1.2.8",
81-
"@types/body-parser": "^1.19.5",
78+
"@types/body-parser": "^1.19.6",
8279
"@types/deep-extend": "^0.6.2",
83-
"@types/jest": "^29.5.14",
84-
"@types/koa": "^2.15.0",
85-
"@types/koa-bodyparser": "^4.3.12",
86-
"@types/koa-mount": "^4",
80+
"@types/jest": "^30.0.0",
81+
"@types/koa": "^3.0.1",
82+
"@types/koa-bodyparser": "^4.3.13",
83+
"@types/koa-mount": "^4.0.5",
8784
"@types/koa-static": "^4.0.4",
88-
"@types/koa__cors": "^5.0.0",
89-
"@types/koa__router": "^12.0.4",
90-
"@types/node": "^22.10.10",
91-
"@types/request": "^2.48.12",
92-
"@types/semver": "^7.5.8",
85+
"@types/koa__cors": "^5.0.1",
86+
"@types/node": "^22.19.8",
87+
"@types/semver": "^7.7.1",
9388
"@types/underscore": "^1.13.0",
94-
"babel-jest": "^29.7.0",
89+
"babel-jest": "^30.2.0",
90+
"commit-and-tag-version": "^12.6.1",
9591
"ejson": "^2.2.3",
96-
"eslint": "^9.18.0",
92+
"eslint": "^9.39.2",
9793
"fast-clone": "^1.5.13",
98-
"glob": "^11.0.1",
94+
"glob": "^13.0.1",
9995
"i18next-conv": "^10.2.0",
10096
"i18next-scanner": "^4.6.0",
101-
"jest": "^29.7.0",
97+
"jest": "^30.2.0",
98+
"jest-util": "^30.2.0",
10299
"legally": "^3.5.10",
103100
"open-cli": "^8.0.0",
104-
"prettier": "^3.4.2",
105-
"standard-version": "^9.5.0",
106-
"ts-jest": "^29.2.5",
101+
"prettier": "^3.8.1",
102+
"ts-jest": "^29.4.6",
107103
"typescript": "~5.7.3",
108104
"yargs": "^17.7.2"
109105
},
@@ -122,7 +118,7 @@
122118
"server": "server/main.ts"
123119
}
124120
},
125-
"standard-version": {
121+
"commit-and-tag-version": {
126122
"scripts": {
127123
"postbump": "yarn libs:syncVersionsAndChangelogs && yarn install && git add yarn.lock"
128124
}

meteor/scripts/babel-jest.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
const babelJest = require('babel-jest')
22

3-
module.exports = babelJest.createTransformer({
3+
module.exports = babelJest.default.createTransformer({
44
plugins: ['@babel/plugin-transform-modules-commonjs'],
55
babelrc: false,
66
configFile: false,

meteor/server/__tests__/cronjobs.test.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -592,8 +592,10 @@ describe('cronjobs', () => {
592592
routeSetsWithOverrides: newObjectWithOverrides({}),
593593
routeSetExclusivityGroupsWithOverrides: newObjectWithOverrides({}),
594594
packageContainersWithOverrides: newObjectWithOverrides({}),
595-
previewContainerIds: [],
596-
thumbnailContainerIds: [],
595+
packageContainerSettingsWithOverrides: newObjectWithOverrides({
596+
previewContainerIds: [],
597+
thumbnailContainerIds: [],
598+
}),
597599
peripheralDeviceSettings: {
598600
deviceSettings: newObjectWithOverrides({}),
599601
ingestDevices: newObjectWithOverrides({}),

meteor/server/api/blueprints/http.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ blueprintsRouter.post(
179179
}
180180
)
181181

182-
blueprintsRouter.get('/assets/(.*)', async (ctx) => {
182+
blueprintsRouter.get('/assets/*splat', async (ctx) => {
183183
logger.debug(`Blueprint Asset: ${ctx.socket.remoteAddress} GET "${ctx.url}"`)
184184
// TODO - some sort of user verification
185185
// for now just check it's a png to prevent snapshots being downloaded

0 commit comments

Comments
 (0)