@vltpkg/dss-breadcrumb 1.3.7 → 1.4.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/dist/index.js +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -118,7 +118,7 @@ export class Breadcrumb {
|
|
|
118
118
|
constructor(query) {
|
|
119
119
|
this.#items = [];
|
|
120
120
|
this.specificity = { idCounter: 0, commonCounter: 0 };
|
|
121
|
-
const ast = parse(query);
|
|
121
|
+
const ast = parse(query, { loose: true });
|
|
122
122
|
// Track whether we encountered a combinator since the last item
|
|
123
123
|
let afterCombinator = true;
|
|
124
124
|
// iterates only at the first level of the AST since any
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vltpkg/dss-breadcrumb",
|
|
3
3
|
"description": "The Dependency Selector Syntax (DSS) breadcrumb utilities",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.4.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "git+https://github.com/vltpkg/vltpkg.git",
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
"url": "http://vlt.sh"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@vltpkg/dss-parser": "1.
|
|
17
|
-
"@vltpkg/error-cause": "1.
|
|
16
|
+
"@vltpkg/dss-parser": "1.4.0",
|
|
17
|
+
"@vltpkg/error-cause": "1.4.0"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@eslint/js": "^9.39.1",
|