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

@fimbul/mimir

Package Overview
Dependencies
Maintainers
2
Versions
125
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fimbul/mimir - npm Package Compare versions

Comparing version 0.10.0-dev.20180515 to 0.10.0-dev.20180517

2

package.json
{
"name": "@fimbul/mimir",
"version": "0.10.0-dev.20180515",
"version": "0.10.0-dev.20180517",
"description": "Core rules of the Fimbullinter project",

@@ -5,0 +5,0 @@ "main": "recommended.yaml",

@@ -50,2 +50,3 @@ # Mímir

`no-useless-spread` | Detects redundant array and object spread which can safely be removed. | There's no similar TSLint rule.
`parameter-properties` | Enforces or disallows the use of parameter properties. This rule is **not** enabled in `wotan:recommended`. | TSlint only has `no-parameter-properties` to disallow all parameter properties and has no autofixer.
`prefer-const` | Prefer `const` for variables that are never reassigned. Use option `{destructuring: "any"}` if you want to see failures for each identifier of a destructuring, even if not all of them can be constants. The default is `{destructuring: "all"}`. | TSLint's `prefer-const` rule gives some false positives for merged declarations and variables used in before being declared which results in a compiler error after fixing.

@@ -52,0 +53,0 @@ `prefer-dot-notation` | Prefer `obj.foo` over `obj['foo']` where possible. | Same as TSLint's `no-string-literal` rule, but more performant.

@@ -10,3 +10,4 @@ "use strict";

for (const node of this.context.getFlatAst()) {
if (tsutils_1.isElementAccessExpression(node) && node.argumentExpression !== undefined &&
if (tsutils_1.isElementAccessExpression(node) &&
node.argumentExpression !== undefined &&
tsutils_1.isTextualLiteral(node.argumentExpression) && tsutils_1.isValidPropertyAccess(node.argumentExpression.text)) {

@@ -13,0 +14,0 @@ const property = ts.unescapeIdentifier(node.argumentExpression.text);

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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