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.20.0 to 0.21.0-dev.20190318

4

package.json
{
"name": "@fimbul/mimir",
"version": "0.20.0",
"version": "0.21.0-dev.20190318",
"description": "Core rules of the Fimbullinter project",

@@ -28,3 +28,3 @@ "main": "recommended.yaml",

"dependencies": {
"@fimbul/ymir": "^0.18.0",
"@fimbul/ymir": "0.21.0-dev.20190318",
"chalk": "^2.3.2",

@@ -31,0 +31,0 @@ "debug": "^4.0.0",

import { ConfigurableRule } from '@fimbul/ymir';
import * as ts from 'typescript';
export interface Options {

@@ -7,5 +6,4 @@ style: 'classic' | 'as';

export declare class Rule extends ConfigurableRule<Options> {
static supports(sourceFile: ts.SourceFile): boolean;
parseOptions(options: Partial<Options> | null | undefined): Options;
apply(): void;
}

@@ -9,5 +9,2 @@ "use strict";

let Rule = class Rule extends ymir_1.ConfigurableRule {
static supports(sourceFile) {
return sourceFile.languageVariant === ts.LanguageVariant.Standard;
}
parseOptions(options) {

@@ -24,3 +21,4 @@ return {

ymir_1.typescriptOnly,
ymir_1.excludeDeclarationFiles
ymir_1.excludeDeclarationFiles,
ymir_1.predicate((sourceFile) => sourceFile.languageVariant === ts.LanguageVariant.Standard || 'excludes JSX files')
], Rule);

@@ -27,0 +25,0 @@ exports.Rule = Rule;

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