@vltpkg/dep-id 0.0.0-2 → 0.0.0-4

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 +9 -10
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -2,11 +2,10 @@
2
2
 
3
3
  # @vltpkg/dep-id
4
4
 
5
- A library for serializing dependencies into terse string identifiers, and turning those serialized identifiers back into `Spec` objects.
5
+ A library for serializing dependencies into terse string identifiers,
6
+ and turning those serialized identifiers back into `Spec` objects.
6
7
 
7
- **[Usage](#usage)**
8
- ·
9
- **[Note](#note)**
8
+ **[Usage](#usage)** · **[Note](#note)**
10
9
 
11
10
  ## Usage
12
11
 
@@ -50,12 +49,12 @@ const spec = hydrate('git;github:a/b;branch', 'x') // x@github:a/b#branch
50
49
 
51
50
  ### Note
52
51
 
53
- multiple different spec/manifest combinations _can_ result
54
- in the same identifier. For example, the specifiers
55
- `x@npm:y@latest` and `asdf@npm:y@1.x` might both ultimately
56
- resolve to the same package, so they only need to appear in the
57
- store once.
52
+ multiple different spec/manifest combinations _can_ result in the same
53
+ identifier. For example, the specifiers `x@npm:y@latest` and
54
+ `asdf@npm:y@1.x` might both ultimately resolve to the same package, so
55
+ they only need to appear in the store once.
58
56
 
59
57
  ## BROWSER API
60
58
 
61
- An isomorphic API `@vltpkg/dep-id/browser` is provided for use in the browser.
59
+ An isomorphic API `@vltpkg/dep-id/browser` is provided for use in the
60
+ browser.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vltpkg/dep-id",
3
3
  "description": "create and hydrate dependency IDs",
4
- "version": "0.0.0-2",
4
+ "version": "0.0.0-4",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/vltpkg/vltpkg.git",
@@ -20,9 +20,9 @@
20
20
  }
21
21
  },
22
22
  "dependencies": {
23
- "@vltpkg/error-cause": "0.0.0-2",
24
- "@vltpkg/spec": "0.0.0-2",
25
- "@vltpkg/types": "0.0.0-2"
23
+ "@vltpkg/error-cause": "0.0.0-4",
24
+ "@vltpkg/types": "0.0.0-4",
25
+ "@vltpkg/spec": "0.0.0-4"
26
26
  },
27
27
  "devDependencies": {
28
28
  "@eslint/js": "^9.20.0",