eslint-plugin-kerfjs 5.0.0-beta.21 → 5.0.0-beta.23

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/index.js CHANGED
@@ -12,7 +12,7 @@ import uiPublicBoundaries from './lib/rules/ui-public-boundaries.js';
12
12
  import uiWiring from './lib/rules/ui-wiring.js';
13
13
 
14
14
  const plugin = {
15
- meta: { name: 'eslint-plugin-kerfjs', version: '5.0.0-beta.21' },
15
+ meta: { name: 'eslint-plugin-kerfjs', version: '5.0.0-beta.23' },
16
16
  rules: {
17
17
  'no-inline-jsx-event-handlers': noInlineJsxEventHandlers,
18
18
  'no-raw-with-dynamic-arg': noRawWithDynamicArg,
@@ -132,6 +132,8 @@ export function loadUiContract(context) {
132
132
  const key = `${selection.package}:${entry.id}`;
133
133
  if (entry.delivery?.browserImport)
134
134
  imports.set(entry.delivery.browserImport, key);
135
+ if (entry.delivery?.moduleImport)
136
+ imports.set(entry.delivery.moduleImport, key);
135
137
  for (const name of entry.publicExports ?? []) {
136
138
  exports.set(name, key);
137
139
  addHelperSource(name, selection.package);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-kerfjs",
3
- "version": "5.0.0-beta.21",
3
+ "version": "5.0.0-beta.23",
4
4
  "description": "ESLint rules that enforce kerf's hard rules — catches AI-shaped bugs at edit time.",
5
5
  "type": "module",
6
6
  "license": "MIT",