@fedify/redis 2.4.0-dev.1583 → 2.4.0-dev.1599
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/codec.cjs +1 -1
- package/dist/codec.js +1 -1
- package/dist/kv.cjs +1 -1
- package/dist/kv.js +1 -1
- package/dist/mod.cjs +1 -1
- package/dist/mod.js +1 -1
- package/dist/mq.cjs +5 -2
- package/dist/mq.js +1 -1
- package/dist/node_modules/.pnpm/temporal-polyfill@1.0.1/node_modules/temporal-polyfill/chunks/apiHelpers.cjs +143 -0
- package/dist/node_modules/.pnpm/temporal-polyfill@1.0.1/node_modules/temporal-polyfill/chunks/classApi-basic.cjs +854 -0
- package/dist/node_modules/.pnpm/temporal-polyfill@1.0.1/node_modules/temporal-polyfill/chunks/internal.cjs +2711 -0
- package/dist/node_modules/.pnpm/temporal-polyfill@1.0.1/node_modules/temporal-polyfill/chunks/root.cjs +5 -0
- package/dist/node_modules/.pnpm/temporal-polyfill@1.0.1/node_modules/temporal-polyfill/index.cjs +8 -0
- package/dist/node_modules/.pnpm/temporal-utils@1.0.1/node_modules/temporal-utils/dist/errorMessages.cjs +15 -0
- package/dist/node_modules/.pnpm/temporal-utils@1.0.1/node_modules/temporal-utils/dist/utils.cjs +51 -0
- package/package.json +6 -5
package/dist/codec.cjs
CHANGED
package/dist/codec.js
CHANGED
package/dist/kv.cjs
CHANGED
package/dist/kv.js
CHANGED
package/dist/mod.cjs
CHANGED
package/dist/mod.js
CHANGED
package/dist/mq.cjs
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const require_codec = require("./codec.cjs");
|
|
4
|
+
const require_index = require("./node_modules/.pnpm/temporal-polyfill@1.0.1/node_modules/temporal-polyfill/index.cjs");
|
|
5
|
+
let _logtape_logtape = require("@logtape/logtape");
|
|
4
6
|
//#region src/mq.ts
|
|
5
|
-
const
|
|
7
|
+
const Temporal = require_index.Temporal;
|
|
8
|
+
const logger = (0, _logtape_logtape.getLogger)([
|
|
6
9
|
"fedify",
|
|
7
10
|
"redis",
|
|
8
11
|
"mq"
|
package/dist/mq.js
CHANGED
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
|
|
2
|
+
const require_internal = require("./internal.cjs");
|
|
3
|
+
//#region ../../node_modules/.pnpm/temporal-polyfill@1.0.1/node_modules/temporal-polyfill/chunks/apiHelpers.js
|
|
4
|
+
const PlainYearMonthBranding = "PlainYearMonth";
|
|
5
|
+
const PlainMonthDayBranding = "PlainMonthDay";
|
|
6
|
+
const PlainDateBranding = "PlainDate";
|
|
7
|
+
const PlainDateTimeBranding = "PlainDateTime";
|
|
8
|
+
const PlainTimeBranding = "PlainTime";
|
|
9
|
+
const ZonedDateTimeBranding = "ZonedDateTime";
|
|
10
|
+
const InstantBranding = "Instant";
|
|
11
|
+
const DurationBranding = "Duration";
|
|
12
|
+
function defineTemporalClass(branding, cls, getSlots, ...getterMaps) {
|
|
13
|
+
Object.defineProperties(cls, require_internal.createNameDescriptors(branding)), Object.defineProperties(cls.prototype, require_internal.createStringTagDescriptors("Temporal." + branding));
|
|
14
|
+
for (const getterMap of getterMaps) defineSlotGetters(cls.prototype, getSlots, getterMap);
|
|
15
|
+
return cls;
|
|
16
|
+
}
|
|
17
|
+
function defineSlotGetters(destPrototype, getSlots, getterMap) {
|
|
18
|
+
Object.defineProperties(destPrototype, require_internal.mapProps((getter) => ({
|
|
19
|
+
get() {
|
|
20
|
+
return getter(getSlots(this));
|
|
21
|
+
},
|
|
22
|
+
configurable: 1
|
|
23
|
+
}), getterMap));
|
|
24
|
+
}
|
|
25
|
+
const attachDebugString = "noop" === require_internal.noop.name ? (instance) => {
|
|
26
|
+
Object.defineProperty(instance, "_str_", { value: instance.toJSON() });
|
|
27
|
+
} : require_internal.noop;
|
|
28
|
+
function invalidRecordType() {
|
|
29
|
+
require_internal.throwTypeError(require_internal.invalidCallingContext);
|
|
30
|
+
}
|
|
31
|
+
function forbiddenValueOf() {
|
|
32
|
+
require_internal.throwTypeError(require_internal.forbiddenValueOf);
|
|
33
|
+
}
|
|
34
|
+
const yearMonthFieldGetters$1 = {
|
|
35
|
+
era(slots) {
|
|
36
|
+
return require_internal.computeCalendarEraFields(slots.calendar, slots).era;
|
|
37
|
+
},
|
|
38
|
+
eraYear(slots) {
|
|
39
|
+
return require_internal.computeCalendarEraFields(slots.calendar, slots).eraYear;
|
|
40
|
+
},
|
|
41
|
+
year(slots) {
|
|
42
|
+
return require_internal.computeCalendarDateFields(slots.calendar, slots).year;
|
|
43
|
+
},
|
|
44
|
+
month(slots) {
|
|
45
|
+
return require_internal.computeCalendarDateFields(slots.calendar, slots).month;
|
|
46
|
+
},
|
|
47
|
+
monthCode(slots) {
|
|
48
|
+
return require_internal.computeCalendarMonthCode(slots.calendar, slots);
|
|
49
|
+
}
|
|
50
|
+
};
|
|
51
|
+
const dateFieldGetters$1 = {
|
|
52
|
+
era(slots) {
|
|
53
|
+
return require_internal.computeCalendarEraFields(slots.calendar, slots).era;
|
|
54
|
+
},
|
|
55
|
+
eraYear(slots) {
|
|
56
|
+
return require_internal.computeCalendarEraFields(slots.calendar, slots).eraYear;
|
|
57
|
+
},
|
|
58
|
+
year(slots) {
|
|
59
|
+
return require_internal.computeCalendarDateFields(slots.calendar, slots).year;
|
|
60
|
+
},
|
|
61
|
+
month(slots) {
|
|
62
|
+
return require_internal.computeCalendarDateFields(slots.calendar, slots).month;
|
|
63
|
+
},
|
|
64
|
+
monthCode(slots) {
|
|
65
|
+
return require_internal.computeCalendarMonthCode(slots.calendar, slots);
|
|
66
|
+
},
|
|
67
|
+
day(slots) {
|
|
68
|
+
return require_internal.computeCalendarDateFields(slots.calendar, slots).day;
|
|
69
|
+
}
|
|
70
|
+
};
|
|
71
|
+
const monthDayFieldGetters$1 = {
|
|
72
|
+
monthCode(slots) {
|
|
73
|
+
return require_internal.computeCalendarMonthCode(slots.calendar, slots);
|
|
74
|
+
},
|
|
75
|
+
day(slots) {
|
|
76
|
+
return require_internal.computeCalendarDateFields(slots.calendar, slots).day;
|
|
77
|
+
}
|
|
78
|
+
};
|
|
79
|
+
const yearMonthDerivedGetters = {
|
|
80
|
+
daysInMonth(slots) {
|
|
81
|
+
return require_internal.computeCalendarDaysInMonth(slots.calendar, slots);
|
|
82
|
+
},
|
|
83
|
+
daysInYear(slots) {
|
|
84
|
+
return require_internal.computeCalendarDaysInYear(slots.calendar, slots);
|
|
85
|
+
},
|
|
86
|
+
monthsInYear(slots) {
|
|
87
|
+
return require_internal.computeCalendarMonthsInYear(slots.calendar, slots);
|
|
88
|
+
},
|
|
89
|
+
inLeapYear(slots) {
|
|
90
|
+
return require_internal.computeCalendarInLeapYear(slots.calendar, slots);
|
|
91
|
+
}
|
|
92
|
+
};
|
|
93
|
+
const dateDerivedGetters = {
|
|
94
|
+
dayOfWeek(slots) {
|
|
95
|
+
return require_internal.computeIsoDayOfWeek(slots);
|
|
96
|
+
},
|
|
97
|
+
dayOfYear(slots) {
|
|
98
|
+
return require_internal.computeCalendarDayOfYear(slots.calendar, slots);
|
|
99
|
+
},
|
|
100
|
+
weekOfYear(slots) {
|
|
101
|
+
return require_internal.computeCalendarWeekOfYear(slots.calendar, slots);
|
|
102
|
+
},
|
|
103
|
+
yearOfWeek(slots) {
|
|
104
|
+
return require_internal.computeCalendarYearOfWeek(slots.calendar, slots);
|
|
105
|
+
},
|
|
106
|
+
daysInWeek() {
|
|
107
|
+
return 7;
|
|
108
|
+
},
|
|
109
|
+
daysInMonth(slots) {
|
|
110
|
+
return require_internal.computeCalendarDaysInMonth(slots.calendar, slots);
|
|
111
|
+
},
|
|
112
|
+
daysInYear(slots) {
|
|
113
|
+
return require_internal.computeCalendarDaysInYear(slots.calendar, slots);
|
|
114
|
+
},
|
|
115
|
+
monthsInYear(slots) {
|
|
116
|
+
return require_internal.computeCalendarMonthsInYear(slots.calendar, slots);
|
|
117
|
+
},
|
|
118
|
+
inLeapYear(slots) {
|
|
119
|
+
return require_internal.computeCalendarInLeapYear(slots.calendar, slots);
|
|
120
|
+
}
|
|
121
|
+
};
|
|
122
|
+
function createNativeGetters(shimGetters) {
|
|
123
|
+
return require_internal.createPropGetters(Object.keys(shimGetters));
|
|
124
|
+
}
|
|
125
|
+
createNativeGetters(yearMonthDerivedGetters), createNativeGetters(dateDerivedGetters);
|
|
126
|
+
//#endregion
|
|
127
|
+
exports.DurationBranding = DurationBranding;
|
|
128
|
+
exports.InstantBranding = InstantBranding;
|
|
129
|
+
exports.PlainDateBranding = PlainDateBranding;
|
|
130
|
+
exports.PlainDateTimeBranding = PlainDateTimeBranding;
|
|
131
|
+
exports.PlainMonthDayBranding = PlainMonthDayBranding;
|
|
132
|
+
exports.PlainTimeBranding = PlainTimeBranding;
|
|
133
|
+
exports.PlainYearMonthBranding = PlainYearMonthBranding;
|
|
134
|
+
exports.ZonedDateTimeBranding = ZonedDateTimeBranding;
|
|
135
|
+
exports.attachDebugString = attachDebugString;
|
|
136
|
+
exports.dateDerivedGetters = dateDerivedGetters;
|
|
137
|
+
exports.dateFieldGetters$1 = dateFieldGetters$1;
|
|
138
|
+
exports.defineTemporalClass = defineTemporalClass;
|
|
139
|
+
exports.forbiddenValueOf = forbiddenValueOf;
|
|
140
|
+
exports.invalidRecordType = invalidRecordType;
|
|
141
|
+
exports.monthDayFieldGetters$1 = monthDayFieldGetters$1;
|
|
142
|
+
exports.yearMonthDerivedGetters = yearMonthDerivedGetters;
|
|
143
|
+
exports.yearMonthFieldGetters$1 = yearMonthFieldGetters$1;
|