@ngrx/component-store
Advanced tools
Comparing version 14.3.2 to 15.0.0-beta.0
{ | ||
"name": "@ngrx/component-store", | ||
"version": "14.3.2", | ||
"version": "15.0.0-beta.0", | ||
"description": "Reactive store for component state", | ||
@@ -25,3 +25,3 @@ "repository": { | ||
"peerDependencies": { | ||
"@angular/core": "^14.0.0", | ||
"@angular/core": "^15.0.0-rc.0", | ||
"rxjs": "^6.5.3 || ^7.5.0" | ||
@@ -28,0 +28,0 @@ }, |
@@ -14,3 +14,3 @@ "use strict"; | ||
exports.__esModule = true; | ||
exports.getNodeDecorators = exports.visitTemplates = exports.visitNgModules = exports.visitDecorator = exports.visitComponents = exports.visitNgModuleExports = exports.visitNgModuleImports = exports.visitTSSourceFiles = exports.platformVersion = exports.addPackageToPackageJson = exports.parseName = exports.updatePackage = exports.stringUtils = exports.isLib = exports.getProject = exports.getProjectPath = exports.getPrefix = exports.omit = exports.addReducerToActionReducerMap = exports.addReducerImportToNgModule = exports.addReducerToStateInterface = exports.addReducerToState = exports.findPropertyInAstObject = exports.buildRelativePath = exports.findModuleFromOptions = exports.findModule = exports.findComponentFromOptions = exports.getWorkspacePath = exports.getWorkspace = exports.commitChanges = exports.createChangeRecorder = exports.createReplaceChange = exports.ReplaceChange = exports.RemoveChange = exports.InsertChange = exports.NoopChange = exports.containsProperty = exports.replaceImport = exports.addProviderToModule = exports.addProviderToComponent = exports.addImportToModule = exports.addExportToModule = exports.addDeclarationToModule = exports.addBootstrapToModule = exports.insertImport = exports.insertAfterLastOccurrence = exports.getContentOfKeyLiteral = exports.getDecoratorMetadata = exports.getSourceNodes = exports.findNodes = void 0; | ||
exports.visitTemplates = exports.visitNgModules = exports.visitDecorator = exports.visitComponents = exports.visitNgModuleExports = exports.visitNgModuleImports = exports.visitTSSourceFiles = exports.platformVersion = exports.addPackageToPackageJson = exports.parseName = exports.updatePackage = exports.stringUtils = exports.isLib = exports.getProject = exports.getProjectPath = exports.getPrefix = exports.omit = exports.addReducerToActionReducerMap = exports.addReducerImportToNgModule = exports.addReducerToStateInterface = exports.addReducerToState = exports.findPropertyInAstObject = exports.buildRelativePath = exports.findModuleFromOptions = exports.findModule = exports.findComponentFromOptions = exports.getWorkspacePath = exports.getWorkspace = exports.commitChanges = exports.createChangeRecorder = exports.createReplaceChange = exports.ReplaceChange = exports.RemoveChange = exports.InsertChange = exports.NoopChange = exports.containsProperty = exports.replaceImport = exports.addProviderToModule = exports.addProviderToComponent = exports.addImportToModule = exports.addExportToModule = exports.addDeclarationToModule = exports.addBootstrapToModule = exports.insertImport = exports.insertAfterLastOccurrence = exports.getContentOfKeyLiteral = exports.getDecoratorMetadata = exports.getSourceNodes = exports.findNodes = void 0; | ||
var strings_1 = require("./utility/strings"); | ||
@@ -89,4 +89,2 @@ var ast_utils_1 = require("./utility/ast-utils"); | ||
__createBinding(exports, visitors_1, "visitTemplates"); | ||
var decorators_1 = require("./utility/decorators"); | ||
__createBinding(exports, decorators_1, "getNodeDecorators"); | ||
//# sourceMappingURL=index.js.map |
"use strict"; | ||
exports.__esModule = true; | ||
exports.platformVersion = void 0; | ||
exports.platformVersion = '^14.3.2'; | ||
exports.platformVersion = '^15.0.0-beta.0'; | ||
//# sourceMappingURL=libs-version.js.map |
@@ -60,3 +60,2 @@ "use strict"; | ||
var core_1 = require("@angular-devkit/core"); | ||
var decorators_1 = require("./decorators"); | ||
function visitTSSourceFiles(tree, visitor) { | ||
@@ -161,3 +160,3 @@ var e_1, _a; | ||
var classDeclarationNode = node; | ||
var decorators = (0, decorators_1.getNodeDecorators)(classDeclarationNode); | ||
var decorators = ts.getDecorators(classDeclarationNode); | ||
if (!decorators || !decorators.length) { | ||
@@ -164,0 +163,0 @@ return; |
@@ -1,2 +0,2 @@ | ||
import { Observable, Subscription } from 'rxjs'; | ||
import { Observable, Subscription, ObservedValueOf } from 'rxjs'; | ||
import { OnDestroy, InjectionToken } from '@angular/core'; | ||
@@ -69,5 +69,11 @@ import * as i0 from "@angular/core"; | ||
select<Result>(projector: (s: T) => Result, config?: SelectConfig): Observable<Result>; | ||
select<Selectors extends Observable<unknown>[], Result>(...args: [...selectors: Selectors, projector: Projector<Selectors, Result>]): Observable<Result>; | ||
select<Selectors extends Observable<unknown>[], Result>(...args: [ | ||
select<SelectorsObject extends Record<string, Observable<unknown>>>(selectorsObject: SelectorsObject, config?: SelectConfig): Observable<{ | ||
[K in keyof SelectorsObject]: ObservedValueOf<SelectorsObject[K]>; | ||
}>; | ||
select<Selectors extends Observable<unknown>[], Result>(...selectorsWithProjector: [ | ||
...selectors: Selectors, | ||
projector: Projector<Selectors, Result> | ||
]): Observable<Result>; | ||
select<Selectors extends Observable<unknown>[], Result>(...selectorsWithProjectorAndConfig: [ | ||
...selectors: Selectors, | ||
projector: Projector<Selectors, Result>, | ||
@@ -74,0 +80,0 @@ config: SelectConfig |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
370476
3499
58
1