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

eslint-plugin-orbit-components

Package Overview
Dependencies
Maintainers
17
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-orbit-components - npm Package Compare versions

Comparing version 0.0.0-development.5 to 0.0.0-development.6

17

dist/utils/isToken.js

@@ -33,10 +33,13 @@ "use strict";

var returnObj = [];
variables.forEach(function (variable) {
if (Object.keys(tokens).includes(variable)) {
returnObj.push("$token");
} else {
returnObj.push("$variable");
}
});
if (Array.isArray(variables)) {
variables.forEach(function (variable) {
if (Object.keys(tokens).includes(variable)) {
returnObj.push("$token");
} else {
returnObj.push("$variable");
}
});
}
if (returnObj.includes("$variable")) {

@@ -43,0 +46,0 @@ return "$variable";

{
"name": "eslint-plugin-orbit-components",
"version": "0.0.0-development.5",
"version": "0.0.0-development.6",
"description": "ESLint for orbit-components",

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

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