From d55b767039605256c736166a942a9138e3eacfd7 Mon Sep 17 00:00:00 2001 From: Pinapelz Date: Sun, 29 Jun 2025 11:49:28 -0700 Subject: remove dev node_modules (oops) --- node_modules/rxjs/dist/esm5/internal/operators/first.js | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 node_modules/rxjs/dist/esm5/internal/operators/first.js (limited to 'node_modules/rxjs/dist/esm5/internal/operators/first.js') diff --git a/node_modules/rxjs/dist/esm5/internal/operators/first.js b/node_modules/rxjs/dist/esm5/internal/operators/first.js deleted file mode 100644 index 2718af9..0000000 --- a/node_modules/rxjs/dist/esm5/internal/operators/first.js +++ /dev/null @@ -1,13 +0,0 @@ -import { EmptyError } from '../util/EmptyError'; -import { filter } from './filter'; -import { take } from './take'; -import { defaultIfEmpty } from './defaultIfEmpty'; -import { throwIfEmpty } from './throwIfEmpty'; -import { identity } from '../util/identity'; -export function first(predicate, defaultValue) { - var hasDefaultValue = arguments.length >= 2; - return function (source) { - return source.pipe(predicate ? filter(function (v, i) { return predicate(v, i, source); }) : identity, take(1), hasDefaultValue ? defaultIfEmpty(defaultValue) : throwIfEmpty(function () { return new EmptyError(); })); - }; -} -//# sourceMappingURL=first.js.map \ No newline at end of file -- cgit v1.2.3