m4-w-fast 1.0.4 → 1.0.5
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.md +3 -0
- package/dist/index.js +1 -1
- package/dist/intersect.worker.js +2 -2
- package/dist/isoBands.worker.js +1 -1
- package/dist/readFile.d.ts +1 -1
- package/dist/readFile.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -15,6 +15,9 @@
|
|
|
15
15
|
- 扩展了 `ReadConfig` 配置项, 新增:
|
|
16
16
|
- `plusOffset?: number` 数据偏移量, 默认无偏移
|
|
17
17
|
- `getIsoBandsFastByWorker()` 和 `clipDataByJson()` 方法新增了 `useCpuCount` 参数, 用于设置`CPU`使用数量, 默认为`navigator.hardwareConcurrency - 4`
|
|
18
|
+
- v1.0.5:
|
|
19
|
+
- `.start()`方法提供了一个Promise.reject的错误回调, 用于捕获文件读取错误
|
|
20
|
+
- 优化了在少数情况下, 绘图会出现有值但没有被绘制的问题
|
|
18
21
|
### 类型参照
|
|
19
22
|
> ReadConfig
|
|
20
23
|
|