Socket
Socket
Sign inDemoInstall

solium

Package Overview
Dependencies
3
Maintainers
1
Versions
56
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.0 to 0.1.1

21

lib/rules.js

@@ -41,15 +41,16 @@ /**

/**
* If a rule is set to false, remove it from config object.
* Otherwise, include its definition if its the name of a built-in rule
*/
if (!userRules [key]) {
delete userRules [key];
} else {
if (!soliumRules [key]) {
throw new Error ('Specified rule \'' + key + '\' doesn\'t exist');
} else {
userRules [key] = soliumRules [key];
} else if (soliumRules [key]) {
Object.assign (userRules [key], {
id: idCounter++,
custom: false
});
}
userRules [key] = soliumRules [key];
Object.assign (userRules [key], {
id: idCounter++,
custom: false
});
}

@@ -56,0 +57,0 @@

{
"name": "solium",
"version": "0.1.0",
"version": "0.1.1",
"description": "A flexible, stand-alone linter for Ethereum Solidity",

@@ -5,0 +5,0 @@ "main": "./lib/solium.js",

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc