@nhtio/encoder 0.1.0-master-1c669c73 → 0.1.0-master-a0341ac6
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-CHEKApsb.mjs → exceptions-D4huZrDN.mjs} +2 -2
- package/{exceptions-CHEKApsb.mjs.map → exceptions-D4huZrDN.mjs.map} +1 -1
- package/{exceptions-DWZQlMyh.js → exceptions-X2-2FICz.js} +2 -2
- package/{exceptions-DWZQlMyh.js.map → exceptions-X2-2FICz.js.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 +54 -18
- package/index.cjs.map +1 -1
- package/index.mjs +54 -18
- package/index.mjs.map +1 -1
- package/package.json +1 -1
- 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
package/package.json
CHANGED
|
@@ -124028,22 +124028,19 @@ const isLuxonDateTime = (value) => {
|
|
|
124028
124028
|
if (value instanceof DateTime$1) return true;
|
|
124029
124029
|
if ("object" !== typeof value || null === value) return false;
|
|
124030
124030
|
if (!("isLuxonDateTime" in value)) return false;
|
|
124031
|
-
|
|
124032
|
-
return typeof value.toMillis === "function";
|
|
124031
|
+
return value.isLuxonDateTime === true;
|
|
124033
124032
|
};
|
|
124034
124033
|
const isLuxonDuration = (value) => {
|
|
124035
124034
|
if (value instanceof Duration$1) return true;
|
|
124036
124035
|
if ("object" !== typeof value || null === value) return false;
|
|
124037
124036
|
if (!("isLuxonDuration" in value)) return false;
|
|
124038
|
-
|
|
124039
|
-
return typeof value.toMillis === "function";
|
|
124037
|
+
return value.isLuxonDuration === true;
|
|
124040
124038
|
};
|
|
124041
124039
|
const isLuxonInterval = (value) => {
|
|
124042
124040
|
if (value instanceof Interval$1) return true;
|
|
124043
124041
|
if ("object" !== typeof value || null === value) return false;
|
|
124044
124042
|
if (!("isLuxonInterval" in value)) return false;
|
|
124045
|
-
|
|
124046
|
-
return typeof value.toDuration === "function";
|
|
124043
|
+
return value.isLuxonInterval === true;
|
|
124047
124044
|
};
|
|
124048
124045
|
const isLucidBinaryValue = (value) => {
|
|
124049
124046
|
if (value instanceof Uint8Array) return true;
|
|
@@ -124149,4 +124146,4 @@ exports.isSet = isSet;
|
|
|
124149
124146
|
exports.isTypedArray = isTypedArray;
|
|
124150
124147
|
exports.isUniterableObject = isUniterableObject;
|
|
124151
124148
|
exports.isUnsafeInteger = isUnsafeInteger;
|
|
124152
|
-
//# sourceMappingURL=type_guards-
|
|
124149
|
+
//# sourceMappingURL=type_guards-D1YzZ13G.js.map
|