@thi.ng/rasterize 1.0.9 → 1.0.11

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/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2022-11-23T22:46:54Z
3
+ - **Last updated**: 2022-12-16T12:52:25Z
4
4
  - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
5
 
6
6
  All notable changes to this project will be documented in this file.
package/README.md CHANGED
@@ -1,10 +1,10 @@
1
1
  <!-- This file is generated - DO NOT EDIT! -->
2
2
 
3
- # ![rasterize](https://media.thi.ng/umbrella/banners-20220914/thing-rasterize.svg?75411efe)
3
+ # ![@thi.ng/rasterize](https://media.thi.ng/umbrella/banners-20220914/thing-rasterize.svg?75411efe)
4
4
 
5
5
  [![npm version](https://img.shields.io/npm/v/@thi.ng/rasterize.svg)](https://www.npmjs.com/package/@thi.ng/rasterize)
6
6
  ![npm downloads](https://img.shields.io/npm/dm/@thi.ng/rasterize.svg)
7
- [![Twitter Follow](https://img.shields.io/twitter/follow/thing_umbrella.svg?style=flat-square&label=twitter)](https://twitter.com/thing_umbrella)
7
+ [![Mastodon Follow](https://img.shields.io/mastodon/follow/109331703950160316?domain=https%3A%2F%2Fmastodon.thi.ng&style=social)](https://mastodon.thi.ng/@toxi)
8
8
 
9
9
  This project is part of the
10
10
  [@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo.
@@ -27,7 +27,7 @@ This project is part of the
27
27
 
28
28
  ## About
29
29
 
30
- 2D shape drawing & rasterization.
30
+ 2D shape drawing & rasterization
31
31
 
32
32
  The functions in this package can be used with any
33
33
  [`IGrid2D`](https://docs.thi.ng/umbrella/api/interfaces/IGrid2D.html) compatible
@@ -147,14 +147,11 @@ ES module import:
147
147
 
148
148
  For Node.js REPL:
149
149
 
150
- ```text
151
- # with flag only for < v16
152
- node --experimental-repl-await
153
-
154
- > const rasterize = await import("@thi.ng/rasterize");
150
+ ```js
151
+ const rasterize = await import("@thi.ng/rasterize");
155
152
  ```
156
153
 
157
- Package sizes (gzipped, pre-treeshake): ESM: 1.59 KB
154
+ Package sizes (brotli'd, pre-treeshake): ESM: 1.47 KB
158
155
 
159
156
  ## Dependencies
160
157
 
@@ -186,7 +183,7 @@ TODO
186
183
 
187
184
  ## Authors
188
185
 
189
- Karsten Schmidt
186
+ - [Karsten Schmidt](https://thi.ng)
190
187
 
191
188
  If this project contributes to an academic publication, please cite it as:
192
189
 
@@ -201,4 +198,4 @@ If this project contributes to an academic publication, please cite it as:
201
198
 
202
199
  ## License
203
200
 
204
- &copy; 2021 - 2022 Karsten Schmidt // Apache Software License 2.0
201
+ &copy; 2021 - 2022 Karsten Schmidt // Apache License 2.0
package/api.d.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  import type { Fn3, IGrid2D } from "@thi.ng/api";
2
- export declare type Shader2D<T> = Fn3<IGrid2D<any, T>, number, number, T>;
2
+ export type Shader2D<T> = Fn3<IGrid2D<any, T>, number, number, T>;
3
3
  //# sourceMappingURL=api.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/rasterize",
3
- "version": "1.0.9",
3
+ "version": "1.0.11",
4
4
  "description": "2D shape drawing & rasterization",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -10,7 +10,7 @@
10
10
  "type": "git",
11
11
  "url": "https://github.com/thi-ng/umbrella.git"
12
12
  },
13
- "homepage": "https://github.com/thi-ng/umbrella/tree/master/packages/rasterize#readme",
13
+ "homepage": "https://github.com/thi-ng/umbrella/tree/develop/packages/rasterize#readme",
14
14
  "funding": [
15
15
  {
16
16
  "type": "github",
@@ -21,7 +21,7 @@
21
21
  "url": "https://patreon.com/thing_umbrella"
22
22
  }
23
23
  ],
24
- "author": "Karsten Schmidt <k+npm@thi.ng>",
24
+ "author": "Karsten Schmidt (https://thi.ng)",
25
25
  "license": "Apache-2.0",
26
26
  "scripts": {
27
27
  "build": "yarn clean && tsc --declaration",
@@ -34,21 +34,21 @@
34
34
  "test": "testament test"
35
35
  },
36
36
  "dependencies": {
37
- "@thi.ng/api": "^8.5.0",
38
- "@thi.ng/checks": "^3.3.3",
39
- "@thi.ng/equiv": "^2.1.13",
40
- "@thi.ng/grid-iterators": "^2.3.23",
41
- "@thi.ng/porter-duff": "^2.1.18",
42
- "@thi.ng/random": "^3.3.16",
43
- "@thi.ng/transducers": "^8.3.24"
37
+ "@thi.ng/api": "^8.6.0",
38
+ "@thi.ng/checks": "^3.3.5",
39
+ "@thi.ng/equiv": "^2.1.15",
40
+ "@thi.ng/grid-iterators": "^2.3.25",
41
+ "@thi.ng/porter-duff": "^2.1.20",
42
+ "@thi.ng/random": "^3.3.18",
43
+ "@thi.ng/transducers": "^8.3.26"
44
44
  },
45
45
  "devDependencies": {
46
- "@microsoft/api-extractor": "^7.33.5",
47
- "@thi.ng/testament": "^0.3.5",
46
+ "@microsoft/api-extractor": "^7.33.7",
47
+ "@thi.ng/testament": "^0.3.7",
48
48
  "rimraf": "^3.0.2",
49
49
  "tools": "^0.0.1",
50
- "typedoc": "^0.23.20",
51
- "typescript": "^4.8.4"
50
+ "typedoc": "^0.23.22",
51
+ "typescript": "^4.9.4"
52
52
  },
53
53
  "keywords": [
54
54
  "2d",
@@ -119,5 +119,5 @@
119
119
  "status": "alpha",
120
120
  "year": 2021
121
121
  },
122
- "gitHead": "75ec32ff7f1b7b5e72e7a04ace24732cd5d6c774\n"
122
+ "gitHead": "f445a9cc8022bcdebbf6ff91fd66ced016d72f01\n"
123
123
  }