Socket
Socket
Sign inDemoInstall

@angular-redux/store

Package Overview
Dependencies
10
Maintainers
1
Versions
83
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 6.5.0-alpha.6 to 6.5.0-alpha.8

3

lib/src/decorators/helpers.js

@@ -45,5 +45,2 @@ "use strict";

};
// TODO: run memory tests.
// TODO: blog post.
// TODO: docs.
/**

@@ -50,0 +47,0 @@ * Gets the store associated with a decorated instance (e.g. a

2

lib/src/decorators/helpers.metadata.json

@@ -1,1 +0,1 @@

[{"__symbolic":"module","version":3,"metadata":{"IFractalStoreOptions":{"__symbolic":"interface"},"setClassOptions":{"__symbolic":"error","message":"Function call not supported","line":36,"character":31},"getBaseStore":{"__symbolic":"error","message":"Function call not supported","line":67,"character":28},"getInstanceSelection":{"__symbolic":"error","message":"Function call not supported","line":94,"character":36}}},{"__symbolic":"module","version":1,"metadata":{"IFractalStoreOptions":{"__symbolic":"interface"},"setClassOptions":{"__symbolic":"error","message":"Function call not supported","line":36,"character":31},"getBaseStore":{"__symbolic":"error","message":"Function call not supported","line":67,"character":28},"getInstanceSelection":{"__symbolic":"error","message":"Function call not supported","line":94,"character":36}}}]
[{"__symbolic":"module","version":3,"metadata":{"IFractalStoreOptions":{"__symbolic":"interface"},"setClassOptions":{"__symbolic":"error","message":"Function call not supported","line":36,"character":31},"getBaseStore":{"__symbolic":"error","message":"Function call not supported","line":63,"character":28},"getInstanceSelection":{"__symbolic":"error","message":"Function call not supported","line":90,"character":36}}},{"__symbolic":"module","version":1,"metadata":{"IFractalStoreOptions":{"__symbolic":"interface"},"setClassOptions":{"__symbolic":"error","message":"Function call not supported","line":36,"character":31},"getBaseStore":{"__symbolic":"error","message":"Function call not supported","line":63,"character":28},"getInstanceSelection":{"__symbolic":"error","message":"Function call not supported","line":90,"character":36}}}]
import { IFractalStoreOptions } from './helpers';
export declare const SubStore: ({basePathMethodName, localReducer}: IFractalStoreOptions) => (constructor: Function) => void;
export declare function SubStore({basePathMethodName, localReducer}: IFractalStoreOptions): ClassDecorator;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var helpers_1 = require("./helpers");
exports.SubStore = function (_a) {
function SubStore(_a) {
var basePathMethodName = _a.basePathMethodName, localReducer = _a.localReducer;
return function (constructor) {
return helpers_1.setClassOptions(constructor, {
return function decorate(constructor) {
helpers_1.setClassOptions(constructor, {
basePathMethodName: basePathMethodName,

@@ -12,3 +12,4 @@ localReducer: localReducer,

};
};
}
exports.SubStore = SubStore;
//# sourceMappingURL=sub-store.js.map

@@ -1,1 +0,1 @@

[{"__symbolic":"module","version":3,"metadata":{"SubStore":{"__symbolic":"error","message":"Function call not supported","line":3,"character":24}}},{"__symbolic":"module","version":1,"metadata":{"SubStore":{"__symbolic":"error","message":"Function call not supported","line":3,"character":24}}}]
[{"__symbolic":"module","version":3,"metadata":{"SubStore":{"__symbolic":"function","parameters":["basePathMethodName","localReducer"],"value":{"__symbolic":"error","message":"Function call not supported","line":7,"character":9}}}},{"__symbolic":"module","version":1,"metadata":{"SubStore":{"__symbolic":"function","parameters":["basePathMethodName","localReducer"],"value":{"__symbolic":"error","message":"Function call not supported","line":7,"character":9}}}}]
{
"name": "@angular-redux/store",
"version": "6.5.0-alpha.6",
"version": "6.5.0-alpha.8",
"description": "Angular 2 bindings for Redux",

@@ -12,6 +12,6 @@ "main": "./lib/src/index.js",

"lint": "tslint 'src/**/*.ts'",
"prepublish": "npm run lint && npm test && npm run build",
"prepublish": "npm run lint && npm run build && npm test",
"test": "nyc node tests.js",
"test:watch": "nodemon tests.js -w src -w testing -e ts",
"ci": "npm run lint && npm test",
"ci": "npm run lint && npm run build && npm test",
"predoc": "rm -rf docs",

@@ -18,0 +18,0 @@ "doc": "typedoc --out docs --excludeExternals --excludePrivate --excludeNotExported -theme minimal --name @angular-redux/store --mode file --module commonjs --tsconfig tsconfig.docs.json"

@@ -59,6 +59,2 @@ import { Reducer } from 'redux';

// TODO: run memory tests.
// TODO: blog post.
// TODO: docs.
/**

@@ -65,0 +61,0 @@ * Gets the store associated with a decorated instance (e.g. a

import { Reducer } from 'redux';
import { IFractalStoreOptions, setClassOptions } from './helpers';
export const SubStore = ({
export function SubStore({
basePathMethodName,
localReducer
}: IFractalStoreOptions) =>
(constructor: Function): void =>
}: IFractalStoreOptions): ClassDecorator {
return function decorate(constructor: Function): void {
setClassOptions(constructor, {

@@ -13,1 +13,3 @@ basePathMethodName,

});
}
}

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