Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): adjust codeql workflow for dependabot and bump moment from 2.29.4 to 2.30.1 #33964

Merged
merged 6 commits into from
Nov 20, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: 'Code scanning - action'

on:
push:
branches-ignore:
- dependabot/**
pull_request:
schedule:
- cron: '0 13 * * *'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import type { ILivechatBusinessHour, IBusinessHourTimezone } from '@rocket.chat/
import { LivechatBusinessHourTypes } from '@rocket.chat/core-typings';
import type { AgendaCronJobs } from '@rocket.chat/cron';
import { LivechatBusinessHours, LivechatDepartment, Users } from '@rocket.chat/models';
import moment from 'moment';
import moment from 'moment-timezone';

import type { IBusinessHourBehavior, IBusinessHourType } from './AbstractBusinessHour';
import { closeBusinessHour } from './closeBusinessHour';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { Messages, SmarshHistory, Users, Rooms } from '@rocket.chat/models';
import { Meteor } from 'meteor/meteor';
import moment from 'moment';
import 'moment-timezone';
import moment from 'moment-timezone';

import { sendEmail } from './sendEmail';
import { i18n } from '../../../../server/lib/i18n';
Expand Down
2 changes: 1 addition & 1 deletion apps/meteor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@
"mime-type": "^4.0.0",
"mkdirp": "^1.0.4",
"moleculer": "^0.14.35",
"moment": "^2.29.4",
"moment": "^2.30.1",
"moment-timezone": "^0.5.46",
"mongo-message-queue": "^1.1.0",
"mongodb": "patch:mongodb@npm%3A4.17.2#~/.yarn/patches/mongodb-npm-4.17.2-40d1286d70.patch",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import moment from 'moment';
import moment from 'moment-timezone';

const HOURS_IN_DAY = 24;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* eslint-disable new-cap */
import type { ILivechatRoomsModel } from '@rocket.chat/model-typings';
import { expect } from 'chai';
import moment from 'moment';
import moment from 'moment-timezone';
import sinon from 'sinon';

import { AgentOverviewData } from '../../../../../server/services/omnichannel-analytics/AgentData';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* eslint-disable new-cap */
import { expect } from 'chai';
import moment from 'moment';
import moment from 'moment-timezone';
import sinon from 'sinon';

import { conversations } from './mockData';
Expand Down
2 changes: 1 addition & 1 deletion apps/uikit-playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"@rocket.chat/ui-contexts": "workspace:~",
"codemirror": "^6.0.1",
"eslint4b-prebuilt": "^6.7.2",
"moment": "^2.29.4",
"moment": "^2.30.1",
"rc-scrollbars": "^1.1.6",
"react": "^17.0.2",
"react-beautiful-dnd": "^13.1.1",
Expand Down
2 changes: 1 addition & 1 deletion ee/packages/pdf-worker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"@rocket.chat/fuselage-tokens": "^0.33.2",
"emoji-assets": "^7.0.1",
"emoji-toolkit": "^7.0.1",
"moment": "^2.29.4",
"moment": "^2.30.1",
"moment-timezone": "^0.5.46",
"react": "~18.3.1"
},
Expand Down
13 changes: 10 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9423,7 +9423,7 @@ __metadata:
mkdirp: "npm:^1.0.4"
mocha: "npm:^9.2.2"
moleculer: "npm:^0.14.35"
moment: "npm:^2.29.4"
moment: "npm:^2.30.1"
moment-timezone: "npm:^0.5.46"
mongo-message-queue: "npm:^1.1.0"
mongodb: "patch:mongodb@npm%3A4.17.2#~/.yarn/patches/mongodb-npm-4.17.2-40d1286d70.patch"
Expand Down Expand Up @@ -9733,7 +9733,7 @@ __metadata:
emoji-toolkit: "npm:^7.0.1"
eslint: "npm:~8.45.0"
jest: "npm:~29.7.0"
moment: "npm:^2.29.4"
moment: "npm:^2.30.1"
moment-timezone: "npm:^0.5.46"
react: "npm:~18.3.1"
react-dom: "npm:~18.3.1"
Expand Down Expand Up @@ -10408,7 +10408,7 @@ __metadata:
eslint-plugin-react-hooks: "npm:^5.0.0"
eslint-plugin-react-refresh: "npm:^0.4.14"
eslint4b-prebuilt: "npm:^6.7.2"
moment: "npm:^2.29.4"
moment: "npm:^2.30.1"
rc-scrollbars: "npm:^1.1.6"
react: "npm:^17.0.2"
react-beautiful-dnd: "npm:^13.1.1"
Expand Down Expand Up @@ -29054,6 +29054,13 @@ __metadata:
languageName: node
linkType: hard

"moment@npm:^2.30.1":
version: 2.30.1
resolution: "moment@npm:2.30.1"
checksum: 10/ae42d876d4ec831ef66110bdc302c0657c664991e45cf2afffc4b0f6cd6d251dde11375c982a5c0564ccc0fa593fc564576ddceb8c8845e87c15f58aa6baca69
languageName: node
linkType: hard

"mongo-message-queue@npm:^1.1.0":
version: 1.1.0
resolution: "mongo-message-queue@npm:1.1.0"
Expand Down
Loading