@heyramzi/lint 2.11.4 → 2.11.5

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/jev.js +5 -3
  2. package/package.json +1 -1
package/jev.js CHANGED
@@ -41,10 +41,12 @@ function passFields() {
41
41
  { encoding: "utf8", stdio: ["ignore", "pipe", "ignore"], timeout: 30_000 },
42
42
  ),
43
43
  );
44
+ // pass-cli files fields added after the item's creation under `extra_fields`, not a section.
44
45
  passed = Object.fromEntries(
45
- item.content.content.Custom.sections
46
- .flatMap((section) => section.section_fields)
47
- .map((field) => [field.name, String(Object.values(field.content)[0] ?? "")]),
46
+ [
47
+ ...item.content.content.Custom.sections.flatMap((section) => section.section_fields),
48
+ ...(item.content.extra_fields ?? []),
49
+ ].map((field) => [field.name, String(Object.values(field.content)[0] ?? "")]),
48
50
  );
49
51
  } catch {
50
52
  passed = {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@heyramzi/lint",
3
- "version": "2.11.4",
3
+ "version": "2.11.5",
4
4
  "description": "Shared oxlint rules, base config and gates for Studio projects",
5
5
  "license": "MIT",
6
6
  "repository": {