@thi.ng/geom-sdf 0.3.27 → 0.3.29

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 +1 -1
  2. package/README.md +9 -3
  3. package/package.json +15 -14
package/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2024-03-27T09:53:45Z
3
+ - **Last updated**: 2024-04-08T14:59:29Z
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
@@ -7,7 +7,7 @@
7
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
  > [!NOTE]
10
- > This is one of 190 standalone projects, maintained as part
10
+ > This is one of 191 standalone projects, maintained as part
11
11
  > of the [@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo
12
12
  > and anti-framework.
13
13
  >
@@ -127,7 +127,13 @@ support custom modfifiers. The table below illustrates a few examples effects:
127
127
  yarn add @thi.ng/geom-sdf
128
128
  ```
129
129
 
130
- ES module import:
130
+ ESM import:
131
+
132
+ ```ts
133
+ import * as sdf from "@thi.ng/geom-sdf";
134
+ ```
135
+
136
+ Browser ESM import:
131
137
 
132
138
  ```html
133
139
  <script type="module" src="https://cdn.skypack.dev/@thi.ng/geom-sdf"></script>
@@ -138,7 +144,7 @@ ES module import:
138
144
  For Node.js REPL:
139
145
 
140
146
  ```js
141
- const geomSdf = await import("@thi.ng/geom-sdf");
147
+ const sdf = await import("@thi.ng/geom-sdf");
142
148
  ```
143
149
 
144
150
  Package sizes (brotli'd, pre-treeshake): ESM: 3.65 KB
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/geom-sdf",
3
- "version": "0.3.27",
3
+ "version": "0.3.29",
4
4
  "description": "2D Signed Distance Field creation from @thi.ng/geom shapes, conversions, sampling, combinators",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -36,18 +36,18 @@
36
36
  "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
37
37
  },
38
38
  "dependencies": {
39
- "@thi.ng/api": "^8.9.31",
40
- "@thi.ng/checks": "^3.5.5",
41
- "@thi.ng/defmulti": "^3.0.34",
42
- "@thi.ng/errors": "^2.5.2",
43
- "@thi.ng/geom": "^6.1.3",
44
- "@thi.ng/geom-api": "^4.0.3",
45
- "@thi.ng/geom-isoline": "^2.1.120",
46
- "@thi.ng/geom-poly-utils": "^2.3.108",
47
- "@thi.ng/geom-resample": "^2.3.46",
48
- "@thi.ng/math": "^5.10.8",
49
- "@thi.ng/transducers": "^8.9.17",
50
- "@thi.ng/vectors": "^7.10.24"
39
+ "@thi.ng/api": "^8.10.0",
40
+ "@thi.ng/checks": "^3.6.0",
41
+ "@thi.ng/defmulti": "^3.0.35",
42
+ "@thi.ng/errors": "^2.5.3",
43
+ "@thi.ng/geom": "^6.1.5",
44
+ "@thi.ng/geom-api": "^4.0.5",
45
+ "@thi.ng/geom-isoline": "^2.1.122",
46
+ "@thi.ng/geom-poly-utils": "^2.3.110",
47
+ "@thi.ng/geom-resample": "^2.3.48",
48
+ "@thi.ng/math": "^5.10.9",
49
+ "@thi.ng/transducers": "^9.0.0",
50
+ "@thi.ng/vectors": "^7.10.26"
51
51
  },
52
52
  "devDependencies": {
53
53
  "@microsoft/api-extractor": "^7.43.0",
@@ -118,6 +118,7 @@
118
118
  }
119
119
  },
120
120
  "thi.ng": {
121
+ "alias": "sdf",
121
122
  "parent": "@thi.ng/geom",
122
123
  "related": [
123
124
  "distance-transform",
@@ -128,5 +129,5 @@
128
129
  "status": "alpha",
129
130
  "year": 2022
130
131
  },
131
- "gitHead": "db5f5a5d1b223a8e6b4999d67836678038fd3560\n"
132
+ "gitHead": "85ac4bd4d6d89f8e3689e2863d5bea0cecdb371c\n"
132
133
  }