Socket
Socket
Sign inDemoInstall

@aurelia/store-v1

Package Overview
Dependencies
10
Maintainers
1
Versions
408
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.1.0-dev.202404150648 to 2.1.0-dev.202405060015

15

CHANGELOG.md

@@ -6,2 +6,17 @@ # Change Log

<a name="2.0.0-beta.16"></a>
# 2.0.0-beta.16 (2024-05-03)
### Refactorings:
* ***:** cleanup deco code (#1947) ([ca22bc8](https://github.com/aurelia/aurelia/commit/ca22bc8))
* **observers:** use static blocks, group related code ([ca22bc8](https://github.com/aurelia/aurelia/commit/ca22bc8))
<a name="2.0.0-beta.15"></a>
# 2.0.0-beta.15 (2024-04-17)
### Refactorings:
* ***:** migration to TC39 decorators + metadata simplification (#1932) ([22f90ad](https://github.com/aurelia/aurelia/commit/22f90ad))
<a name="2.0.0-beta.14"></a>

@@ -8,0 +23,0 @@ # 2.0.0-beta.14 (2024-04-03)

5

dist/types/decorator.d.ts

@@ -19,3 +19,6 @@ import { Observable } from 'rxjs';

}
export declare function connectTo<T, R = any>(settings?: ((store: Store<T>) => Observable<R>) | ConnectToSettings<T, R>): (target: any) => void;
export declare function connectTo<T, R = any>(settings?: ((store: Store<T>) => Observable<R>) | ConnectToSettings<T, R>): <TClass extends {
new (...args: any[]): unknown;
readonly prototype: unknown;
}>(target: any, context: ClassDecoratorContext<TClass>) => void;
//# sourceMappingURL=decorator.d.ts.map

10

package.json
{
"name": "@aurelia/store-v1",
"version": "2.1.0-dev.202404150648",
"version": "2.1.0-dev.202405060015",
"main": "dist/cjs/index.cjs",

@@ -56,6 +56,6 @@ "module": "dist/esm/index.mjs",

"dependencies": {
"@aurelia/kernel": "2.1.0-dev.202404150648",
"@aurelia/metadata": "2.1.0-dev.202404150648",
"@aurelia/platform": "2.1.0-dev.202404150648",
"@aurelia/runtime-html": "2.1.0-dev.202404150648",
"@aurelia/kernel": "2.1.0-dev.202405060015",
"@aurelia/metadata": "2.1.0-dev.202405060015",
"@aurelia/platform": "2.1.0-dev.202405060015",
"@aurelia/runtime-html": "2.1.0-dev.202405060015",
"rxjs": "^6.6.7"

@@ -62,0 +62,0 @@ },

@@ -6,2 +6,3 @@ /* eslint-disable @typescript-eslint/strict-boolean-expressions */

import { Store, STORE } from './store';
import { Class } from '@aurelia/kernel';

@@ -67,3 +68,3 @@ export interface ConnectToSettings<T, R = T> {

// eslint-disable-next-line @typescript-eslint/no-explicit-any
return function (target: any) {
return function <TClass extends Class<unknown>>(target: any, context: ClassDecoratorContext<TClass>) {
const originalSetup = typeof settings === 'object' && settings.setup

@@ -70,0 +71,0 @@ ? target.prototype[settings.setup]

@@ -80,4 +80,4 @@ /* eslint-disable @typescript-eslint/strict-boolean-expressions */

private readonly initialState: T,
@ILogger private readonly logger: ILogger,
@IWindow private readonly _window: IStoreWindow,
private readonly logger: ILogger,
private readonly _window: IStoreWindow,
options?: Partial<StoreOptions>

@@ -84,0 +84,0 @@ ) {

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

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc