Socket
Socket
Sign inDemoInstall

eslint-plugin-unicorn

Package Overview
Dependencies
Maintainers
2
Versions
105
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-unicorn - npm Package Compare versions

Comparing version 48.0.0 to 48.0.1

4

package.json
{
"name": "eslint-plugin-unicorn",
"version": "48.0.0",
"version": "48.0.1",
"description": "More than 100 powerful ESLint rules",

@@ -70,3 +70,3 @@ "license": "MIT",

"@lubien/fixture-beta-package": "^1.0.0-beta.1",
"@typescript-eslint/parser": "^5.61.0",
"@typescript-eslint/parser": "^6.2.0",
"ava": "^3.15.0",

@@ -73,0 +73,0 @@ "c8": "^8.0.0",

@@ -9,3 +9,3 @@ 'use strict';

const isDirective = node => node.type === 'ExpressionStatement' && 'directive' in node;
const isDirective = node => node.type === 'ExpressionStatement' && typeof node.directive === 'string';
const isEmpty = node => isEmptyNode(node, isDirective);

@@ -12,0 +12,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