@thi.ng/pixel-dither 1.0.10 → 1.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/CHANGELOG.md +39 -13
  2. package/package.json +99 -94
package/CHANGELOG.md CHANGED
@@ -1,36 +1,62 @@
1
1
  # Change Log
2
2
 
3
- All notable changes to this project will be documented in this file.
4
- See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
-
6
- ## [1.0.10](https://github.com/thi-ng/umbrella/compare/@thi.ng/pixel-dither@1.0.9...@thi.ng/pixel-dither@1.0.10) (2021-11-10)
3
+ - **Last updated**: 2021-11-21T17:09:28Z
4
+ - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
7
5
 
8
- **Note:** Version bump only for package @thi.ng/pixel-dither
6
+ All notable changes to this project will be documented in this file.
7
+ See [Conventional Commits](https://conventionalcommits.org/) for commit guidelines.
9
8
 
9
+ **Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
10
+ and/or version bumps of transitive dependencies.
10
11
 
12
+ ## [1.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/pixel-dither@1.1.0) (2021-11-17)
11
13
 
14
+ #### 🚀 Features
12
15
 
16
+ - Using workspaces for local tools ([bf7a404](https://github.com/thi-ng/umbrella/commit/bf7a404))
17
+ Improving the overall build ergonomics
18
+ - introduced a tools workspaces
19
+ - imported it in all needed packages/examples
20
+ - inclusive project root
13
21
 
14
- ## [1.0.9](https://github.com/thi-ng/umbrella/compare/@thi.ng/pixel-dither@1.0.8...@thi.ng/pixel-dither@1.0.9) (2021-11-04)
22
+ #### ♻️ Refactoring
15
23
 
16
- **Note:** Version bump only for package @thi.ng/pixel-dither
24
+ - testrunner to binary ([4ebbbb2](https://github.com/thi-ng/umbrella/commit/4ebbbb2))
25
+ this commit reverts (partly) changes made in:
26
+ ef346d7a8753590dc9094108a3d861a8dbd5dd2c
27
+ overall purpose is better testament ergonomics:
28
+ instead of having to pass NODE_OPTIONS with every invocation
29
+ having a binary to handle this for us.
17
30
 
31
+ ### [1.0.9](https://github.com/thi-ng/umbrella/tree/@thi.ng/pixel-dither@1.0.9) (2021-11-04)
18
32
 
33
+ #### ♻️ Refactoring
19
34
 
35
+ - minor changes (rename types) ([4fc248a](https://github.com/thi-ng/umbrella/commit/4fc248a))
20
36
 
37
+ ### [1.0.8](https://github.com/thi-ng/umbrella/tree/@thi.ng/pixel-dither@1.0.8) (2021-11-03)
21
38
 
22
- ## [1.0.8](https://github.com/thi-ng/umbrella/compare/@thi.ng/pixel-dither@1.0.7...@thi.ng/pixel-dither@1.0.8) (2021-11-03)
39
+ #### ♻️ Refactoring
23
40
 
24
- **Note:** Version bump only for package @thi.ng/pixel-dither
41
+ - minor update ([69b3028](https://github.com/thi-ng/umbrella/commit/69b3028))
25
42
 
43
+ ### [1.0.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/pixel-dither@1.0.1) (2021-10-13)
26
44
 
45
+ #### ♻️ Refactoring
27
46
 
47
+ - update imports in all tests/pkgs ([effd591](https://github.com/thi-ng/umbrella/commit/effd591))
48
+ - update imports in all pkgs ([5fa2b6f](https://github.com/thi-ng/umbrella/commit/5fa2b6f))
49
+ - add .js suffix for all relative imports
28
50
 
51
+ ## [0.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/pixel-dither@0.1.0) (2021-10-12)
29
52
 
30
- # 0.1.0 (2021-10-12)
53
+ #### 🚀 Features
31
54
 
55
+ - add ditherWithKernel() & various presets ([e2ce82a](https://github.com/thi-ng/umbrella/commit/e2ce82a))
56
+ - import as new pkg ([4294df4](https://github.com/thi-ng/umbrella/commit/4294df4))
32
57
 
33
- ### Features
58
+ #### ♻️ Refactoring
34
59
 
35
- * **pixel-dither:** add ditherWithKernel() & various presets ([e2ce82a](https://github.com/thi-ng/umbrella/commit/e2ce82ad5c73ec3527ecca17931bad9614524b62))
36
- * **pixel-dither:** import as new pkg ([4294df4](https://github.com/thi-ng/umbrella/commit/4294df457a6fd9ac366950693338865203f64ae0))
60
+ - simplify kernel defs/handling ([3d9d807](https://github.com/thi-ng/umbrella/commit/3d9d807))
61
+ - update ditherWith() to only require DitherKernel
62
+ - remove obsolete DitherKernelFactory type alias
package/package.json CHANGED
@@ -1,104 +1,109 @@
1
1
  {
2
- "name": "@thi.ng/pixel-dither",
3
- "version": "1.0.10",
4
- "description": "Extensible image dithering w/ various algorithm presets",
5
- "type": "module",
6
- "module": "./index.js",
7
- "typings": "./index.d.ts",
8
- "sideEffects": false,
9
- "repository": {
10
- "type": "git",
11
- "url": "https://github.com/thi-ng/umbrella.git"
2
+ "name": "@thi.ng/pixel-dither",
3
+ "version": "1.1.3",
4
+ "description": "Extensible image dithering w/ various algorithm presets",
5
+ "type": "module",
6
+ "module": "./index.js",
7
+ "typings": "./index.d.ts",
8
+ "sideEffects": false,
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "https://github.com/thi-ng/umbrella.git"
12
+ },
13
+ "homepage": "https://github.com/thi-ng/umbrella/tree/master/packages/pixel-dither#readme",
14
+ "funding": [
15
+ {
16
+ "type": "github",
17
+ "url": "https://github.com/sponsors/postspectacular"
12
18
  },
13
- "homepage": "https://github.com/thi-ng/umbrella/tree/master/packages/pixel-dither#readme",
14
- "funding": [
15
- {
16
- "type": "github",
17
- "url": "https://github.com/sponsors/postspectacular"
18
- },
19
- {
20
- "type": "patreon",
21
- "url": "https://patreon.com/thing_umbrella"
22
- }
23
- ],
24
- "author": "Karsten Schmidt <k+npm@thi.ng>",
25
- "license": "Apache-2.0",
26
- "scripts": {
27
- "build": "yarn clean && tsc --declaration",
28
- "clean": "rimraf *.js *.d.ts *.map doc",
29
- "doc": "typedoc --excludePrivate --excludeInternal --out doc src/index.ts",
30
- "doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose",
31
- "doc:readme": "yarn doc:stats && ../../scripts/node-esm ../../tools/src/readme.ts",
32
- "doc:stats": "../../scripts/node-esm ../../tools/src/module-stats.ts",
33
- "pub": "yarn build && yarn publish --access public",
34
- "test": "testament test"
19
+ {
20
+ "type": "patreon",
21
+ "url": "https://patreon.com/thing_umbrella"
22
+ }
23
+ ],
24
+ "author": "Karsten Schmidt <k+npm@thi.ng>",
25
+ "license": "Apache-2.0",
26
+ "scripts": {
27
+ "build": "yarn clean && tsc --declaration",
28
+ "clean": "rimraf '*.js' '*.d.ts' '*.map' doc",
29
+ "doc": "typedoc --excludePrivate --excludeInternal --out doc src/index.ts",
30
+ "doc:ae": "mkdir -p .ae/doc .ae/temp && api-extractor run --local --verbose",
31
+ "doc:readme": "yarn doc:stats && tools:readme",
32
+ "doc:stats": "tools:module-stats",
33
+ "pub": "yarn npm publish --access public",
34
+ "test": "testament test"
35
+ },
36
+ "dependencies": {
37
+ "@thi.ng/checks": "^3.1.2",
38
+ "@thi.ng/math": "^5.1.2",
39
+ "@thi.ng/pixel": "^3.2.3"
40
+ },
41
+ "devDependencies": {
42
+ "@microsoft/api-extractor": "^7.18.19",
43
+ "@thi.ng/testament": "^0.2.2",
44
+ "rimraf": "^3.0.2",
45
+ "tools": "^0.0.1",
46
+ "typedoc": "^0.22.9",
47
+ "typescript": "^4.5.2"
48
+ },
49
+ "keywords": [
50
+ "typescript"
51
+ ],
52
+ "publishConfig": {
53
+ "access": "public"
54
+ },
55
+ "browser": {
56
+ "process": false,
57
+ "setTimeout": false
58
+ },
59
+ "engines": {
60
+ "node": ">=12.7"
61
+ },
62
+ "files": [
63
+ "*.js",
64
+ "*.d.ts"
65
+ ],
66
+ "exports": {
67
+ ".": {
68
+ "import": "./index.js"
35
69
  },
36
- "dependencies": {
37
- "@thi.ng/checks": "^3.0.7",
38
- "@thi.ng/math": "^5.0.8",
39
- "@thi.ng/pixel": "^3.1.0"
70
+ "./api": {
71
+ "import": "./api.js"
40
72
  },
41
- "devDependencies": {
42
- "@thi.ng/testament": "^0.1.6"
73
+ "./atkinson": {
74
+ "import": "./atkinson.js"
43
75
  },
44
- "keywords": [
45
- "typescript"
46
- ],
47
- "publishConfig": {
48
- "access": "public"
76
+ "./burkes": {
77
+ "import": "./burkes.js"
49
78
  },
50
- "browser": {
51
- "process": false,
52
- "setTimeout": false
79
+ "./diffusion": {
80
+ "import": "./diffusion.js"
53
81
  },
54
- "engines": {
55
- "node": ">=12.7"
82
+ "./dither": {
83
+ "import": "./dither.js"
56
84
  },
57
- "files": [
58
- "*.js",
59
- "*.d.ts"
60
- ],
61
- "exports": {
62
- ".": {
63
- "import": "./index.js"
64
- },
65
- "./api": {
66
- "import": "./api.js"
67
- },
68
- "./atkinson": {
69
- "import": "./atkinson.js"
70
- },
71
- "./burkes": {
72
- "import": "./burkes.js"
73
- },
74
- "./diffusion": {
75
- "import": "./diffusion.js"
76
- },
77
- "./dither": {
78
- "import": "./dither.js"
79
- },
80
- "./floyd-steinberg": {
81
- "import": "./floyd-steinberg.js"
82
- },
83
- "./jarvis": {
84
- "import": "./jarvis.js"
85
- },
86
- "./ordered": {
87
- "import": "./ordered.js"
88
- },
89
- "./sierra2": {
90
- "import": "./sierra2.js"
91
- },
92
- "./stucki": {
93
- "import": "./stucki.js"
94
- },
95
- "./threshold": {
96
- "import": "./threshold.js"
97
- }
85
+ "./floyd-steinberg": {
86
+ "import": "./floyd-steinberg.js"
98
87
  },
99
- "thi.ng": {
100
- "parent": "@thi.ng/pixel",
101
- "year": 2021
88
+ "./jarvis": {
89
+ "import": "./jarvis.js"
102
90
  },
103
- "gitHead": "5fe52419af63984ebe53032201b2a6174b9cb159"
104
- }
91
+ "./ordered": {
92
+ "import": "./ordered.js"
93
+ },
94
+ "./sierra2": {
95
+ "import": "./sierra2.js"
96
+ },
97
+ "./stucki": {
98
+ "import": "./stucki.js"
99
+ },
100
+ "./threshold": {
101
+ "import": "./threshold.js"
102
+ }
103
+ },
104
+ "thi.ng": {
105
+ "parent": "@thi.ng/pixel",
106
+ "year": 2021
107
+ },
108
+ "gitHead": "d777b58d7bec4496d38166cdabda4ffb78b0dc47\n"
109
+ }