@thi.ng/api
Advanced tools
Comparing version 2.0.1 to 2.0.2
@@ -6,2 +6,10 @@ # Change Log | ||
<a name="2.0.2"></a> | ||
## [2.0.2](https://github.com/thi-ng/umbrella/compare/@thi.ng/api@2.0.1...@thi.ng/api@2.0.2) (2018-02-08) | ||
**Note:** Version bump only for package @thi.ng/api | ||
<a name="2.0.1"></a> | ||
@@ -8,0 +16,0 @@ ## [2.0.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/api@2.0.0...@thi.ng/api@2.0.1) (2018-02-02) |
@@ -13,3 +13,4 @@ "use strict"; | ||
return function (target, prop, descriptor) { | ||
const signature = `${target.constructor.name}#${prop}`, fn = descriptor.value; | ||
const signature = `${target.constructor.name}#${prop}`; | ||
const fn = descriptor.value; | ||
if (typeof fn !== "function") { | ||
@@ -16,0 +17,0 @@ throw new Error(`${signature} is not a function`); |
@@ -16,3 +16,5 @@ "use strict"; | ||
function mixin(behaviour, sharedBehaviour = {}) { | ||
const instanceKeys = Reflect.ownKeys(behaviour), sharedKeys = Reflect.ownKeys(sharedBehaviour), typeTag = Symbol("isa"); | ||
const instanceKeys = Reflect.ownKeys(behaviour); | ||
const sharedKeys = Reflect.ownKeys(sharedBehaviour); | ||
const typeTag = Symbol("isa"); | ||
function _mixin(clazz) { | ||
@@ -19,0 +21,0 @@ for (let key of instanceKeys) { |
@@ -23,3 +23,4 @@ "use strict"; | ||
notifyWatches(oldState, newState) { | ||
const w = (this._watches = this._watches || {}), keys = Object.keys(w); | ||
const w = (this._watches = this._watches || {}); | ||
const keys = Object.keys(w); | ||
for (let i = keys.length - 1; i >= 0; i--) { | ||
@@ -26,0 +27,0 @@ const id = keys[i]; |
{ | ||
"name": "@thi.ng/api", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"description": "Common, generic types & interfaces for thi.ng projects", | ||
@@ -29,3 +29,3 @@ "main": "./index.js", | ||
"dependencies": { | ||
"@thi.ng/checks": "^1.1.6" | ||
"@thi.ng/checks": "^1.2.0" | ||
}, | ||
@@ -32,0 +32,0 @@ "keywords": [ |
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
35746
714
Updated@thi.ng/checks@^1.2.0