Skip to content

Commit c9d3570

Browse files
authored
Version 4.4.1 (#158)
- Fix `CHANGELOG.MD` file. - Removed `default` keyword from Scheduler Class in `typing/index.d.ts` file of typescript by [@ansulagrawal](https://github.com/ansulagrawal) in [#154](#154). - Updated utcOffset method calls to pass `new Date()` instead of `new Date().utcOffset` by [@ansulagrawal](https://github.com/ansulagrawal) in [#155](#155). -Updated `node_modules` version by [@ansulagrawal](https://github.com/ansulagrawal).
2 parents 36c853b + 1c193af commit c9d3570

File tree

4 files changed

+33
-25
lines changed

4 files changed

+33
-25
lines changed

CHANGELOG.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,17 @@
1+
## [4.4.1](https://github.com/react-scheduler/react-big-schedule/compare/4.4.0...4.4.1)
2+
`2024-10-06`
3+
4+
- Fix `CHANGELOG.MD` file.
5+
- Removed `default` keyword from Scheduler Class in `typing/index.d.ts` file of typescript by [@ansulagrawal](https://github.com/ansulagrawal) in [#154](https://github.com/react-scheduler/react-big-schedule/pull/154).
6+
- Updated utcOffset method calls to pass `new Date()` instead of `new Date().utcOffset` by [@ansulagrawal](https://github.com/ansulagrawal) in [#155](https://github.com/react-scheduler/react-big-schedule/pull/155).
7+
-Updated `node_modules` version by [@ansulagrawal](https://github.com/ansulagrawal).
8+
19
## [4.4.0](https://github.com/react-scheduler/react-big-schedule/compare/4.3.3...4.4.0)
210

311
`2024-02-21`
412

513
- Updated `node_modules` version by [@ansulagrawal](https://github.com/ansulagrawal) in [#132](https://github.com/react-scheduler/react-big-schedule/pull/132).
6-
- Fix Issue of Displaying hour headers properly in ViewType.Da by [@ansulagrawal](https://github.com/ansulagrawal) in [#131](https://github.com/react-scheduler/react-big-schedule/pull/131).
14+
- Fix Issue of Displaying hour headers properly in ViewType.Data by [@ansulagrawal](https://github.com/ansulagrawal) in [#131](https://github.com/react-scheduler/react-big-schedule/pull/131).
715
- Bump webpack-dev-server from 4.15.1 to 5.0.2 by [@dependabot](https://github.com/dependabot) in [#130](https://github.com/react-scheduler/react-big-schedule/pull/130).
816

917
## [4.3.3](https://github.com/react-scheduler/react-big-schedule/compare/4.3.2...4.3.3)

package.json

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -59,37 +59,37 @@
5959
"fix": "eslint ./"
6060
},
6161
"dependencies": {
62-
"@ant-design/icons": "^5.3.0",
63-
"antd": "^5.14.1",
64-
"dayjs": "^1.11.10",
62+
"@ant-design/icons": "^5.5.1",
63+
"antd": "^5.21.2",
64+
"dayjs": "^1.11.13",
6565
"prop-types": "^15.8.1",
66-
"react": "^18.2.0",
66+
"react": "^18.3.1",
6767
"react-dnd": "^14.0.5",
6868
"react-dnd-html5-backend": "^14.1.0",
69-
"react-dom": "^18.2.0",
69+
"react-dom": "^18.3.1",
7070
"rrule": "^2.8.1"
7171
},
7272
"devDependencies": {
73-
"@babel/cli": "^7.23.9",
74-
"@babel/core": "^7.23.9",
75-
"@babel/eslint-parser": "^7.23.10",
76-
"@babel/preset-env": "^7.23.9",
77-
"@babel/preset-react": "^7.23.3",
78-
"babel-loader": "^9.1.3",
73+
"@babel/cli": "^7.25.7",
74+
"@babel/core": "^7.25.7",
75+
"@babel/eslint-parser": "^7.25.7",
76+
"@babel/preset-env": "^7.25.7",
77+
"@babel/preset-react": "^7.25.7",
78+
"babel-loader": "^9.2.1",
7979
"copy-webpack-plugin": "^12.0.2",
80-
"css-loader": "^6.10.0",
81-
"eslint": "^8.56.0",
80+
"css-loader": "^7.1.2",
81+
"eslint": "^8.2.0",
8282
"eslint-config-airbnb": "^19.0.4",
83-
"eslint-plugin-import": "^2.29.1",
84-
"eslint-plugin-jsx-a11y": "^6.8.0",
85-
"eslint-plugin-react": "^7.33.2",
86-
"eslint-plugin-react-hooks": "^4.6.0",
87-
"eslint-webpack-plugin": "^4.0.1",
83+
"eslint-plugin-import": "^2.31.0",
84+
"eslint-plugin-jsx-a11y": "^6.10.0",
85+
"eslint-plugin-react": "^7.37.1",
86+
"eslint-plugin-react-hooks": "^4.6.2",
87+
"eslint-webpack-plugin": "^4.2.0",
8888
"fs-extra": "^11.2.0",
8989
"html-webpack-plugin": "^5.6.0",
90-
"style-loader": "^3.3.4",
91-
"webpack": "^5.90.3",
90+
"style-loader": "^4.0.0",
91+
"webpack": "^5.95.0",
9292
"webpack-cli": "^5.1.4",
93-
"webpack-dev-server": "^5.0.2"
93+
"webpack-dev-server": "^5.1.0"
9494
}
9595
}

src/components/SchedulerData.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -583,12 +583,12 @@ export default class SchedulerData {
583583
recurringEventEnd: item.end,
584584
id: `${item.id}-${index}`,
585585
start: rule.origOptions.tzid
586-
? this.localeDayjs.utc(time).utcOffset(this.localeDayjs(new Date().utcOffset)(), true).format(DATETIME_FORMAT)
586+
? this.localeDayjs.utc(time).utcOffset(this.localeDayjs(new Date()).utcOffset(), true).format(DATETIME_FORMAT)
587587
: this.localeDayjs(new Date(time)).format(DATETIME_FORMAT),
588588
end: rule.origOptions.tzid
589589
? this.localeDayjs
590590
.utc(time)
591-
.utcOffset(this.localeDayjs(new Date().utcOffset)(), true)
591+
.utcOffset(this.localeDayjs(new Date()).utcOffset(), true)
592592
.add(oldEnd.diff(oldStart), 'ms')
593593
.add(this.localeDayjs(new Date(oldUntil)).utcOffset() - this.localeDayjs(new Date(item.start)).utcOffset(), 'm')
594594
.format(DATETIME_FORMAT)

typing/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { ConfigType, Dayjs, OptionType } from 'dayjs';
22
import React, { CSSProperties } from 'react';
33

4-
export default class Scheduler<EventType extends EventItem = EventItem> extends React.Component<SchedulerProps<EventType>, any> {}
4+
export class Scheduler<EventType extends EventItem = EventItem> extends React.Component<SchedulerProps<EventType>, any> {}
55

66
export const AddMorePopover: <EventType extends EventItem = EventItem>(props: AddMorePopoverProps<EventType>) => React.ReactElement;
77

0 commit comments

Comments
 (0)