Skip to content

Commit 9f9cf4d

Browse files
committed
1.4.3
1 parent 6788fcf commit 9f9cf4d

File tree

4 files changed

+9
-7
lines changed

4 files changed

+9
-7
lines changed

changelog.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Changelog
22

3-
## Next
3+
## 1.4.3
4+
*2025-08-18*
45
- Changed CLI parsing to support decimal pack formats.
56
- Updated resource pack format to `65.2`.
67
- Updated data pack format to `83.0`.

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "pack-format",
3-
"version": "1.4.2",
3+
"version": "1.4.3",
44
"description": "Returns the pack_format of any Minecraft version, including snapshots",
55
"scripts": {
66
"prepublish": "tsc",

readme.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
pack-format is a tool for retrieving the `pack_format` of any Minecraft version, including snapshots.
88

9-
**Updated for: 1.21.7**
9+
**Updated till: 1.21.8/25w33a**
1010

1111
## About
1212

@@ -31,8 +31,8 @@ const packFormat = require('pack-format')
3131
packFormat('1.14.4') // 4
3232
packFormat('1.16.2-pre1', 'resource') // 5
3333
packFormat('20w45a', 'data') // 6
34-
packFormat.LATEST.data // 81
35-
packFormat.LATEST.version // 1.21.7
34+
packFormat.LATEST.data // 83.1
35+
packFormat.LATEST.version // 1.21.8
3636
```
3737

3838
Retrieve a list of versions corresponding to a specific `pack_format`, again optionally specifying resource/data pack version.
@@ -41,6 +41,7 @@ Retrieve a list of versions corresponding to a specific `pack_format`, again opt
4141
const {getVersions} = require('pack-format')
4242
getVersions(3) // { releases: { min: '1.11.x', max: '1.12.x' }, snapshots: { min: '16w32a', max: '17w47a' } }
4343
getVersions(6, 'data') // { releases: { min: '1.15.x', max: '1.16.1' }, snapshots: { min: '20w06a', max: '20w44a' } }
44+
getVersions(64, 'resource') // { releases: { min: '1.21.7', max: '1.21.8' }, snapshots: { min: null, max: null } }
4445
```
4546

4647
### Command line

0 commit comments

Comments
 (0)