@nodii/dev 0.6.68 → 0.6.69
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.
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
// it until it returns [] (each round can reveal instances inside slot
|
|
31
31
|
// content).
|
|
32
32
|
|
|
33
|
-
export const VERSION = "1.0.
|
|
33
|
+
export const VERSION = "1.0.12";
|
|
34
34
|
|
|
35
35
|
/** @typedef {{ nodeId: string, check: string, detail: string }} Finding */
|
|
36
36
|
/**
|
|
@@ -828,8 +828,13 @@ export function checkConformance({
|
|
|
828
828
|
// notFromLibrary: local parts and hand-drawn stand-ins, off the library.
|
|
829
829
|
if (!library && own) {
|
|
830
830
|
if (n.type === "COMPONENT" || n.type === "COMPONENT_SET") {
|
|
831
|
+
// A submitted variant is its own root, so its set is not in the
|
|
832
|
+
// walked tree; Figma's components map still names the set.
|
|
831
833
|
const setName =
|
|
832
|
-
n.type === "COMPONENT"
|
|
834
|
+
n.type === "COMPONENT"
|
|
835
|
+
? (a.parent.get(n.id)?.name ??
|
|
836
|
+
a.componentSets[a.components[n.id]?.componentSetId]?.name)
|
|
837
|
+
: null;
|
|
833
838
|
if (!SURFACE_NAME.test(n.name) && !SURFACE_NAME.test(setName ?? ""))
|
|
834
839
|
push(
|
|
835
840
|
findings,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nodii/dev",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.69",
|
|
4
4
|
"description": "Agent CLI for Nodii Dev, reached through the platform edge",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -20,6 +20,8 @@
|
|
|
20
20
|
"format": "git diff --check",
|
|
21
21
|
"test": "node --test test/*.test.js",
|
|
22
22
|
"pack:smoke": "node scripts/pack-smoke.mjs",
|
|
23
|
+
"edge-routes:refresh": "node scripts/edge-routes.mjs",
|
|
24
|
+
"edge-routes:check": "node scripts/edge-routes.mjs --check",
|
|
23
25
|
"openapi:snapshot": "node scripts/openapi-snapshot.mjs",
|
|
24
26
|
"openapi:ad-era": "node scripts/ad-era-openapi-snapshot.mjs",
|
|
25
27
|
"openapi:watchdog": "node scripts/watchdog-openapi-snapshot.mjs"
|