@nxtedition/slice 1.1.3 → 1.1.4

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/lib/index.js CHANGED
@@ -364,7 +364,7 @@ export class PoolAllocator {
364
364
  return {
365
365
  size: this.#size,
366
366
  padding: this.#padding,
367
- ratio: this.#size > 0 ? this.#size / (this.#size - this.#padding) : 1,
367
+ ratio: this.#size > this.#padding ? this.#size / (this.#size - this.#padding) : 1,
368
368
  poolTotal: this.#poolBuffer.byteLength,
369
369
  poolUsed: this.#poolOffset,
370
370
  poolSize: this.#poolSize,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nxtedition/slice",
3
- "version": "1.1.3",
3
+ "version": "1.1.4",
4
4
  "type": "module",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -30,5 +30,5 @@
30
30
  "tsd": "^0.33.0",
31
31
  "typescript": "^5.9.3"
32
32
  },
33
- "gitHead": "a95ef1b72677b853fd7943f7071c266f1789e134"
33
+ "gitHead": "a29e479679bd053fa37ff8868d47918a8983ee48"
34
34
  }
@@ -1 +0,0 @@
1
- export {};