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

@atom-ide-community/nuclide-commons

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@atom-ide-community/nuclide-commons - npm Package Compare versions

Comparing version 0.8.0 to 0.8.1

2

analytics.js

@@ -258,2 +258,2 @@ "use strict";

exports.default = _default;
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL251Y2xpZGUvbnVjbGlkZS1jb21tb25zL2FuYWx5dGljcy5qcyJdLCJuYW1lcyI6WyJyYXdBbmFseXRpY3NTZXJ2aWNlIiwidHJhY2siLCJpc1RyYWNrU3VwcG9ydGVkIiwic2V0QXBwbGljYXRpb25TZXNzaW9uT2JzZXJ2YWJsZSIsIm9iIiwiZXZlbnROYW1lIiwidmFsdWVzIiwidHJhY2tJbW1lZGlhdGUiLCJQcm9taXNlIiwicmVzb2x2ZSIsInRyYWNrRXZlbnQiLCJldmVudCIsInR5cGUiLCJkYXRhIiwidHJhY2tFdmVudHMiLCJldmVudHMiLCJVbml2ZXJzYWxEaXNwb3NhYmxlIiwic3Vic2NyaWJlIiwidHJhY2tTYW1wbGVkIiwic2FtcGxlUmF0ZSIsIk1hdGgiLCJyYW5kb20iLCJzYW1wbGVfcmF0ZSIsIlBFUkZPUk1BTkNFX0VWRU5UIiwiY2FuTWVhc3VyZSIsInBlcmZvcm1hbmNlIiwiVGltaW5nVHJhY2tlciIsImNvbnN0cnVjdG9yIiwiX2V2ZW50TmFtZSIsIl9zdGFydFRpbWUiLCJfc3RhcnRNYXJrIiwiX3ZhbHVlcyIsImV2ZW50Q291bnQiLCJtYXJrIiwib25FcnJvciIsImVycm9yIiwiX3RyYWNrVGltaW5nRXZlbnQiLCJvbkNhbmNlbCIsIm9uU3VjY2VzcyIsImV4Y2VwdGlvbiIsImNhbmN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VGltaW5nU2FtcGxlZC5kaXNwbGF5TmFtZSA9IGB0cmFja1RpbWluZ1NhbXBsZWQoJHtuYW1lfSlgO1xyXG4gIHJldHVybiBkZWNvcmF0ZWRUcmFja1RpbWluZ1NhbXBsZWQ7XHJcbn1cclxuXHJcbmV4cG9ydCBmdW5jdGlvbiBzZXRSYXdBbmFseXRpY3NTZXJ2aWNlKFxyXG4gIGFuYWx5dGljc1NlcnZpY2U6IFJhd0FuYWx5dGljc1NlcnZpY2UsXHJcbiAgb2I6IE9ic2VydmFibGU8U2Vzc2lvbkluZm8+LFxyXG4pOiB2b2lkIHtcclxuICBhbmFseXRpY3NTZXJ2aWNlLnNldEFwcGxpY2F0aW9uU2Vzc2lvbk9ic2VydmFibGUob2IpO1xyXG4gIHJhd0FuYWx5dGljc1NlcnZpY2UgPSBhbmFseXRpY3NTZXJ2aWNlO1xyXG59XHJcblxyXG5leHBvcnQgZGVmYXVsdCB7XHJcbiAgdHJhY2ssXHJcbiAgdHJhY2tTYW1wbGVkLFxyXG4gIHRyYWNrRXZlbnQsXHJcbiAgdHJhY2tUaW1pbmcsXHJcbiAgdHJhY2tUaW1pbmdTYW1wbGVkLFxyXG4gIHN0YXJ0VHJhY2tpbmcsXHJcbiAgVGltaW5nVHJhY2tlcixcclxuICBkZWNvcmF0ZVRyYWNrVGltaW5nLFxyXG4gIGRlY29yYXRlVHJhY2tUaW1pbmdTYW1wbGVkLFxyXG59O1xyXG4iXX0=

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

var _rxjs = require("rxjs");
var _rxjsCompatUmdMin = require("rxjs-compat/bundles/rxjs-compat.umd.min.js");

@@ -32,3 +32,3 @@ /**

this._disposeValue = disposeValue;
this._entriesSubject = new _rxjs.Subject();
this._entriesSubject = new _rxjsCompatUmdMin.Subject();
}

@@ -87,3 +87,3 @@

observeEntries() {
return _rxjs.Observable.concat(_rxjs.Observable.from(this._values.entries()), this._entriesSubject);
return _rxjsCompatUmdMin.Observable.concat(_rxjsCompatUmdMin.Observable.from(this._values.entries()), this._entriesSubject);
}

@@ -135,2 +135,2 @@

exports.DISPOSE_VALUE = DISPOSE_VALUE;
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL251Y2xpZGUvbnVjbGlkZS1jb21tb25zL2NhY2hlLmpzIl0sIm5hbWVzIjpbIkNhY2hlIiwiY29uc3RydWN0b3IiLCJmYWN0b3J5IiwiZGlzcG9zZVZhbHVlIiwidmFsdWUiLCJfdmFsdWVzIiwiX2ZhY3RvcnkiLCJfZGlzcG9zZVZhbHVlIiwiX2VudHJpZXNTdWJqZWN0IiwiTWFwIiwiU3ViamVjdCIsImhhcyIsImtleSIsImdldCIsIm5ld1ZhbHVlIiwic2V0IiwibmV4dCIsInNldEtleXMiLCJuZXdLZXlzIiwiZXhpc3RpbmdLZXkiLCJrZXlzIiwiZGVsZXRlIiwibmV3S2V5IiwiZW50cmllcyIsInZhbHVlcyIsIm9ic2VydmVWYWx1ZXMiLCJvYnNlcnZlRW50cmllcyIsIm1hcCIsImVudHJ5IiwiT2JzZXJ2YWJsZSIsImNvbmNhdCIsImZyb20iLCJvYnNlcnZlS2V5cyIsImNsZWFyIiwiZGlzcG9zZSIsImNvbXBsZXRlIiwiRElTUE9TRV9WQUxVRSJdLCJtYXBwaW5ncyI6Ijs7Ozs7OztBQVlBOztBQVpBOzs7Ozs7Ozs7OztBQWNBO0FBQ08sTUFBTUEsS0FBTixDQUFnQztBQU1yQ0MsRUFBQUEsV0FBVyxDQUNUQyxPQURTLEVBRVRDLFlBQXlDLEdBQUdDLEtBQUssSUFBSSxDQUFFLENBRjlDLEVBR1Q7QUFBQSxTQVJGQyxPQVFFO0FBQUEsU0FQRkMsUUFPRTtBQUFBLFNBTkZDLGFBTUU7QUFBQSxTQUxGQyxlQUtFO0FBQ0EsU0FBS0gsT0FBTCxHQUFlLElBQUlJLEdBQUosRUFBZjtBQUNBLFNBQUtILFFBQUwsR0FBZ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gYWdhaW5zdCBhIGRpc3Bvc2UgY2FsbCByZW1vdmluZyBlbGVtZW50cyBmcm9tIHRoZSBDYWNoZS5cclxuICAgIGNvbnN0IHZhbHVlcyA9IHRoaXMuX3ZhbHVlcztcclxuICAgIHRoaXMuX3ZhbHVlcyA9IG5ldyBNYXAoKTtcclxuICAgIGZvciAoY29uc3QgdmFsdWUgb2YgdmFsdWVzLnZhbHVlcygpKSB7XHJcbiAgICAgIHRoaXMuX2Rpc3Bvc2VWYWx1ZSh2YWx1ZSk7XHJcbiAgICB9XHJcbiAgfVxyXG5cclxuICBkaXNwb3NlKCk6IHZvaWQge1xyXG4gICAgdGhpcy5jbGVhcigpO1xyXG4gICAgdGhpcy5fZW50cmllc1N1YmplY3QuY29tcGxldGUoKTtcclxuICB9XHJcbn1cclxuXHJcbi8vIFVzZWZ1bCBmb3Igb3B0aW9uYWwgc2Vjb25kIHBhcmFtZXRlciB0byBDYWNoZSBjb25zdHJ1Y3Rvci5cclxuZXhwb3J0IGNvbnN0IERJU1BPU0VfVkFMVUUgPSAodmFsdWU6IElEaXNwb3NhYmxlKSA9PiB7XHJcbiAgdmFsdWUuZGlzcG9zZSgpO1xyXG59O1xyXG4iXX0=

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

var _rxjs = require("rxjs");
var _rxjsCompatUmdMin = require("rxjs-compat/bundles/rxjs-compat.umd.min.js");

@@ -41,4 +41,4 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

function observableFromSubscribeFunction(fn) {
return _rxjs.Observable.create(observer => new _UniversalDisposable.default(fn(observer.next.bind(observer))));
return _rxjsCompatUmdMin.Observable.create(observer => new _UniversalDisposable.default(fn(observer.next.bind(observer))));
}
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL251Y2xpZGUvbnVjbGlkZS1jb21tb25zL2V2ZW50LmpzIl0sIm5hbWVzIjpbImF0dGFjaEV2ZW50Iiw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3NhYmxlIHwgKCgpID0+IG1peGVkKTtcclxuXHJcbmV4cG9ydCBmdW5jdGlvbiBvYnNlcnZhYmxlRnJvbVN1YnNjcmliZUZ1bmN0aW9uPFQ+KFxyXG4gIGZuOiBTdWJzY3JpYmVGdW5jdGlvbjxUPixcclxuKTogT2JzZXJ2YWJsZTxUPiB7XHJcbiAgcmV0dXJuIE9ic2VydmFibGUuY3JlYXRlKFxyXG4gICAgb2JzZXJ2ZXIgPT4gbmV3IFVuaXZlcnNhbERpc3Bvc2FibGUoZm4ob2JzZXJ2ZXIubmV4dC5iaW5kKG9ic2VydmVyKSkpLFxyXG4gICk7XHJcbn1cclxuIl19

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

var _rxjs = require("rxjs");
var _rxjsCompatUmdMin = require("rxjs-compat/bundles/rxjs-compat.umd.min.js");

@@ -67,3 +67,3 @@ var _UniversalDisposable = _interopRequireDefault(require("./UniversalDisposable"));

this._states = void 0;
this._states = new _rxjs.BehaviorSubject(initialState);
this._states = new _rxjsCompatUmdMin.BehaviorSubject(initialState);
}

@@ -96,2 +96,2 @@

exports.default = Model;
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL251Y2xpZGUvbnVjbGlkZS1jb21tb25zL01vZGVsLmpzIl0sIm5hbWVzIjpbIk1vZGVsIiwiY29uc3RydWN0b3IiLCJpbml0aWFsU3RhdGUiLCJfc3RhdGVzIiwiQmVoYXZpb3JTdWJqZWN0Iiwic2V0U3RhdGUiLCJuZXdTdGF0ZSIsIm5leHRTdGF0ZSIsInN0YXRlIiwibmV4dCIsImdldFZhbHVlIiwic3Vic2NyaWJlIiwiY2IiLCJVbml2ZXJzYWxEaXNwb3NhYmxlIiwidG9PYnNlcnZhYmxlIiwiZGlzdGluY3RVbnRpbENoYW5nZWQiXSwibWFwcGluZ3MiOiI7Ozs7Ozs7QUFjQTs7QUFDQTs7OztBQWZBOzs7Ozs7Ozs7Ozs7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3RhdGU+IHtcclxuICAgIHJldHVybiB0aGlzLl9zdGF0ZXMuZGlzdGluY3RVbnRpbENoYW5nZWQoKTtcclxuICB9XHJcbn1cclxuIl19

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

var _rxjs = require("rxjs");
var _rxjsCompatUmdMin = require("rxjs-compat/bundles/rxjs-compat.umd.min.js");

@@ -108,4 +108,4 @@ var _which = _interopRequireDefault(require("./which"));

function niceObserveProcess(command, args, options) {
return _rxjs.Observable.defer(() => nicifyCommand(command, args, options)).switchMap(spawnArgs => (0, _process.observeProcess)(...spawnArgs));
return _rxjsCompatUmdMin.Observable.defer(() => nicifyCommand(command, args, options)).switchMap(spawnArgs => (0, _process.observeProcess)(...spawnArgs));
}
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL251Y2xpZGUvbnVjbGlkZS1jb21tb25zL25pY2UuanMiXSwibmFtZXMiOlsiTklDRV9DT01NQU5EIiwiSU9OSUNFX0NPTU1BTkQiLCJuaWNlU2FmZVNwYXduIiwiY29tbWFuZCIsImFyZ3MiLCJleGVjT3B0aW9ucyIsIm5pY2lmaWVkIiwibmljaWZ5Q29tbWFuZCIsInByb2Nlc3NTdHJlYW0iLCJwdWJsaXNoIiwicHJvY2Vzc1Byb21pc2UiLCJ0YWtlIiwidG9Qcm9taXNlIiwiY29ubmVjdCIsIm9wdGlvbnMiLCJmdWxsQXJncyIsImhhc05pY2VDb21tYW5kIiwidW5zaGlmdCIsImhhc0lvbmljZUNvbW1hbmQiLCJzbGljZSIsImNvbW1hbmRBdmFpbGFiaWxpdHlDYWNoZSIsIm1heCIsIm1heEFnZSIsImhhc0NvbW1hbmQiLCJyZXN1bHQiLCJnZXQiLCJ0aGVuIiwieCIsInNldCIsIm5pY2VPYnNlcnZlUHJvY2VzcyIsIk9ic2VydmFibGUiLCJkZWZlciIsInN3aXRjaE1hcCIsInNwYXduQXJncyJdLCJtYXBwaW5ncyI6Ij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lsaXR5Q2FjaGUuc2V0KGNvbW1hbmQsIHJlc3VsdCk7XHJcbiAgfVxyXG4gIHJldHVybiByZXN1bHQ7XHJcbn1cclxuXHJcbmV4cG9ydCBmdW5jdGlvbiBuaWNlT2JzZXJ2ZVByb2Nlc3MoXHJcbiAgY29tbWFuZDogc3RyaW5nLFxyXG4gIGFyZ3M/OiBBcnJheTxzdHJpbmc+LFxyXG4gIG9wdGlvbnM/OiBPYnNlcnZlUHJvY2Vzc09wdGlvbnMsXHJcbik6IE9ic2VydmFibGU8UHJvY2Vzc01lc3NhZ2U+IHtcclxuICByZXR1cm4gT2JzZXJ2YWJsZS5kZWZlcigoKSA9PlxyXG4gICAgbmljaWZ5Q29tbWFuZChjb21tYW5kLCBhcmdzLCBvcHRpb25zKSxcclxuICApLnN3aXRjaE1hcChzcGF3bkFyZ3MgPT4gb2JzZXJ2ZVByb2Nlc3MoLi4uc3Bhd25BcmdzKSk7XHJcbn1cclxuIl19

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

var _rxjs = require("rxjs");
var _rxjsCompatUmdMin = require("rxjs-compat/bundles/rxjs-compat.umd.min.js");

@@ -38,2 +38,2 @@ var _event = require("./event");

}
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL251Y2xpZGUvbnVjbGlkZS1jb21tb25zL29ic2VydmFibGVGcm9tUmVkdXhTdG9yZS5qcyJdLCJuYW1lcyI6WyJvYnNlcnZhYmxlRnJvbVJlZHV4U3RvcmUiLCJzdG9yZSIsInN1YnNjcmliZSIsInN0YXJ0V2l0aCIsIm1hcCIsImdldFN0YXRlIl0sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBWUE7O0FBQ0E7O0FBYkE7Ozs7Ozs7Ozs7OztBQW9CQTs7Ozs7Ozs7O0FBU2UsU0FBU0Esd0JBQVQsQ0FDYkMsS0FEYSxFQUVFO0FBQ2YsU0FBTyw0Q0FBZ0NBLEtBQUssQ0FB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@ -8,3 +8,3 @@ "use strict";

var _rxjs = require("rxjs");
var _rxjsCompatUmdMin = require("rxjs-compat/bundles/rxjs-compat.umd.min.js");

@@ -59,3 +59,3 @@ /**

this._subscription = void 0;
this._requests = new _rxjs.Subject();
this._requests = new _rxjsCompatUmdMin.Subject();
this._responseListeners = new Map();

@@ -66,4 +66,4 @@ this._subscription = this._handleEvents(concurrency);

schedule(executor) {
return _rxjs.Observable.create(observer => {
const unsubscribed = new _rxjs.Subject();
return _rxjsCompatUmdMin.Observable.create(observer => {
const unsubscribed = new _rxjsCompatUmdMin.Subject();
const tag = {}; // Just a unique object.

@@ -114,3 +114,3 @@

if (listener == null) {
return _rxjs.Observable.empty();
return _rxjsCompatUmdMin.Observable.empty();
}

@@ -124,3 +124,3 @@

if (executor instanceof _rxjs.Observable) {
if (executor instanceof _rxjsCompatUmdMin.Observable) {
result = executor;

@@ -133,14 +133,14 @@ } else {

observer.error(err);
return _rxjs.Observable.empty();
return _rxjsCompatUmdMin.Observable.empty();
}
}
if (result instanceof _rxjs.Observable) {
if (result instanceof _rxjsCompatUmdMin.Observable) {
// We can safely forward unsubscriptions!
return result.takeUntil(unsubscribed) // $FlowFixMe: Flow doesn't like this.
.do(observer).catch(() => _rxjs.Observable.empty());
.do(observer).catch(() => _rxjsCompatUmdMin.Observable.empty());
} else {
// In the absence of cancellation, assume the worst.
return _rxjs.Observable.from(result) // $FlowFixMe: Flow doesn't like this.
.do(observer).catch(() => _rxjs.Observable.empty());
return _rxjsCompatUmdMin.Observable.from(result) // $FlowFixMe: Flow doesn't like this.
.do(observer).catch(() => _rxjsCompatUmdMin.Observable.empty());
}

@@ -153,2 +153,2 @@ }, concurrency).subscribe();

exports.default = ObservablePool;
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL251Y2xpZGUvbnVjbGlkZS1jb21tb25zL09ic2VydmFibGVQb29sLmpzIl0sIm5hbWVzIjpbIk9ic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IGxpa2UgdGhpcy5cclxuICAgICAgICAgICAgICAuZG8ob2JzZXJ2ZXIpXHJcbiAgICAgICAgICAgICAgLmNhdGNoKCgpID0+IE9ic2VydmFibGUuZW1wdHkoKSlcclxuICAgICAgICAgICk7XHJcbiAgICAgICAgfSBlbHNlIHtcclxuICAgICAgICAgIC8vIEluIHRoZSBhYnNlbmNlIG9mIGNhbmNlbGxhdGlvbiwgYXNzdW1lIHRoZSB3b3JzdC5cclxuICAgICAgICAgIHJldHVybiAoXHJcbiAgICAgICAgICAgIE9ic2VydmFibGUuZnJvbShyZXN1bHQpXHJcbiAgICAgICAgICAgICAgLy8gJEZsb3dGaXhNZTogRmxvdyBkb2Vzbid0IGxpa2UgdGhpcy5cclxuICAgICAgICAgICAgICAuZG8ob2JzZXJ2ZXIpXHJcbiAgICAgICAgICAgICAgLmNhdGNoKCgpID0+IE9ic2VydmFibGUuZW1wdHkoKSlcclxuICAgICAgICAgICk7XHJcbiAgICAgICAgfVxyXG4gICAgICB9LCBjb25jdXJyZW5jeSlcclxuICAgICAgLnN1YnNjcmliZSgpO1xyXG4gIH1cclxufVxyXG4iXX0=
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL251Y2xpZGUvbnVjbGlkZS1jb21tb25zL09ic2VydmFibGVQb29sLmpzIl0sIm5hbWVzIjpbIk9ic2VydmFibGVQb29sIiwiY29uc3RydWN0b3IiLCJjb25jdXJyZW5jeSIsIl9yZXF1ZXN0cyIsIl9yZXNwb25zZUxpc3RlbmVycyIsIl9zdWJzY3JpcHRpb24iLCJTdWJqZWN0IiwiTWFwIiwiX2hhbmRsZUV2ZW50cyIsInNjaGVkdWxlIiwiZXhlY3V0b3IiLCJPYnNlcnZhYmxlIiwiY3JlYXRlIiwib2JzZXJ2ZXIiLCJ1bnN1YnNjcmliZWQiLCJ0YWciLCJzZXQiLCJuZXh0IiwiZGVsZXRlIiwiZGlzcG9zZSIs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JcbiAgICAgICAgY29uc3Qge29ic2VydmVyLCB1bnN1YnNjcmliZWR9ID0gbGlzdGVuZXI7XHJcbiAgICAgICAgbGV0IHJlc3VsdDtcclxuICAgICAgICBpZiAoZXhlY3V0b3IgaW5zdGFuY2VvZiBPYnNlcnZhYmxlKSB7XHJcbiAgICAgICAgICByZXN1bHQgPSBleGVjdXRvcjtcclxuICAgICAgICB9IGVsc2Uge1xyXG4gICAgICAgICAgdHJ5IHtcclxuICAgICAgICAgICAgcmVzdWx0ID0gZXhlY3V0b3IoKTtcclxuICAgICAgICAgIH0gY2F0Y2ggKGVycikge1xyXG4gICAgICAgICAgICAvLyBDYXRjaCBlcnJvcnMgZnJvbSBleGVjdXRvcigpLlxyXG4gICAgICAgICAgICBvYnNlcnZlci5lcnJvcihlcnIpO1xyXG4gICAgICAgICAgICByZXR1cm4gT2JzZXJ2YWJsZS5lbXB0eSgpO1xyXG4gICAgICAgICAgfVxyXG4gICAgICAgIH1cclxuICAgICAgICBpZiAocmVzdWx0IGluc3RhbmNlb2YgT2JzZXJ2YWJsZSkge1xyXG4gICAgICAgICAgLy8gV2UgY2FuIHNhZmVseSBmb3J3YXJkIHVuc3Vic2NyaXB0aW9ucyFcclxuICAgICAgICAgIHJldHVybiAoXHJcbiAgICAgICAgICAgIHJlc3VsdFxyXG4gICAgICAgICAgICAgIC50YWtlVW50aWwodW5zdWJzY3JpYmVkKVxyXG4gICAgICAgICAgICAgIC8vICRGbG93Rml4TWU6IEZsb3cgZG9lc24ndCBsaWtlIHRoaXMuXHJcbiAgICAgICAgICAgICAgLmRvKG9ic2VydmVyKVxyXG4gICAgICAgICAgICAgIC5jYXRjaCgoKSA9PiBPYnNlcnZhYmxlLmVtcHR5KCkpXHJcbiAgICAgICAgICApO1xyXG4gICAgICAgIH0gZWxzZSB7XHJcbiAgICAgICAgICAvLyBJbiB0aGUgYWJzZW5jZSBvZiBjYW5jZWxsYXRpb24sIGFzc3VtZSB0aGUgd29yc3QuXHJcbiAgICAgICAgICByZXR1cm4gKFxyXG4gICAgICAgICAgICBPYnNlcnZhYmxlLmZyb20ocmVzdWx0KVxyXG4gICAgICAgICAgICAgIC8vICRGbG93Rml4TWU6IEZsb3cgZG9lc24ndCBsaWtlIHRoaXMuXHJcbiAgICAgICAgICAgICAgLmRvKG9ic2VydmVyKVxyXG4gICAgICAgICAgICAgIC5jYXRjaCgoKSA9PiBPYnNlcnZhYmxlLmVtcHR5KCkpXHJcbiAgICAgICAgICApO1xyXG4gICAgICAgIH1cclxuICAgICAgfSwgY29uY3VycmVuY3kpXHJcbiAgICAgIC5zdWJzY3JpYmUoKTtcclxuICB9XHJcbn1cclxuIl19
{
"name": "@atom-ide-community/nuclide-commons",
"version": "0.8.0",
"version": "0.8.1",
"description": "Common Nuclide node modules.",

@@ -10,7 +10,7 @@ "author": "NEEDS OWNER",

"scripts": {
"pub": "npm version minor && pnpm install",
"pub": "npm version patch && pnpm install",
"test": "true"
},
"dependencies": {
"@atom-ide-community/nuclide-node-transpiler": "0.8.0",
"@atom-ide-community/nuclide-node-transpiler": "0.8.1",
"cr": "0.1.0",

@@ -30,4 +30,4 @@ "domexception": "1.0.1",

"nullthrows": "1.1.1",
"rimraf": "2.6.2",
"rxjs": "npm:rxjs-compat@6.3.3",
"rimraf": "3.0.2",
"rxjs-compat": "^6.3.3",
"semver": "5.5.0",

@@ -34,0 +34,0 @@ "shell-quote": "1.6.1",

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

var _rxjs = require("rxjs");
var _rxjsCompatUmdMin = require("rxjs-compat/bundles/rxjs-compat.umd.min.js");

@@ -51,3 +51,3 @@ /**

const streams = epics.map(epic => epic(actions, store, extra));
return _rxjs.Observable.merge(...streams);
return _rxjsCompatUmdMin.Observable.merge(...streams);
};

@@ -57,3 +57,3 @@ }

function createEpicMiddleware(rootEpic) {
const actions = new _rxjs.Subject();
const actions = new _rxjsCompatUmdMin.Subject();
const actionsObs = new ActionsObservable(actions);

@@ -74,3 +74,3 @@ return store => next => {

class ActionsObservable extends _rxjs.Observable {
class ActionsObservable extends _rxjsCompatUmdMin.Observable {
constructor(actionsSubject) {

@@ -112,2 +112,2 @@ super();

exports.ActionsObservable = ActionsObservable;
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL251Y2xpZGUvbnVjbGlkZS1jb21tb25zL3JlZHV4LW9ic2VydmFibGUuanMiXSwibmFtZXMiOlsiY29tYmluZUVwaWNzIiwiZXBpY3MiLCJhY3Rpb25zIiwic3RvcmUiLCJleHRyYSIsInN0cmVhbXMiLCJtYXAiLCJlcGljIiwiT2JzZXJ2YWJsZSIsIm1lcmdlIiwiY3JlYXRlRXBpY01pZGRsZXdhcmUiLCJyb290RXBpYyIsIlN1YmplY3QiLCJhY3Rpb25zT2JzIiwiQWN0aW9uc09ic2VydmFibGUiLCJuZXh0Iiwic3Vic2NyaWJlIiwiZGlzcGF0Y2giLCJhY3Rpb24iLCJyZXN1bHQiLCJjb25zdHJ1Y3RvciIsImFjdGlvbnNTdWJqZWN0Iiwib3BlcmF0b3IiLCJzb3VyY2UiLCJsaWZ0Iiwib2JzZXJ2YWJsZSIsIm9mVHlwZSIsImtleXMiLCJmaWx0ZXIiLCJ0eXBlIiwibGVuIiwibGVuZ3RoIiwiaSJdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7O0FBcUNBOztBQXJDQTs7Ozs7Ozs7Ozs7QUFZQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFzQk8sU0FBU0EsWUFBVCxDQUNMLEdBQUdDLEtBREUsRUFFVTtBQUNmLFNBQU8sQ0FBQ0MsT0FBRCxFQUFnQ0MsS0FBaEMsRUFBb0RDLEtBQXBELEt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IH0gZWxzZSB7XHJcbiAgICAgICAgZm9yIChsZXQgaSA9IDA7IGkgPCBsZW47IGkrKykge1xyXG4gICAgICAgICAgaWYgKGtleXNbaV0gPT09IHR5cGUpIHtcclxuICAgICAgICAgICAgcmV0dXJuIHRydWU7XHJcbiAgICAgICAgICB9XHJcbiAgICAgICAgfVxyXG4gICAgICB9XHJcbiAgICAgIHJldHVybiBmYWxzZTtcclxuICAgIH0pO1xyXG4gICAgcmV0dXJuICgocmVzdWx0OiBhbnkpOiBBY3Rpb25zT2JzZXJ2YWJsZTxUPik7XHJcbiAgfVxyXG59XHJcbiJdfQ==

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

var _rxjs = require("rxjs");
var _rxjsCompatUmdMin = require("rxjs-compat/bundles/rxjs-compat.umd.min.js");

@@ -41,5 +41,5 @@ var _UniversalDisposable = _interopRequireDefault(require("./UniversalDisposable"));

function observeRawStream(stream) {
const error = _rxjs.Observable.fromEvent(stream, 'error').flatMap(_rxjs.Observable.throw);
const error = _rxjsCompatUmdMin.Observable.fromEvent(stream, 'error').flatMap(_rxjsCompatUmdMin.Observable.throw);
return _rxjs.Observable.fromEvent(stream, 'data').merge(error).takeUntil(_rxjs.Observable.fromEvent(stream, 'end'));
return _rxjsCompatUmdMin.Observable.fromEvent(stream, 'data').merge(error).takeUntil(_rxjsCompatUmdMin.Observable.fromEvent(stream, 'end'));
}

@@ -53,3 +53,3 @@ /**

function writeToStream(source, destStream) {
return _rxjs.Observable.create(observer => {
return _rxjsCompatUmdMin.Observable.create(observer => {
let byteCount = 0;

@@ -78,2 +78,2 @@ const byteCounterStream = new _stream.default.Transform({

}
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL251Y2xpZGUvbnVjbGlkZS1jb21tb25zL3N0cmVhbS5qcyJdLCJuYW1lcyI6WyJvYnNlcnZlU3RyZWFtIiwic3RyZWFtIiwib2JzZXJ2ZVJhd1N0cmVhbSIsI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ic2VydmVyID0+IHtcclxuICAgIGxldCBieXRlQ291bnQgPSAwO1xyXG5cclxuICAgIGNvbnN0IGJ5dGVDb3VudGVyU3RyZWFtID0gbmV3IFN0cmVhbS5UcmFuc2Zvcm0oe1xyXG4gICAgICB0cmFuc2Zvcm0oY2h1bmssIGVuY29kaW5nLCBjYikge1xyXG4gICAgICAgIGJ5dGVDb3VudCArPSBjaHVuay5ieXRlTGVuZ3RoO1xyXG4gICAgICAgIG9ic2VydmVyLm5leHQoYnl0ZUNvdW50KTtcclxuICAgICAgICBjYihudWxsLCBjaHVuayk7XHJcbiAgICAgIH0sXHJcbiAgICB9KTtcclxuXHJcbiAgICBieXRlQ291bnRlclN0cmVhbS5waXBlKGRlc3RTdHJlYW0pO1xyXG5cclxuICAgIHJldHVybiBuZXcgVW5pdmVyc2FsRGlzcG9zYWJsZShcclxuICAgICAgYXR0YWNoRXZlbnQoZGVzdFN0cmVhbSwgJ2Vycm9yJywgZXJyID0+IHtcclxuICAgICAgICBvYnNlcnZlci5lcnJvcihlcnIpO1xyXG4gICAgICB9KSxcclxuICAgICAgYXR0YWNoRXZlbnQoZGVzdFN0cmVhbSwgJ2Nsb3NlJywgKCkgPT4ge1xyXG4gICAgICAgIG9ic2VydmVyLmNvbXBsZXRlKCk7XHJcbiAgICAgIH0pLFxyXG4gICAgICBzb3VyY2Uuc3Vic2NyaWJlKFxyXG4gICAgICAgIGJ1ZmZlciA9PiB7XHJcbiAgICAgICAgICBieXRlQ291bnRlclN0cmVhbS53cml0ZShidWZmZXIpO1xyXG4gICAgICAgIH0sXHJcbiAgICAgICAgZXJyID0+IHtcclxuICAgICAgICAgIG9ic2VydmVyLmVycm9yKGVycik7XHJcbiAgICAgICAgfSxcclxuICAgICAgICAoKSA9PiB7XHJcbiAgICAgICAgICBieXRlQ291bnRlclN0cmVhbS5lbmQoKTtcclxuICAgICAgICB9LFxyXG4gICAgICApLFxyXG4gICAgKTtcclxuICB9KS5zaGFyZSgpO1xyXG59XHJcb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WFtLndyaXRlKGJ1ZmZlcik7XHJcbiAgICAgICAgfSxcclxuICAgICAgICBlcnIgPT4ge1xyXG4gICAgICAgICAgb2JzZXJ2ZXIuZXJyb3IoZXJyKTtcclxuICAgICAgICB9LFxyXG4gICAgICAgICgpID0+IHtcclxuICAgICAgICAgIGJ5dGVDb3VudGVyU3RyZWFtLmVuZCgpO1xyXG4gICAgICAgIH0sXHJcbiAgICAgICksXHJcbiAgICApO1xyXG4gIH0pLnNoYXJlKCk7XHJcbn1cclxuIl19

@@ -205,2 +205,2 @@ "use strict";

}
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL251Y2xpZGUvbnVjbGlkZS1jb21tb25zL3Rlc3QtaGVscGVycy5qcyJdLCJuYW1lcyI6WyJhdG9tIiwiaW5TcGVjTW9kZSIsInByb2Nlc3MiLCJlbnYiLCJOT0RFX0VOViIsImV4cGVjdEFzeW5jRmFpbHVyZSIsInByb21pc2UiLCJ2ZXJpZnkiLCJQcm9taXNlIiwicmVqZWN0IiwiRXJyb3IiLCJlIiwiY2xlYXJSZXF1aXJlQ2FjaGUiLCJyZXF1aXJlIiwibW9kdWxlIiwiY2FjaGUiLCJyZXNvbHZlIiwidW5jYWNoZWRSZXF1aXJlIiwic3B5T25HZXR0ZXJWYWx1ZSIsIm9iamVjdCIsImYiLCJ2YWx1ZSIsInNweU9uIiwiYXJlUHJvcGVydGllc0VxdWFsIiwib2JqMSIsIm9iajIiLCJhbGxQcm9wcyIsIlNldCIsImFkZEFsbFByb3BzIiwib2JqIiwicHJvcCIsIk9iamVjdCIsImtleXMiLCJhZGQiLCJmb3JFYWNoIiwiZXhwZWN0T2JzZXJ2YWJsZVRvU3RhcnRXaXRoIiwic291cmNlIiwiZXhwZWN0ZWQiLCJhY3R1YWwiLCJ0YWtlIiwibGVuZ3RoIiwidG9BcnJheSIsInRvUHJvbWlzZSIsImV4cGVjdCIsInRvRXF1YWwiL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BjYW4gb3B0aW1pemUgYnkgZ29pbmcgc3RyYWlnaHQgdG8gYGZzYC4gV2hlbiB5b3UncmVcclxuICAgICAgLy8gbWFraW5nIDEwayBmaWxlcywgdGhpcyBhZGRzIH41MDBtcy5cclxuICAgICAgcmV0dXJuIG5ldyBQcm9taXNlKChyZXNvbHZlLCByZWplY3QpID0+IHtcclxuICAgICAgICBmcy53cml0ZUZpbGUoZmlsZW5hbWUsIGNvbnRlbnRzIHx8ICcnLCBlcnIgPT4ge1xyXG4gICAgICAgICAgaWYgKGVycikge1xyXG4gICAgICAgICAgICByZWplY3QoZXJyKTtcclxuICAgICAgICAgIH0gZWxzZSB7XHJcbiAgICAgICAgICAgIHJlc29sdmUoKTtcclxuICAgICAgICAgIH1cclxuICAgICAgICB9KTtcclxuICAgICAgfSk7XHJcbiAgICB9LFxyXG4gICk7XHJcblxyXG4gIHJldHVybiB0ZW1wRGlyO1xyXG59XHJcblxyXG5leHBvcnQgZnVuY3Rpb24gd3JpdGVDb3ZlcmFnZSgpOiB2b2lkIHtcclxuICBjb25zdCB7Q09WRVJBR0VfRElSfSA9IHByb2Nlc3MuZW52O1xyXG4gIGlmIChDT1ZFUkFHRV9ESVIgIT0gbnVsbCkge1xyXG4gICAgY29uc3QgY292ZXJhZ2UgPSBnbG9iYWwuX19jb3ZlcmFnZV9fO1xyXG4gICAgaWYgKGNvdmVyYWdlICE9IG51bGwpIHtcclxuICAgICAgZnMud3JpdGVGaWxlU3luYyhcclxuICAgICAgICBudWNsaWRlVXJpLmpvaW4oQ09WRVJBR0VfRElSLCB1dWlkLnY0KCkgKyAnLmpzb24nKSxcclxuICAgICAgICBKU09OLnN0cmluZ2lmeShjb3ZlcmFnZSksXHJcbiAgICAgICk7XHJcbiAgICB9XHJcbiAgfVxyXG59XHJcbiJdfQ==

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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