Skip to content

Commit

Permalink
json-stringify-pretty-compact v3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lydell committed Feb 20, 2021
1 parent 61fd170 commit 5810537
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
### Version 3.0.0 (2021-02-20)

- Changed: The TypeScript definition is now closer to `JSON.stringify`. It’s slightly stricter, but I doubt you’ll notice a difference.
- Added: `"type": "commonjs", "exports": "./index.js", "types": "index.d.ts"` to package.json. I doubt you’ll notice any difference from this either.

### Version 2.0.0 (2019-02-02)

- Removed: The `margins` option. Check out [@aitodotai/json-stringify-pretty-compact] if you miss it. This package is now purely a combination of `JSON.stringify(obj)` and `JSON.stringify(obj, null, 2)` with no additional formatting features on top of that.
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2014, 2016, 2017, 2019 Simon Lydell
Copyright (c) 2014, 2016, 2017, 2019, 2021 Simon Lydell

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 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": "json-stringify-pretty-compact",
"version": "2.0.0",
"version": "3.0.0",
"author": "Simon Lydell",
"license": "MIT",
"description": "The best of both `JSON.stringify(obj)` and `JSON.stringify(obj, null, indent)`.",
Expand Down

0 comments on commit 5810537

Please sign in to comment.