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

@volar/language-server

Package Overview
Dependencies
Maintainers
1
Versions
238
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@volar/language-server - npm Package Compare versions

Comparing version 1.1.0-alpha.1 to 1.1.0-alpha.2

19

out/browser/fileSystems.js

@@ -173,4 +173,4 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

const uri = shared.fileNameToUri(fsPath);
if (uri.startsWith('https://cdn.jsdelivr.net/npm/')) { // stat request always response file type for jsdelivr
const text = yield readJsdelivrFile(connection, uri);
if (uri.startsWith('https://unpkg.com/')) { // stat request always response file type for jsdelivr
const text = yield readWebFile(connection, uri);
if (text !== undefined) {

@@ -202,4 +202,4 @@ const name = path.basename(fsPath);

const uri = shared.fileNameToUri(fsPath);
if (uri.startsWith('https://cdn.jsdelivr.net/npm/')) {
const text = yield readJsdelivrFile(connection, uri);
if (uri.startsWith('https://unpkg.com/')) {
const text = yield readWebFile(connection, uri);
if (text !== undefined) {

@@ -227,3 +227,3 @@ const name = path.basename(fsPath);

}
function readJsdelivrFile(connection, uri) {
function readWebFile(connection, uri) {
var _a;

@@ -233,8 +233,3 @@ return __awaiter(this, void 0, void 0, function* () {

if (uri.endsWith('.d.ts') || uri.endsWith('.json')) {
const text = (_a = yield connection.sendRequest(protocol_1.FsReadFileRequest.type, uri)) !== null && _a !== void 0 ? _a : undefined;
if (text !== undefined
// ignore https://cdn.jsdelivr.net/npm/@vue/runtime-dom
&& text.indexOf('Minified by jsDelivr') === -1) {
return text;
}
return (_a = yield connection.sendRequest(protocol_1.FsReadFileRequest.type, uri)) !== null && _a !== void 0 ? _a : undefined;
}

@@ -270,3 +265,3 @@ });

progress === null || progress === void 0 ? void 0 : progress.report(i / pendings.length, vscode_uri_1.URI.parse(shared.fileNameToUri(current[1])).fsPath);
yield current;
yield current[2];
i++;

@@ -273,0 +268,0 @@ }

@@ -17,3 +17,3 @@ import * as embedded from '@volar/language-core';

export declare function createProject(context: ProjectContext): Promise<{
tsConfig: ts.CompilerOptions | path.PosixPath;
tsConfig: path.PosixPath | ts.CompilerOptions;
scripts: {

@@ -20,0 +20,0 @@ clear: () => void;

{
"name": "@volar/language-server",
"version": "1.1.0-alpha.1",
"version": "1.1.0-alpha.2",
"main": "out/index.js",

@@ -16,9 +16,9 @@ "license": "MIT",

"type": "git",
"url": "https://github.com/volarjs/framework.git",
"url": "https://github.com/volarjs/volar.js.git",
"directory": "packages/language-server"
},
"dependencies": {
"@volar/language-core": "1.1.0-alpha.1",
"@volar/language-service": "1.1.0-alpha.1",
"@volar/shared": "1.1.0-alpha.1",
"@volar/language-core": "1.1.0-alpha.2",
"@volar/language-service": "1.1.0-alpha.2",
"@volar/shared": "1.1.0-alpha.2",
"@vscode/l10n": "^0.0.10",

@@ -33,3 +33,3 @@ "request-light": "^0.6.0",

},
"gitHead": "85666d83fafb0be442c55defb64fb0128b73bc0b"
"gitHead": "2a5ff13854187a26c1b5e36c5eab8b94cbd08375"
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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