jjpwrgem 0.3.3 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +27 -0
- package/npm-shrinkwrap.json +2 -2
- package/package.json +2 -2
- package/readme.md +12 -6
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,33 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.5.0](https://github.com/20jasper/JJPWRGEM/releases/tag/jjpwrgem-v0.5.0) - 2025-12-13
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- preferred width
|
|
15
|
+
|
|
16
|
+
### Documentation
|
|
17
|
+
|
|
18
|
+
- *perf*: npm installation overhead
|
|
19
|
+
- *perf*: add benchmarks docs and include throughput and speed benchmarks
|
|
20
|
+
|
|
21
|
+
### Performance
|
|
22
|
+
- benchmarks for uglification and prettifying with various CLI tools
|
|
23
|
+
|
|
24
|
+
## [0.4.0](https://github.com/20jasper/JJPWRGEM/releases/tag/jjpwrgem-v0.4.0) - 2025-12-10
|
|
25
|
+
|
|
26
|
+
### Changed
|
|
27
|
+
|
|
28
|
+
- default prettified indentation is now two spaces
|
|
29
|
+
- non-empty arrays write each item on its own line
|
|
30
|
+
- keep empty objects on a single line
|
|
31
|
+
|
|
32
|
+
### Tests
|
|
33
|
+
|
|
34
|
+
- add coverage for hard-to-format inputs
|
|
35
|
+
- add regression test for deeply nested JSON
|
|
36
|
+
|
|
10
37
|
## [0.3.3](https://github.com/20jasper/JJPWRGEM/releases/tag/jjpwrgem-v0.3.3) - 2025-12-09
|
|
11
38
|
|
|
12
39
|
### Fixed
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"hasInstallScript": true,
|
|
24
24
|
"license": "MIT",
|
|
25
25
|
"name": "jjpwrgem",
|
|
26
|
-
"version": "0.
|
|
26
|
+
"version": "0.5.0"
|
|
27
27
|
},
|
|
28
28
|
"node_modules/@isaacs/balanced-match": {
|
|
29
29
|
"engines": {
|
|
@@ -896,5 +896,5 @@
|
|
|
896
896
|
}
|
|
897
897
|
},
|
|
898
898
|
"requires": true,
|
|
899
|
-
"version": "0.
|
|
899
|
+
"version": "0.5.0"
|
|
900
900
|
}
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"artifactDownloadUrl": "https://github.com/20jasper/jjpwrgem/releases/download/jjpwrgem-v0.
|
|
2
|
+
"artifactDownloadUrl": "https://github.com/20jasper/jjpwrgem/releases/download/jjpwrgem-v0.5.0",
|
|
3
3
|
"author": "Jacob Asper <jacobasper191@gmail.com>",
|
|
4
4
|
"bin": {
|
|
5
5
|
"jjp": "run-jjp.js"
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
"zipExt": ".tar.xz"
|
|
94
94
|
}
|
|
95
95
|
},
|
|
96
|
-
"version": "0.
|
|
96
|
+
"version": "0.5.0",
|
|
97
97
|
"volta": {
|
|
98
98
|
"node": "18.14.1",
|
|
99
99
|
"npm": "9.5.0"
|
package/readme.md
CHANGED
|
@@ -41,12 +41,14 @@ help: insert colon and placeholder value
|
|
|
41
41
|
mise use -g github:20jasper/jjpwrgem
|
|
42
42
|
```
|
|
43
43
|
|
|
44
|
+
See [releases](https://github.com/20jasper/JJPWRGEM/releases) for shell and powershell installation instructions and raw binaries
|
|
45
|
+
|
|
46
|
+
Note: node adds ~60ms of overhead
|
|
47
|
+
|
|
44
48
|
```bash
|
|
45
49
|
npm install -g jjpwrgem
|
|
46
50
|
```
|
|
47
51
|
|
|
48
|
-
See [releases](https://github.com/20jasper/JJPWRGEM/releases) for shell and powershell installation instructions and raw binaries
|
|
49
|
-
|
|
50
52
|
### From source
|
|
51
53
|
|
|
52
54
|
```bash
|
|
@@ -72,6 +74,14 @@ How cases undefined by the spec are handled
|
|
|
72
74
|
- extensions such as trailing commas or comments are not allowed
|
|
73
75
|
- surrogates are not validated, eg a lone continuation byte is valid
|
|
74
76
|
|
|
77
|
+
### Is it blazingly fast™?
|
|
78
|
+
|
|
79
|
+
Axolotls can't walk so fast, so skateboards are pretty fast 🛹🐟
|
|
80
|
+
|
|
81
|
+
jjpwrgem can parse and pretty print a 1.7MB JSON file in around ~11ms and the average package.json in ~500 microseconds
|
|
82
|
+
|
|
83
|
+
See the [benchmarks](/benchmarks.md) for more info!
|
|
84
|
+
|
|
75
85
|
## FAQ
|
|
76
86
|
|
|
77
87
|
### What does JJPWRGEM stand for?
|
|
@@ -90,10 +100,6 @@ It sounds cool and the name isn't taken on any package managers
|
|
|
90
100
|
|
|
91
101
|
It's cool
|
|
92
102
|
|
|
93
|
-
### Is it blazingly fast™?
|
|
94
|
-
|
|
95
|
-
Axolotls can't walk so fast, so relatively, yes
|
|
96
|
-
|
|
97
103
|
### How long is an axolotl?
|
|
98
104
|
|
|
99
105
|
According to the San Diego zoo, "[a]n axolotl can reach 12 inches in length, but on average grows to about 9 inches[^axolotlFact]"
|