@variance-authority/core 0.26.0 → 0.28.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 CHANGED
@@ -1,5 +1,17 @@
1
1
  # @variance-authority/core
2
2
 
3
+ ## 0.28.0
4
+
5
+ No changes in this release.
6
+
7
+ ## 0.27.0
8
+
9
+ ### Minor Changes
10
+
11
+ - 7e7d00e: `variance` loads a command's modules only when that command runs. `variance --version` now loads 43 modules, down from 440. `comment --marker` loads 432, down from 915, and none of `distill`, `report` or `vantage`. `index --no-git` loads 274, down from 445.
12
+
13
+ Two new subpaths let the flag parser load without its package roots: `@variance-authority/core/nearest` exports `didYouMean` and `nearest`, and `@variance-authority/sense/checkout-path` exports `checkoutPath`.
14
+
3
15
  ## 0.26.0
4
16
 
5
17
  No changes in this release.
package/README.md CHANGED
@@ -159,6 +159,7 @@ specifier exports only the capture artifact.
159
159
  | `core/relate` | what rests on what: a file graph in adjacency form, the components a change reaches, and a closure digest over each one |
160
160
  | `core/segment` | columnar bytes: named columns, interned strings, and the validation a decode performs before it believes a file |
161
161
  | `core/share` | leaving those bytes where another machine finds them, as the latest of a mainline or a branch |
162
+ | `core/nearest` | `didYouMean` and `nearest`: the one name close enough to what was typed, for a refusal that suggests it |
162
163
  | `core/shard` | which shard runs which group of a suite, by recorded time, and how many shards it is worth: `shardCount` weighs each shard's `setup` against the time it saves, within a `budget` or up to a `max`, with `workers` running a shard's groups at once |
163
164
 
164
165
  Five of those are the order an answer travels through: `format`, `rules`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@variance-authority/core",
3
- "version": "0.26.0",
3
+ "version": "0.28.0",
4
4
  "description": "The Variance Authority format, rules, comparison, attribution and verdicts. Pure data in, pure data out, no DOM and no I/O.",
5
5
  "keywords": [
6
6
  "variance-authority",
@@ -27,6 +27,10 @@
27
27
  "types": "./dist/index.d.ts",
28
28
  "default": "./dist/index.js"
29
29
  },
30
+ "./nearest": {
31
+ "types": "./dist/nearest.d.ts",
32
+ "default": "./dist/nearest.js"
33
+ },
30
34
  "./format": {
31
35
  "types": "./dist/format/index.d.ts",
32
36
  "default": "./dist/format/index.js"
@@ -79,6 +83,6 @@
79
83
  "build": "tsc --build"
80
84
  },
81
85
  "devDependencies": {
82
- "@variance-authority/sense": "^0.26.0"
86
+ "@variance-authority/sense": "^0.28.0"
83
87
  }
84
88
  }