@maplat/tin 1.1.0-rc.1 → 1.1.1-rc.1

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/README.ja.md CHANGED
@@ -37,7 +37,7 @@ MaplatTin は Apache License 2.0(バージョン 0.14.2 以降)のオープ
37
37
  ## クイックスタート
38
38
 
39
39
  <!-- release-pinned:start -->
40
- > **現在のリリース: `1.0.0`**。このブロックは本リポジトリで唯一
40
+ > **現在のリリース: `1.1.1-rc.1`**。このブロックは本リポジトリで唯一
41
41
  > リリース版数を持つ場所です(ADR-0012)。ブロックの外はすべて 1.0 正式版を前提に
42
42
  > 書かれています。
43
43
  > npm: [`@maplat/tin`](https://www.npmjs.com/package/@maplat/tin)
@@ -86,7 +86,7 @@ const restored = tin.transform(transformed, true);
86
86
 
87
87
  ```html
88
88
  <!-- MaplatTin (UMD) -->
89
- <script src="https://cdn.jsdelivr.net/npm/@maplat/tin@1.0.0/dist/maplat_tin.umd.js"></script>
89
+ <script src="https://cdn.jsdelivr.net/npm/@maplat/tin@1.1.1-rc.1/dist/maplat_tin.umd.js"></script>
90
90
  <script>
91
91
  const tin = new maplatTin.default({ wh: [500, 500] });
92
92
  </script>
@@ -96,7 +96,7 @@ const restored = tin.transform(transformed, true);
96
96
 
97
97
  ```html
98
98
  <script type="module">
99
- import Tin from 'https://cdn.jsdelivr.net/npm/@maplat/tin@1.0.0/dist/maplat_tin.js';
99
+ import Tin from 'https://cdn.jsdelivr.net/npm/@maplat/tin@1.1.1-rc.1/dist/maplat_tin.js';
100
100
  const tin = new Tin({ wh: [500, 500] });
101
101
  </script>
102
102
  ```
package/README.md CHANGED
@@ -40,7 +40,7 @@ MaplatTin is open-source under the Apache License 2.0 (from version 0.14.2).
40
40
  ## Quick Start
41
41
 
42
42
  <!-- release-pinned:start -->
43
- > **Current release: `1.0.0`**. This block is the only place in
43
+ > **Current release: `1.1.1-rc.1`**. This block is the only place in
44
44
  > this repository that carries a release version (ADR-0012); everything outside it is
45
45
  > written against the 1.0 release.
46
46
  > npm: [`@maplat/tin`](https://www.npmjs.com/package/@maplat/tin)
@@ -89,7 +89,7 @@ const restored = tin.transform(transformed, true);
89
89
 
90
90
  ```html
91
91
  <!-- MaplatTin (UMD) -->
92
- <script src="https://cdn.jsdelivr.net/npm/@maplat/tin@1.0.0/dist/maplat_tin.umd.js"></script>
92
+ <script src="https://cdn.jsdelivr.net/npm/@maplat/tin@1.1.1-rc.1/dist/maplat_tin.umd.js"></script>
93
93
  <script>
94
94
  const tin = new maplatTin.default({ wh: [500, 500] });
95
95
  </script>
@@ -99,7 +99,7 @@ Or using ES modules:
99
99
 
100
100
  ```html
101
101
  <script type="module">
102
- import Tin from 'https://cdn.jsdelivr.net/npm/@maplat/tin@1.0.0/dist/maplat_tin.js';
102
+ import Tin from 'https://cdn.jsdelivr.net/npm/@maplat/tin@1.1.1-rc.1/dist/maplat_tin.js';
103
103
  const tin = new Tin({ wh: [500, 500] });
104
104
  </script>
105
105
  ```
package/dist/kinks.d.ts CHANGED
@@ -4,5 +4,6 @@ import { Feature, Point, Position } from 'geojson';
4
4
  *
5
5
  * @param coords - 線分群の座標配列。各線分は始点と終点の座標で表現
6
6
  * @returns 検出された交差点のFeature配列
7
+ * @throws {Error} 座標に有限数(Number.isFinite)でない値が含まれる場合
7
8
  */
8
9
  export default function findIntersections(coords: Position[][]): Feature<Point>[];