From 6614e754520c2ab73ad3904f30311f04ad4bf7b9 Mon Sep 17 00:00:00 2001 From: Roman Dvornov Date: Fri, 18 Oct 2024 03:56:41 +0200 Subject: [PATCH] 0.6.2 --- CHANGELOG.md | 2 +- LICENSE | 2 +- README.md | 2 +- package-lock.json | 4 ++-- package.json | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bea5a47..4bfc2b5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -## next +## 0.6.2 (2024-10-18) - Added `spaceBytes` field to `stringifyInfo()` result, which indicates the number of bytes used for white spaces. This allows for estimating size of `JSON.stringify()` result with and without formatting (when `space` option is used) in a single pass instead of two - Fixed `stringifyInfo()` to correctly accept the `space` parameter from options, i.e. `stringifyInfo(data, { space: 2 })` diff --git a/LICENSE b/LICENSE index 44f551a..44ccd5d 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2020 Roman Dvornov +Copyright (c) 2020-2024 Roman Dvornov Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index c7ea8a5..b765eaa 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ A set of utilities designed to extend JSON's capabilities, especially for handli - Available in both ESM and CommonJS - TypeScript typings included - No external dependencies -- Compact size: 8.5Kb (minified), 3.4Kb (min+gzip) +- Compact size: 9.4Kb (minified), 3.8Kb (min+gzip) ### Why json-ext? diff --git a/package-lock.json b/package-lock.json index e86aa93..f007ebd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@discoveryjs/json-ext", - "version": "0.6.1", + "version": "0.6.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@discoveryjs/json-ext", - "version": "0.6.1", + "version": "0.6.2", "license": "MIT", "devDependencies": { "c8": "^7.10.0", diff --git a/package.json b/package.json index 3e3bb25..e7732ae 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@discoveryjs/json-ext", - "version": "0.6.1", + "version": "0.6.2", "description": "A set of utilities that extend the use of JSON", "keywords": [ "json",