@thi.ng/pixel-dither 1.0.9 → 1.1.2

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 (3) hide show
  1. package/CHANGELOG.md +43 -9
  2. package/README.md +1 -1
  3. package/package.json +99 -94
package/CHANGELOG.md CHANGED
@@ -1,28 +1,62 @@
1
1
  # Change Log
2
2
 
3
+ - **Last updated**: 2021-11-21T17:09:28Z
4
+ - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
+
3
6
  All notable changes to this project will be documented in this file.
4
- See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
7
+ See [Conventional Commits](https://conventionalcommits.org/) for commit guidelines.
8
+
9
+ **Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
10
+ and/or version bumps of transitive dependencies.
11
+
12
+ ## [1.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/pixel-dither@1.1.0) (2021-11-17)
13
+
14
+ #### 🚀 Features
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
5
21
 
6
- ## [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
7
23
 
8
- **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.
9
30
 
31
+ ### [1.0.9](https://github.com/thi-ng/umbrella/tree/@thi.ng/pixel-dither@1.0.9) (2021-11-04)
10
32
 
33
+ #### ♻️ Refactoring
11
34
 
35
+ - minor changes (rename types) ([4fc248a](https://github.com/thi-ng/umbrella/commit/4fc248a))
12
36
 
37
+ ### [1.0.8](https://github.com/thi-ng/umbrella/tree/@thi.ng/pixel-dither@1.0.8) (2021-11-03)
13
38
 
14
- ## [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
15
40
 
16
- **Note:** Version bump only for package @thi.ng/pixel-dither
41
+ - minor update ([69b3028](https://github.com/thi-ng/umbrella/commit/69b3028))
17
42
 
43
+ ### [1.0.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/pixel-dither@1.0.1) (2021-10-13)
18
44
 
45
+ #### ♻️ Refactoring
19
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
20
50
 
51
+ ## [0.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/pixel-dither@0.1.0) (2021-10-12)
21
52
 
22
- # 0.1.0 (2021-10-12)
53
+ #### 🚀 Features
23
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))
24
57
 
25
- ### Features
58
+ #### ♻️ Refactoring
26
59
 
27
- * **pixel-dither:** add ditherWithKernel() & various presets ([e2ce82a](https://github.com/thi-ng/umbrella/commit/e2ce82ad5c73ec3527ecca17931bad9614524b62))
28
- * **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/README.md CHANGED
@@ -67,7 +67,7 @@ node --experimental-repl-await
67
67
  > const pixelDither = await import("@thi.ng/pixel-dither");
68
68
  ```
69
69
 
70
- Package sizes (gzipped, pre-treeshake): ESM: 1.07 KB
70
+ Package sizes (gzipped, pre-treeshake): ESM: 1.13 KB
71
71
 
72
72
  ## Dependencies
73
73
 
package/package.json CHANGED
@@ -1,104 +1,109 @@
1
1
  {
2
- "name": "@thi.ng/pixel-dither",
3
- "version": "1.0.9",
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.2",
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.2"
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.6",
38
- "@thi.ng/math": "^5.0.7",
39
- "@thi.ng/pixel": "^3.0.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": "d6aca4b4edb697613ed6635b1c0b12f0bf27b1f0"
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": "e8a7c2a40191b391cef182c2978e5a6c85987a87\n"
109
+ }