@sarj/eslint-plugin 18.0.2 → 18.0.3
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.cjs +2 -2
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -895,7 +895,7 @@ function stableValueBinding(variable, acceptRead) {
|
|
|
895
895
|
var VIEWS = /* @__PURE__ */ new WeakMap();
|
|
896
896
|
function renderFunction(node) {
|
|
897
897
|
let parent = node.parent;
|
|
898
|
-
while (parent !== void 0) {
|
|
898
|
+
while (parent !== void 0 && parent !== null) {
|
|
899
899
|
if (isFunction(parent)) {
|
|
900
900
|
let view = VIEWS.get(parent);
|
|
901
901
|
if (view === void 0) {
|
|
@@ -5539,7 +5539,7 @@ function isSearchParamReceiver(call, services) {
|
|
|
5539
5539
|
// package.json
|
|
5540
5540
|
var package_default = {
|
|
5541
5541
|
name: "@sarj/eslint-plugin",
|
|
5542
|
-
version: "18.0.
|
|
5542
|
+
version: "18.0.3",
|
|
5543
5543
|
packageManager: "npm@12.2.1",
|
|
5544
5544
|
description: "Custom ESLint rules for hypermodern TypeScript / React / Next.js projects",
|
|
5545
5545
|
type: "module",
|
package/dist/index.js
CHANGED
|
@@ -850,7 +850,7 @@ function stableValueBinding(variable, acceptRead) {
|
|
|
850
850
|
var VIEWS = /* @__PURE__ */ new WeakMap();
|
|
851
851
|
function renderFunction(node) {
|
|
852
852
|
let parent = node.parent;
|
|
853
|
-
while (parent !== void 0) {
|
|
853
|
+
while (parent !== void 0 && parent !== null) {
|
|
854
854
|
if (isFunction(parent)) {
|
|
855
855
|
let view = VIEWS.get(parent);
|
|
856
856
|
if (view === void 0) {
|
|
@@ -5494,7 +5494,7 @@ function isSearchParamReceiver(call, services) {
|
|
|
5494
5494
|
// package.json
|
|
5495
5495
|
var package_default = {
|
|
5496
5496
|
name: "@sarj/eslint-plugin",
|
|
5497
|
-
version: "18.0.
|
|
5497
|
+
version: "18.0.3",
|
|
5498
5498
|
packageManager: "npm@12.2.1",
|
|
5499
5499
|
description: "Custom ESLint rules for hypermodern TypeScript / React / Next.js projects",
|
|
5500
5500
|
type: "module",
|