@thi.ng/geom-isoline 2.0.8 → 2.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 +74 -37
  2. package/README.md +1 -1
  3. package/package.json +79 -74
package/CHANGELOG.md CHANGED
@@ -1,83 +1,120 @@
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.
5
8
 
6
- ## [2.0.8](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-isoline@2.0.7...@thi.ng/geom-isoline@2.0.8) (2021-11-04)
9
+ **Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
10
+ and/or version bumps of transitive dependencies.
7
11
 
8
- **Note:** Version bump only for package @thi.ng/geom-isoline
12
+ ## [2.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/geom-isoline@2.1.0) (2021-11-17)
9
13
 
14
+ #### 🚀 Features
10
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
11
21
 
22
+ #### ♻️ Refactoring
12
23
 
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.
13
30
 
14
- ## [2.0.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-isoline@2.0.6...@thi.ng/geom-isoline@2.0.7) (2021-11-03)
31
+ ### [2.0.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/geom-isoline@2.0.1) (2021-10-13)
15
32
 
16
- **Note:** Version bump only for package @thi.ng/geom-isoline
33
+ #### ♻️ Refactoring
17
34
 
35
+ - update imports in all tests/pkgs ([effd591](https://github.com/thi-ng/umbrella/commit/effd591))
18
36
 
37
+ # [2.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/geom-isoline@2.0.0) (2021-10-12)
19
38
 
39
+ #### 🛑 Breaking changes
20
40
 
41
+ - major update of ALL pkgs (export maps, ESM only) ([0d1d6ea](https://github.com/thi-ng/umbrella/commit/0d1d6ea))
42
+ - BREAKING CHANGE: discontinue CommonJS & UMD versions
43
+ - only ESM modules will be published from now on
44
+ - CJS obsolete due to ESM support in recent versions of node:
45
+ - i.e. launch NodeJS via:
46
+ - `node --experimental-specifier-resolution=node --experimental-repl-await`
47
+ - in the node REPL use `await import(...)` instead of `require()`
48
+ - UMD obsolete due to widespread browser support for ESM
49
+ Also:
50
+ - normalize/restructure/reorg all package.json files
51
+ - cleanup all build scripts, remove obsolete
52
+ - switch from mocha to [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament) for all tests
21
53
 
22
- # [2.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-isoline@1.1.4...@thi.ng/geom-isoline@2.0.0) (2021-10-12)
54
+ #### ♻️ Refactoring
23
55
 
56
+ - update imports (transducers) ([25b674f](https://github.com/thi-ng/umbrella/commit/25b674f))
57
+ - update imports ([6d302d0](https://github.com/thi-ng/umbrella/commit/6d302d0))
58
+ - update all test stubs ([f2d6d53](https://github.com/thi-ng/umbrella/commit/f2d6d53))
59
+ - update all tests in _all_ pkgs ([8b582bc](https://github.com/thi-ng/umbrella/commit/8b582bc))
60
+ - update all to use [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament)
24
61
 
25
- ### Build System
62
+ ## [1.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/geom-isoline@1.1.0) (2021-08-09)
26
63
 
27
- * major update of ALL pkgs (export maps, ESM only) ([0d1d6ea](https://github.com/thi-ng/umbrella/commit/0d1d6ea9fab2a645d6c5f2bf2591459b939c09b6))
64
+ #### 🚀 Features
28
65
 
66
+ - add scale factor support ([b3f93d2](https://github.com/thi-ng/umbrella/commit/b3f93d2))
29
67
 
30
- ### BREAKING CHANGES
68
+ #### 🩹 Bug fixes
31
69
 
32
- * discontinue CommonJS & UMD versions
70
+ - add half-pixel offset to result coords ([9b90370](https://github.com/thi-ng/umbrella/commit/9b90370))
33
71
 
34
- - only ESM modules will be published from now on
35
- - CJS obsolete due to ESM support in recent versions of node:
36
- - i.e. launch NodeJS via:
37
- - `node --experimental-specifier-resolution=node --experimental-repl-await`
38
- - in the node REPL use `await import(...)` instead of `require()`
39
- - UMD obsolete due to widespread browser support for ESM
72
+ ### [0.1.68](https://github.com/thi-ng/umbrella/tree/@thi.ng/geom-isoline@0.1.68) (2020-12-07)
40
73
 
41
- Also:
42
- - normalize/restructure/reorg all package.json files
43
- - cleanup all build scripts, remove obsolete
44
- - switch from mocha to @thi.ng/testament for all tests
74
+ #### ♻️ Refactoring
45
75
 
76
+ - update type-only imports in various tests/pkgs ([3fd9c24](https://github.com/thi-ng/umbrella/commit/3fd9c24))
46
77
 
78
+ ### [0.1.55](https://github.com/thi-ng/umbrella/tree/@thi.ng/geom-isoline@0.1.55) (2020-07-08)
47
79
 
80
+ #### ♻️ Refactoring
48
81
 
82
+ - update imports ([7fbc569](https://github.com/thi-ng/umbrella/commit/7fbc569))
49
83
 
84
+ ### [0.1.31](https://github.com/thi-ng/umbrella/tree/@thi.ng/geom-isoline@0.1.31) (2020-02-25)
50
85
 
51
- # [1.1.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-isoline@1.0.1...@thi.ng/geom-isoline@1.1.0) (2021-08-09)
86
+ #### ♻️ Refactoring
52
87
 
53
- ### Bug Fixes
88
+ - update imports ([9944925](https://github.com/thi-ng/umbrella/commit/9944925))
54
89
 
55
- - **geom-isoline:** add half-pixel offset to result coords ([9b90370](https://github.com/thi-ng/umbrella/commit/9b9037048a7664eca20fda50df44e3018323d475))
90
+ ### [0.1.25](https://github.com/thi-ng/umbrella/tree/@thi.ng/geom-isoline@0.1.25) (2019-08-21)
56
91
 
57
- ### Features
92
+ #### ⏱ Performance improvements
58
93
 
59
- - **geom-isoline:** add scale factor support ([b3f93d2](https://github.com/thi-ng/umbrella/commit/b3f93d20ff56464d2bec86d2de721344872d0cbc))
94
+ - refactor contourVertex as jump table, minor updates ([d25827e](https://github.com/thi-ng/umbrella/commit/d25827e))
60
95
 
61
- ## [0.1.25](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-isoline@0.1.24...@thi.ng/geom-isoline@0.1.25) (2019-08-21)
96
+ ### [0.1.18](https://github.com/thi-ng/umbrella/tree/@thi.ng/geom-isoline@0.1.18) (2019-07-07)
62
97
 
63
- ### Performance Improvements
98
+ #### ♻️ Refactoring
64
99
 
65
- - **geom-isoline:** refactor contourVertex as jump table, minor updates ([d25827e](https://github.com/thi-ng/umbrella/commit/d25827e))
100
+ - address TS strictNullChecks flag ([70da11e](https://github.com/thi-ng/umbrella/commit/70da11e))
66
101
 
67
- ## [0.1.2](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-isoline@0.1.1...@thi.ng/geom-isoline@0.1.2) (2019-02-11)
102
+ ### [0.1.2](https://github.com/thi-ng/umbrella/tree/@thi.ng/geom-isoline@0.1.2) (2019-02-11)
68
103
 
69
- ### Performance Improvements
104
+ #### ⏱ Performance improvements
70
105
 
71
- - **geom-isoline:** flatten LUTs, manual destructure ([763d7b9](https://github.com/thi-ng/umbrella/commit/763d7b9))
106
+ - flatten LUTs, manual destructure ([763d7b9](https://github.com/thi-ng/umbrella/commit/763d7b9))
72
107
 
73
- ## [0.1.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-isoline@0.1.0...@thi.ng/geom-isoline@0.1.1) (2019-02-10)
108
+ ### [0.1.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/geom-isoline@0.1.1) (2019-02-10)
74
109
 
75
- ### Performance Improvements
110
+ #### ⏱ Performance improvements
76
111
 
77
- - **geom-isoline:** minor optimizations ([d990c3c](https://github.com/thi-ng/umbrella/commit/d990c3c))
112
+ - minor optimizations ([d990c3c](https://github.com/thi-ng/umbrella/commit/d990c3c))
113
+ - use Uint8Array for pre-coded cells
114
+ - cellValue() uses pre-computed index
78
115
 
79
- # 0.1.0 (2019-02-05)
116
+ ## [0.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/geom-isoline@0.1.0) (2019-02-05)
80
117
 
81
- ### Features
118
+ #### 🚀 Features
82
119
 
83
- - **geom-isoline:** import package (ported from clojure) ([e30b211](https://github.com/thi-ng/umbrella/commit/e30b211))
120
+ - import package (ported from clojure) ([e30b211](https://github.com/thi-ng/umbrella/commit/e30b211))
package/README.md CHANGED
@@ -54,7 +54,7 @@ node --experimental-repl-await
54
54
  > const geomIsoline = await import("@thi.ng/geom-isoline");
55
55
  ```
56
56
 
57
- Package sizes (gzipped, pre-treeshake): ESM: 812 bytes
57
+ Package sizes (gzipped, pre-treeshake): ESM: 765 bytes
58
58
 
59
59
  ## Dependencies
60
60
 
package/package.json CHANGED
@@ -1,76 +1,81 @@
1
1
  {
2
- "name": "@thi.ng/geom-isoline",
3
- "version": "2.0.8",
4
- "description": "Fast 2D contour line extraction / generation",
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/geom-isoline",
3
+ "version": "2.1.2",
4
+ "description": "Fast 2D contour line extraction / generation",
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/develop/packages/geom-isoline#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/develop/packages/geom-isoline#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"
35
- },
36
- "dependencies": {
37
- "@thi.ng/api": "^8.1.0",
38
- "@thi.ng/transducers": "^8.0.7",
39
- "@thi.ng/vectors": "^7.1.0"
40
- },
41
- "devDependencies": {
42
- "@thi.ng/testament": "^0.1.6"
43
- },
44
- "keywords": [
45
- "2d",
46
- "binary",
47
- "clipping",
48
- "contours",
49
- "isoline",
50
- "iterator",
51
- "marchingsquares",
52
- "polygon",
53
- "threshold",
54
- "typescript"
55
- ],
56
- "publishConfig": {
57
- "access": "public"
58
- },
59
- "engines": {
60
- "node": ">=12.7"
61
- },
62
- "files": [
63
- "*.js",
64
- "*.d.ts"
65
- ],
66
- "exports": {
67
- ".": {
68
- "import": "./index.js"
69
- }
70
- },
71
- "thi.ng": {
72
- "parent": "@thi.ng/geom",
73
- "year": 2015
74
- },
75
- "gitHead": "d6aca4b4edb697613ed6635b1c0b12f0bf27b1f0"
76
- }
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/api": "^8.3.2",
38
+ "@thi.ng/transducers": "^8.1.2",
39
+ "@thi.ng/vectors": "^7.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
+ "2d",
51
+ "binary",
52
+ "clipping",
53
+ "contours",
54
+ "isoline",
55
+ "iterator",
56
+ "marchingsquares",
57
+ "polygon",
58
+ "threshold",
59
+ "typescript"
60
+ ],
61
+ "publishConfig": {
62
+ "access": "public"
63
+ },
64
+ "engines": {
65
+ "node": ">=12.7"
66
+ },
67
+ "files": [
68
+ "*.js",
69
+ "*.d.ts"
70
+ ],
71
+ "exports": {
72
+ ".": {
73
+ "import": "./index.js"
74
+ }
75
+ },
76
+ "thi.ng": {
77
+ "parent": "@thi.ng/geom",
78
+ "year": 2015
79
+ },
80
+ "gitHead": "e8a7c2a40191b391cef182c2978e5a6c85987a87\n"
81
+ }