@amritk/lint 0.4.0 → 0.4.2

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.
Files changed (2) hide show
  1. package/README.md +2 -2
  2. package/package.json +8 -4
package/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
  **A fast, format-agnostic JSON/YAML style-guide linter — JSON Schema validation and custom rules, with exact `line:column` findings.**
6
6
 
7
7
  ![status](https://img.shields.io/badge/status-pre--alpha-ef4444?style=flat-square) 
8
- ![version](https://img.shields.io/badge/version-v0.0.0-6366f1?style=flat-square&logo=npm&logoColor=white) 
8
+ ![version](https://img.shields.io/npm/v/@amritk/lint?style=flat-square&logo=npm&logoColor=white&label=version&color=6366f1) 
9
9
  ![license](https://img.shields.io/badge/license-MIT-22c55e?style=flat-square) 
10
10
  ![JSON Schema](https://img.shields.io/badge/JSON%20Schema-2020--12-f97316?style=flat-square) 
11
11
  ![node](https://img.shields.io/badge/node-%E2%89%A520-339933?style=flat-square&logo=node.js&logoColor=white) 
@@ -164,7 +164,7 @@ A ruleset is a plain object (authored as YAML, JSON, or a JS module):
164
164
  | `overrides` | Per-file-glob rule tweaks. |
165
165
  | `aliases` | Reusable `given` fragments referenced as `#alias`. |
166
166
 
167
- Built-in functions: `alphabetical`, `casing`, `defined`, `enumeration`, `falsy`, `length`, `pattern`, `schema`, `truthy`, `undefined`, `unreferencedReusableObject`, `xor`, `typedEnum`.
167
+ Built-in functions: `alphabetical`, `casing`, `defined`, `enumeration`, `falsy`, `length`, `or`, `pattern`, `schema`, `truthy`, `undefined`, `unreferencedReusableObject`, `xor`, `typedEnum`.
168
168
 
169
169
  ---
170
170
 
package/package.json CHANGED
@@ -1,9 +1,13 @@
1
1
  {
2
2
  "name": "@amritk/lint",
3
- "version": "0.4.0",
3
+ "version": "0.4.2",
4
4
  "description": "A fast, format-agnostic JSON/YAML style-guide linter with JSON Schema and custom rules.",
5
5
  "module": "./dist/index.js",
6
6
  "type": "module",
7
+ "sideEffects": false,
8
+ "engines": {
9
+ "node": ">=20"
10
+ },
7
11
  "license": "MIT",
8
12
  "author": "amritk",
9
13
  "keywords": [
@@ -56,12 +60,12 @@
56
60
  }
57
61
  },
58
62
  "dependencies": {
59
- "@amritk/runtime-validators": "0.8.0",
60
- "@amritk/yaml": "0.3.4",
63
+ "@amritk/runtime-validators": "0.9.1",
64
+ "@amritk/yaml": "0.3.5",
61
65
  "jsonc-parser": "^3.3.1"
62
66
  },
63
67
  "devDependencies": {
64
- "@amritk/resolve-refs": "0.4.4",
68
+ "@amritk/resolve-refs": "0.4.5",
65
69
  "@stoplight/spectral-core": "^1.23.1",
66
70
  "@stoplight/spectral-parsers": "^1.0.5",
67
71
  "@stoplight/spectral-rulesets": "^1.22.6"