New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

vite-plugin-linter

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vite-plugin-linter - npm Package Compare versions

Comparing version

to
2.0.5

2

CHANGELOG.md

@@ -30,3 +30,3 @@ ## 1.0.0 (2021-10-10)

## 2.0.4 (2023-08-17)
## 2.0.5 (2023-08-17)
* Fix null error

@@ -89,3 +89,5 @@ "use strict";

for (const key of Object.keys(record)) {
if (typeof record[key] === typeof object && maxDepth > 0) {
if (typeof record[key] === typeof object &&
record[key] !== null &&
maxDepth > 0) {
restoreFunctionsToObject(record[key], functions, maxDepth - 1);

@@ -92,0 +94,0 @@ }

@@ -5,3 +5,3 @@ {

"license": "MIT",
"version": "2.0.4",
"version": "2.0.5",
"scripts": {

@@ -8,0 +8,0 @@ "build": "tsc",

@@ -143,3 +143,7 @@ import path from "path";

for (const key of Object.keys(record)) {
if (typeof record[key] === typeof object && maxDepth > 0) {
if (
typeof record[key] === typeof object &&
record[key] !== null &&
maxDepth > 0
) {
restoreFunctionsToObject(record[key] as object, functions, maxDepth - 1);

@@ -146,0 +150,0 @@ }