@flighthq/binpack 0.5.1-next.4305.c5b7dc0 → 0.5.1-next.4329.8d695d9
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/README.md +2 -2
- package/dist/contract.js +2 -2
- package/dist/explainUnpackedRectangles.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -13,5 +13,5 @@ Import the supported application-facing API from `@flighthq/binpack`. The `@flig
|
|
|
13
13
|
This package is part of the locked-version Flight SDK graph. Applications may instead install and import `@flighthq/sdk` when package-level tree shaking is sufficient.
|
|
14
14
|
|
|
15
15
|
- [Flight project](https://github.com/flighthq/flight)
|
|
16
|
-
- [Source for @flighthq/binpack@0.5.1-next.
|
|
17
|
-
- [License](https://github.com/flighthq/flight/blob/
|
|
16
|
+
- [Source for @flighthq/binpack@0.5.1-next.4329.8d695d9](https://github.com/flighthq/flight/tree/8d695d97fdf10328d441d2ba3091fd16029b5387/packages/binpack)
|
|
17
|
+
- [License](https://github.com/flighthq/flight/blob/8d695d97fdf10328d441d2ba3091fd16029b5387/LICENSE.md)
|
package/dist/contract.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Generated from crates/flight-binpack/src/lib.rs by flight-compiler.
|
|
2
2
|
// Rust is authoritative; run `npm run generate` after changing it.
|
|
3
|
-
export { explainUnpackedRectangles, getUnpackedRectangleReasonString, parseUnpackedRectangleReason, } from
|
|
4
|
-
export { BIN_PACK_DEFAULT_MAX_EXTENT, getBinPackHeuristicString, getPackResultOccupancy, packRectangles, parseBinPackHeuristic, } from
|
|
3
|
+
export { explainUnpackedRectangles, getUnpackedRectangleReasonString, parseUnpackedRectangleReason, } from './explainUnpackedRectangles.js';
|
|
4
|
+
export { BIN_PACK_DEFAULT_MAX_EXTENT, getBinPackHeuristicString, getPackResultOccupancy, packRectangles, parseBinPackHeuristic, } from './packRectangles.js';
|
|
5
5
|
//# sourceMappingURL=contract.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Generated from crates/flight-binpack/src/explain_unpacked_rectangles.rs by flight-compiler.
|
|
2
2
|
// Rust is authoritative; run `npm run generate` after changing it.
|
|
3
|
-
import { BIN_PACK_DEFAULT_MAX_EXTENT, packRectangles } from
|
|
3
|
+
import { BIN_PACK_DEFAULT_MAX_EXTENT, packRectangles } from './packRectangles.js';
|
|
4
4
|
/**
|
|
5
5
|
* Says WHY each unplaced rectangle did not fit. `packRectangles` reports `unpacked` as bare ids,
|
|
6
6
|
* which is the right shape for the hot path but tells a caller nothing about the remedy -- and the
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
// Generated from crates/flight-binpack/src/lib.rs by flight-compiler.
|
|
2
2
|
// Rust is authoritative; run `npm run generate` after changing it.
|
|
3
|
-
export { explainUnpackedRectangles, getPackResultOccupancy, packRectangles } from
|
|
3
|
+
export { explainUnpackedRectangles, getPackResultOccupancy, packRectangles } from './contract.js';
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flighthq/binpack",
|
|
3
|
-
"version": "0.5.1-next.
|
|
3
|
+
"version": "0.5.1-next.4329.8d695d9",
|
|
4
4
|
"author": "Joshua Granick and other contributors",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -40,10 +40,10 @@
|
|
|
40
40
|
"clean:dist": "tsx ../../scripts/clean-package-dist.ts"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@flighthq/geometry": "0.5.1-next.
|
|
43
|
+
"@flighthq/geometry": "0.5.1-next.4329.8d695d9"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"typescript": "^
|
|
46
|
+
"typescript": "^7.0.2"
|
|
47
47
|
},
|
|
48
48
|
"description": "2D rectangle bin-packing — MaxRects placement with padding/border, optional power-of-two/square/rotation, and a fixed or growable bin; plain-data rectangles in, placements + used extent + unpacked out",
|
|
49
49
|
"sideEffects": false
|