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

@fimbul/mithotyn

Package Overview
Dependencies
Maintainers
2
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fimbul/mithotyn - npm Package Compare versions

Comparing version 0.24.0-dev.20210214 to 0.24.0-dev.20210218

12

index.js
"use strict";
/// <reference types="typescript/lib/tsserverlibrary" />
const mockRequire = require("mock-require");
const util = require("util");
const init = ({ typescript }) => {

@@ -17,2 +18,10 @@ let plugin = {};

const logger = project.projectService.logger;
try {
// tslint:disable-next-line:no-implicit-dependencies
const { debug } = r('debug');
if (debug.inspectOpts)
debug.inspectOpts.hideDate = true;
debug.log = (...args) => logger.info('[debug] ' + util.format(...args));
}
catch { }
// always load locally installed linter

@@ -36,4 +45,3 @@ const lsPlugin = r('@fimbul/wotan/language-service');

let lastMessage;
const required = typescript.server.Project.resolveModule(id, project.getCurrentDirectory(), // TODO require should be relative to the location of the linter
serverHost, (message) => {
const required = typescript.server.Project.resolveModule(id, project.getCurrentDirectory(), serverHost, (message) => {
lastMessage = message;

@@ -40,0 +48,0 @@ log(message);

2

package.json
{
"name": "@fimbul/mithotyn",
"version": "0.24.0-dev.20210214",
"version": "0.24.0-dev.20210218",
"description": "TypeScript LanguageService plugin for the Fimbullinter project",

@@ -5,0 +5,0 @@ "main": "index",

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