@grafana/react-detect 0.3.0-canary.2395.21022949463.0 → 0.3.0-canary.2395.21023152965.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.
|
@@ -34,7 +34,7 @@ class DependencyContext {
|
|
|
34
34
|
pruneCycles: false
|
|
35
35
|
});
|
|
36
36
|
} else if (lockfile === "yarn.lock") {
|
|
37
|
-
if (
|
|
37
|
+
if (/#\s*yarn lockfile v1/i.test(lockfileContent)) {
|
|
38
38
|
this.depGraph = await parseYarnLockV1Project(pkgJsonContentString, lockfileContent, {
|
|
39
39
|
includeDevDeps: true,
|
|
40
40
|
includeOptionalDeps: true,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@grafana/react-detect",
|
|
3
3
|
"description": "Run various checks to detect if a Grafana plugin is compatible with React.",
|
|
4
|
-
"version": "0.3.0-canary.2395.
|
|
4
|
+
"version": "0.3.0-canary.2395.21023152965.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"directory": "packages/react-detect",
|
|
7
7
|
"url": "https://github.com/grafana/plugin-tools"
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"engines": {
|
|
41
41
|
"node": ">=20"
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "2d906bece6457dd89becbc6c62a78ccfbdedd8f7"
|
|
44
44
|
}
|
package/src/commands/detect19.ts
CHANGED
|
@@ -37,7 +37,7 @@ export class DependencyContext {
|
|
|
37
37
|
pruneCycles: false,
|
|
38
38
|
});
|
|
39
39
|
} else if (lockfile === 'yarn.lock') {
|
|
40
|
-
if (
|
|
40
|
+
if (/#\s*yarn lockfile v1/i.test(lockfileContent)) {
|
|
41
41
|
this.depGraph = await parseYarnLockV1Project(pkgJsonContentString, lockfileContent, {
|
|
42
42
|
includeDevDeps: true,
|
|
43
43
|
includeOptionalDeps: true,
|