ical-generator 8.1.2-develop.9 → 9.0.0-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.
- package/README.md +13 -19
- package/dist/index.cjs +8 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1329 -1329
- package/dist/index.d.ts +1329 -1329
- package/dist/index.js +17 -17
- package/dist/index.js.map +1 -1
- package/package.json +123 -122
- package/src/alarm.ts +499 -454
- package/src/attendee.ts +364 -345
- package/src/calendar.ts +422 -439
- package/src/category.ts +5 -14
- package/src/event.ts +1292 -1119
- package/src/index.ts +19 -25
- package/src/tools.ts +348 -258
- package/src/types.ts +86 -75
package/package.json
CHANGED
|
@@ -1,132 +1,133 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
},
|
|
6
|
-
"dependencies": {
|
|
7
|
-
"uuid-random": "^1.3.2"
|
|
8
|
-
},
|
|
9
|
-
"description": "ical-generator is a small piece of code which generates ical calendar files",
|
|
10
|
-
"devDependencies": {
|
|
11
|
-
"@eslint/js": "^9.25.0",
|
|
12
|
-
"@istanbuljs/nyc-config-typescript": "^1.0.2",
|
|
13
|
-
"@qiwi/semantic-release-gh-pages-plugin": "^5.4.3",
|
|
14
|
-
"@sebbo2002/semantic-release-jsr": "^2.0.1-develop.2",
|
|
15
|
-
"@semantic-release/changelog": "^6.0.3",
|
|
16
|
-
"@semantic-release/exec": "^7.0.3",
|
|
17
|
-
"@semantic-release/git": "^10.0.1",
|
|
18
|
-
"@semantic-release/npm": "^12.0.1",
|
|
19
|
-
"@touch4it/ical-timezones": "^1.9.0",
|
|
20
|
-
"@types/express": "^5.0.1",
|
|
21
|
-
"@types/luxon": "^3.6.2",
|
|
22
|
-
"@types/mocha": "^10.0.10",
|
|
23
|
-
"c8": "^10.1.3",
|
|
24
|
-
"dayjs": "^1.11.13",
|
|
25
|
-
"eslint": "^9.24.0",
|
|
26
|
-
"eslint-plugin-jsonc": "^2.20.0",
|
|
27
|
-
"esm": "^3.2.25",
|
|
28
|
-
"license-checker": "^25.0.1",
|
|
29
|
-
"luxon": "^3.6.1",
|
|
30
|
-
"mocha": "^11.1.0",
|
|
31
|
-
"mochawesome": "^7.1.3",
|
|
32
|
-
"moment": "^2.30.1",
|
|
33
|
-
"moment-timezone": "^0.5.48",
|
|
34
|
-
"nyc": "^17.1.0",
|
|
35
|
-
"rrule": "^2.8.1",
|
|
36
|
-
"semantic-release": "^24.2.3",
|
|
37
|
-
"semantic-release-license": "^1.0.2",
|
|
38
|
-
"source-map-support": "^0.5.21",
|
|
39
|
-
"tsup": "^8.4.0",
|
|
40
|
-
"tsx": "^4.19.3",
|
|
41
|
-
"typedoc": "^0.28.2",
|
|
42
|
-
"typescript": "^5.8.3",
|
|
43
|
-
"typescript-eslint": "^8.29.0"
|
|
44
|
-
},
|
|
45
|
-
"engines": {
|
|
46
|
-
"node": "18 || 20 || >=22.0.0"
|
|
47
|
-
},
|
|
48
|
-
"exports": {
|
|
49
|
-
"import": "./dist/index.js",
|
|
50
|
-
"require": "./dist/index.cjs"
|
|
51
|
-
},
|
|
52
|
-
"files": [
|
|
53
|
-
"/src",
|
|
54
|
-
"/dist"
|
|
55
|
-
],
|
|
56
|
-
"homepage": "https://github.com/sebbo2002/ical-generator",
|
|
57
|
-
"keywords": [
|
|
58
|
-
"ical",
|
|
59
|
-
"ics",
|
|
60
|
-
"icalendar",
|
|
61
|
-
"generator",
|
|
62
|
-
"calendar",
|
|
63
|
-
"subscription",
|
|
64
|
-
"outlook",
|
|
65
|
-
"rfc",
|
|
66
|
-
"rfc5545",
|
|
67
|
-
"events",
|
|
68
|
-
"alarms"
|
|
69
|
-
],
|
|
70
|
-
"license": "MIT",
|
|
71
|
-
"main": "./dist/index.cjs",
|
|
72
|
-
"module": "./dist/index.js",
|
|
73
|
-
"name": "ical-generator",
|
|
74
|
-
"peerDependencies": {
|
|
75
|
-
"@touch4it/ical-timezones": ">=1.6.0",
|
|
76
|
-
"@types/luxon": ">= 1.26.0",
|
|
77
|
-
"@types/mocha": ">= 8.2.1",
|
|
78
|
-
"dayjs": ">= 1.10.0",
|
|
79
|
-
"luxon": ">= 1.26.0",
|
|
80
|
-
"moment": ">= 2.29.0",
|
|
81
|
-
"moment-timezone": ">= 0.5.33",
|
|
82
|
-
"rrule": ">= 2.6.8"
|
|
83
|
-
},
|
|
84
|
-
"peerDependenciesMeta": {
|
|
85
|
-
"@touch4it/ical-timezones": {
|
|
86
|
-
"optional": true
|
|
2
|
+
"author": "Sebastian Pekarek <mail@sebbo.net>",
|
|
3
|
+
"bugs": {
|
|
4
|
+
"url": "http://github.com/sebbo2002/ical-generator/issues"
|
|
87
5
|
},
|
|
88
|
-
"
|
|
89
|
-
|
|
6
|
+
"description": "ical-generator is a small piece of code which generates ical calendar files",
|
|
7
|
+
"devDependencies": {
|
|
8
|
+
"@eslint/js": "^9.25.0",
|
|
9
|
+
"@istanbuljs/nyc-config-typescript": "^1.0.2",
|
|
10
|
+
"@qiwi/semantic-release-gh-pages-plugin": "^5.4.3",
|
|
11
|
+
"@sebbo2002/semantic-release-jsr": "^2.0.1-develop.2",
|
|
12
|
+
"@semantic-release/changelog": "^6.0.3",
|
|
13
|
+
"@semantic-release/exec": "^7.0.3",
|
|
14
|
+
"@semantic-release/git": "^10.0.1",
|
|
15
|
+
"@semantic-release/npm": "^12.0.1",
|
|
16
|
+
"@touch4it/ical-timezones": "^1.9.0",
|
|
17
|
+
"@types/express": "^5.0.1",
|
|
18
|
+
"@types/luxon": "^3.6.2",
|
|
19
|
+
"@types/mocha": "^10.0.10",
|
|
20
|
+
"c8": "^10.1.3",
|
|
21
|
+
"dayjs": "^1.11.13",
|
|
22
|
+
"eslint": "^9.24.0",
|
|
23
|
+
"eslint-config-prettier": "^10.1.2",
|
|
24
|
+
"eslint-plugin-jsonc": "^2.20.0",
|
|
25
|
+
"eslint-plugin-perfectionist": "^4.12.3",
|
|
26
|
+
"esm": "^3.2.25",
|
|
27
|
+
"husky": "^9.1.7",
|
|
28
|
+
"license-checker": "^25.0.1",
|
|
29
|
+
"luxon": "^3.6.1",
|
|
30
|
+
"mocha": "^11.1.0",
|
|
31
|
+
"mochawesome": "^7.1.3",
|
|
32
|
+
"moment": "^2.30.1",
|
|
33
|
+
"moment-timezone": "^0.5.48",
|
|
34
|
+
"nyc": "^17.1.0",
|
|
35
|
+
"prettier": "^3.5.3",
|
|
36
|
+
"rrule": "^2.8.1",
|
|
37
|
+
"semantic-release": "^24.2.3",
|
|
38
|
+
"semantic-release-license": "^1.0.2",
|
|
39
|
+
"source-map-support": "^0.5.21",
|
|
40
|
+
"tsup": "^8.4.0",
|
|
41
|
+
"tsx": "^4.19.3",
|
|
42
|
+
"typedoc": "^0.28.2",
|
|
43
|
+
"typescript": "^5.8.3",
|
|
44
|
+
"typescript-eslint": "^8.29.0"
|
|
90
45
|
},
|
|
91
|
-
"
|
|
92
|
-
|
|
46
|
+
"engines": {
|
|
47
|
+
"node": "20 || >=22.0.0"
|
|
93
48
|
},
|
|
94
|
-
"
|
|
95
|
-
|
|
49
|
+
"exports": {
|
|
50
|
+
"import": "./dist/index.js",
|
|
51
|
+
"require": "./dist/index.cjs"
|
|
96
52
|
},
|
|
97
|
-
"
|
|
98
|
-
|
|
53
|
+
"files": [
|
|
54
|
+
"/src",
|
|
55
|
+
"/dist"
|
|
56
|
+
],
|
|
57
|
+
"homepage": "https://github.com/sebbo2002/ical-generator",
|
|
58
|
+
"keywords": [
|
|
59
|
+
"ical",
|
|
60
|
+
"ics",
|
|
61
|
+
"icalendar",
|
|
62
|
+
"generator",
|
|
63
|
+
"calendar",
|
|
64
|
+
"subscription",
|
|
65
|
+
"outlook",
|
|
66
|
+
"rfc",
|
|
67
|
+
"rfc5545",
|
|
68
|
+
"events",
|
|
69
|
+
"alarms"
|
|
70
|
+
],
|
|
71
|
+
"license": "MIT",
|
|
72
|
+
"main": "./dist/index.cjs",
|
|
73
|
+
"module": "./dist/index.js",
|
|
74
|
+
"name": "ical-generator",
|
|
75
|
+
"peerDependencies": {
|
|
76
|
+
"@touch4it/ical-timezones": ">=1.6.0",
|
|
77
|
+
"@types/luxon": ">= 1.26.0",
|
|
78
|
+
"@types/mocha": ">= 8.2.1",
|
|
79
|
+
"dayjs": ">= 1.10.0",
|
|
80
|
+
"luxon": ">= 1.26.0",
|
|
81
|
+
"moment": ">= 2.29.0",
|
|
82
|
+
"moment-timezone": ">= 0.5.33",
|
|
83
|
+
"rrule": ">= 2.6.8"
|
|
99
84
|
},
|
|
100
|
-
"
|
|
101
|
-
|
|
85
|
+
"peerDependenciesMeta": {
|
|
86
|
+
"@touch4it/ical-timezones": {
|
|
87
|
+
"optional": true
|
|
88
|
+
},
|
|
89
|
+
"@types/luxon": {
|
|
90
|
+
"optional": true
|
|
91
|
+
},
|
|
92
|
+
"@types/mocha": {
|
|
93
|
+
"optional": true
|
|
94
|
+
},
|
|
95
|
+
"@types/node": {
|
|
96
|
+
"optional": true
|
|
97
|
+
},
|
|
98
|
+
"dayjs": {
|
|
99
|
+
"optional": true
|
|
100
|
+
},
|
|
101
|
+
"luxon": {
|
|
102
|
+
"optional": true
|
|
103
|
+
},
|
|
104
|
+
"moment": {
|
|
105
|
+
"optional": true
|
|
106
|
+
},
|
|
107
|
+
"moment-timezone": {
|
|
108
|
+
"optional": true
|
|
109
|
+
},
|
|
110
|
+
"rrule": {
|
|
111
|
+
"optional": true
|
|
112
|
+
}
|
|
102
113
|
},
|
|
103
|
-
"
|
|
104
|
-
|
|
114
|
+
"preferGlobal": false,
|
|
115
|
+
"repository": {
|
|
116
|
+
"type": "git",
|
|
117
|
+
"url": "https://github.com/sebbo2002/ical-generator.git"
|
|
105
118
|
},
|
|
106
|
-
"
|
|
107
|
-
|
|
119
|
+
"runkitExampleFilename": "examples/example-runkit.js",
|
|
120
|
+
"scripts": {
|
|
121
|
+
"build": "tsup && cp ./dist/index.d.ts ./dist/index.d.cts",
|
|
122
|
+
"build-all": "./.github/workflows/build.sh",
|
|
123
|
+
"coverage": "c8 mocha",
|
|
124
|
+
"develop": "tsx src/bin/start.ts",
|
|
125
|
+
"example": "node ./dist/examples/push.js",
|
|
126
|
+
"license-check": "license-checker --production --summary",
|
|
127
|
+
"lint": "npx eslint . --fix && npx prettier . --write",
|
|
128
|
+
"start": "node ./dist/bin/start.js",
|
|
129
|
+
"test": "mocha"
|
|
108
130
|
},
|
|
109
|
-
"
|
|
110
|
-
|
|
111
|
-
}
|
|
112
|
-
},
|
|
113
|
-
"preferGlobal": false,
|
|
114
|
-
"repository": {
|
|
115
|
-
"type": "git",
|
|
116
|
-
"url": "https://github.com/sebbo2002/ical-generator.git"
|
|
117
|
-
},
|
|
118
|
-
"runkitExampleFilename": "examples/example-runkit.js",
|
|
119
|
-
"scripts": {
|
|
120
|
-
"build": "tsup && cp ./dist/index.d.ts ./dist/index.d.cts",
|
|
121
|
-
"build-all": "./.github/workflows/build.sh",
|
|
122
|
-
"coverage": "c8 mocha",
|
|
123
|
-
"develop": "tsx src/bin/start.ts",
|
|
124
|
-
"example": "node ./dist/examples/push.js",
|
|
125
|
-
"license-check": "license-checker --production --summary",
|
|
126
|
-
"lint": "eslint .",
|
|
127
|
-
"start": "node ./dist/bin/start.js",
|
|
128
|
-
"test": "mocha"
|
|
129
|
-
},
|
|
130
|
-
"type": "module",
|
|
131
|
-
"version": "8.1.2-develop.9"
|
|
131
|
+
"type": "module",
|
|
132
|
+
"version": "9.0.0-develop.2"
|
|
132
133
|
}
|