New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

typescript-language-server

Package Overview
Dependencies
Maintainers
2
Versions
136
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

typescript-language-server - npm Package Compare versions

Comparing version 0.1.7 to 0.1.8

lib/non-file-uri.spec.d.ts

2

lib/diagnostic-queue.js
"use strict";
/*
* Copyright (C) 2017 TypeFox and others.
* Copyright (C) 2017, 2018 TypeFox and others.
*

@@ -5,0 +5,0 @@ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.

"use strict";
/*
* Copyright (C) 2017, 2018 TypeFox and others.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
*/
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

@@ -3,0 +9,0 @@ return new (P || (P = Promise))(function (resolve, reject) {

"use strict";
/*
* Copyright (C) 2017, 2018 TypeFox and others.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -3,0 +9,0 @@ const chai = require("chai");

"use strict";
/*
* Copyright (C) 2017 TypeFox and others.
* Copyright (C) 2017, 2018 TypeFox and others.
*

@@ -5,0 +5,0 @@ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.

"use strict";
/*
* Copyright (C) 2017 TypeFox and others.
* Copyright (C) 2017, 2018 TypeFox and others.
*

@@ -5,0 +5,0 @@ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.

"use strict";
/*
* Copyright (C) 2017 TypeFox and others.
* Copyright (C) 2017, 2018 TypeFox and others.
*

@@ -5,0 +5,0 @@ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.

"use strict";
/*
* Copyright (C) 2017 TypeFox and others.
* Copyright (C) 2017, 2018 TypeFox and others.
*

@@ -5,0 +5,0 @@ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.

"use strict";
/*
* Copyright (C) 2017 TypeFox and others.
* Copyright (C) 2017, 2018 TypeFox and others.
*

@@ -5,0 +5,0 @@ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.

"use strict";
/*
* Copyright (C) 2017 TypeFox and others.
* Copyright (C) 2017, 2018 TypeFox and others.
*

@@ -5,0 +5,0 @@ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.

"use strict";
/*
* Copyright (C) 2017, 2018 TypeFox and others.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -3,0 +9,0 @@ const fs = require("fs");

"use strict";
/*
* Copyright (C) 2017, 2018 TypeFox and others.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -3,0 +9,0 @@ const chai = require("chai");

"use strict";
/*
* Copyright (C) 2017 TypeFox and others.
* Copyright (C) 2017, 2018 TypeFox and others.
*

@@ -14,2 +14,5 @@ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.

const uri = vscode_uri_1.default.parse(stringUri);
if (uri.scheme !== 'file') {
return stringUri;
}
return uri.fsPath;

@@ -19,2 +22,5 @@ }

function pathToUri(p) {
if (p.indexOf(':') !== -1) {
return p;
}
return 'file://' + (utils_1.isWindows() ? '/' + p.replace(/\//g, '/') : p);

@@ -21,0 +27,0 @@ }

"use strict";
/*
* Copyright (C) 2017 TypeFox and others.
* Copyright (C) 2017, 2018 TypeFox and others.
*

@@ -5,0 +5,0 @@ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.

"use strict";
/*
* Copyright (C) 2017 TypeFox and others.
* Copyright (C) 2017, 2018 TypeFox and others.
*

@@ -5,0 +5,0 @@ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.

"use strict";
/*
* Copyright (C) 2017 TypeFox and others.
* Copyright (C) 2017, 2018 TypeFox and others.
*

@@ -5,0 +5,0 @@ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.

export declare class Deferred<T> {
private operation;
private timer;
constructor(operation: string, timeout?: number);

@@ -4,0 +5,0 @@ resolve: (value?: T) => void;

"use strict";
/*
* Copyright (C) 2017 TypeFox and others.
* Copyright (C) 2017, 2018 TypeFox and others.
*

@@ -9,2 +9,3 @@ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.

Object.defineProperty(exports, "__esModule", { value: true });
const timers_1 = require("timers");
class Deferred {

@@ -14,6 +15,12 @@ constructor(operation, timeout) {

this.promise = new Promise((resolve, reject) => {
this.resolve = resolve;
this.reject = reject;
this.resolve = obj => {
timers_1.clearTimeout(this.timer);
resolve(obj);
};
this.reject = obj => {
timers_1.clearTimeout(this.timer);
reject(obj);
};
});
setTimeout(() => {
this.timer = setTimeout(() => {
this.reject(new Error(this.operation + " timeout"));

@@ -20,0 +27,0 @@ }, timeout || 20000);

{
"name": "typescript-language-server",
"version": "0.1.7",
"version": "0.1.8",
"description": "Language Server Protocol (LSP) implementation for TypeScript using tsserver",

@@ -5,0 +5,0 @@ "repository": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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