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

@stylistic/eslint-plugin-plus

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stylistic/eslint-plugin-plus - npm Package Compare versions

Comparing version 1.5.4 to 1.6.0

2

dist/indent-binary-ops.js

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

const lastTokenOfLineLeft = lastTokenOfLine(tokenLeft.loc.start.line);
const needAdditionIndent = firstTokenOfLineLeft?.type === "Keyword" && !["typeof", "instanceof"].includes(firstTokenOfLineLeft.value) || firstTokenOfLineLeft?.type === "Identifier" && firstTokenOfLineLeft.value === "type" || [":", "[", "(", "<", "="].includes(lastTokenOfLineLeft?.value || "");
const needAdditionIndent = firstTokenOfLineLeft?.type === "Keyword" && !["typeof", "instanceof", "this"].includes(firstTokenOfLineLeft.value) || firstTokenOfLineLeft?.type === "Identifier" && firstTokenOfLineLeft.value === "type" || [":", "[", "(", "<", "="].includes(lastTokenOfLineLeft?.value || "");
const indentTarget = getIndentOfLine(tokenLeft.loc.start.line) + (needAdditionIndent ? indentStr : "");

@@ -69,0 +69,0 @@ const indentRight = getIndentOfLine(tokenRight.loc.start.line);

{
"name": "@stylistic/eslint-plugin-plus",
"version": "1.5.4",
"version": "1.6.0",
"author": "Anthony Fu <anthonyfu117@hotmail.com>",

@@ -42,6 +42,6 @@ "license": "MIT",

"dependencies": {
"@typescript-eslint/utils": "^6.19.0"
"@typescript-eslint/utils": "^6.20.0"
},
"devDependencies": {
"@typescript-eslint/rule-tester": "^6.19.0"
"@typescript-eslint/rule-tester": "^6.20.0"
},

@@ -48,0 +48,0 @@ "scripts": {

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