@bbn/bbn 2.0.17 → 2.0.18
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/bbn.js +1 -1
- package/dist/bbn.js.map +1 -1
- package/dist/date.js +10 -8
- package/package.json +1 -1
package/dist/date.js
CHANGED
|
@@ -822,14 +822,16 @@ class bbnDateTool {
|
|
|
822
822
|
__classPrivateFieldSet(this, _bbnDateTool_value, new Date(...value), "f");
|
|
823
823
|
}
|
|
824
824
|
}
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
825
|
+
/*
|
|
826
|
+
if (this.#value === undefined) {
|
|
827
|
+
const obj = {};
|
|
828
|
+
return new Proxy(this, {
|
|
829
|
+
get: (target, prop) => {
|
|
830
|
+
if (prop === 'isValid')
|
|
831
|
+
return undefined;
|
|
832
|
+
}
|
|
833
|
+
});
|
|
834
|
+
}*/
|
|
833
835
|
}
|
|
834
836
|
parse(input, format) {
|
|
835
837
|
const d = bbnDateTool.parse(input, format);
|