@iobroker/adapter-core
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -7,2 +7,4 @@ /// <reference types="iobroker" /> | ||
interface AdapterConstructor { | ||
new (adapterName: string): ioBroker.Adapter; | ||
new (adapterOptions: ioBroker.AdapterOptions): ioBroker.Adapter; | ||
(adapterName: string): ioBroker.Adapter; | ||
@@ -9,0 +11,0 @@ (adapterOptions: ioBroker.AdapterOptions): ioBroker.Adapter; |
{ | ||
"name": "@iobroker/adapter-core", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Core module to be used in ioBroker adapters. Acts as the bridge to js-controller.", | ||
@@ -17,2 +17,5 @@ "author": { | ||
"lint": "npm run lint:ts \"src/**/*.ts\"", | ||
"test:declarations": "tsc -p test/types/tsconfig.json", | ||
"test:ts": "mocha --opts test/mocha.custom.opts", | ||
"test": "npm run test:declarations", | ||
"prepublishOnly": "npm run lint && npm run build" | ||
@@ -35,4 +38,18 @@ }, | ||
"devDependencies": { | ||
"@types/chai": "^4.1.7", | ||
"@types/chai-as-promised": "^7.1.0", | ||
"@types/mocha": "^5.2.5", | ||
"@types/node": "^10.12.8", | ||
"@types/proxyquire": "^1.3.28", | ||
"@types/sinon": "^7.0.2", | ||
"@types/sinon-chai": "^3.2.2", | ||
"chai": "^4.2.0", | ||
"chai-as-promised": "^7.1.1", | ||
"mocha": "^5.2.0", | ||
"proxyquire": "^2.1.0", | ||
"rimraf": "^2.6.2", | ||
"sinon": "^7.2.2", | ||
"sinon-chai": "^3.3.0", | ||
"source-map-support": "^0.5.9", | ||
"ts-node": "^7.0.1", | ||
"tslint": "^5.11.0", | ||
@@ -42,4 +59,4 @@ "typescript": "^3.1.6" | ||
"dependencies": { | ||
"@types/iobroker": "^1.4.1" | ||
"@types/iobroker": "^1.4.3" | ||
} | ||
} |
@@ -31,2 +31,6 @@ # Adapter-Core | ||
### v1.0.3 (2019-01-06) | ||
* (AlCalzone) Updated core declarations | ||
* (AlCalzone) Fix included declarations to allow creating adapter instances with `new`. | ||
### v1.0.0 (2018-27-11) | ||
@@ -33,0 +37,0 @@ * (AlCalzone) Initial version |
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
8172
75
59
18
Updated@types/iobroker@^1.4.3