ical-generator 6.0.0 → 6.0.1-develop.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +5 -1
  2. package/package.json +7 -7
package/README.md CHANGED
@@ -42,6 +42,10 @@ import ical from 'ical-generator';
42
42
  import http from 'node:http';
43
43
 
44
44
  const calendar = ical({name: 'my first iCal'});
45
+
46
+ // A method is required for outlook to display event as an invitation
47
+ calendar.method(ICalCalendarMethod.REQUEST);
48
+
45
49
  const startTime = new Date();
46
50
  const endTime = new Date();
47
51
  endTime.setHours(startTime.getHours()+1);
@@ -90,7 +94,7 @@ to use a VTimezone generator. Such a function generates a VTimezone entry and re
90
94
  be used for this:
91
95
 
92
96
  ```typescript
93
- import ical from 'ical-generator';
97
+ import {ICalCalendar} from 'ical-generator';
94
98
  import {getVtimezoneComponent} from '@touch4it/ical-timezones';
95
99
 
96
100
  const cal = new ICalCalendar();
package/package.json CHANGED
@@ -8,19 +8,19 @@
8
8
  },
9
9
  "description": "ical-generator is a small piece of code which generates ical calendar files",
10
10
  "devDependencies": {
11
- "@qiwi/semantic-release-gh-pages-plugin": "^5.2.8",
11
+ "@qiwi/semantic-release-gh-pages-plugin": "^5.2.10",
12
12
  "@semantic-release/changelog": "^6.0.3",
13
13
  "@semantic-release/exec": "^6.0.3",
14
14
  "@semantic-release/git": "^10.0.1",
15
15
  "@semantic-release/npm": "^11.0.0",
16
16
  "@touch4it/ical-timezones": "^1.9.0",
17
- "@types/luxon": "^3.3.2",
18
- "@types/mocha": "^10.0.2",
17
+ "@types/luxon": "^3.3.3",
18
+ "@types/mocha": "^10.0.3",
19
19
  "@typescript-eslint/eslint-plugin": "^6.8.0",
20
20
  "@typescript-eslint/parser": "^6.8.0",
21
21
  "c8": "^8.0.1",
22
22
  "dayjs": "^1.11.10",
23
- "eslint": "^8.51.0",
23
+ "eslint": "^8.52.0",
24
24
  "eslint-plugin-jsonc": "^2.10.0",
25
25
  "esm": "^3.2.25",
26
26
  "license-checker": "^25.0.1",
@@ -31,12 +31,12 @@
31
31
  "moment-timezone": "^0.5.43",
32
32
  "nyc": "^15.1.0",
33
33
  "rrule": "^2.7.2",
34
- "semantic-release": "^22.0.5",
34
+ "semantic-release": "^22.0.7",
35
35
  "semantic-release-license": "^1.0.2",
36
36
  "source-map-support": "^0.5.21",
37
37
  "ts-node": "^10.9.1",
38
38
  "tsup": "^7.2.0",
39
- "typedoc": "^0.25.2",
39
+ "typedoc": "^0.25.3",
40
40
  "typescript": "^5.2.2"
41
41
  },
42
42
  "engines": {
@@ -125,5 +125,5 @@
125
125
  "test": "mocha"
126
126
  },
127
127
  "type": "module",
128
- "version": "6.0.0"
128
+ "version": "6.0.1-develop.2"
129
129
  }