@thi.ng/adapt-dpi
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -6,2 +6,10 @@ # Change Log | ||
## [1.0.4](https://github.com/thi-ng/umbrella/compare/@thi.ng/adapt-dpi@1.0.3...@thi.ng/adapt-dpi@1.0.4) (2020-07-28) | ||
**Note:** Version bump only for package @thi.ng/adapt-dpi | ||
## [1.0.3](https://github.com/thi-ng/umbrella/compare/@thi.ng/adapt-dpi@1.0.2...@thi.ng/adapt-dpi@1.0.3) (2020-07-02) | ||
@@ -8,0 +16,0 @@ |
@@ -1,1 +0,1 @@ | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t(((e=e||self).thi=e.thi||{},e.thi.ng=e.thi.ng||{},e.thi.ng.adaptDpi={}))}(this,(function(e){"use strict";e.adaptDPI=(e,t,i)=>{const n=window.devicePixelRatio||1;return 1!=n&&(e.style.width=t+"px",e.style.height=i+"px"),e.width=t*n,e.height=i*n,n},Object.defineProperty(e,"__esModule",{value:!0})})); | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t(((e="undefined"!=typeof globalThis?globalThis:e||self).thi=e.thi||{},e.thi.ng=e.thi.ng||{},e.thi.ng.adaptDpi={}))}(this,(function(e){"use strict";e.adaptDPI=(e,t,i)=>{const n=window.devicePixelRatio||1;return 1!=n&&(e.style.width=t+"px",e.style.height=i+"px"),e.width=t*n,e.height=i*n,n},Object.defineProperty(e,"__esModule",{value:!0})})); |
{ | ||
"name": "@thi.ng/adapt-dpi", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "HDPI canvas adapter / styling utility", | ||
@@ -41,5 +41,5 @@ "module": "./index.js", | ||
"@istanbuljs/nyc-config-typescript": "^1.0.1", | ||
"@microsoft/api-extractor": "^7.8.0", | ||
"@types/mocha": "^7.0.2", | ||
"@types/node": "^14.0.1", | ||
"@microsoft/api-extractor": "^7.9.2", | ||
"@types/mocha": "^8.0.0", | ||
"@types/node": "^14.0.26", | ||
"mocha": "^8.0.1", | ||
@@ -49,3 +49,3 @@ "nyc": "^15.1.0", | ||
"typedoc": "^0.17.6", | ||
"typescript": "^3.9.5" | ||
"typescript": "^3.9.7" | ||
}, | ||
@@ -72,3 +72,3 @@ "files": [ | ||
}, | ||
"gitHead": "af932be5734c03553f3a4df9b00cb45e061f3a53" | ||
"gitHead": "6a1b929361ede67d425a0dbd12cf4bce56c1f8f8" | ||
} |
@@ -49,3 +49,3 @@ <!-- This file is generated - DO NOT EDIT! --> | ||
Package sizes (gzipped, pre-treeshake): ESM: 146 bytes / CJS: 193 bytes / UMD: 294 bytes | ||
Package sizes (gzipped, pre-treeshake): ESM: 146 bytes / CJS: 193 bytes / UMD: 311 bytes | ||
@@ -52,0 +52,0 @@ ## Dependencies |
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
21744