@thi.ng/geom-isoline 2.0.9 → 2.1.3

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 (2) hide show
  1. package/CHANGELOG.md +74 -45
  2. package/package.json +79 -74
package/CHANGELOG.md CHANGED
@@ -1,91 +1,120 @@
1
1
  # Change Log
2
2
 
3
- All notable changes to this project will be documented in this file.
4
- See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
-
6
- ## [2.0.9](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-isoline@2.0.8...@thi.ng/geom-isoline@2.0.9) (2021-11-10)
7
-
8
- **Note:** Version bump only for package @thi.ng/geom-isoline
9
-
10
-
11
-
3
+ - **Last updated**: 2021-11-21T17:09:28Z
4
+ - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
12
5
 
6
+ All notable changes to this project will be documented in this file.
7
+ See [Conventional Commits](https://conventionalcommits.org/) for commit guidelines.
13
8
 
14
- ## [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.
15
11
 
16
- **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)
17
13
 
14
+ #### 🚀 Features
18
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
19
21
 
22
+ #### ♻️ Refactoring
20
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.
21
30
 
22
- ## [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)
23
32
 
24
- **Note:** Version bump only for package @thi.ng/geom-isoline
33
+ #### ♻️ Refactoring
25
34
 
35
+ - update imports in all tests/pkgs ([effd591](https://github.com/thi-ng/umbrella/commit/effd591))
26
36
 
37
+ # [2.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/geom-isoline@2.0.0) (2021-10-12)
27
38
 
39
+ #### 🛑 Breaking changes
28
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
29
53
 
30
- # [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
31
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)
32
61
 
33
- ### Build System
62
+ ## [1.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/geom-isoline@1.1.0) (2021-08-09)
34
63
 
35
- * major update of ALL pkgs (export maps, ESM only) ([0d1d6ea](https://github.com/thi-ng/umbrella/commit/0d1d6ea9fab2a645d6c5f2bf2591459b939c09b6))
64
+ #### 🚀 Features
36
65
 
66
+ - add scale factor support ([b3f93d2](https://github.com/thi-ng/umbrella/commit/b3f93d2))
37
67
 
38
- ### BREAKING CHANGES
68
+ #### 🩹 Bug fixes
39
69
 
40
- * discontinue CommonJS & UMD versions
70
+ - add half-pixel offset to result coords ([9b90370](https://github.com/thi-ng/umbrella/commit/9b90370))
41
71
 
42
- - only ESM modules will be published from now on
43
- - CJS obsolete due to ESM support in recent versions of node:
44
- - i.e. launch NodeJS via:
45
- - `node --experimental-specifier-resolution=node --experimental-repl-await`
46
- - in the node REPL use `await import(...)` instead of `require()`
47
- - 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)
48
73
 
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 for all tests
74
+ #### ♻️ Refactoring
53
75
 
76
+ - update type-only imports in various tests/pkgs ([3fd9c24](https://github.com/thi-ng/umbrella/commit/3fd9c24))
54
77
 
78
+ ### [0.1.55](https://github.com/thi-ng/umbrella/tree/@thi.ng/geom-isoline@0.1.55) (2020-07-08)
55
79
 
80
+ #### ♻️ Refactoring
56
81
 
82
+ - update imports ([7fbc569](https://github.com/thi-ng/umbrella/commit/7fbc569))
57
83
 
84
+ ### [0.1.31](https://github.com/thi-ng/umbrella/tree/@thi.ng/geom-isoline@0.1.31) (2020-02-25)
58
85
 
59
- # [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
60
87
 
61
- ### Bug Fixes
88
+ - update imports ([9944925](https://github.com/thi-ng/umbrella/commit/9944925))
62
89
 
63
- - **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)
64
91
 
65
- ### Features
92
+ #### ⏱ Performance improvements
66
93
 
67
- - **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))
68
95
 
69
- ## [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)
70
97
 
71
- ### Performance Improvements
98
+ #### ♻️ Refactoring
72
99
 
73
- - **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))
74
101
 
75
- ## [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)
76
103
 
77
- ### Performance Improvements
104
+ #### ⏱ Performance improvements
78
105
 
79
- - **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))
80
107
 
81
- ## [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)
82
109
 
83
- ### Performance Improvements
110
+ #### ⏱ Performance improvements
84
111
 
85
- - **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
86
115
 
87
- # 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)
88
117
 
89
- ### Features
118
+ #### 🚀 Features
90
119
 
91
- - **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/package.json CHANGED
@@ -1,76 +1,81 @@
1
1
  {
2
- "name": "@thi.ng/geom-isoline",
3
- "version": "2.0.9",
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.3",
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.2.0",
38
- "@thi.ng/transducers": "^8.0.8",
39
- "@thi.ng/vectors": "^7.1.1"
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": "5fe52419af63984ebe53032201b2a6174b9cb159"
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.3.0"
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": "d777b58d7bec4496d38166cdabda4ffb78b0dc47\n"
81
+ }