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

@opensumi/ide-utils

Package Overview
Dependencies
Maintainers
7
Versions
1352
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opensumi/ide-utils - npm Package Compare versions

Comparing version 2.18.7-rc-1656317383.0 to 2.18.7-rc-1656985645.0

lib/promises.d.ts

15

lib/disposable.d.ts

@@ -1,16 +0,1 @@

/** ******************************************************************************
* Copyright (C) 2017 TypeFox and others.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0.
*
* This Source Code may also be made available under the following Secondary
* Licenses when the conditions for such availability set forth in the Eclipse
* Public License v. 2.0 are satisfied: GNU General Public License, version 2
* with the GNU Classpath Exception which is available at
* https://www.gnu.org/software/classpath/license.html.
*
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
********************************************************************************/
import { Event, Emitter } from './event';

@@ -17,0 +2,0 @@ export declare class DisposableStore implements IDisposable {

24

lib/disposable.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.RefCountedDisposable = exports.MutableDisposable = exports.DisposableCollection = exports.Disposable = exports.toDisposable = exports.combinedDisposable = exports.dispose = exports.isDisposable = exports.DisposableStore = void 0;
/** ******************************************************************************
* Copyright (C) 2017 TypeFox and others.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0.
*
* This Source Code may also be made available under the following Secondary
* Licenses when the conditions for such availability set forth in the Eclipse
* Public License v. 2.0 are satisfied: GNU General Public License, version 2
* with the GNU Classpath Exception which is available at
* https://www.gnu.org/software/classpath/license.html.
*
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
********************************************************************************/
const event_1 = require("./event");

@@ -207,10 +192,14 @@ // DisposableStore 是从 vscode lifecycle 中复制而来

}
const toPromise = [];
this.disposingElements = true;
while (!this.disposed) {
try {
this.disposables.pop().dispose();
const maybePromise = this.disposables.pop().dispose();
if (maybePromise) {
toPromise.push(maybePromise);
}
}
catch (e) {
// eslint-disable-next-line no-console
console.error(e);
console.error('DisposableCollection.dispose error', e);
}

@@ -220,2 +209,3 @@ }

this.checkDisposed();
return Promise.all(toPromise);
}

@@ -222,0 +212,0 @@ push(disposable) {

@@ -29,3 +29,3 @@ export * from './ansi';

export * from './progress';
export * from './promise-util';
export * from './promises';
export * from './sequence';

@@ -32,0 +32,0 @@ export * from './types';

@@ -33,3 +33,3 @@ "use strict";

tslib_1.__exportStar(require("./progress"), exports);
tslib_1.__exportStar(require("./promise-util"), exports);
tslib_1.__exportStar(require("./promises"), exports);
tslib_1.__exportStar(require("./sequence"), exports);

@@ -36,0 +36,0 @@ tslib_1.__exportStar(require("./types"), exports);

{
"name": "@opensumi/ide-utils",
"version": "2.18.7-rc-1656317383.0",
"version": "2.18.7-rc-1656985645.0",
"files": [

@@ -25,3 +25,3 @@ "lib"

},
"gitHead": "5db207b1b1dad5689a64abb3ed4609e5e8836b97"
"gitHead": "022385b69cca853ea7bd42fd18d4bf2cfe45cbb9"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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