type-store 0.4.4 → 0.4.5
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/package.json +2 -2
- package/type-store.js +5 -0
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "type-store",
|
|
3
3
|
"description": "type ecosystem",
|
|
4
|
-
"version": "0.4.
|
|
4
|
+
"version": "0.4.5",
|
|
5
5
|
"author": "Codenautas <codenautas@googlegroups.com>",
|
|
6
6
|
"repository": "codenautas/type-store",
|
|
7
7
|
"license": "MIT",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"devDependencies": {
|
|
22
22
|
"expect.js": "^0.3.1",
|
|
23
23
|
"istanbul": "^0.4.5",
|
|
24
|
-
"mocha": "^10.
|
|
24
|
+
"mocha": "^10.8.2",
|
|
25
25
|
"postgres-interval": "^4.0.2",
|
|
26
26
|
"discrepances": "^0.2.8"
|
|
27
27
|
},
|
package/type-store.js
CHANGED
|
@@ -800,6 +800,11 @@ TypeStore.type.time.prototype.toLocalParts=function toLocalParts(typedValue,fPar
|
|
|
800
800
|
return fParts(rta, "time");
|
|
801
801
|
};
|
|
802
802
|
|
|
803
|
+
Object.defineProperty(TypeStore.type.time.prototype, 'align', {
|
|
804
|
+
get: function(){ return TypeStore.locale.number.align; }
|
|
805
|
+
});
|
|
806
|
+
|
|
807
|
+
|
|
803
808
|
// https://www.postgresql.org/docs/current/sql-createtype.html
|
|
804
809
|
// https://www.postgresql.org/docs/current/rangetypes.html
|
|
805
810
|
|