@adbl/cells 0.0.8 → 0.0.10
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/library/classes.js +10 -1
- package/package.json +1 -1
package/library/classes.js
CHANGED
|
@@ -210,7 +210,7 @@ export class Cell {
|
|
|
210
210
|
*/
|
|
211
211
|
toString() {
|
|
212
212
|
// @ts-ignore
|
|
213
|
-
return this.wvalue
|
|
213
|
+
return String(this.wvalue);
|
|
214
214
|
}
|
|
215
215
|
|
|
216
216
|
/**
|
|
@@ -918,6 +918,15 @@ function deepEqual(a, b) {
|
|
|
918
918
|
)
|
|
919
919
|
return false;
|
|
920
920
|
|
|
921
|
+
if (a instanceof Date) {
|
|
922
|
+
if (!(b instanceof Date)) {
|
|
923
|
+
return false;
|
|
924
|
+
}
|
|
925
|
+
if (a.getTime() !== b.getTime()) {
|
|
926
|
+
return false;
|
|
927
|
+
}
|
|
928
|
+
}
|
|
929
|
+
|
|
921
930
|
if (Array.isArray(a)) {
|
|
922
931
|
const aLength = a.length;
|
|
923
932
|
if (!Array.isArray(b) || aLength !== b.length) return false;
|