@nhtio/encoder 0.1.0-master-1c669c73 → 0.1.0-master-b66a109d
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/{exceptions-DWZQlMyh.js → exceptions-CuUgGvwb.js} +2 -2
- package/{exceptions-DWZQlMyh.js.map → exceptions-CuUgGvwb.js.map} +1 -1
- package/{exceptions-CHEKApsb.mjs → exceptions-hG10RUaJ.mjs} +2 -2
- package/{exceptions-CHEKApsb.mjs.map → exceptions-hG10RUaJ.mjs.map} +1 -1
- package/exceptions.cjs +1 -1
- package/exceptions.mjs +1 -1
- package/function_serializer.cjs +1 -1
- package/function_serializer.mjs +1 -1
- package/index.cjs +57 -18
- package/index.cjs.map +1 -1
- package/index.mjs +57 -18
- package/index.mjs.map +1 -1
- package/package.json +6 -6
- package/{type_guards-DLvYdK9d.js → type_guards-D1YzZ13G.js} +4 -7
- package/{type_guards-DLvYdK9d.js.map → type_guards-D1YzZ13G.js.map} +1 -1
- package/{type_guards-zVeNM-tg.mjs → type_guards-DMqlMT2e.mjs} +21 -24
- package/{type_guards-zVeNM-tg.mjs.map → type_guards-DMqlMT2e.mjs.map} +1 -1
- package/type_guards.cjs +1 -1
- package/type_guards.mjs +10 -10
|
@@ -124026,22 +124026,19 @@ const isLuxonDateTime = (value) => {
|
|
|
124026
124026
|
if (value instanceof DateTime$1) return true;
|
|
124027
124027
|
if ("object" !== typeof value || null === value) return false;
|
|
124028
124028
|
if (!("isLuxonDateTime" in value)) return false;
|
|
124029
|
-
|
|
124030
|
-
return typeof value.toMillis === "function";
|
|
124029
|
+
return value.isLuxonDateTime === true;
|
|
124031
124030
|
};
|
|
124032
124031
|
const isLuxonDuration = (value) => {
|
|
124033
124032
|
if (value instanceof Duration$1) return true;
|
|
124034
124033
|
if ("object" !== typeof value || null === value) return false;
|
|
124035
124034
|
if (!("isLuxonDuration" in value)) return false;
|
|
124036
|
-
|
|
124037
|
-
return typeof value.toMillis === "function";
|
|
124035
|
+
return value.isLuxonDuration === true;
|
|
124038
124036
|
};
|
|
124039
124037
|
const isLuxonInterval = (value) => {
|
|
124040
124038
|
if (value instanceof Interval$1) return true;
|
|
124041
124039
|
if ("object" !== typeof value || null === value) return false;
|
|
124042
124040
|
if (!("isLuxonInterval" in value)) return false;
|
|
124043
|
-
|
|
124044
|
-
return typeof value.toDuration === "function";
|
|
124041
|
+
return value.isLuxonInterval === true;
|
|
124045
124042
|
};
|
|
124046
124043
|
const isLucidBinaryValue = (value) => {
|
|
124047
124044
|
if (value instanceof Uint8Array) return true;
|
|
@@ -124119,9 +124116,9 @@ const isCustomEncodable = (value) => {
|
|
|
124119
124116
|
return DECODE_METHOD in ctor && typeof ctor[DECODE_METHOD] === "function";
|
|
124120
124117
|
};
|
|
124121
124118
|
export {
|
|
124122
|
-
|
|
124119
|
+
DateTime$1 as D,
|
|
124123
124120
|
ENCODE_METHOD as E,
|
|
124124
|
-
|
|
124121
|
+
Interval$1 as I,
|
|
124125
124122
|
Phone as P,
|
|
124126
124123
|
isCustomEncodable as a,
|
|
124127
124124
|
isArray as b,
|
|
@@ -124130,24 +124127,24 @@ export {
|
|
|
124130
124127
|
isLuxonSystemZone as e,
|
|
124131
124128
|
isLuxonInterval as f,
|
|
124132
124129
|
isLuxonDuration as g,
|
|
124133
|
-
|
|
124130
|
+
Duration$1 as h,
|
|
124134
124131
|
isObject$1 as i,
|
|
124135
|
-
|
|
124136
|
-
|
|
124137
|
-
|
|
124138
|
-
|
|
124139
|
-
|
|
124140
|
-
|
|
124141
|
-
|
|
124142
|
-
|
|
124143
|
-
|
|
124144
|
-
|
|
124145
|
-
|
|
124146
|
-
|
|
124147
|
-
|
|
124148
|
-
|
|
124132
|
+
isLuxonDateTime as j,
|
|
124133
|
+
isPhoneObject as k,
|
|
124134
|
+
isTypedArray as l,
|
|
124135
|
+
isBigIntTypedArray as m,
|
|
124136
|
+
isPrimitive as n,
|
|
124137
|
+
isUniterableObject as o,
|
|
124138
|
+
isError as p,
|
|
124139
|
+
isBigInt as q,
|
|
124140
|
+
isUnsafeInteger as r,
|
|
124141
|
+
isNegativeInfinity as s,
|
|
124142
|
+
isPositiveInfinity as t,
|
|
124143
|
+
isNegativeZero as u,
|
|
124144
|
+
DECODE_METHOD as v,
|
|
124145
|
+
Info$1 as w,
|
|
124149
124146
|
isLucidBinaryValue as x,
|
|
124150
124147
|
isInstanceOf as y,
|
|
124151
124148
|
isNumber as z
|
|
124152
124149
|
};
|
|
124153
|
-
//# sourceMappingURL=type_guards-
|
|
124150
|
+
//# sourceMappingURL=type_guards-DMqlMT2e.mjs.map
|