1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-11-14 10:57:41 +01:00

Switched to new RxJS API

This commit is contained in:
squidfunk 2021-11-13 12:05:24 +01:00
parent 9ef21503ca
commit 76035dee40
58 changed files with 265 additions and 220 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -228,7 +228,7 @@
</script> </script>
{% endblock %} {% endblock %}
{% block scripts %} {% block scripts %}
<script src="{{ 'assets/javascripts/bundle.6273739e.min.js' | url }}"></script> <script src="{{ 'assets/javascripts/bundle.0d86bc28.min.js' | url }}"></script>
{% for path in config["extra_javascript"] %} {% for path in config["extra_javascript"] %}
<script src="{{ path | url }}"></script> <script src="{{ path | url }}"></script>
{% endfor %} {% endfor %}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -16,5 +16,5 @@
{% endblock %} {% endblock %}
{% block scripts %} {% block scripts %}
{{ super() }} {{ super() }}
<script src="{{ 'overrides/assets/javascripts/bundle.35fbbc46.min.js' | url }}"></script> <script src="{{ 'overrides/assets/javascripts/bundle.2a83b894.min.js' | url }}"></script>
{% endblock %} {% endblock %}

View File

@ -20,8 +20,12 @@
* IN THE SOFTWARE. * IN THE SOFTWARE.
*/ */
import { ReplaySubject, Subject, fromEvent } from "rxjs" import {
import { mapTo } from "rxjs/operators" ReplaySubject,
Subject,
fromEvent,
mapTo
} from "rxjs"
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* Functions * Functions

View File

@ -20,8 +20,13 @@
* IN THE SOFTWARE. * IN THE SOFTWARE.
*/ */
import { Observable, fromEvent, merge } from "rxjs" import {
import { map, startWith } from "rxjs/operators" Observable,
fromEvent,
map,
merge,
startWith
} from "rxjs"
import { getActiveElement } from "../_" import { getActiveElement } from "../_"

View File

@ -20,12 +20,14 @@
* IN THE SOFTWARE. * IN THE SOFTWARE.
*/ */
import { Observable, fromEvent, merge } from "rxjs"
import { import {
Observable,
distinctUntilChanged, distinctUntilChanged,
fromEvent,
map, map,
merge,
startWith startWith
} from "rxjs/operators" } from "rxjs"
import { import {
getElementContentSize, getElementContentSize,

View File

@ -25,17 +25,15 @@ import {
Observable, Observable,
Subject, Subject,
defer, defer,
of
} from "rxjs"
import {
filter, filter,
finalize, finalize,
map, map,
of,
shareReplay, shareReplay,
startWith, startWith,
switchMap, switchMap,
tap tap
} from "rxjs/operators" } from "rxjs"
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* Types * Types

View File

@ -20,8 +20,13 @@
* IN THE SOFTWARE. * IN THE SOFTWARE.
*/ */
import { Observable, fromEvent } from "rxjs" import {
import { filter, map, share } from "rxjs/operators" Observable,
filter,
fromEvent,
map,
share
} from "rxjs"
import { getActiveElement } from "../element" import { getActiveElement } from "../element"
import { getToggle } from "../toggle" import { getToggle } from "../toggle"

View File

@ -20,13 +20,14 @@
* IN THE SOFTWARE. * IN THE SOFTWARE.
*/ */
import { Observable, fromEvent } from "rxjs"
import { import {
Observable,
filter, filter,
fromEvent,
map, map,
shareReplay, shareReplay,
startWith startWith
} from "rxjs/operators" } from "rxjs"
import { getElement } from "~/browser" import { getElement } from "~/browser"
import { h } from "~/utilities" import { h } from "~/utilities"

View File

@ -25,13 +25,11 @@ import {
Observable, Observable,
fromEvent, fromEvent,
fromEventPattern, fromEventPattern,
merge
} from "rxjs"
import {
mapTo, mapTo,
merge,
startWith, startWith,
switchMap switchMap
} from "rxjs/operators" } from "rxjs"
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* Functions * Functions

View File

@ -20,14 +20,16 @@
* IN THE SOFTWARE. * IN THE SOFTWARE.
*/ */
import { EMPTY, Observable, from } from "rxjs"
import { import {
EMPTY,
Observable,
catchError, catchError,
filter, filter,
from,
map, map,
shareReplay, shareReplay,
switchMap switchMap
} from "rxjs/operators" } from "rxjs"
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* Functions * Functions

View File

@ -20,8 +20,12 @@
* IN THE SOFTWARE. * IN THE SOFTWARE.
*/ */
import { Observable, fromEvent } from "rxjs" import {
import { map, startWith } from "rxjs/operators" Observable,
fromEvent,
map,
startWith
} from "rxjs"
import { getElementOrThrow } from "../element" import { getElementOrThrow } from "../element"

View File

@ -20,12 +20,13 @@
* IN THE SOFTWARE. * IN THE SOFTWARE.
*/ */
import { Observable, combineLatest } from "rxjs"
import { import {
Observable,
combineLatest,
distinctUntilKeyChanged, distinctUntilKeyChanged,
map, map,
shareReplay shareReplay
} from "rxjs/operators" } from "rxjs"
import { Header } from "~/components" import { Header } from "~/components"

View File

@ -20,8 +20,13 @@
* IN THE SOFTWARE. * IN THE SOFTWARE.
*/ */
import { Observable, fromEvent, merge } from "rxjs" import {
import { map, startWith } from "rxjs/operators" Observable,
fromEvent,
map,
merge,
startWith
} from "rxjs"
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* Types * Types

View File

@ -20,8 +20,12 @@
* IN THE SOFTWARE. * IN THE SOFTWARE.
*/ */
import { Observable, fromEvent } from "rxjs" import {
import { map, startWith } from "rxjs/operators" Observable,
fromEvent,
map,
startWith
} from "rxjs"
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* Types * Types

View File

@ -20,14 +20,16 @@
* IN THE SOFTWARE. * IN THE SOFTWARE.
*/ */
import { Observable, Subject, fromEvent } from "rxjs"
import { import {
Observable,
Subject,
fromEvent,
map, map,
share, share,
switchMapTo, switchMapTo,
tap, tap,
throttle throttle
} from "rxjs/operators" } from "rxjs"
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* Types * Types

View File

@ -21,15 +21,18 @@
*/ */
import "focus-visible" import "focus-visible"
import { NEVER, Subject, defer, merge } from "rxjs"
import { import {
NEVER,
Subject,
defer,
delay, delay,
filter, filter,
map, map,
merge,
mergeWith, mergeWith,
shareReplay, shareReplay,
switchMap switchMap
} from "rxjs/operators" } from "rxjs"
import { configuration, feature } from "./_" import { configuration, feature } from "./_"
import { import {

View File

@ -25,22 +25,20 @@ import {
NEVER, NEVER,
Observable, Observable,
Subject, Subject,
fromEvent,
merge,
of
} from "rxjs"
import {
combineLatestWith, combineLatestWith,
distinctUntilKeyChanged, distinctUntilKeyChanged,
finalize, finalize,
fromEvent,
map, map,
merge,
mergeWith, mergeWith,
of,
switchMap, switchMap,
take, take,
takeWhile, takeWhile,
tap, tap,
withLatestFrom withLatestFrom
} from "rxjs/operators" } from "rxjs"
import { feature } from "~/_" import { feature } from "~/_"
import { resetFocusable, setFocusable } from "~/actions" import { resetFocusable, setFocusable } from "~/actions"

View File

@ -20,14 +20,16 @@
* IN THE SOFTWARE. * IN THE SOFTWARE.
*/ */
import { Observable, Subject, merge } from "rxjs"
import { import {
Observable,
Subject,
filter, filter,
finalize, finalize,
map, map,
mapTo, mapTo,
merge,
tap tap
} from "rxjs/operators" } from "rxjs"
import { Component } from "../../_" import { Component } from "../../_"

View File

@ -20,10 +20,22 @@
* IN THE SOFTWARE. * IN THE SOFTWARE.
*/ */
import { NEVER, Observable, Subject, fromEvent, merge } from "rxjs" import {
import { finalize, map, mapTo, tap } from "rxjs/operators" NEVER,
Observable,
Subject,
finalize,
fromEvent,
map,
mapTo,
merge,
tap
} from "rxjs"
import { getElementOrThrow, getElements } from "~/browser" import {
getElementOrThrow,
getElements
} from "~/browser"
import { Component } from "../../_" import { Component } from "../../_"

View File

@ -24,17 +24,15 @@ import {
Observable, Observable,
Subject, Subject,
animationFrameScheduler, animationFrameScheduler,
merge,
of
} from "rxjs"
import {
delay, delay,
finalize, finalize,
map, map,
merge,
observeOn, observeOn,
of,
switchMap, switchMap,
tap tap
} from "rxjs/operators" } from "rxjs"
import { import {
resetDialogState, resetDialogState,

View File

@ -24,22 +24,20 @@ import {
Observable, Observable,
Subject, Subject,
animationFrameScheduler, animationFrameScheduler,
combineLatest,
defer,
of
} from "rxjs"
import {
bufferCount, bufferCount,
combineLatest,
combineLatestWith, combineLatestWith,
defer,
distinctUntilChanged, distinctUntilChanged,
distinctUntilKeyChanged, distinctUntilKeyChanged,
filter, filter,
map, map,
observeOn, observeOn,
of,
shareReplay, shareReplay,
startWith, startWith,
switchMap switchMap
} from "rxjs/operators" } from "rxjs"
import { feature } from "~/_" import { feature } from "~/_"
import { resetHeaderState, setHeaderState } from "~/actions" import { resetHeaderState, setHeaderState } from "~/actions"

View File

@ -24,15 +24,13 @@ import {
NEVER, NEVER,
Observable, Observable,
Subject, Subject,
animationFrameScheduler animationFrameScheduler,
} from "rxjs"
import {
distinctUntilKeyChanged, distinctUntilKeyChanged,
finalize, finalize,
map, map,
observeOn, observeOn,
tap tap
} from "rxjs/operators" } from "rxjs"
import { import {
resetHeaderTitleState, resetHeaderTitleState,

View File

@ -22,14 +22,12 @@
import { import {
Observable, Observable,
combineLatest combineLatest,
} from "rxjs"
import {
distinctUntilChanged, distinctUntilChanged,
distinctUntilKeyChanged, distinctUntilKeyChanged,
map, map,
switchMap switchMap
} from "rxjs/operators" } from "rxjs"
import { Viewport, watchElementSize } from "~/browser" import { Viewport, watchElementSize } from "~/browser"

View File

@ -23,18 +23,16 @@
import { import {
Observable, Observable,
Subject, Subject,
fromEvent,
of
} from "rxjs"
import {
finalize, finalize,
fromEvent,
map, map,
mapTo, mapTo,
mergeMap, mergeMap,
of,
shareReplay, shareReplay,
startWith, startWith,
tap tap
} from "rxjs/operators" } from "rxjs"
import { getElements } from "~/browser" import { getElements } from "~/browser"

View File

@ -20,8 +20,16 @@
* IN THE SOFTWARE. * IN THE SOFTWARE.
*/ */
import { NEVER, Observable, ObservableInput, merge } from "rxjs" import {
import { filter, mergeWith, sample, take } from "rxjs/operators" NEVER,
Observable,
ObservableInput,
filter,
merge,
mergeWith,
sample,
take
} from "rxjs"
import { configuration } from "~/_" import { configuration } from "~/_"
import { import {

View File

@ -23,9 +23,11 @@
import { import {
Observable, Observable,
ObservableInput, ObservableInput,
combineLatest combineLatest,
filter,
map,
startWith
} from "rxjs" } from "rxjs"
import { filter, map, startWith } from "rxjs/operators"
import { getLocation } from "~/browser" import { getLocation } from "~/browser"
import { import {

View File

@ -24,23 +24,21 @@ import {
Observable, Observable,
Subject, Subject,
combineLatest, combineLatest,
fromEvent,
merge
} from "rxjs"
import {
delay, delay,
distinctUntilChanged, distinctUntilChanged,
distinctUntilKeyChanged, distinctUntilKeyChanged,
filter, filter,
finalize, finalize,
fromEvent,
map, map,
merge,
shareReplay, shareReplay,
startWith, startWith,
take, take,
takeLast, takeLast,
takeUntil, takeUntil,
tap tap
} from "rxjs/operators" } from "rxjs"
import { import {
resetSearchQueryPlaceholder, resetSearchQueryPlaceholder,

View File

@ -24,22 +24,20 @@ import {
Observable, Observable,
Subject, Subject,
animationFrameScheduler, animationFrameScheduler,
merge,
of
} from "rxjs"
import {
bufferCount, bufferCount,
filter, filter,
finalize, finalize,
map, map,
merge,
observeOn, observeOn,
of,
skipUntil, skipUntil,
switchMap, switchMap,
take, take,
tap, tap,
withLatestFrom, withLatestFrom,
zipWith zipWith
} from "rxjs/operators" } from "rxjs"
import { import {
addToSearchResultList, addToSearchResultList,

View File

@ -23,13 +23,11 @@
import { import {
Observable, Observable,
Subject, Subject,
fromEvent
} from "rxjs"
import {
finalize, finalize,
fromEvent,
map, map,
tap tap
} from "rxjs/operators" } from "rxjs"
import { getLocation } from "~/browser" import { getLocation } from "~/browser"

View File

@ -24,18 +24,16 @@ import {
Observable, Observable,
Subject, Subject,
asyncScheduler, asyncScheduler,
fromEvent,
merge
} from "rxjs"
import {
combineLatestWith, combineLatestWith,
distinctUntilChanged, distinctUntilChanged,
filter, filter,
finalize, finalize,
fromEvent,
map, map,
merge,
observeOn, observeOn,
tap tap
} from "rxjs/operators" } from "rxjs"
import { Keyboard } from "~/browser" import { Keyboard } from "~/browser"
import { import {

View File

@ -24,16 +24,14 @@ import {
Observable, Observable,
Subject, Subject,
animationFrameScheduler, animationFrameScheduler,
combineLatest combineLatest,
} from "rxjs"
import {
distinctUntilChanged, distinctUntilChanged,
finalize, finalize,
map, map,
observeOn, observeOn,
tap, tap,
withLatestFrom withLatestFrom
} from "rxjs/operators" } from "rxjs"
import { import {
resetSidebarHeight, resetSidebarHeight,

View File

@ -20,15 +20,19 @@
* IN THE SOFTWARE. * IN THE SOFTWARE.
*/ */
import { NEVER, Observable, Subject, defer, of } from "rxjs"
import { import {
NEVER,
Observable,
Subject,
catchError, catchError,
defer,
filter, filter,
finalize, finalize,
map, map,
of,
shareReplay, shareReplay,
tap tap
} from "rxjs/operators" } from "rxjs"
import { setSourceFacts, setSourceState } from "~/actions" import { setSourceFacts, setSourceState } from "~/actions"
import { renderSourceFacts } from "~/templates" import { renderSourceFacts } from "~/templates"

View File

@ -21,8 +21,12 @@
*/ */
import { Repo, User } from "github-types" import { Repo, User } from "github-types"
import { Observable, zip } from "rxjs" import {
import { defaultIfEmpty, map } from "rxjs/operators" Observable,
defaultIfEmpty,
map,
zip
} from "rxjs"
import { requestJSON } from "~/browser" import { requestJSON } from "~/browser"

View File

@ -21,8 +21,11 @@
*/ */
import { ProjectSchema } from "gitlab" import { ProjectSchema } from "gitlab"
import { Observable } from "rxjs" import {
import { defaultIfEmpty, map } from "rxjs/operators" Observable,
defaultIfEmpty,
map
} from "rxjs"
import { requestJSON } from "~/browser" import { requestJSON } from "~/browser"

View File

@ -24,16 +24,14 @@ import {
Observable, Observable,
Subject, Subject,
animationFrameScheduler, animationFrameScheduler,
of
} from "rxjs"
import {
distinctUntilKeyChanged, distinctUntilKeyChanged,
finalize, finalize,
map, map,
observeOn, observeOn,
of,
switchMap, switchMap,
tap tap
} from "rxjs/operators" } from "rxjs"
import { feature } from "~/_" import { feature } from "~/_"
import { resetTabsState, setTabsState } from "~/actions" import { resetTabsState, setTabsState } from "~/actions"

View File

@ -24,22 +24,20 @@ import {
Observable, Observable,
Subject, Subject,
animationFrameScheduler, animationFrameScheduler,
bufferCount,
combineLatest, combineLatest,
defer, defer,
of
} from "rxjs"
import {
bufferCount,
distinctUntilChanged, distinctUntilChanged,
distinctUntilKeyChanged, distinctUntilKeyChanged,
finalize, finalize,
map, map,
observeOn, observeOn,
of,
scan, scan,
startWith, startWith,
switchMap, switchMap,
tap tap
} from "rxjs/operators" } from "rxjs"
import { feature } from "~/_" import { feature } from "~/_"
import { import {

View File

@ -24,10 +24,8 @@ import {
Observable, Observable,
Subject, Subject,
animationFrameScheduler, animationFrameScheduler,
combineLatest
} from "rxjs"
import {
bufferCount, bufferCount,
combineLatest,
distinctUntilChanged, distinctUntilChanged,
distinctUntilKeyChanged, distinctUntilKeyChanged,
finalize, finalize,
@ -35,7 +33,7 @@ import {
observeOn, observeOn,
tap, tap,
withLatestFrom withLatestFrom
} from "rxjs/operators" } from "rxjs"
import { import {
resetBackToTopOffset, resetBackToTopOffset,

View File

@ -25,11 +25,6 @@ import {
NEVER, NEVER,
Observable, Observable,
Subject, Subject,
fromEvent,
merge,
of
} from "rxjs"
import {
bufferCount, bufferCount,
catchError, catchError,
concatMap, concatMap,
@ -37,13 +32,16 @@ import {
distinctUntilChanged, distinctUntilChanged,
distinctUntilKeyChanged, distinctUntilKeyChanged,
filter, filter,
fromEvent,
map, map,
merge,
of,
sample, sample,
share, share,
skip, skip,
skipUntil, skipUntil,
switchMap switchMap
} from "rxjs/operators" } from "rxjs"
import { configuration, feature } from "~/_" import { configuration, feature } from "~/_"
import { import {

View File

@ -20,8 +20,13 @@
* IN THE SOFTWARE. * IN THE SOFTWARE.
*/ */
import { ObservableInput, Subject, from } from "rxjs" import {
import { map, share } from "rxjs/operators" ObservableInput,
Subject,
from,
map,
share
} from "rxjs"
import { configuration, feature, translation } from "~/_" import { configuration, feature, translation } from "~/_"
import { WorkerHandler, watchWorker } from "~/browser" import { WorkerHandler, watchWorker } from "~/browser"

View File

@ -20,8 +20,7 @@
* IN THE SOFTWARE. * IN THE SOFTWARE.
*/ */
import { combineLatest } from "rxjs" import { combineLatest, map } from "rxjs"
import { map } from "rxjs/operators"
import { configuration } from "~/_" import { configuration } from "~/_"
import { import {

View File

@ -20,15 +20,17 @@
* IN THE SOFTWARE. * IN THE SOFTWARE.
*/ */
import { Observable, fromEvent, of } from "rxjs"
import { import {
Observable,
fromEvent,
mapTo, mapTo,
mergeMap, mergeMap,
of,
switchMap, switchMap,
takeWhile, takeWhile,
tap, tap,
withLatestFrom withLatestFrom
} from "rxjs/operators" } from "rxjs"
import { getElements } from "~/browser" import { getElements } from "~/browser"

View File

@ -20,14 +20,16 @@
* IN THE SOFTWARE. * IN THE SOFTWARE.
*/ */
import { Observable, fromEvent, of } from "rxjs"
import { import {
Observable,
filter, filter,
fromEvent,
mapTo, mapTo,
mergeMap, mergeMap,
of,
switchMap, switchMap,
tap tap
} from "rxjs/operators" } from "rxjs"
import { getElements } from "~/browser" import { getElements } from "~/browser"

View File

@ -24,15 +24,13 @@ import {
Observable, Observable,
animationFrameScheduler, animationFrameScheduler,
combineLatest, combineLatest,
of
} from "rxjs"
import {
delay, delay,
map, map,
observeOn, observeOn,
of,
switchMap, switchMap,
withLatestFrom withLatestFrom
} from "rxjs/operators" } from "rxjs"
import { resetScrollLock, setScrollLock } from "~/actions" import { resetScrollLock, setScrollLock } from "~/actions"
import { Viewport, watchToggle } from "~/browser" import { Viewport, watchToggle } from "~/browser"

View File

@ -20,8 +20,7 @@
* IN THE SOFTWARE. * IN THE SOFTWARE.
*/ */
import { merge } from "rxjs" import { merge, switchMap } from "rxjs"
import { switchMap } from "rxjs/operators"
import { import {
getComponentElements, getComponentElements,

View File

@ -23,16 +23,14 @@
import { import {
Observable, Observable,
combineLatest, combineLatest,
fromEvent,
merge
} from "rxjs"
import {
delay, delay,
distinctUntilChanged, distinctUntilChanged,
filter, filter,
fromEvent,
map, map,
merge,
withLatestFrom withLatestFrom
} from "rxjs/operators" } from "rxjs"
import { watchElementFocus } from "~/browser" import { watchElementFocus } from "~/browser"

View File

@ -25,22 +25,20 @@ import {
Observable, Observable,
Subject, Subject,
animationFrameScheduler, animationFrameScheduler,
combineLatest,
merge,
of
} from "rxjs"
import {
bufferCount, bufferCount,
combineLatest,
distinctUntilKeyChanged, distinctUntilKeyChanged,
filter, filter,
finalize, finalize,
map, map,
merge,
observeOn, observeOn,
of,
switchMap, switchMap,
tap, tap,
withLatestFrom, withLatestFrom,
zipWith zipWith
} from "rxjs/operators" } from "rxjs"
import { import {
addToSearchResultList, addToSearchResultList,

View File

@ -20,8 +20,7 @@
* IN THE SOFTWARE. * IN THE SOFTWARE.
*/ */
import { Observable } from "rxjs" import { Observable, map } from "rxjs"
import { map } from "rxjs/operators"
import { getElementOrThrow, requestJSON } from "~/browser" import { getElementOrThrow, requestJSON } from "~/browser"

View File

@ -28,16 +28,14 @@ import {
from, from,
fromEvent, fromEvent,
identity, identity,
defer,
of
} from "rxjs"
import {
catchError, catchError,
defer,
mapTo, mapTo,
mergeWith, mergeWith,
of,
switchMap, switchMap,
tap tap
} from "rxjs/operators" } from "rxjs"
import glob from "tiny-glob" import glob from "tiny-glob"
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------

View File

@ -22,8 +22,13 @@
import * as fs from "fs/promises" import * as fs from "fs/promises"
import * as path from "path" import * as path from "path"
import { Observable, from } from "rxjs" import {
import { mapTo, mergeMap, switchMap } from "rxjs/operators" Observable,
from,
mapTo,
mergeMap,
switchMap
} from "rxjs"
import { mkdir, read, resolve, write } from "../_" import { mkdir, read, resolve, write } from "../_"

View File

@ -22,17 +22,22 @@
import { minify as minhtml } from "html-minifier" import { minify as minhtml } from "html-minifier"
import * as path from "path" import * as path from "path"
import { concat, defer, EMPTY, merge, of, zip } from "rxjs"
import { import {
EMPTY,
concat,
concatMap, concatMap,
defer,
map, map,
merge,
of,
reduce, reduce,
scan, scan,
startWith, startWith,
switchMap, switchMap,
switchMapTo, switchMapTo,
toArray toArray,
} from "rxjs/operators" zip
} from "rxjs"
import { import {
extendDefaultPlugins, extendDefaultPlugins,
optimize optimize

View File

@ -27,17 +27,15 @@ import postcss from "postcss"
import { import {
NEVER, NEVER,
Observable, Observable,
catchError,
concat, concat,
defer, defer,
merge,
of
} from "rxjs"
import {
catchError,
endWith, endWith,
ignoreElements, ignoreElements,
merge,
of,
switchMap switchMap
} from "rxjs/operators" } from "rxjs"
import { render as sass } from "sass" import { render as sass } from "sass"
import { promisify } from "util" import { promisify } from "util"