aurelia-store
Advanced tools
Comparing version 0.23.0 to 0.23.1
import { StoreOptions } from "./store"; | ||
import { Logger } from "aurelia-logging"; | ||
export declare enum LogLevel { | ||
@@ -10,2 +11,5 @@ trace = "trace", | ||
} | ||
export declare class LoggerIndexed extends Logger { | ||
[key: string]: any; | ||
} | ||
export interface LogDefinitions { | ||
@@ -12,0 +16,0 @@ performanceLog?: LogLevel; |
@@ -1,2 +0,12 @@ | ||
define(["require", "exports"], function (require, exports) { | ||
var __extends = (this && this.__extends) || (function () { | ||
var extendStatics = Object.setPrototypeOf || | ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || | ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; | ||
return function (d, b) { | ||
extendStatics(d, b); | ||
function __() { this.constructor = d; } | ||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); | ||
}; | ||
})(); | ||
define(["require", "exports", "aurelia-logging"], function (require, exports, aurelia_logging_1) { | ||
"use strict"; | ||
@@ -13,2 +23,10 @@ Object.defineProperty(exports, "__esModule", { value: true }); | ||
})(LogLevel = exports.LogLevel || (exports.LogLevel = {})); | ||
var LoggerIndexed = /** @class */ (function (_super) { | ||
__extends(LoggerIndexed, _super); | ||
function LoggerIndexed() { | ||
return _super !== null && _super.apply(this, arguments) || this; | ||
} | ||
return LoggerIndexed; | ||
}(aurelia_logging_1.Logger)); | ||
exports.LoggerIndexed = LoggerIndexed; | ||
function getLogType(options, definition, defaultLevel) { | ||
@@ -15,0 +33,0 @@ if (definition && |
import { StoreOptions } from "./store"; | ||
import { Logger } from "aurelia-logging"; | ||
export declare enum LogLevel { | ||
@@ -10,2 +11,5 @@ trace = "trace", | ||
} | ||
export declare class LoggerIndexed extends Logger { | ||
[key: string]: any; | ||
} | ||
export interface LogDefinitions { | ||
@@ -12,0 +16,0 @@ performanceLog?: LogLevel; |
"use strict"; | ||
var __extends = (this && this.__extends) || (function () { | ||
var extendStatics = Object.setPrototypeOf || | ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || | ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; | ||
return function (d, b) { | ||
extendStatics(d, b); | ||
function __() { this.constructor = d; } | ||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); | ||
}; | ||
})(); | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var aurelia_logging_1 = require("aurelia-logging"); | ||
var LogLevel; | ||
@@ -12,2 +23,10 @@ (function (LogLevel) { | ||
})(LogLevel = exports.LogLevel || (exports.LogLevel = {})); | ||
var LoggerIndexed = /** @class */ (function (_super) { | ||
__extends(LoggerIndexed, _super); | ||
function LoggerIndexed() { | ||
return _super !== null && _super.apply(this, arguments) || this; | ||
} | ||
return LoggerIndexed; | ||
}(aurelia_logging_1.Logger)); | ||
exports.LoggerIndexed = LoggerIndexed; | ||
function getLogType(options, definition, defaultLevel) { | ||
@@ -14,0 +33,0 @@ if (definition && |
import { StoreOptions } from "./store"; | ||
import { Logger } from "aurelia-logging"; | ||
export declare enum LogLevel { | ||
@@ -10,2 +11,5 @@ trace = "trace", | ||
} | ||
export declare class LoggerIndexed extends Logger { | ||
[key: string]: any; | ||
} | ||
export interface LogDefinitions { | ||
@@ -12,0 +16,0 @@ performanceLog?: LogLevel; |
@@ -0,1 +1,12 @@ | ||
var __extends = (this && this.__extends) || (function () { | ||
var extendStatics = Object.setPrototypeOf || | ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || | ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; | ||
return function (d, b) { | ||
extendStatics(d, b); | ||
function __() { this.constructor = d; } | ||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); | ||
}; | ||
})(); | ||
import { Logger } from "aurelia-logging"; | ||
export var LogLevel; | ||
@@ -10,2 +21,10 @@ (function (LogLevel) { | ||
})(LogLevel || (LogLevel = {})); | ||
var LoggerIndexed = /** @class */ (function (_super) { | ||
__extends(LoggerIndexed, _super); | ||
function LoggerIndexed() { | ||
return _super !== null && _super.apply(this, arguments) || this; | ||
} | ||
return LoggerIndexed; | ||
}(Logger)); | ||
export { LoggerIndexed }; | ||
export function getLogType(options, definition, defaultLevel) { | ||
@@ -12,0 +31,0 @@ if (definition && |
import { StoreOptions } from "./store"; | ||
import { Logger } from "aurelia-logging"; | ||
export declare enum LogLevel { | ||
@@ -10,2 +11,5 @@ trace = "trace", | ||
} | ||
export declare class LoggerIndexed extends Logger { | ||
[key: string]: any; | ||
} | ||
export interface LogDefinitions { | ||
@@ -12,0 +16,0 @@ performanceLog?: LogLevel; |
@@ -0,1 +1,12 @@ | ||
var __extends = (this && this.__extends) || (function () { | ||
var extendStatics = Object.setPrototypeOf || | ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || | ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; | ||
return function (d, b) { | ||
extendStatics(d, b); | ||
function __() { this.constructor = d; } | ||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); | ||
}; | ||
})(); | ||
import { Logger } from "aurelia-logging"; | ||
export var LogLevel; | ||
@@ -10,2 +21,10 @@ (function (LogLevel) { | ||
})(LogLevel || (LogLevel = {})); | ||
var LoggerIndexed = /** @class */ (function (_super) { | ||
__extends(LoggerIndexed, _super); | ||
function LoggerIndexed() { | ||
return _super !== null && _super.apply(this, arguments) || this; | ||
} | ||
return LoggerIndexed; | ||
}(Logger)); | ||
export { LoggerIndexed }; | ||
export function getLogType(options, definition, defaultLevel) { | ||
@@ -12,0 +31,0 @@ if (definition && |
import { StoreOptions } from "./store"; | ||
import { Logger } from "aurelia-logging"; | ||
export declare enum LogLevel { | ||
@@ -10,2 +11,5 @@ trace = "trace", | ||
} | ||
export declare class LoggerIndexed extends Logger { | ||
[key: string]: any; | ||
} | ||
export interface LogDefinitions { | ||
@@ -12,0 +16,0 @@ performanceLog?: LogLevel; |
@@ -1,3 +0,13 @@ | ||
System.register([], function (exports_1, context_1) { | ||
System.register(["aurelia-logging"], function (exports_1, context_1) { | ||
"use strict"; | ||
var __extends = (this && this.__extends) || (function () { | ||
var extendStatics = Object.setPrototypeOf || | ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || | ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; | ||
return function (d, b) { | ||
extendStatics(d, b); | ||
function __() { this.constructor = d; } | ||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); | ||
}; | ||
})(); | ||
var __moduleName = context_1 && context_1.id; | ||
@@ -15,5 +25,9 @@ function getLogType(options, definition, defaultLevel) { | ||
exports_1("getLogType", getLogType); | ||
var LogLevel; | ||
var aurelia_logging_1, LogLevel, LoggerIndexed; | ||
return { | ||
setters: [], | ||
setters: [ | ||
function (aurelia_logging_1_1) { | ||
aurelia_logging_1 = aurelia_logging_1_1; | ||
} | ||
], | ||
execute: function () { | ||
@@ -29,2 +43,10 @@ (function (LogLevel) { | ||
exports_1("LogLevel", LogLevel); | ||
LoggerIndexed = /** @class */ (function (_super) { | ||
__extends(LoggerIndexed, _super); | ||
function LoggerIndexed() { | ||
return _super !== null && _super.apply(this, arguments) || this; | ||
} | ||
return LoggerIndexed; | ||
}(aurelia_logging_1.Logger)); | ||
exports_1("LoggerIndexed", LoggerIndexed); | ||
} | ||
@@ -31,0 +53,0 @@ }; |
{ | ||
"name": "aurelia-store", | ||
"version": "0.23.0", | ||
"version": "0.23.1", | ||
"description": "Aurelia single state store based on RxJS", | ||
@@ -24,5 +24,3 @@ "keywords": [ | ||
"prebuild": "cross-env rimraf dist", | ||
"postbuild": "gulp", | ||
"build": "concurrently \"npm run build:amd\" \"npm run build:commonjs\" \"npm run build:es2015\" \"npm run build:native-modules\" \"npm run build:system\"", | ||
"prepare-release": "cross-env npm run build && semantic-release pre && npm publish && semantic-release post", | ||
"precommit": "npm run lint" | ||
@@ -92,6 +90,6 @@ }, | ||
"aurelia-dependency-injection": "^1.3.1", | ||
"aurelia-framework": "^1.1.2", | ||
"aurelia-framework": "^1.2.0", | ||
"aurelia-logging": "^1.4.0", | ||
"aurelia-pal": "^1.7.0", | ||
"rxjs": "^5.5.8" | ||
"aurelia-pal": "^1.8.0", | ||
"rxjs": "^5.5.10" | ||
}, | ||
@@ -103,17 +101,15 @@ "devDependencies": { | ||
"aurelia-loader-nodejs": "^1.0.1", | ||
"aurelia-pal-browser": "^1.7.0", | ||
"aurelia-pal-nodejs": "^1.0.0-beta.3.2.0", | ||
"aurelia-pal-browser": "^1.8.0", | ||
"aurelia-pal-nodejs": "^1.1.0", | ||
"aurelia-polyfills": "^1.3.0", | ||
"aurelia-testing": "^1.0.0-beta.4.0.0", | ||
"concurrently": "^3.5.1", | ||
"cross-env": "^5.1.4", | ||
"gulp": "^3.9.1", | ||
"cross-env": "^5.1.5", | ||
"husky": "^0.14.3", | ||
"jest": "^22.4.3", | ||
"jest": "^22.4.4", | ||
"jest-css-modules": "^1.1.0", | ||
"rimraf": "^2.6.1", | ||
"semantic-release": "^6.3.6", | ||
"ts-jest": "^22.4.2", | ||
"ts-jest": "^22.4.6", | ||
"tslint": "^5.9.1", | ||
"typescript": "^2.8.1" | ||
"typescript": "^2.8.3" | ||
}, | ||
@@ -120,0 +116,0 @@ "aurelia": { |
import { StoreOptions } from "./store"; | ||
import { Logger } from "aurelia-logging"; | ||
@@ -12,2 +13,6 @@ export enum LogLevel { | ||
export class LoggerIndexed extends Logger { | ||
[key: string]: any; | ||
} | ||
export interface LogDefinitions { | ||
@@ -14,0 +19,0 @@ performanceLog?: LogLevel; |
@@ -13,3 +13,3 @@ import { Observable } from "rxjs/Observable"; | ||
import { Middleware, MiddlewarePlacement, CallingAction } from "./middleware"; | ||
import { LogDefinitions, LogLevel, getLogType } from "./logging"; | ||
import { LogDefinitions, LogLevel, getLogType, LoggerIndexed } from "./logging"; | ||
@@ -42,3 +42,3 @@ export type Reducer<T> = (state: T, ...params: any[]) => T | false | Promise<T | false>; | ||
private logger = LogManager.getLogger("aurelia-store"); | ||
private logger = LogManager.getLogger("aurelia-store") as LoggerIndexed; | ||
private devToolsAvailable: boolean = false; | ||
@@ -45,0 +45,0 @@ private devTools: any; |
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
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
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
458613
17
5607
133
Updatedaurelia-framework@^1.2.0
Updatedaurelia-pal@^1.8.0
Updatedrxjs@^5.5.10