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.8.0-dev.20180416 to 0.8.0-dev.20180419

2

package.json
{
"name": "@fimbul/mimir",
"version": "0.8.0-dev.20180416",
"version": "0.8.0-dev.20180419",
"description": "Core rules of the Fimbullinter project",

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

@@ -16,3 +16,6 @@ "use strict";

const keywordStart = node.expression.pos - 'await'.length;
this.addFailure(keywordStart, node.expression.pos, FAIL_MESSAGE, ymir_1.Replacement.delete(keywordStart, node.expression.getStart(this.sourceFile)));
const replacements = [ymir_1.Replacement.delete(keywordStart, node.expression.getStart(this.sourceFile))];
if (tsutils_1.isArrowFunction(node.parent) && node.expression.kind === ts.SyntaxKind.ObjectLiteralExpression)
replacements.push(ymir_1.Replacement.append(node.expression.getStart(this.sourceFile), '('), ymir_1.Replacement.append(node.expression.getEnd(), ')'));
this.addFailure(keywordStart, node.expression.pos, FAIL_MESSAGE, replacements);
}

@@ -19,0 +22,0 @@ }

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