Comparing version 1.6.0-canary.20241007T110244 to 1.6.0-canary.20241008T130000
@@ -33,2 +33,3 @@ "use strict"; | ||
const pgvector_1 = require("./pgvector"); | ||
const postgis_1 = require("./postgis"); | ||
const errors_1 = require("../errors"); | ||
@@ -83,1 +84,5 @@ const consts_1 = require("./consts"); | ||
registerScalarCodec("ext::pgvector::vector", pgvector_1.PgVectorCodec); | ||
registerScalarCodec("ext::postgis::geometry", postgis_1.PostgisGeometryCodec); | ||
registerScalarCodec("ext::postgis::geography", postgis_1.PostgisGeometryCodec); | ||
registerScalarCodec("ext::postgis::box2d", postgis_1.PostgisBox2dCodec); | ||
registerScalarCodec("ext::postgis::box3d", postgis_1.PostgisBox3dCodec); |
@@ -50,2 +50,6 @@ "use strict"; | ||
["9565dd8804f511eea6910b6ebe179825", "ext::pgvector::vector"], | ||
["44c901c0d922489483c8061bd05e4840", "ext::postgis::geometry"], | ||
["4d7388783a5f4821ab769d8e7d6b32c4", "ext::postgis::geography"], | ||
["7fae553663114f608eb9096a5d972f48", "ext::postgis::box2d"], | ||
["c1a50ff8fded48b085c24905a8481433", "ext::postgis::box3d"], | ||
]); | ||
@@ -52,0 +56,0 @@ exports.KNOWN_TYPENAMES = (() => { |
@@ -50,2 +50,3 @@ /*! | ||
writeBuffer(buf: Uint8Array): this; | ||
writeDeferredSize(): () => void; | ||
unwrap(): Uint8Array; | ||
@@ -134,4 +135,4 @@ } | ||
readFloat32(): number; | ||
readFloat64(): number; | ||
readUInt32(): number; | ||
readFloat64(le?: boolean): number; | ||
readUInt32(le?: boolean): number; | ||
private reportInt64Overflow; | ||
@@ -138,0 +139,0 @@ readInt64(): number; |
@@ -199,2 +199,9 @@ "use strict"; | ||
} | ||
writeDeferredSize() { | ||
const startPos = this.pos; | ||
this.writeInt32(0); | ||
return () => { | ||
this.buffer.setInt32(startPos, this.pos - (startPos + 4)); | ||
}; | ||
} | ||
unwrap() { | ||
@@ -797,15 +804,15 @@ return this._rawBuffer.subarray(0, this.pos); | ||
} | ||
readFloat64() { | ||
readFloat64(le) { | ||
if (this.pos + 8 > this.len) { | ||
throw new BufferError("buffer overread"); | ||
} | ||
const num = this.buffer.getFloat64(this.pos); | ||
const num = this.buffer.getFloat64(this.pos, le); | ||
this.pos += 8; | ||
return num; | ||
} | ||
readUInt32() { | ||
readUInt32(le) { | ||
if (this.pos + 4 > this.len) { | ||
throw new BufferError("buffer overread"); | ||
} | ||
const num = this.buffer.getUint32(this.pos); | ||
const num = this.buffer.getUint32(this.pos, le); | ||
this.pos += 4; | ||
@@ -812,0 +819,0 @@ return num; |
{ | ||
"name": "edgedb", | ||
"version": "1.6.0-canary.20241007T110244", | ||
"version": "1.6.0-canary.20241008T130000", | ||
"description": "The official Node.js client library for EdgeDB", | ||
@@ -5,0 +5,0 @@ "homepage": "https://edgedb.com/docs", |
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
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
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
573907
162
15181
1
0