Skip to content

Commit 70058cd

Browse files
committed
feat(reorganization): internal utils hidden
BREAKING CHANGE: Many internal use utilities like `isArray` are now hidden under `rxjs/internal`, they are implementation details and should not be used.
1 parent b981666 commit 70058cd

File tree

128 files changed

+172
-172
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

128 files changed

+172
-172
lines changed

spec/helpers/test-helper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ declare const global: any;
22

33
import * as Rx from '../../src/Rx';
44
import { ObservableInput } from '../../src/Observable';
5-
import { root } from '../../src/util/root';
5+
import { root } from '../../src/internal/util/root';
66
import { $$iterator } from '../../src/internal/symbol/iterator';
77
import $$symbolObservable from 'symbol-observable';
88

spec/observables/dom/ajax-spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { expect } from 'chai';
22
import * as sinon from 'sinon';
33
import * as Rx from '../../../src/Rx';
4-
import { root } from '../../../src/util/root';
4+
import { root } from '../../../src/internal/util/root';
55

66
declare const global: any;
77

spec/observables/fromEventPattern-spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { expect } from 'chai';
22
import * as sinon from 'sinon';
33
import * as Rx from '../../src/Rx';
4-
import { noop } from '../../src/util/noop';
4+
import { noop } from '../../src/internal/util/noop';
55
import marbleTestingSignature = require('../helpers/marble-testing'); // tslint:disable-line:no-require-imports
66

77
declare const { asDiagram };

spec/symbol/observable-spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { expect } from 'chai';
22
import $$symbolObservable from 'symbol-observable';
33

4-
import { root } from '../../src/util/root';
4+
import { root } from '../../src/internal/util/root';
55
import { getSymbolObservable } from '../../src/internal/symbol/observable';
66

77
describe('observable symbol', () => {

spec/symbol/rxSubscriber-spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { expect } from 'chai';
2-
import { root } from '../../src/util/root';
2+
import { root } from '../../src/internal/util/root';
33
import {$$rxSubscriber} from '../../src/internal/symbol/rxSubscriber';
44

55
describe('rxSubscriber symbol', () => {

spec/util/Immediate-spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { expect } from 'chai';
2-
import { Immediate } from '../../src/util/Immediate';
2+
import { Immediate } from '../../src/internal/util/Immediate';
33

44
describe('Immediate', () => {
55
it('should schedule on the next microtask', (done) => {

spec/util/assign-spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { expect } from 'chai';
2-
import { assign, getAssign, assignImpl } from '../../src/util/assign';
2+
import { assign, getAssign, assignImpl } from '../../src/internal/util/assign';
33

44
describe('assign', () => {
55
it('should exist', () => {
@@ -46,4 +46,4 @@ describe('getAssign', () => {
4646
const result = getAssign({ Object: { assign: FAKE } });
4747
expect(result).to.equal(FAKE);
4848
});
49-
});
49+
});

spec/util/pipe-spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { expect } from 'chai';
2-
import { pipe } from '../../src/util/pipe';
2+
import { pipe } from '../../src/internal/util/pipe';
33

44
describe('pipe', () => {
55
it('should exist', () => {

spec/util/subscribeToResult-spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { expect } from 'chai';
22
import * as Rx from '../../src/Rx';
3-
import { subscribeToResult } from '../../src/util/subscribeToResult';
3+
import { subscribeToResult } from '../../src/internal/util/subscribeToResult';
44
import { OuterSubscriber } from '../../src/internal/OuterSubscriber';
55
import { $$iterator } from '../../src/internal/symbol/iterator';
66
import $$symbolObservable from 'symbol-observable';

spec/util/toSubscriber-spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { expect } from 'chai';
2-
import { toSubscriber } from '../../src/util/toSubscriber';
2+
import { toSubscriber } from '../../src/internal/util/toSubscriber';
33

44
describe('toSubscriber', () => {
55
it('should not be closed when other subscriber created with no arguments completes', () => {

0 commit comments

Comments
 (0)