Skip to content

Commit

Permalink
0.6.2
Browse files Browse the repository at this point in the history
  • Loading branch information
lahmatiy committed Oct 18, 2024
1 parent 51e3b2c commit 6614e75
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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 })`
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2020 Roman Dvornov <[email protected]>
Copyright (c) 2020-2024 Roman Dvornov <[email protected]>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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?

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit 6614e75

Please sign in to comment.