Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ngxs/store

Package Overview
Dependencies
Maintainers
0
Versions
1360
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ngxs/store - npm Package Compare versions

Comparing version 18.1.1-dev.master-a8f62df to 18.1.1-dev.master-b178ff0

esm2022/src/actions/action-registry.mjs

14

package.json
{
"name": "@ngxs/store",
"version": "18.1.1-dev.master-a8f62df",
"version": "18.1.1-dev.master-b178ff0",
"license": "MIT",

@@ -35,2 +35,8 @@ "sideEffects": false,

},
"./plugins": {
"types": "./plugins/index.d.ts",
"esm2022": "./esm2022/plugins/ngxs-store-plugins.mjs",
"esm": "./esm2022/plugins/ngxs-store-plugins.mjs",
"default": "./fesm2022/ngxs-store-plugins.mjs"
},
"./operators": {

@@ -42,8 +48,2 @@ "types": "./operators/index.d.ts",

},
"./plugins": {
"types": "./plugins/index.d.ts",
"esm2022": "./esm2022/plugins/ngxs-store-plugins.mjs",
"esm": "./esm2022/plugins/ngxs-store-plugins.mjs",
"default": "./fesm2022/ngxs-store-plugins.mjs"
},
"./internals/testing": {

@@ -50,0 +50,0 @@ "types": "./internals/testing/index.d.ts",

import { OnDestroy } from '@angular/core';
import { ɵOrderedSubject } from '@ngxs/store/internals';
import { Observable } from 'rxjs';
import { Observable, Subject } from 'rxjs';
import { InternalNgxsExecutionStrategy } from './execution/internal-ngxs-execution-strategy';

@@ -24,2 +24,4 @@ import * as i0 from "@angular/core";

export declare class InternalActions extends ɵOrderedSubject<ActionContext> implements OnDestroy {
readonly dispatched$: Subject<ActionContext<any>>;
constructor();
ngOnDestroy(): void;

@@ -26,0 +28,0 @@ static ɵfac: i0.ɵɵFactoryDeclaration<InternalActions, never>;

@@ -1,14 +0,5 @@

import { Injector, OnDestroy } from '@angular/core';
import { ɵStateClassInternal, ɵRuntimeSelectorContext, ɵActionHandlerMetaData } from '@ngxs/store/internals';
import { Observable } from 'rxjs';
import { NgxsConfig } from '../symbols';
import { OnDestroy } from '@angular/core';
import { ɵStateClassInternal, ɵRuntimeSelectorContext } from '@ngxs/store/internals';
import { MappedStore, StatesAndDefaults, StatesByName } from './internals';
import { ActionContext, InternalActions } from '../actions-stream';
import { InternalDispatchedActionResults } from '../internal/dispatcher';
import { StateContextFactory } from '../internal/state-context-factory';
import * as i0 from "@angular/core";
interface InvokableActionHandlerMetaData extends ɵActionHandlerMetaData {
path: string;
instance: any;
}
/**

@@ -28,15 +19,13 @@ * The `StateFactory` class adds root and feature states to the graph.

export declare class StateFactory implements OnDestroy {
private _injector;
private _config;
private _parentFactory;
private _actions;
private _actionResults;
private _stateContextFactory;
private _initialState;
private readonly _injector;
private readonly _config;
private readonly _parentFactory;
private readonly _stateContextFactory;
private readonly _actions;
private readonly _actionResults;
private readonly _initialState;
private readonly _actionRegistry;
private readonly _propGetter;
private _actionsSubscription;
private _propGetter;
private _ngxsUnhandledErrorHandler;
constructor(_injector: Injector, _config: NgxsConfig, _parentFactory: StateFactory, _actions: InternalActions, _actionResults: InternalDispatchedActionResults, _stateContextFactory: StateContextFactory, _initialState: any);
private _actionTypeToMetasMap;
get actionTypeToMetasMap(): Map<string, InvokableActionHandlerMetaData[]>;
private _states;

@@ -62,3 +51,3 @@ get states(): MappedStore[];

*/
invokeActions(dispatched$: Observable<ActionContext>, action: any): Observable<any[]>;
invokeActions(action: any): import("rxjs").Observable<[void | Promise<void> | import("rxjs").Observable<unknown>]>;
private addToStatesMap;

@@ -68,5 +57,4 @@ private addRuntimeInfoToMeta;

private hydrateActionMetasMap;
static ɵfac: i0.ɵɵFactoryDeclaration<StateFactory, [null, null, { optional: true; skipSelf: true; }, null, null, null, { optional: true; }]>;
static ɵfac: i0.ɵɵFactoryDeclaration<StateFactory, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<StateFactory>;
}
export {};

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc