Skip to content

Commit eb44eaa

Browse files
committed
4.0.5 (chore): README.md: fixes typo and an example
1 parent eb761e4 commit eb44eaa

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ const sorted = assign(
101101
{},
102102
parsed,
103103
// You could also use your custom sorting function
104-
Object.keys().sort()
104+
Object.keys(parsed).sort()
105105
)
106106

107107
console.log(stringify(sorted, null, 2))
@@ -463,7 +463,7 @@ stringify(obj, null, 2)
463463
// }
464464
```
465465
466-
Non-property symbols includes:
466+
Non-property symbols include:
467467
468468
```js
469469
Symbol.for('before-all')

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "comment-json",
3-
"version": "4.0.4",
3+
"version": "4.0.5",
44
"description": "Parse and stringify JSON with comments. It will retain comments even after saved!",
55
"main": "src/index.js",
66
"scripts": {

0 commit comments

Comments
 (0)