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

@gedit/resource

Package Overview
Dependencies
Maintainers
3
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.61 to 0.1.62

5

lib/browser/resource-autosave-service.js

@@ -107,3 +107,2 @@ "use strict";

this.resource = options.resource;
this.toDispose.push(this.resource);
this.toDispose.push(this.toDisposeOnAutoSave);

@@ -114,2 +113,5 @@ this.toDispose.push(this.onDirtyChangedEmitter);

this.toDispose.push(this.onErrorEmitter);
this.toDispose.push(utils_1.Disposable.create(function () {
_this.resource.dispose();
}));
this.toDispose.push(utils_1.Disposable.create(function () { return _this.cancelSave(); }));

@@ -124,3 +126,2 @@ this.toDispose.push(utils_1.Disposable.create(function () { return _this.cancelSync(); }));

this.resource.dispose(); // clear old resource
this.toDispose.push(resource);
this.resource = resource;

@@ -127,0 +128,0 @@ this.options.resource = resource;

4

package.json
{
"name": "@gedit/resource",
"version": "0.1.61",
"version": "0.1.62",
"license": "MIT",

@@ -31,3 +31,3 @@ "main": "lib/common/index",

},
"gitHead": "9b41f77f8ae3b6aa3bf567402f699b5faaff532b"
"gitHead": "162ca9c40f29b44973f3c3dc42e296fd9a4c0e58"
}

@@ -55,3 +55,2 @@ import { injectable, inject } from 'inversify';

this.resource = options.resource;
this.toDispose.push(this.resource);
this.toDispose.push(this.toDisposeOnAutoSave);

@@ -62,2 +61,5 @@ this.toDispose.push(this.onDirtyChangedEmitter);

this.toDispose.push(this.onErrorEmitter);
this.toDispose.push(Disposable.create(() => {
this.resource.dispose();
}));
this.toDispose.push(Disposable.create(() => this.cancelSave()));

@@ -72,3 +74,2 @@ this.toDispose.push(Disposable.create(() => this.cancelSync()));

this.resource.dispose(); // clear old resource
this.toDispose.push(resource);
this.resource = resource;

@@ -75,0 +76,0 @@ this.options.resource = resource;

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