Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@thi.ng/adapt-dpi

Package Overview
Dependencies
Maintainers
1
Versions
90
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@thi.ng/adapt-dpi - npm Package Compare versions

Comparing version 1.0.9 to 1.0.10

8

CHANGELOG.md

@@ -6,2 +6,10 @@ # Change Log

## [1.0.10](https://github.com/thi-ng/umbrella/compare/@thi.ng/adapt-dpi@1.0.9...@thi.ng/adapt-dpi@1.0.10) (2020-11-24)
**Note:** Version bump only for package @thi.ng/adapt-dpi
## [1.0.9](https://github.com/thi-ng/umbrella/compare/@thi.ng/adapt-dpi@1.0.8...@thi.ng/adapt-dpi@1.0.9) (2020-09-22)

@@ -8,0 +16,0 @@

2

lib/index.umd.js

@@ -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="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})}));
!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.9",
"version": "1.0.10",
"description": "HDPI canvas adapter / styling utility",

@@ -41,10 +41,10 @@ "module": "./index.js",

"@istanbuljs/nyc-config-typescript": "^1.0.1",
"@microsoft/api-extractor": "^7.9.11",
"@microsoft/api-extractor": "^7.12.0",
"@types/mocha": "^8.0.3",
"@types/node": "^14.6.1",
"mocha": "^8.1.2",
"mocha": "^8.2.1",
"nyc": "^15.1.0",
"ts-node": "^9.0.0",
"typedoc": "^0.18.0",
"typescript": "^4.0.2"
"typedoc": "^0.19.2",
"typescript": "^4.1.2"
},

@@ -57,2 +57,3 @@ "files": [

"keywords": [
"browser",
"canvas",

@@ -71,3 +72,3 @@ "dpi",

},
"gitHead": "130dff672b56f789205177c2243169d33d479948"
"gitHead": "3a89bdfa4c58983d5e005b3e9fb056b0351198fe"
}

@@ -51,3 +51,3 @@ <!-- This file is generated - DO NOT EDIT! -->

Package sizes (gzipped, pre-treeshake): ESM: 146 bytes / CJS: 193 bytes / UMD: 311 bytes
Package sizes (gzipped, pre-treeshake): ESM: 150 bytes / CJS: 198 bytes / UMD: 316 bytes

@@ -54,0 +54,0 @@ ## Dependencies

Sorry, the diff of this file is not supported yet

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