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

typescript-strict-plugin

Package Overview
Dependencies
Maintainers
2
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

typescript-strict-plugin - npm Package Compare versions

Comparing version 2.4.1 to 2.4.2-beta.0

29

dist/plugin/index.js
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
o["default"] = v;
});
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
__setModuleDefault(result, mod);
return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
const PluginStrictFileChecker_1 = require("./PluginStrictFileChecker");
const utils_1 = require("./utils");
const init = ({ typescript }) => {
const ts = __importStar(require("typescript/lib/tsserverlibrary"));
const init = () => {
function create(info) {
const proxy = (0, utils_1.setupLanguageServiceProxy)(info);
const strictLanguageServiceHost = (0, utils_1.setupStrictLanguageServiceHostProxy)(info);
const strictLanguageService = typescript.createLanguageService(strictLanguageServiceHost);
strictLanguageService.getProgram();
const strictLanguageService = ts.createLanguageService(strictLanguageServiceHost);
(0, utils_1.log)(info, 'Plugin initialized');

@@ -12,0 +35,0 @@ proxy.getSemanticDiagnostics = function (filePath) {

2

package.json
{
"name": "typescript-strict-plugin",
"version": "2.4.1",
"version": "2.4.2-beta.0",
"description": "Typescript tools that help with migration to the strict mode",

@@ -5,0 +5,0 @@ "author": "Allegro",

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