@thi.ng/distance 2.1.31 → 2.1.33
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 +9 -9
- package/package.json +12 -12
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
- **Last updated**: 2022-
|
|
3
|
+
- **Last updated**: 2022-11-23T22:46:54Z
|
|
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.
|
|
@@ -32,9 +32,9 @@ and/or version bumps of transitive dependencies.
|
|
|
32
32
|
|
|
33
33
|
#### ♻️ Refactoring
|
|
34
34
|
|
|
35
|
-
- update imports in all tests/pkgs ([effd591](https://github.com/thi-ng/umbrella/commit/effd591))
|
|
36
35
|
- update imports in all pkgs ([5fa2b6f](https://github.com/thi-ng/umbrella/commit/5fa2b6f))
|
|
37
36
|
- add .js suffix for all relative imports
|
|
37
|
+
- update imports in all tests/pkgs ([effd591](https://github.com/thi-ng/umbrella/commit/effd591))
|
|
38
38
|
|
|
39
39
|
# [2.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/distance@2.0.0) (2021-10-12)
|
|
40
40
|
|
|
@@ -62,24 +62,24 @@ and/or version bumps of transitive dependencies.
|
|
|
62
62
|
|
|
63
63
|
#### ♻️ Refactoring
|
|
64
64
|
|
|
65
|
+
- update all tests in _all_ pkgs ([8b582bc](https://github.com/thi-ng/umbrella/commit/8b582bc))
|
|
66
|
+
- update all to use [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament)
|
|
67
|
+
- update imports ([df599da](https://github.com/thi-ng/umbrella/commit/df599da))
|
|
65
68
|
- update deps & imports in various pkgs ([e1cf29e](https://github.com/thi-ng/umbrella/commit/e1cf29e))
|
|
66
69
|
- largely related to recent updates/restructuring of these packages:
|
|
67
70
|
- api
|
|
68
71
|
- defmulti
|
|
69
72
|
- errors
|
|
70
73
|
- logger
|
|
71
|
-
- update imports ([df599da](https://github.com/thi-ng/umbrella/commit/df599da))
|
|
72
|
-
- update all tests in _all_ pkgs ([8b582bc](https://github.com/thi-ng/umbrella/commit/8b582bc))
|
|
73
|
-
- update all to use [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament)
|
|
74
74
|
|
|
75
75
|
## [0.3.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/distance@0.3.0) (2021-04-19)
|
|
76
76
|
|
|
77
77
|
#### 🚀 Features
|
|
78
78
|
|
|
79
|
+
- add argmin*() fns ([72ed376](https://github.com/thi-ng/umbrella/commit/72ed376))
|
|
79
80
|
- replace HAVERSINE w/ alts ([3a9a77a](https://github.com/thi-ng/umbrella/commit/3a9a77a))
|
|
80
81
|
- add HAVERSINE_LATLON, HAVERSINE_LONLAT
|
|
81
82
|
- update readme
|
|
82
|
-
- add argmin*() fns ([72ed376](https://github.com/thi-ng/umbrella/commit/72ed376))
|
|
83
83
|
|
|
84
84
|
## [0.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/distance@0.2.0) (2021-03-30)
|
|
85
85
|
|
|
@@ -104,12 +104,12 @@ and/or version bumps of transitive dependencies.
|
|
|
104
104
|
|
|
105
105
|
#### 🚀 Features
|
|
106
106
|
|
|
107
|
-
- add
|
|
108
|
-
- clamp search radius, minor other changes ([4a09a0f](https://github.com/thi-ng/umbrella/commit/4a09a0f))
|
|
107
|
+
- add new package ([1b41aa4](https://github.com/thi-ng/umbrella/commit/1b41aa4))
|
|
109
108
|
- update INeighborhood, KNearest ([be3e43d](https://github.com/thi-ng/umbrella/commit/be3e43d))
|
|
110
109
|
- expose `dist` impl in INeighborhood
|
|
111
110
|
- disable sort-by-default in KNearest
|
|
112
111
|
- fix Knearest.reset dist metric
|
|
113
112
|
- add docs
|
|
114
113
|
- update tests
|
|
115
|
-
-
|
|
114
|
+
- clamp search radius, minor other changes ([4a09a0f](https://github.com/thi-ng/umbrella/commit/4a09a0f))
|
|
115
|
+
- add Manhattan metric, rename types, add docs ([4f0b199](https://github.com/thi-ng/umbrella/commit/4f0b199))
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/distance",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.33",
|
|
4
4
|
"description": "N-dimensional distance metrics & K-nearest neighborhoods for point queries",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -34,19 +34,19 @@
|
|
|
34
34
|
"test": "testament test"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@thi.ng/api": "^8.
|
|
38
|
-
"@thi.ng/checks": "^3.3.
|
|
39
|
-
"@thi.ng/errors": "^2.2.
|
|
40
|
-
"@thi.ng/heaps": "^2.1.
|
|
41
|
-
"@thi.ng/math": "^5.3.
|
|
42
|
-
"@thi.ng/vectors": "^7.5.
|
|
37
|
+
"@thi.ng/api": "^8.5.0",
|
|
38
|
+
"@thi.ng/checks": "^3.3.3",
|
|
39
|
+
"@thi.ng/errors": "^2.2.4",
|
|
40
|
+
"@thi.ng/heaps": "^2.1.17",
|
|
41
|
+
"@thi.ng/math": "^5.3.14",
|
|
42
|
+
"@thi.ng/vectors": "^7.5.25"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@microsoft/api-extractor": "^7.33.5",
|
|
46
|
-
"@thi.ng/testament": "^0.3.
|
|
46
|
+
"@thi.ng/testament": "^0.3.5",
|
|
47
47
|
"rimraf": "^3.0.2",
|
|
48
48
|
"tools": "^0.0.1",
|
|
49
|
-
"typedoc": "^0.23.
|
|
49
|
+
"typedoc": "^0.23.20",
|
|
50
50
|
"typescript": "^4.8.4"
|
|
51
51
|
},
|
|
52
52
|
"keywords": [
|
|
@@ -69,8 +69,8 @@
|
|
|
69
69
|
"node": ">=12.7"
|
|
70
70
|
},
|
|
71
71
|
"files": [
|
|
72
|
-
"
|
|
73
|
-
"
|
|
72
|
+
"./*.js",
|
|
73
|
+
"./*.d.ts"
|
|
74
74
|
],
|
|
75
75
|
"exports": {
|
|
76
76
|
".": {
|
|
@@ -109,5 +109,5 @@
|
|
|
109
109
|
],
|
|
110
110
|
"year": 2021
|
|
111
111
|
},
|
|
112
|
-
"gitHead": "
|
|
112
|
+
"gitHead": "75ec32ff7f1b7b5e72e7a04ace24732cd5d6c774\n"
|
|
113
113
|
}
|