New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@ngrx/signals

Package Overview
Dependencies
Maintainers
4
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ngrx/signals - npm Package Compare versions

Comparing version 17.0.1 to 17.1.0

4

package.json
{
"name": "@ngrx/signals",
"version": "17.0.1",
"description": "Reactive State Management with Angular Signals",
"version": "17.1.0",
"description": "Reactive Store and Set of Utilities for Angular Signals",
"repository": {

@@ -6,0 +6,0 @@ "type": "git",

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.platformVersion = void 0;
exports.platformVersion = '^17.0.1';
exports.platformVersion = '^17.1.0';
//# sourceMappingURL=libs-version.js.map
import { Type } from '@angular/core';
import { StateSignal } from './state-signal';
import { EmptyFeatureResult, InnerSignalStore, MergeFeatureResults, SignalStoreProps, SignalStoreConfig, SignalStoreFeature, SignalStoreFeatureResult } from './signal-store-models';
import { EmptyFeatureResult, InnerSignalStore, MergeFeatureResults, SignalStoreConfig, SignalStoreFeature, SignalStoreFeatureResult, SignalStoreProps } from './signal-store-models';
import { Prettify } from './ts-helpers';

@@ -5,0 +5,0 @@ export declare function signalStore<F1 extends SignalStoreFeatureResult>(f1: SignalStoreFeature<EmptyFeatureResult, F1>): Type<SignalStoreProps<F1> & StateSignal<Prettify<F1['state']>>>;

import { StateSignal } from './state-signal';
import { EmptyFeatureResult, SignalStoreFeature, SignalStoreFeatureResult, SignalStoreSlices } from './signal-store-models';
import { Prettify } from './ts-helpers';
type HooksFactory<Input extends SignalStoreFeatureResult> = (store: Prettify<SignalStoreSlices<Input['state']> & Input['signals'] & Input['methods'] & StateSignal<Prettify<Input['state']>>>) => void;
type HookFn<Input extends SignalStoreFeatureResult> = (store: Prettify<SignalStoreSlices<Input['state']> & Input['signals'] & Input['methods'] & StateSignal<Prettify<Input['state']>>>) => void;
type HooksFactory<Input extends SignalStoreFeatureResult> = (store: Prettify<SignalStoreSlices<Input['state']> & Input['signals'] & Input['methods'] & StateSignal<Prettify<Input['state']>>>) => {
onInit?: () => void;
onDestroy?: () => void;
};
export declare function withHooks<Input extends SignalStoreFeatureResult>(hooks: {
onInit?: HooksFactory<Input>;
onDestroy?: HooksFactory<Input>;
onInit?: HookFn<Input>;
onDestroy?: HookFn<Input>;
}): SignalStoreFeature<Input, EmptyFeatureResult>;
export declare function withHooks<Input extends SignalStoreFeatureResult>(hooks: HooksFactory<Input>): SignalStoreFeature<Input, EmptyFeatureResult>;
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

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