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

vscode-zap

Package Overview
Dependencies
Maintainers
8
Versions
107
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vscode-zap - npm Package Compare versions

Comparing version 0.0.90 to 0.0.91

8

out/src/workspace.js

@@ -385,2 +385,7 @@ "use strict";

}
// We may have pending edits to apply for documents that were not opened
// but have been modified on the zap branch. The composed WorkspaceOp
// should have all of these edits, so we may safely clear any pending FileEdits
// before applying them. If we don't, we will end up applying duplicated ops.
this.pendingWorkspaceFileEdits = {};
yield this.apply(composed);

@@ -455,3 +460,4 @@ }

}
else {
else if (!doc.uri.query.endsWith("~0")) {
// Only apply ops to "modifiable" content (i.e. not the left side of a diff).
const changes = this.pendingWorkspaceFileEdits[`/${fileName}`];

@@ -458,0 +464,0 @@ delete this.pendingWorkspaceFileEdits[`/${fileName}`];

4

package.json

@@ -5,3 +5,3 @@ {

"description": "Real-time code synchronization",
"version": "0.0.90",
"version": "0.0.91",
"publisher": "sqs",

@@ -42,3 +42,3 @@ "preview": true,

"dependencies": {
"libzap": "^0.0.90",
"libzap": "^0.0.91",
"open": "^0.0.5",

@@ -45,0 +45,0 @@ "vscode-jsonrpc": "3.0.1-alpha.7"

@@ -418,2 +418,8 @@ import * as vscode from "vscode";

}
// We may have pending edits to apply for documents that were not opened
// but have been modified on the zap branch. The composed WorkspaceOp
// should have all of these edits, so we may safely clear any pending FileEdits
// before applying them. If we don't, we will end up applying duplicated ops.
this.pendingWorkspaceFileEdits = {};
await this.apply(composed);

@@ -493,3 +499,4 @@ } else {

});
} else {
} else if (!doc.uri.query.endsWith("~0")) {
// Only apply ops to "modifiable" content (i.e. not the left side of a diff).
const changes = this.pendingWorkspaceFileEdits[`/${fileName}`];

@@ -496,0 +503,0 @@ delete this.pendingWorkspaceFileEdits[`/${fileName}`];

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