Skip to content

Commit

Permalink
updated npm packages (#1241)
Browse files Browse the repository at this point in the history
  • Loading branch information
olemp authored Jul 11, 2024
1 parent 0165100 commit f01bab5
Show file tree
Hide file tree
Showing 14 changed files with 6,780 additions and 8,828 deletions.
2 changes: 2 additions & 0 deletions .changelog/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
[[ template:toc ]]
</details>

[[load:.changelog/0.13.3.md]]

[[load:.changelog/0.13.2.md]]

[[load:.changelog/0.13.1.md]]
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/on_pr_test_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ jobs:
npm run lint
- name: Package client
run: |
run: |
export NODE_OPTIONS="--max-old-space-size=8192"
npm run package:client
env:
DEBUG: webpack*
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18.12.0
18.18.0
3 changes: 1 addition & 2 deletions client/parts/UserNotifications/types.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { MessageBarProps } from '@fluentui/react-components'
import { AlertProps } from '@fluentui/react-components/dist/unstable'
import { TFunction } from 'i18next'
import { Notification } from 'types'
import { getFluentIcon as icon } from 'utils/getFluentIcon'
Expand Down Expand Up @@ -31,7 +30,7 @@ export class NotificationModel {
*
* @returns The intent of the notification.
*/
private get _notificationIntent(): AlertProps['intent'] {
private get _notificationIntent(): MessageBarProps['intent'] {
switch (this.type) {
case 'WEEK_NOT_CONFIRMED': {
return 'warning'
Expand Down
18 changes: 17 additions & 1 deletion client/utils/deepCopy.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
import test from 'ava'
import { deepCopy } from './deepCopy'

test.todo('Implement test for this later')
test('deepCopy returns a deep copy of an object', (t) => {
const obj = {
a: 1,
b: {
c: 2,
d: {
e: 3
}
}
}
const result = deepCopy(obj)
t.deepEqual(result, obj)
t.not(result, obj)
t.not(result.b, obj.b)
t.not(result.b.d, obj.b.d)
})
Loading

0 comments on commit f01bab5

Please sign in to comment.