Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eslint-plugin-n8n-nodes-base

Package Overview
Dependencies
Maintainers
1
Versions
88
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-n8n-nodes-base - npm Package Compare versions

Comparing version 1.0.34 to 1.0.35

8

dist/lib/rules/node-param-default-wrong-for-number.js

@@ -54,9 +54,5 @@ var __create = Object.create;

return;
const name = import_getters.getters.nodeParam.getName(node);
const displayName = import_getters.getters.nodeParam.getDisplayName(node);
const hasNonNumberDefault = typeof _default.value !== "number";
const isIdParam = (name == null ? void 0 : name.value.toLowerCase().endsWith("id")) || (displayName == null ? void 0 : displayName.value.toLowerCase().endsWith("id"));
if (hasNonNumberDefault && isIdParam)
if (!Boolean(_default.value))
return;
if (hasNonNumberDefault) {
if (typeof _default.value !== "number") {
context.report({

@@ -63,0 +59,0 @@ messageId: "setNumberDefault",

{
"name": "eslint-plugin-n8n-nodes-base",
"version": "1.0.34",
"version": "1.0.35",
"main": "dist/index.js",

@@ -5,0 +5,0 @@ "author": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc