From 61d31a84d9cc48bb0c48e30edf0fdabd8aebec43 Mon Sep 17 00:00:00 2001 From: Nixinova Date: Sun, 12 May 2024 02:25:19 +1200 Subject: [PATCH] 1.3.15 --- changelog.md | 3 ++- package-lock.json | 4 ++-- package.json | 2 +- test/test.js | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/changelog.md b/changelog.md index 0ff84e2..1c85ac4 100644 --- a/changelog.md +++ b/changelog.md @@ -1,6 +1,7 @@ # Changelog -## Next +## 1.3.15 +*2024-05-12* - Updated resource pack format to `32`. - Updated data pack format to `42`. diff --git a/package-lock.json b/package-lock.json index 1825416..d5fb9e8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "pack-format", - "version": "1.3.14", + "version": "1.3.15", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "pack-format", - "version": "1.3.14", + "version": "1.3.15", "license": "ISC", "bin": { "pack-format": "bin/index.js" diff --git a/package.json b/package.json index 5106b5f..aa2c1f3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "pack-format", - "version": "1.3.14", + "version": "1.3.15", "description": "Returns the pack_format of any Minecraft version, including snapshots", "scripts": { "prepublish": "tsc", diff --git a/test/test.js b/test/test.js index d13cb92..b348cfd 100644 --- a/test/test.js +++ b/test/test.js @@ -40,7 +40,7 @@ function testPackFormats() { const input = parts[1] || "[blank]" const type = { 'r': 'resource', 'd': 'data', '-': undefined }[parts[2]] - const result = parts[3] == 'none' ? undefined : +parts[3] + const result = parts[3] === 'none' ? undefined : parts[3] === 'null' ? null : +parts[3] testPackFormat(input, type, result) } }