@prantlf/jsonlint 14.0.0 → 14.0.1

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 CHANGED
@@ -1,3 +1,10 @@
1
+ ## [14.0.1](https://github.com/prantlf/jsonlint/compare/v14.0.0...v14.0.1) (2023-03-07)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * Prevent setting a constant variable ([c7e940c](https://github.com/prantlf/jsonlint/commit/c7e940c4d59b594bca3c32ff974c91b69d44feb6))
7
+
1
8
  # [14.0.0](https://github.com/prantlf/jsonlint/compare/v13.1.0...v14.0.0) (2023-03-05)
2
9
 
3
10
 
@@ -8,11 +15,7 @@
8
15
 
9
16
  ### BREAKING CHANGES
10
17
 
11
- * Although you shouldn't notice any change on the behaviour of the command line, something unexpected might've changed. Something did change
12
- - if you're annoyed by inserting "--" between the multi-value option and other
13
- arguments, you don't have to do it any more. Multi-value options can be entered
14
- either using the option prefix multiple times for each value, or using
15
- the option prefix just once and separating the values by commas.
18
+ * Although you shouldn't notice any change on the behaviour of the command line, something unexpected might've changed. Something did change: if you're annoyed by inserting "--" between the multi-value option and other arguments, you don't have to do it any more. Multi-value options can be entered either using the option prefix multiple times for each value, or using the option prefix just once and separating the values by commas.
16
19
 
17
20
  # [13.1.0](https://github.com/prantlf/jsonlint/compare/v13.0.1...v13.1.0) (2023-03-05)
18
21
 
package/lib/cli.js CHANGED
@@ -499,9 +499,6 @@ function processPatterns (patterns) {
499
499
  }
500
500
 
501
501
  function main () {
502
- if (!args.length) {
503
- args = params.patterns || []
504
- }
505
502
  if (args.length) {
506
503
  const dynamic = args.some(file => isDynamicPattern(file))
507
504
  if (dynamic) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prantlf/jsonlint",
3
- "version": "14.0.0",
3
+ "version": "14.0.1",
4
4
  "description": "JSON/CJSON/JSON5 parser, syntax and schema validator and pretty-printer.",
5
5
  "author": "Ferdinand Prantl <prantlf@gmail.com> (http://prantl.tk)",
6
6
  "contributors": [