@thi.ng/adapt-dpi
Advanced tools
Comparing version 2.0.6 to 2.1.0
115
CHANGELOG.md
# Change Log | ||
Last updated: 2021-11-17T23:24:59Z | ||
All notable changes to this project will be documented in this file. | ||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. | ||
See [Conventional Commits](https://conventionalcommits.org/) for commit guidelines. | ||
## [2.0.6](https://github.com/thi-ng/umbrella/compare/@thi.ng/adapt-dpi@2.0.5...@thi.ng/adapt-dpi@2.0.6) (2021-10-28) | ||
**Note:** Unlisted _patch_ versions only involve non-code changes and/or | ||
version bumps of transitive dependencies. | ||
**Note:** Version bump only for package @thi.ng/adapt-dpi | ||
## [2.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/adapt-dpi@2.1.0) (2021-11-17) | ||
#### 🚀 Features | ||
- Using workspaces for local tools ([bf7a404](https://github.com/thi-ng/umbrella/commit/bf7a404)) | ||
Improving the overall build ergonomics | ||
- introduced a tools workspaces | ||
- imported it in all needed packages/examples | ||
- inclusive project root | ||
#### ♻️ Refactoring | ||
- testrunner to binary ([4ebbbb2](https://github.com/thi-ng/umbrella/commit/4ebbbb2)) | ||
this commit reverts (partly) changes made in: | ||
ef346d7a8753590dc9094108a3d861a8dbd5dd2c | ||
overall purpose is better testament ergonomics: | ||
instead of having to pass NODE_OPTIONS with every invocation | ||
having a binary to handle this for us. | ||
## [2.0.5](https://github.com/thi-ng/umbrella/compare/@thi.ng/adapt-dpi@2.0.4...@thi.ng/adapt-dpi@2.0.5) (2021-10-28) | ||
### [2.0.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/adapt-dpi@2.0.1) (2021-10-13) | ||
**Note:** Version bump only for package @thi.ng/adapt-dpi | ||
#### ♻️ Refactoring | ||
- update imports in all tests/pkgs ([effd591](https://github.com/thi-ng/umbrella/commit/effd591)) | ||
# [2.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/adapt-dpi@2.0.0) (2021-10-12) | ||
#### 🛑 Breaking changes | ||
- major update of ALL pkgs (export maps, ESM only) ([0d1d6ea](https://github.com/thi-ng/umbrella/commit/0d1d6ea)) | ||
- BREAKING CHANGE: discontinue CommonJS & UMD versions | ||
- only ESM modules will be published from now on | ||
- CJS obsolete due to ESM support in recent versions of node: | ||
- i.e. launch NodeJS via: | ||
- `node --experimental-specifier-resolution=node --experimental-repl-await` | ||
- in the node REPL use `await import(...)` instead of `require()` | ||
- UMD obsolete due to widespread browser support for ESM | ||
Also: | ||
- normalize/restructure/reorg all package.json files | ||
- cleanup all build scripts, remove obsolete | ||
- switch from mocha to [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament) for all tests | ||
## [2.0.4](https://github.com/thi-ng/umbrella/compare/@thi.ng/adapt-dpi@2.0.3...@thi.ng/adapt-dpi@2.0.4) (2021-10-25) | ||
#### ♻️ Refactoring | ||
**Note:** Version bump only for package @thi.ng/adapt-dpi | ||
- update all test stubs ([f2d6d53](https://github.com/thi-ng/umbrella/commit/f2d6d53)) | ||
- update all tests in _all_ pkgs ([8b582bc](https://github.com/thi-ng/umbrella/commit/8b582bc)) | ||
- update all to use [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament) | ||
# [1.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/adapt-dpi@1.0.0) (2020-06-07) | ||
#### 🛑 Breaking changes | ||
## [2.0.3](https://github.com/thi-ng/umbrella/compare/@thi.ng/adapt-dpi@2.0.2...@thi.ng/adapt-dpi@2.0.3) (2021-10-15) | ||
**Note:** Version bump only for package @thi.ng/adapt-dpi | ||
## [2.0.2](https://github.com/thi-ng/umbrella/compare/@thi.ng/adapt-dpi@2.0.1...@thi.ng/adapt-dpi@2.0.2) (2021-10-15) | ||
**Note:** Version bump only for package @thi.ng/adapt-dpi | ||
## [2.0.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/adapt-dpi@2.0.0...@thi.ng/adapt-dpi@2.0.1) (2021-10-13) | ||
**Note:** Version bump only for package @thi.ng/adapt-dpi | ||
# [2.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/adapt-dpi@1.0.23...@thi.ng/adapt-dpi@2.0.0) (2021-10-12) | ||
### Build System | ||
* major update of ALL pkgs (export maps, ESM only) ([0d1d6ea](https://github.com/thi-ng/umbrella/commit/0d1d6ea9fab2a645d6c5f2bf2591459b939c09b6)) | ||
### BREAKING CHANGES | ||
* discontinue CommonJS & UMD versions | ||
- only ESM modules will be published from now on | ||
- CJS obsolete due to ESM support in recent versions of node: | ||
- i.e. launch NodeJS via: | ||
- `node --experimental-specifier-resolution=node --experimental-repl-await` | ||
- in the node REPL use `await import(...)` instead of `require()` | ||
- UMD obsolete due to widespread browser support for ESM | ||
Also: | ||
- normalize/restructure/reorg all package.json files | ||
- cleanup all build scripts, remove obsolete | ||
- switch from mocha to @thi.ng/testament for all tests | ||
# 1.0.0 (2020-06-07) | ||
### Features | ||
- **adapt-dpi:** extract as new pkg ([7250041](https://github.com/thi-ng/umbrella/commit/7250041e30995844ac20295bdb36b351f5b2ccc8)) | ||
### BREAKING CHANGES | ||
- **adapt-dpi:** extracted from hdom-components pkg for better re-use | ||
- extract as new pkg ([7250041](https://github.com/thi-ng/umbrella/commit/7250041)) | ||
- BREAKING CHANGE: extracted from hdom-components pkg for better re-use |
129
package.json
{ | ||
"name": "@thi.ng/adapt-dpi", | ||
"version": "2.0.6", | ||
"description": "HDPI canvas adapter / styling utility", | ||
"type": "module", | ||
"module": "./index.js", | ||
"typings": "./index.d.ts", | ||
"sideEffects": false, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/thi-ng/umbrella.git" | ||
"name": "@thi.ng/adapt-dpi", | ||
"version": "2.1.0", | ||
"description": "HDPI canvas adapter / styling utility", | ||
"type": "module", | ||
"module": "./index.js", | ||
"typings": "./index.d.ts", | ||
"sideEffects": false, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/thi-ng/umbrella.git" | ||
}, | ||
"homepage": "https://github.com/thi-ng/umbrella/tree/master/packages/adapt-dpi#readme", | ||
"funding": [ | ||
{ | ||
"type": "github", | ||
"url": "https://github.com/sponsors/postspectacular" | ||
}, | ||
"homepage": "https://github.com/thi-ng/umbrella/tree/master/packages/adapt-dpi#readme", | ||
"funding": [ | ||
{ | ||
"type": "github", | ||
"url": "https://github.com/sponsors/postspectacular" | ||
}, | ||
{ | ||
"type": "patreon", | ||
"url": "https://patreon.com/thing_umbrella" | ||
} | ||
], | ||
"author": "Karsten Schmidt <k+npm@thi.ng>", | ||
"license": "Apache-2.0", | ||
"scripts": { | ||
"build": "yarn clean && tsc --declaration", | ||
"clean": "rimraf *.js *.d.ts *.map doc", | ||
"doc": "typedoc --excludePrivate --excludeInternal --out doc src/index.ts", | ||
"doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose", | ||
"doc:readme": "yarn doc:stats && ../../scripts/node-esm ../../tools/src/readme.ts", | ||
"doc:stats": "../../scripts/node-esm ../../tools/src/module-stats.ts", | ||
"pub": "yarn build && yarn publish --access public", | ||
"test": "testament test" | ||
}, | ||
"devDependencies": { | ||
"@thi.ng/testament": "^0.1.6" | ||
}, | ||
"keywords": [ | ||
"browser", | ||
"canvas", | ||
"dpi", | ||
"hdpi", | ||
"retina", | ||
"typescript" | ||
], | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"engines": {}, | ||
"files": [ | ||
"*.js", | ||
"*.d.ts" | ||
], | ||
"exports": { | ||
".": { | ||
"import": "./index.js" | ||
} | ||
}, | ||
"thi.ng": { | ||
"year": 2015 | ||
}, | ||
"gitHead": "c17a556ad25f6882dfa8f806a1d9e8ed7ac7cd71" | ||
} | ||
{ | ||
"type": "patreon", | ||
"url": "https://patreon.com/thing_umbrella" | ||
} | ||
], | ||
"author": "Karsten Schmidt <k+npm@thi.ng>", | ||
"license": "Apache-2.0", | ||
"scripts": { | ||
"build": "yarn clean && tsc --declaration", | ||
"clean": "rimraf '*.js' '*.d.ts' '*.map' doc", | ||
"doc": "typedoc --excludePrivate --excludeInternal --out doc src/index.ts", | ||
"doc:ae": "mkdir -p .ae/doc .ae/temp && api-extractor run --local --verbose", | ||
"doc:readme": "yarn doc:stats && tools:readme", | ||
"doc:stats": "tools:module-stats", | ||
"pub": "yarn build && yarn npm publish --access public", | ||
"test": "testament test" | ||
}, | ||
"devDependencies": { | ||
"@microsoft/api-extractor": "^7.18.19", | ||
"@thi.ng/testament": "^0.2.0", | ||
"rimraf": "^3.0.2", | ||
"tools": "^0.0.1", | ||
"typedoc": "^0.22.8", | ||
"typescript": "^4.4.4" | ||
}, | ||
"keywords": [ | ||
"browser", | ||
"canvas", | ||
"dpi", | ||
"hdpi", | ||
"retina", | ||
"typescript" | ||
], | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"engines": {}, | ||
"files": [ | ||
"*.js", | ||
"*.d.ts" | ||
], | ||
"exports": { | ||
".": { | ||
"import": "./index.js" | ||
} | ||
}, | ||
"thi.ng": { | ||
"year": 2015 | ||
}, | ||
"gitHead": "519eedf95c076202f3429eb8e46ccff275bfe446\n" | ||
} |
@@ -59,3 +59,3 @@ <!-- This file is generated - DO NOT EDIT! --> | ||
Package sizes (gzipped, pre-treeshake): ESM: 168 bytes | ||
Package sizes (gzipped, pre-treeshake): ESM: 173 bytes | ||
@@ -62,0 +62,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
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
65244
8
254
6
1