@wix/metro-runtime
Advanced tools
Comparing version 1.1454.0 to 1.1455.0
@@ -18,3 +18,3 @@ "use strict"; | ||
transform: val => ({ | ||
$date: val.toISOString() | ||
$date: val instanceof Date ? val.toISOString() : val | ||
}) | ||
@@ -21,0 +21,0 @@ } |
@@ -13,5 +13,5 @@ var _a; | ||
_a[ConverterType.FROM_JSON] = { | ||
transform: function (val) { return ({ $date: val.toISOString() }); }, | ||
transform: function (val) { return ({ $date: val instanceof Date ? val.toISOString() : val }); }, | ||
}, | ||
_a); | ||
//# sourceMappingURL=timestamp.js.map |
{ | ||
"metro-runtime.js": "https://static.parastorage.com/services/metro-runtime/eb8dff3a2b9b4175723d7332bcd800d07b479440b921fe0bfead0990/metro-runtime.umd.js" | ||
"metro-runtime.js": "https://static.parastorage.com/services/metro-runtime/6409c91ea08a349b06ea37e9dd55bd5b9a1015c9495ae0d5f88ef3fd/metro-runtime.umd.js" | ||
} |
{ | ||
"metro-runtime.js": "https://static.parastorage.com/services/metro-runtime/eb8dff3a2b9b4175723d7332bcd800d07b479440b921fe0bfead0990/metro-runtime.umd.min.js" | ||
"metro-runtime.js": "https://static.parastorage.com/services/metro-runtime/6409c91ea08a349b06ea37e9dd55bd5b9a1015c9495ae0d5f88ef3fd/metro-runtime.umd.min.js" | ||
} |
{ | ||
"name": "@wix/metro-runtime", | ||
"version": "1.1454.0", | ||
"version": "1.1455.0", | ||
"license": "UNLICENSED", | ||
@@ -82,3 +82,3 @@ "author": { | ||
}, | ||
"falconPackageHash": "e7a2f3320ed4b0bf7c32ebf5083b757425fc24a80790c339b2fd0b26" | ||
"falconPackageHash": "28237a246946cdf301454c1a8fe3884dfa9b8bbcd563df44b6f84325" | ||
} |
@@ -14,3 +14,3 @@ import { ConverterSet, ConverterType } from '../domain'; | ||
[ConverterType.FROM_JSON]: { | ||
transform: (val: Date) => ({ $date: val.toISOString() }), | ||
transform: (val: Date) => ({ $date: val instanceof Date ? val.toISOString() : val }), | ||
}, | ||
@@ -17,0 +17,0 @@ }; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4032765