capdag 0.169.414 → 0.170.416

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/capdag.js +1 -7
  2. package/package.json +2 -2
package/capdag.js CHANGED
@@ -2,7 +2,7 @@
2
2
  // Follows the exact same rules as Rust, Go, and Objective-C implementations
3
3
 
4
4
  // Import TaggedUrn from the tagged-urn package
5
- const { TaggedUrn, valuesMatch: taggedUrnValuesMatch } = require('tagged-urn');
5
+ const { TaggedUrn, valuesMatch: taggedUrnValuesMatch, scoreTagValue } = require('tagged-urn');
6
6
 
7
7
  /**
8
8
  * Error types for Cap URN operations
@@ -113,12 +113,6 @@ function validatePreservedDirectionSpec(spec, tagName) {
113
113
  }
114
114
  }
115
115
 
116
- // Per-tag truth-table specificity scoring is owned by the
117
- // tagged-urn module — same scorer applies uniformly to media-URN
118
- // tags, cap-tag y-axis, and any other Tagged URN dimension. We
119
- // re-use the canonical implementation rather than duplicate it.
120
- const { scoreTagValue } = require('tagged-urn');
121
-
122
116
  /**
123
117
  * Functional category of a cap, derived from all three axes (`in`,
124
118
  * `out`, and the remaining tags). The classification is **logical** —
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "author": "Bahram Joharshamshiri",
3
3
  "dependencies": {
4
4
  "peggy": "^5.1.0",
5
- "tagged-urn": "^0.39.102"
5
+ "tagged-urn": "^0.40.107"
6
6
  },
7
7
  "description": "JavaScript implementation of Cap URN (Capability Uniform Resource Names) with strict validation and matching",
8
8
  "engines": {
@@ -40,5 +40,5 @@
40
40
  "pretest": "npm run build:parser",
41
41
  "test": "node capdag.test.js"
42
42
  },
43
- "version": "0.169.414"
43
+ "version": "0.170.416"
44
44
  }