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

@withfig/eslint-plugin-fig-linter

Package Overview
Dependencies
Maintainers
7
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@withfig/eslint-plugin-fig-linter - npm Package Compare versions

Comparing version 1.4.0 to 1.4.1

2

package.json
{
"name": "@withfig/eslint-plugin-fig-linter",
"version": "1.4.0",
"version": "1.4.1",
"description": "This is a eslint plugin which is tailored for fig specs",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -17,3 +17,3 @@ module.exports = {

const optNameElementNodes =
optionNameNode.kind === "ArrayExpression"
optionNameNode.type === "ArrayExpression"
? optionNameNode.elements // name: ["--one", "--two"]

@@ -23,3 +23,3 @@ : [optionNameNode]; // name: "--one"

for (const node of optNameElementNodes) {
if (node.kind === "Literal" && typeof node.value === "string") {
if (node.type === "Literal" && typeof node.value === "string" && node.value.indexOf(" ") >= 0) {
report(node);

@@ -26,0 +26,0 @@ }

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