Comparing version 0.2.29 to 0.2.30
@@ -68,3 +68,3 @@ /** | ||
count: number; | ||
read(): T | null; | ||
read(): T; | ||
} | ||
@@ -71,0 +71,0 @@ export class IntDiffDecoder extends Decoder { |
@@ -239,2 +239,3 @@ /** | ||
* * numbers < 2^14 is stored in two bylength | ||
* @todo This should probably create the inverse ~num if unmber is negative - but this would be a breaking change. | ||
* | ||
@@ -259,3 +260,3 @@ * @function | ||
if (r < binary.BIT8) { | ||
return sign * num | ||
return sign * (num >>> 0) | ||
} | ||
@@ -455,3 +456,3 @@ /* istanbul ignore if */ | ||
this.count-- | ||
return this.s | ||
return /** @type {T} */ (this.s) | ||
} | ||
@@ -511,3 +512,3 @@ } | ||
this.count-- | ||
return this.s | ||
return /** @type {number} */ (this.s) | ||
} | ||
@@ -541,3 +542,3 @@ } | ||
this.count-- | ||
return this.s | ||
return /** @type {number} */ (this.s) | ||
} | ||
@@ -544,0 +545,0 @@ } |
@@ -68,3 +68,3 @@ /** | ||
count: number; | ||
read(): T | null; | ||
read(): T; | ||
} | ||
@@ -71,0 +71,0 @@ export class IntDiffDecoder extends Decoder { |
{ | ||
"name": "lib0", | ||
"version": "0.2.29", | ||
"version": "0.2.30", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "sideEffects": false, |
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
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
Sorry, the diff of this file is too big to display
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
2009285
27870