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

@vscode/sync-api-client

Package Overview
Dependencies
Maintainers
7
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vscode/sync-api-client - npm Package Compare versions

Comparing version 0.8.1 to 0.9.0

20

lib/apiClient.d.ts

@@ -34,5 +34,2 @@ import { URI } from 'vscode-uri';

}
export interface Window {
activeTextDocument: vscode.TextDocument | undefined;
}
export interface Workspace {

@@ -46,3 +43,3 @@ workspaceFolders: vscode.WorkspaceFolder[];

}
export declare type FileDescriptorDescription = {
export type FileDescriptorDescription = {
kind: 'fileSystem';

@@ -67,4 +64,15 @@ uri: URI;

}
export declare type ApiClientConnection = ClientConnection<Requests, ApiClientConnection.ReadyParams>;
export declare class ApiClient {
export type ApiClientConnection = ClientConnection<Requests, ApiClientConnection.ReadyParams>;
export interface ApiShape {
readonly timer: Timer;
readonly process: Process;
readonly byteSource: ByteSource;
readonly byteSink: ByteSink;
readonly console: Console;
readonly tty: TTY;
readonly vscode: {
readonly workspace: Workspace;
};
}
export declare class ApiClient implements ApiShape {
private readonly connection;

@@ -71,0 +79,0 @@ private readonly encoder;

@@ -224,2 +224,1 @@ "use strict";

exports.ApiClient = ApiClient;
//# sourceMappingURL=apiClient.js.map

@@ -24,2 +24,1 @@ "use strict";

__exportStar(require("./vscode"), exports);
//# sourceMappingURL=main.js.map

@@ -41,11 +41,2 @@ "use strict";

/**
* Creates a new filesystem error.
*
* @param messageOrUri Message or uri.
*/
constructor(code, messageOrUri) {
super(typeof messageOrUri === 'string' ? messageOrUri : messageOrUri !== undefined ? messageOrUri.toString() : 'Unknown error');
this.code = code;
}
/**
* Create an error to signal that a file or folder wasn't found.

@@ -94,4 +85,12 @@ * @param messageOrUri Message or uri.

}
/**
* Creates a new filesystem error.
*
* @param messageOrUri Message or uri.
*/
constructor(code, messageOrUri) {
super(typeof messageOrUri === 'string' ? messageOrUri : messageOrUri !== undefined ? messageOrUri.toString() : 'Unknown error');
this.code = code;
}
}
exports.FileSystemError = FileSystemError;
//# sourceMappingURL=vscode.js.map
{
"name": "@vscode/sync-api-client",
"version": "0.8.1",
"version": "0.9.0",
"description": "A client that calls VS Code API from a non extension host worker in sync fashion.",

@@ -26,4 +26,4 @@ "engines": {

"dependencies": {
"vscode-uri": "^3.0.6",
"@vscode/sync-api-common": "0.8.1"
"vscode-uri": "^3.0.7",
"@vscode/sync-api-common": "0.9.0"
},

@@ -34,9 +34,11 @@ "devDependencies": {

"prepublishOnly": "echo \"⛔ Can only publish from a secure pipeline ⛔\" && node ../build/npm/fail",
"prepack": "git clean -xfd . && npm install && npm run all",
"prepack": "npm run all:publish",
"compile": "node ../node_modules/typescript/lib/tsc.js -b ./tsconfig.json",
"compile:publish": "node ../node_modules/typescript/lib/tsc.js -b ./tsconfig.publish.json",
"watch": "node ../node_modules/typescript/lib/tsc.js -b ./tsconfig.watch.json -w",
"clean": "node ../node_modules/rimraf/bin.js lib && node ../node_modules/rimraf/bin.js dist",
"lint": "node ../node_modules/eslint/bin/eslint.js --ext ts src",
"all": "npm run clean && npm run compile && npm run lint"
"all": "npm run clean && npm run compile && npm run lint",
"all:publish": "git clean -xfd . && npm install && npm run compile:publish && npm run lint"
}
}
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