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

@fimbul/ymir

Package Overview
Dependencies
Maintainers
2
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fimbul/ymir - npm Package Compare versions

Comparing version 0.9.0 to 0.11.0

4

package.json
{
"name": "@fimbul/ymir",
"version": "0.9.0",
"version": "0.11.0",
"description": "Core library for the Fimbullinter project",

@@ -31,5 +31,5 @@ "publishConfig": {

"peerDependencies": {
"typescript": "*",
"typescript": ">= 2.7.1 || >= 3.0.0-dev || >= 3.0.0-insiders || 3.0.0-rc || >= 3.1.0-dev",
"tsutils": ">2.19.0"
}
}

@@ -75,5 +75,6 @@ import 'reflect-metadata';

export declare function isTypescriptFile(sourceFile: ts.SourceFile): boolean;
export declare function typescriptOnly<T extends typeof AbstractRule>(target: T): void;
export declare function excludeDeclarationFiles<T extends typeof AbstractRule>(target: T): void;
export declare function requireLibraryFile(fileName: string): <T extends typeof TypedRule>(target: T) => void;
export declare function typescriptOnly(target: typeof AbstractRule): void;
export declare function excludeDeclarationFiles(target: typeof AbstractRule): void;
export declare function requireLibraryFile(fileName: string): (target: typeof TypedRule) => void;
export declare function requiresStrictNullChecks(target: typeof TypedRule): void;
export declare type RuleSupportsPredicate = (sourceFile: ts.SourceFile, context: RuleSupportsContext) => boolean;

@@ -179,3 +180,3 @@ export declare abstract class AbstractRule {

Json = "json",
Json5 = "json5",
Json5 = "json5"
}

@@ -227,3 +228,3 @@ export interface ProcessorConstructor {

Processor = "processor",
Formatter = "formatter",
Formatter = "formatter"
}

@@ -230,0 +231,0 @@ export interface FileSystem {

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

}
function requiresStrictNullChecks(target) {
target.supports = combinePredicates(target.supports, (_, context) => isStrictNullChecksEnabled(context.program.getCompilerOptions()));
}
exports.requiresStrictNullChecks = requiresStrictNullChecks;
function isStrictNullChecksEnabled(options) {
return options.strict ? options.strictNullChecks !== false : options.strictNullChecks === true;
}
class AbstractRule {

@@ -73,0 +80,0 @@ constructor(context) {

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