@thi.ng/rasterize 1.0.163 → 1.0.167
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.
- package/package.json +129 -129
- package/CHANGELOG.md +0 -52
package/package.json
CHANGED
|
@@ -1,130 +1,130 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
}
|
|
2
|
+
"name": "@thi.ng/rasterize",
|
|
3
|
+
"version": "1.0.167",
|
|
4
|
+
"description": "Headless 2D shape drawing, filling & rasterization for arbitrary targets/purposes (no canvas required)",
|
|
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://thi.ng/rasterize",
|
|
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
|
+
"type": "liberapay",
|
|
25
|
+
"url": "https://liberapay.com/thi.ng"
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"author": "Karsten Schmidt (https://thi.ng)",
|
|
29
|
+
"license": "Apache-2.0",
|
|
30
|
+
"scripts": {
|
|
31
|
+
"build": "yarn build:esbuild && yarn build:decl",
|
|
32
|
+
"build:decl": "tsc --declaration --emitDeclarationOnly",
|
|
33
|
+
"build:esbuild": "esbuild --format=esm --platform=neutral --target=es2022 --tsconfig=tsconfig.json --outdir=. src/**/*.ts",
|
|
34
|
+
"clean": "bun ../../tools/src/clean-package.ts",
|
|
35
|
+
"doc": "typedoc --options ../../typedoc.json --out doc src/index.ts",
|
|
36
|
+
"doc:readme": "bun ../../tools/src/module-stats.ts && bun ../../tools/src/readme.ts",
|
|
37
|
+
"pub": "npm publish --access public",
|
|
38
|
+
"test": "bun test",
|
|
39
|
+
"tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
|
|
40
|
+
},
|
|
41
|
+
"dependencies": {
|
|
42
|
+
"@thi.ng/api": "^8.12.6",
|
|
43
|
+
"@thi.ng/checks": "^3.7.22",
|
|
44
|
+
"@thi.ng/equiv": "^2.1.96",
|
|
45
|
+
"@thi.ng/grid-iterators": "^4.0.139",
|
|
46
|
+
"@thi.ng/porter-duff": "^2.1.118",
|
|
47
|
+
"@thi.ng/random": "^4.1.31",
|
|
48
|
+
"@thi.ng/transducers": "^9.6.14"
|
|
49
|
+
},
|
|
50
|
+
"devDependencies": {
|
|
51
|
+
"esbuild": "^0.25.11",
|
|
52
|
+
"typedoc": "^0.28.14",
|
|
53
|
+
"typescript": "^5.9.3"
|
|
54
|
+
},
|
|
55
|
+
"keywords": [
|
|
56
|
+
"2d",
|
|
57
|
+
"bitmap",
|
|
58
|
+
"circle",
|
|
59
|
+
"clipping",
|
|
60
|
+
"drawing",
|
|
61
|
+
"floodfill",
|
|
62
|
+
"grid",
|
|
63
|
+
"iterator",
|
|
64
|
+
"line",
|
|
65
|
+
"pattern",
|
|
66
|
+
"pixel",
|
|
67
|
+
"polygon",
|
|
68
|
+
"polyline",
|
|
69
|
+
"rect",
|
|
70
|
+
"shader",
|
|
71
|
+
"shape",
|
|
72
|
+
"typescript"
|
|
73
|
+
],
|
|
74
|
+
"publishConfig": {
|
|
75
|
+
"access": "public"
|
|
76
|
+
},
|
|
77
|
+
"browser": {
|
|
78
|
+
"process": false,
|
|
79
|
+
"setTimeout": false
|
|
80
|
+
},
|
|
81
|
+
"engines": {
|
|
82
|
+
"node": ">=18"
|
|
83
|
+
},
|
|
84
|
+
"files": [
|
|
85
|
+
"./*.js",
|
|
86
|
+
"./*.d.ts"
|
|
87
|
+
],
|
|
88
|
+
"exports": {
|
|
89
|
+
".": {
|
|
90
|
+
"default": "./index.js"
|
|
91
|
+
},
|
|
92
|
+
"./api": {
|
|
93
|
+
"default": "./api.js"
|
|
94
|
+
},
|
|
95
|
+
"./checks": {
|
|
96
|
+
"default": "./checks.js"
|
|
97
|
+
},
|
|
98
|
+
"./circle": {
|
|
99
|
+
"default": "./circle.js"
|
|
100
|
+
},
|
|
101
|
+
"./flood-fill": {
|
|
102
|
+
"default": "./flood-fill.js"
|
|
103
|
+
},
|
|
104
|
+
"./line": {
|
|
105
|
+
"default": "./line.js"
|
|
106
|
+
},
|
|
107
|
+
"./poly": {
|
|
108
|
+
"default": "./poly.js"
|
|
109
|
+
},
|
|
110
|
+
"./polyline": {
|
|
111
|
+
"default": "./polyline.js"
|
|
112
|
+
},
|
|
113
|
+
"./rect": {
|
|
114
|
+
"default": "./rect.js"
|
|
115
|
+
},
|
|
116
|
+
"./shader": {
|
|
117
|
+
"default": "./shader.js"
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
"thi.ng": {
|
|
121
|
+
"related": [
|
|
122
|
+
"grid-iterators",
|
|
123
|
+
"pixel",
|
|
124
|
+
"text-canvas"
|
|
125
|
+
],
|
|
126
|
+
"status": "alpha",
|
|
127
|
+
"year": 2021
|
|
128
|
+
},
|
|
129
|
+
"gitHead": "136a5e5ef0b69e82329db00d806c3c4e8f1aa063\n"
|
|
130
|
+
}
|
package/CHANGELOG.md
DELETED
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
# Change Log
|
|
2
|
-
|
|
3
|
-
- **Last updated**: 2025-09-01T16:38:35Z
|
|
4
|
-
- **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
|
|
5
|
-
|
|
6
|
-
All notable changes to this project will be documented in this file.
|
|
7
|
-
Only versions published since **2022-01-01** are listed here.
|
|
8
|
-
Please consult the Git history for older version information.
|
|
9
|
-
See [Conventional Commits](https://conventionalcommits.org/) for commit guidelines.
|
|
10
|
-
|
|
11
|
-
**Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
|
|
12
|
-
and/or version bumps of transitive dependencies.
|
|
13
|
-
|
|
14
|
-
### [1.0.82](https://github.com/thi-ng/umbrella/tree/@thi.ng/rasterize@1.0.82) (2024-02-22)
|
|
15
|
-
|
|
16
|
-
#### ♻️ Refactoring
|
|
17
|
-
|
|
18
|
-
- update object destructuring in all pkgs & examples ([f36aeb0](https://github.com/thi-ng/umbrella/commit/f36aeb0))
|
|
19
|
-
|
|
20
|
-
### [1.0.58](https://github.com/thi-ng/umbrella/tree/@thi.ng/rasterize@1.0.58) (2023-11-09)
|
|
21
|
-
|
|
22
|
-
#### ♻️ Refactoring
|
|
23
|
-
|
|
24
|
-
- update all tests (packages A-S) ([e3085e4](https://github.com/thi-ng/umbrella/commit/e3085e4))
|
|
25
|
-
|
|
26
|
-
### [1.0.53](https://github.com/thi-ng/umbrella/tree/@thi.ng/rasterize@1.0.53) (2023-10-24)
|
|
27
|
-
|
|
28
|
-
#### 🩹 Bug fixes
|
|
29
|
-
|
|
30
|
-
- update arg types for point/vec arrays ([588aff8](https://github.com/thi-ng/umbrella/commit/588aff8))
|
|
31
|
-
|
|
32
|
-
### [1.0.37](https://github.com/thi-ng/umbrella/tree/@thi.ng/rasterize@1.0.37) (2023-08-12)
|
|
33
|
-
|
|
34
|
-
#### ♻️ Refactoring
|
|
35
|
-
|
|
36
|
-
- update .probability() call sites in various pkgs ([c8c8141](https://github.com/thi-ng/umbrella/commit/c8c8141))
|
|
37
|
-
|
|
38
|
-
### [1.0.13](https://github.com/thi-ng/umbrella/tree/@thi.ng/rasterize@1.0.13) (2022-12-22)
|
|
39
|
-
|
|
40
|
-
#### ♻️ Refactoring
|
|
41
|
-
|
|
42
|
-
- update drawRect() (rows2d iterator changes) ([a77ee60](https://github.com/thi-ng/umbrella/commit/a77ee60))
|
|
43
|
-
|
|
44
|
-
# [1.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rasterize@1.0.0) (2022-09-27)
|
|
45
|
-
|
|
46
|
-
#### 🛑 Breaking changes
|
|
47
|
-
|
|
48
|
-
- add defBlendF/I shader fns, update Shader2D ([4656c50](https://github.com/thi-ng/umbrella/commit/4656c50))
|
|
49
|
-
- BREAKING CHANGE: update Shader2D args
|
|
50
|
-
- add [@thi.ng/porter-duff](https://github.com/thi-ng/umbrella/tree/main/packages/porter-duff) dependency
|
|
51
|
-
- update Shader2D args, pass target buffer as new initial arg
|
|
52
|
-
- add `defBlendF()`/`defBlendI()` shader fns for PD blend ops
|