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

@gedit/resource

Package Overview
Dependencies
Maintainers
2
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gedit/resource - npm Package Compare versions

Comparing version 0.1.5 to 0.1.8

src/browser/index.ts

1

lib/browser/resource-autosave-service.d.ts

@@ -7,3 +7,2 @@ import type { TextDocumentContentChangeEvent } from 'vscode-languageserver-protocol';

resource: Resource;
saveIfResourceNotFound?: boolean;
saveAsString(event: ResourceChangeEvent): string;

@@ -10,0 +9,0 @@ }

"use strict";
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {

@@ -112,3 +101,3 @@ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;

this.pendingOperation = Promise.resolve();
this.options = __assign({ saveIfResourceNotFound: true }, options);
this.options = options;
this.resource = options.resource;

@@ -305,5 +294,3 @@ this.toDispose.push(this.resource);

if (common_1.ResourceError.NotFound.is(e_3)) {
if (this.options.saveIfResourceNotFound) {
this.setValid(true);
}
this.setValid(true);
return [2 /*return*/, undefined];

@@ -310,0 +297,0 @@ }

{
"name": "@gedit/resource",
"version": "0.1.5",
"version": "0.1.8",
"license": "MIT",

@@ -8,7 +8,8 @@ "main": "lib/common/index",

"files": [
"lib"
"lib",
"src"
],
"dependencies": {
"@gedit/application-common": "^0.1.5",
"@gedit/utils": "^0.1.5",
"@gedit/application-common": "^0.1.8",
"@gedit/utils": "^0.1.8",
"vscode-languageserver-protocol": "^3.15.3"

@@ -31,3 +32,3 @@ },

},
"gitHead": "300bcdab2d7254f3ecf7bc3e8da6c726890d18a5"
"gitHead": "8469fa3c7d9d10e8dafdac9f26f265412390bbf3"
}

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