homekit-code
Advanced tools
Comparing version 1.2.3 to 1.2.4
@@ -44,9 +44,11 @@ "use strict"; | ||
return __awaiter(void 0, void 0, void 0, function () { | ||
var resvg; | ||
return __generator(this, function (_c) { | ||
return [2 /*return*/, (0, resvg_js_1.render)(svg, { | ||
fitTo: { | ||
mode: 'zoom', | ||
value: zoom, | ||
}, | ||
})]; | ||
resvg = new resvg_js_1.Resvg(svg, { | ||
fitTo: { | ||
mode: 'zoom', | ||
value: zoom, | ||
}, | ||
}); | ||
return [2 /*return*/, resvg.render().asPng()]; | ||
}); | ||
@@ -53,0 +55,0 @@ }); |
{ | ||
"name": "homekit-code", | ||
"version": "1.2.3", | ||
"version": "1.2.4", | ||
"description": "Generate a pairing HomeKit QR code label or scannable tag to setup your HomeKit accessory.", | ||
@@ -52,39 +52,39 @@ "keywords": [ | ||
"dependencies": { | ||
"@resvg/resvg-js": "1.4.0", | ||
"@resvg/resvg-js": "2.0.1", | ||
"qrcode": "1.5.0", | ||
"yargs": "17.4.0" | ||
"yargs": "17.5.1" | ||
}, | ||
"devDependencies": { | ||
"@commitlint/cli": "16.2.3", | ||
"@commitlint/config-conventional": "16.2.1", | ||
"@commitlint/cli": "17.0.2", | ||
"@commitlint/config-conventional": "17.0.2", | ||
"@semantic-release/changelog": "6.0.1", | ||
"@semantic-release/git": "10.0.1", | ||
"@semantic-release/github": "8.0.2", | ||
"@types/jest": "27.4.1", | ||
"@types/node": "17.0.22", | ||
"@semantic-release/github": "8.0.4", | ||
"@types/jest": "28.1.1", | ||
"@types/node": "17.0.40", | ||
"@types/qrcode": "1.4.2", | ||
"@types/yargs": "17.0.10", | ||
"@typescript-eslint/eslint-plugin": "5.16.0", | ||
"@typescript-eslint/parser": "5.16.0", | ||
"dotenv": "16.0.0", | ||
"eslint": "8.11.0", | ||
"@typescript-eslint/eslint-plugin": "5.27.0", | ||
"@typescript-eslint/parser": "5.27.0", | ||
"dotenv": "16.0.1", | ||
"eslint": "8.17.0", | ||
"eslint-config-prettier": "8.5.0", | ||
"eslint-import-resolver-typescript": "2.7.0", | ||
"eslint-plugin-import": "2.25.4", | ||
"eslint-plugin-jest": "26.1.2", | ||
"eslint-plugin-no-type-assertion": "1.1.1", | ||
"eslint-import-resolver-typescript": "2.7.1", | ||
"eslint-plugin-import": "2.26.0", | ||
"eslint-plugin-jest": "26.5.3", | ||
"eslint-plugin-no-type-assertion": "1.3.0", | ||
"eslint-plugin-prettier": "4.0.0", | ||
"eslint-plugin-sonarjs": "0.12.0", | ||
"eslint-plugin-sonarjs": "0.13.0", | ||
"eslint-plugin-sort-keys-fix": "1.1.2", | ||
"eslint-plugin-typescript-sort-keys": "2.1.0", | ||
"husky": "7.0.4", | ||
"jest": "27.5.1", | ||
"lint-staged": "12.3.7", | ||
"nodemon": "2.0.15", | ||
"prettier": "2.6.0", | ||
"husky": "8.0.1", | ||
"jest": "28.1.0", | ||
"lint-staged": "13.0.0", | ||
"nodemon": "2.0.16", | ||
"prettier": "2.6.2", | ||
"semantic-release": "19.0.2", | ||
"ts-jest": "27.1.3", | ||
"ts-node": "10.7.0", | ||
"typescript": "4.6.2" | ||
"ts-jest": "28.0.4", | ||
"ts-node": "10.8.1", | ||
"typescript": "4.7.3" | ||
} | ||
} |
@@ -63,3 +63,3 @@ # HomeKit Code | ||
```txt | ||
Usage: homekit-code qrcode [options] | ||
Usage: homekit-code tag [options] | ||
@@ -66,0 +66,0 @@ Generate a scannable HomeKit tag label |
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
96750
1051
+ Added@resvg/resvg-js@2.0.1(transitive)
+ Added@resvg/resvg-js-android-arm-eabi@2.0.1(transitive)
+ Added@resvg/resvg-js-android-arm64@2.0.1(transitive)
+ Added@resvg/resvg-js-darwin-arm64@2.0.1(transitive)
+ Added@resvg/resvg-js-darwin-x64@2.0.1(transitive)
+ Added@resvg/resvg-js-linux-arm-gnueabihf@2.0.1(transitive)
+ Added@resvg/resvg-js-linux-arm64-gnu@2.0.1(transitive)
+ Added@resvg/resvg-js-linux-arm64-musl@2.0.1(transitive)
+ Added@resvg/resvg-js-linux-x64-gnu@2.0.1(transitive)
+ Added@resvg/resvg-js-linux-x64-musl@2.0.1(transitive)
+ Added@resvg/resvg-js-win32-arm64-msvc@2.0.1(transitive)
+ Added@resvg/resvg-js-win32-ia32-msvc@2.0.1(transitive)
+ Added@resvg/resvg-js-win32-x64-msvc@2.0.1(transitive)
+ Addedyargs@17.5.1(transitive)
- Removed@resvg/resvg-js@1.4.0(transitive)
- Removed@resvg/resvg-js-android-arm-eabi@1.4.0(transitive)
- Removed@resvg/resvg-js-android-arm64@1.4.0(transitive)
- Removed@resvg/resvg-js-darwin-arm64@1.4.0(transitive)
- Removed@resvg/resvg-js-darwin-x64@1.4.0(transitive)
- Removed@resvg/resvg-js-linux-arm-gnueabihf@1.4.0(transitive)
- Removed@resvg/resvg-js-linux-arm64-gnu@1.4.0(transitive)
- Removed@resvg/resvg-js-linux-arm64-musl@1.4.0(transitive)
- Removed@resvg/resvg-js-linux-x64-gnu@1.4.0(transitive)
- Removed@resvg/resvg-js-linux-x64-musl@1.4.0(transitive)
- Removed@resvg/resvg-js-win32-arm64-msvc@1.4.0(transitive)
- Removed@resvg/resvg-js-win32-ia32-msvc@1.4.0(transitive)
- Removed@resvg/resvg-js-win32-x64-msvc@1.4.0(transitive)
- Removedyargs@17.4.0(transitive)
Updated@resvg/resvg-js@2.0.1
Updatedyargs@17.5.1