Socket
Socket
Sign inDemoInstall

@thi.ng/api

Package Overview
Dependencies
Maintainers
1
Versions
186
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@thi.ng/api - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

8

CHANGELOG.md

@@ -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)

3

decorators/deprecated.js

@@ -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": [

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