@iobroker/adapter-core
Advanced tools
Comparing version 3.0.6 to 3.1.0
{ | ||
"name": "@iobroker/adapter-core", | ||
"version": "3.0.6", | ||
"version": "3.1.0", | ||
"description": "Core module to be used in ioBroker adapters. Acts as the bridge to js-controller.", | ||
@@ -12,7 +12,16 @@ "engines": { | ||
}, | ||
"main": "build/index.js", | ||
"types": "build/index.d.ts", | ||
"main": "build/cjs/index.js", | ||
"types": "build/esm/index.d.ts", | ||
"module": "build/esm/index.js", | ||
"exports": { | ||
".": { | ||
"import": "./build/esm/index.js", | ||
"require": "./build/cjs/index.js", | ||
"types": "./build/esm/index.d.ts" | ||
} | ||
}, | ||
"scripts": { | ||
"prebuild": "rimraf ./build", | ||
"build": "tsc -p src/tsconfig.json", | ||
"postbuild": "esm2cjs --in build/esm --out build/cjs -l error && cpy ./**/*.d.ts ./build/cjs/ --cwd=build/esm/", | ||
"watch": "tsc -p src/tsconfig.json --watch", | ||
@@ -45,2 +54,3 @@ "lint:ts": "eslint --ext .ts src", | ||
"devDependencies": { | ||
"@alcalzone/esm2cjs": "^1.1.2", | ||
"@alcalzone/release-script": "~3.5.9", | ||
@@ -59,2 +69,3 @@ "@alcalzone/release-script-plugin-license": "~3.5.9", | ||
"chai-as-promised": "^7.1.1", | ||
"cpy-cli": "^4.2.0", | ||
"eslint": "^8.41.0", | ||
@@ -61,0 +72,0 @@ "eslint-config-prettier": "^8.8.0", |
@@ -116,2 +116,6 @@ # Adapter-Core | ||
--> | ||
### 3.1.0 (2024-04-16) | ||
- (foxriver76) provide `esm` and `cjs` exports | ||
### 3.0.6 (2024-03-24) | ||
@@ -118,0 +122,0 @@ |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
87837
30
1183
235
27
24
1