@hebcal/icalendar 4.17.0 → 4.17.1
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/dist/index.js +7 -3
- package/dist/index.mjs +7 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @hebcal/icalendar v4.17.
|
|
1
|
+
/*! @hebcal/icalendar v4.17.1 */
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
4
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -8,7 +8,7 @@ var murmurhash3 = require('murmurhash3');
|
|
|
8
8
|
var restApi = require('@hebcal/rest-api');
|
|
9
9
|
var fs = require('fs');
|
|
10
10
|
|
|
11
|
-
const version="4.17.
|
|
11
|
+
const version="4.17.1";
|
|
12
12
|
|
|
13
13
|
const VTIMEZONE = {};
|
|
14
14
|
const CATEGORY = {
|
|
@@ -123,7 +123,11 @@ class IcalEvent {
|
|
|
123
123
|
const prefix = ev.getEmoji();
|
|
124
124
|
|
|
125
125
|
if (prefix) {
|
|
126
|
-
|
|
126
|
+
if (mask & core.flags.OMER_COUNT) {
|
|
127
|
+
subj = subj + ' ' + prefix;
|
|
128
|
+
} else {
|
|
129
|
+
subj = prefix + ' ' + subj;
|
|
130
|
+
}
|
|
127
131
|
}
|
|
128
132
|
} // make subject safe for iCalendar
|
|
129
133
|
|
package/dist/index.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
/*! @hebcal/icalendar v4.17.
|
|
1
|
+
/*! @hebcal/icalendar v4.17.1 */
|
|
2
2
|
import { flags, Locale, greg } from '@hebcal/core';
|
|
3
3
|
import { murmur32HexSync } from 'murmurhash3';
|
|
4
4
|
import { shouldRenderBrief, pad2, getEventCategories, makeAnchor, pad4, getHolidayDescription, getCalendarTitle, appendIsraelAndTracking, makeTorahMemoText } from '@hebcal/rest-api';
|
|
5
5
|
import { promises } from 'fs';
|
|
6
6
|
|
|
7
|
-
const version="4.17.
|
|
7
|
+
const version="4.17.1";
|
|
8
8
|
|
|
9
9
|
const VTIMEZONE = {};
|
|
10
10
|
const CATEGORY = {
|
|
@@ -119,7 +119,11 @@ class IcalEvent {
|
|
|
119
119
|
const prefix = ev.getEmoji();
|
|
120
120
|
|
|
121
121
|
if (prefix) {
|
|
122
|
-
|
|
122
|
+
if (mask & flags.OMER_COUNT) {
|
|
123
|
+
subj = subj + ' ' + prefix;
|
|
124
|
+
} else {
|
|
125
|
+
subj = prefix + ' ' + subj;
|
|
126
|
+
}
|
|
123
127
|
}
|
|
124
128
|
} // make subject safe for iCalendar
|
|
125
129
|
|