Skip to content

Commit

Permalink
feat(compat): add all utilities to internal-compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonaden committed Mar 29, 2018
1 parent 8d44124 commit a9ecfe7
Show file tree
Hide file tree
Showing 64 changed files with 90 additions and 3 deletions.
1 change: 1 addition & 0 deletions compat/util/ArgumentOutOfRangeError.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { ArgumentOutOfRangeError } from 'rxjs/internal-compatibility';
1 change: 1 addition & 0 deletions compat/util/EmptyError.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { EmptyError } from 'rxjs/internal-compatibility';
1 change: 1 addition & 0 deletions compat/util/ObjectUnsubscribedError.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { ObjectUnsubscribedError } from 'rxjs/internal-compatibility';
1 change: 1 addition & 0 deletions compat/util/TimeoutError.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { TimeoutError } from 'rxjs/internal-compatibility';
1 change: 1 addition & 0 deletions compat/util/UnsubscriptionError.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { UnsubscriptionError } from 'rxjs/internal-compatibility';
1 change: 1 addition & 0 deletions compat/util/applyMixins.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { applyMixins } from 'rxjs/internal-compatibility';
1 change: 1 addition & 0 deletions compat/util/errorObject.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { errorObject } from 'rxjs/internal-compatibility';
1 change: 1 addition & 0 deletions compat/util/hostReportError.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { hostReportError } from 'rxjs/internal-compatibility';
1 change: 1 addition & 0 deletions compat/util/identity.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { identity } from 'rxjs/internal-compatibility';
1 change: 1 addition & 0 deletions compat/util/isArray.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { isArray } from 'rxjs/internal-compatibility';
1 change: 1 addition & 0 deletions compat/util/isArrayLike.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { isArrayLike } from 'rxjs/internal-compatibility';
1 change: 1 addition & 0 deletions compat/util/isDate.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { isDate } from 'rxjs/internal-compatibility';
1 change: 1 addition & 0 deletions compat/util/isFunction.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { isFunction } from 'rxjs/internal-compatibility';
1 change: 1 addition & 0 deletions compat/util/isIterable.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { isIterable } from 'rxjs/internal-compatibility';
1 change: 1 addition & 0 deletions compat/util/isNumeric.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { isNumeric } from 'rxjs/internal-compatibility';
1 change: 1 addition & 0 deletions compat/util/isObject.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { isObject } from 'rxjs/internal-compatibility';
1 change: 1 addition & 0 deletions compat/util/isObservable.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { isObservable } from 'rxjs/internal-compatibility';
1 change: 1 addition & 0 deletions compat/util/isPromise.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { isPromise } from 'rxjs/internal-compatibility';
1 change: 1 addition & 0 deletions compat/util/isScheduler.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { isScheduler } from 'rxjs/internal-compatibility';
1 change: 1 addition & 0 deletions compat/util/noop.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { noop } from 'rxjs/internal-compatibility';
1 change: 1 addition & 0 deletions compat/util/not.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { not } from 'rxjs/internal-compatibility';
1 change: 1 addition & 0 deletions compat/util/pipe.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { pipe } from 'rxjs/internal-compatibility';
2 changes: 1 addition & 1 deletion compat/util/root.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { root } from 'rxjs/internal-compatibility';
export { root } from 'rxjs/internal-compatibility';
1 change: 1 addition & 0 deletions compat/util/subscribeTo.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { subscribeTo } from 'rxjs/internal-compatibility';
1 change: 1 addition & 0 deletions compat/util/subscribeToArray.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { subscribeToArray } from 'rxjs/internal-compatibility';
1 change: 1 addition & 0 deletions compat/util/subscribeToIterable.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { subscribeToIterable } from 'rxjs/internal-compatibility';
1 change: 1 addition & 0 deletions compat/util/subscribeToObservable.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { subscribeToObservable } from 'rxjs/internal-compatibility';
1 change: 1 addition & 0 deletions compat/util/subscribeToPromise.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { subscribeToPromise } from 'rxjs/internal-compatibility';
1 change: 1 addition & 0 deletions compat/util/subscribeToResult.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { subscribeToResult } from 'rxjs/internal-compatibility';
1 change: 1 addition & 0 deletions compat/util/toSubscriber.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { toSubscriber } from 'rxjs/internal-compatibility';
1 change: 1 addition & 0 deletions compat/util/tryCatch.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { tryCatch } from 'rxjs/internal-compatibility';
1 change: 1 addition & 0 deletions legacy-reexport/util/ArgumentOutOfRangeError.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from 'rxjs-compat/util/ArgumentOutOfRangeError';
1 change: 1 addition & 0 deletions legacy-reexport/util/EmptyError.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from 'rxjs-compat/util/EmptyError';
2 changes: 1 addition & 1 deletion legacy-reexport/util/Immediate.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * from 'rxjs-compat/util/Immediate';
export * from 'rxjs-compat/util/Immediate';
1 change: 1 addition & 0 deletions legacy-reexport/util/ObjectUnsubscribedError.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from 'rxjs-compat/util/ObjectUnsubscribedError';
1 change: 1 addition & 0 deletions legacy-reexport/util/TimeoutError.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from 'rxjs-compat/util/TimeoutError';
1 change: 1 addition & 0 deletions legacy-reexport/util/UnsubscriptionError.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from 'rxjs-compat/util/UnsubscriptionError';
1 change: 1 addition & 0 deletions legacy-reexport/util/applyMixins.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from 'rxjs-compat/util/applyMixins';
1 change: 1 addition & 0 deletions legacy-reexport/util/errorObject.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from 'rxjs-compat/util/errorObject';
1 change: 1 addition & 0 deletions legacy-reexport/util/hostReportError.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from 'rxjs-compat/util/hostReportError';
1 change: 1 addition & 0 deletions legacy-reexport/util/identity.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from 'rxjs-compat/util/identity';
1 change: 1 addition & 0 deletions legacy-reexport/util/isArray.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from 'rxjs-compat/util/isArray';
1 change: 1 addition & 0 deletions legacy-reexport/util/isArrayLike.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from 'rxjs-compat/util/isArrayLike';
1 change: 1 addition & 0 deletions legacy-reexport/util/isDate.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from 'rxjs-compat/util/isDate';
1 change: 1 addition & 0 deletions legacy-reexport/util/isFunction.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from 'rxjs-compat/util/isFunction';
1 change: 1 addition & 0 deletions legacy-reexport/util/isIterable.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from 'rxjs-compat/util/isIterable';
1 change: 1 addition & 0 deletions legacy-reexport/util/isNumeric.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from 'rxjs-compat/util/isNumeric';
1 change: 1 addition & 0 deletions legacy-reexport/util/isObject.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from 'rxjs-compat/util/isObject';
1 change: 1 addition & 0 deletions legacy-reexport/util/isObservable.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from 'rxjs-compat/util/isObservable';
1 change: 1 addition & 0 deletions legacy-reexport/util/isPromise.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from 'rxjs-compat/util/isPromise';
1 change: 1 addition & 0 deletions legacy-reexport/util/isScheduler.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from 'rxjs-compat/util/isScheduler';
1 change: 1 addition & 0 deletions legacy-reexport/util/noop.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from 'rxjs-compat/util/noop';
1 change: 1 addition & 0 deletions legacy-reexport/util/not.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from 'rxjs-compat/util/not';
1 change: 1 addition & 0 deletions legacy-reexport/util/pipe.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from 'rxjs-compat/util/pipe';
2 changes: 1 addition & 1 deletion legacy-reexport/util/root.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * from 'rxjs-compat/util/root';
export * from 'rxjs-compat/util/root';
1 change: 1 addition & 0 deletions legacy-reexport/util/subscribeTo.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from 'rxjs-compat/util/subscribeTo';
1 change: 1 addition & 0 deletions legacy-reexport/util/subscribeToArray.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from 'rxjs-compat/util/subscribeToArray';
1 change: 1 addition & 0 deletions legacy-reexport/util/subscribeToIterable.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from 'rxjs-compat/util/subscribeToIterable';
1 change: 1 addition & 0 deletions legacy-reexport/util/subscribeToObservable.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from 'rxjs-compat/util/subscribeToObservable';
1 change: 1 addition & 0 deletions legacy-reexport/util/subscribeToPromise.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from 'rxjs-compat/util/subscribeToPromise';
1 change: 1 addition & 0 deletions legacy-reexport/util/subscribeToResult.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from 'rxjs-compat/util/subscribeToResult';
1 change: 1 addition & 0 deletions legacy-reexport/util/toSubscriber.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from 'rxjs-compat/util/toSubscriber';
1 change: 1 addition & 0 deletions legacy-reexport/util/tryCatch.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from 'rxjs-compat/util/tryCatch';
27 changes: 27 additions & 0 deletions src/internal-compatibility/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,35 @@ export { rxSubscriber } from '../internal/symbol/rxSubscriber';
export { iterator } from '../internal/symbol/iterator';
export { observable } from '../internal/symbol/observable';

export { ArgumentOutOfRangeError } from '../internal/util/ArgumentOutOfRangeError';
export { EmptyError } from '../internal/util/EmptyError';
export { Immediate } from '../internal/util/Immediate';
export { ObjectUnsubscribedError } from '../internal/util/ObjectUnsubscribedError';
export { TimeoutError } from '../internal/util/TimeoutError';
export { UnsubscriptionError } from '../internal/util/UnsubscriptionError';
export { applyMixins } from '../internal/util/applyMixins';
export { errorObject } from '../internal/util/errorObject';
export { hostReportError } from '../internal/util/hostReportError';
export { identity } from '../internal/util/identity';
export { isArray } from '../internal/util/isArray';
export { isArrayLike } from '../internal/util/isArrayLike';
export { isDate } from '../internal/util/isDate';
export { isFunction } from '../internal/util/isFunction';
export { isIterable } from '../internal/util/isIterable';
export { isNumeric } from '../internal/util/isNumeric';
export { isObject } from '../internal/util/isObject';
export { isObservable } from '../internal/util/isObservable';
export { isPromise } from '../internal/util/isPromise';
export { isScheduler } from '../internal/util/isScheduler';
export { noop } from '../internal/util/noop';
export { not } from '../internal/util/not';
export { pipe } from '../internal/util/pipe';
export { root } from '../internal/util/root';
export { subscribeTo } from '../internal/util/subscribeTo';
export { subscribeToArray } from '../internal/util/subscribeToArray';
export { subscribeToIterable } from '../internal/util/subscribeToIterable';
export { subscribeToObservable } from '../internal/util/subscribeToObservable';
export { subscribeToPromise } from '../internal/util/subscribeToPromise';
export { subscribeToResult } from '../internal/util/subscribeToResult';
export { toSubscriber } from '../internal/util/toSubscriber';
export { tryCatch } from '../internal/util/tryCatch';

0 comments on commit a9ecfe7

Please sign in to comment.