w-geo 1.0.27 → 1.0.28
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 +1 -1
- package/dist/w-geo.umd.js +1 -1
- package/docs/-_class.mjs.html +1 -1
- package/docs/calcDepthStartEndByGroup.mjs.html +1 -1
- package/docs/calcDepthStartEndFromCenter.mjs.html +1 -1
- package/docs/calcLiquefaction.mjs.html +1 -1
- package/docs/calcVerticalStress.mjs.html +1 -1
- package/docs/checkDepth.mjs.html +1 -1
- package/docs/checkDepthStartEnd.mjs.html +1 -1
- package/docs/groupByDepthStartEnd.mjs.html +1 -1
- package/docs/index.html +1 -1
- package/docs/relaPorousParams.mjs.html +1 -1
- package/docs/sepDepthStartEndByDepth.mjs.html +4 -4
- package/docs/w-geo.html +1 -1
- package/package.json +3 -3
- package/src/sepDepthStartEndByDepth.mjs +3 -3
package/README.md
CHANGED
package/dist/w-geo.umd.js
CHANGED
package/docs/-_class.mjs.html
CHANGED
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
<br class="clear">
|
|
60
60
|
|
|
61
61
|
<footer>
|
|
62
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.7</a> on Tue
|
|
62
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.7</a> on Tue Oct 05 2021 13:07:50 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
|
|
63
63
|
</footer>
|
|
64
64
|
|
|
65
65
|
<script>prettyPrint();</script>
|
|
@@ -562,7 +562,7 @@ export default calcDepthStartEndByGroup
|
|
|
562
562
|
<br class="clear">
|
|
563
563
|
|
|
564
564
|
<footer>
|
|
565
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.7</a> on Tue
|
|
565
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.7</a> on Tue Oct 05 2021 13:07:50 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
|
|
566
566
|
</footer>
|
|
567
567
|
|
|
568
568
|
<script>prettyPrint();</script>
|
|
@@ -343,7 +343,7 @@ export default calcDepthStartEndFromCenter
|
|
|
343
343
|
<br class="clear">
|
|
344
344
|
|
|
345
345
|
<footer>
|
|
346
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.7</a> on Tue
|
|
346
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.7</a> on Tue Oct 05 2021 13:07:50 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
|
|
347
347
|
</footer>
|
|
348
348
|
|
|
349
349
|
<script>prettyPrint();</script>
|
|
@@ -4109,7 +4109,7 @@ export default calcLiquefaction
|
|
|
4109
4109
|
<br class="clear">
|
|
4110
4110
|
|
|
4111
4111
|
<footer>
|
|
4112
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.7</a> on Tue
|
|
4112
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.7</a> on Tue Oct 05 2021 13:07:50 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
|
|
4113
4113
|
</footer>
|
|
4114
4114
|
|
|
4115
4115
|
<script>prettyPrint();</script>
|
|
@@ -593,7 +593,7 @@ export default calcVerticalStress
|
|
|
593
593
|
<br class="clear">
|
|
594
594
|
|
|
595
595
|
<footer>
|
|
596
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.7</a> on Tue
|
|
596
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.7</a> on Tue Oct 05 2021 13:07:50 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
|
|
597
597
|
</footer>
|
|
598
598
|
|
|
599
599
|
<script>prettyPrint();</script>
|
package/docs/checkDepth.mjs.html
CHANGED
|
@@ -209,7 +209,7 @@ export default checkDepth
|
|
|
209
209
|
<br class="clear">
|
|
210
210
|
|
|
211
211
|
<footer>
|
|
212
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.7</a> on Tue
|
|
212
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.7</a> on Tue Oct 05 2021 13:07:50 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
|
|
213
213
|
</footer>
|
|
214
214
|
|
|
215
215
|
<script>prettyPrint();</script>
|
|
@@ -239,7 +239,7 @@ export default checkDepthStartEnd
|
|
|
239
239
|
<br class="clear">
|
|
240
240
|
|
|
241
241
|
<footer>
|
|
242
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.7</a> on Tue
|
|
242
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.7</a> on Tue Oct 05 2021 13:07:50 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
|
|
243
243
|
</footer>
|
|
244
244
|
|
|
245
245
|
<script>prettyPrint();</script>
|
|
@@ -484,7 +484,7 @@ export default groupByDepthStartEnd
|
|
|
484
484
|
<br class="clear">
|
|
485
485
|
|
|
486
486
|
<footer>
|
|
487
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.7</a> on Tue
|
|
487
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.7</a> on Tue Oct 05 2021 13:07:50 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
|
|
488
488
|
</footer>
|
|
489
489
|
|
|
490
490
|
<script>prettyPrint();</script>
|
package/docs/index.html
CHANGED
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
<br class="clear">
|
|
69
69
|
|
|
70
70
|
<footer>
|
|
71
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.7</a> on Tue
|
|
71
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.7</a> on Tue Oct 05 2021 13:07:50 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
|
|
72
72
|
</footer>
|
|
73
73
|
|
|
74
74
|
<script>prettyPrint();</script>
|
|
@@ -519,7 +519,7 @@ export default relaPorousParams
|
|
|
519
519
|
<br class="clear">
|
|
520
520
|
|
|
521
521
|
<footer>
|
|
522
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.7</a> on Tue
|
|
522
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.7</a> on Tue Oct 05 2021 13:07:50 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
|
|
523
523
|
</footer>
|
|
524
524
|
|
|
525
525
|
<script>prettyPrint();</script>
|
|
@@ -53,7 +53,7 @@ import cloneDeep from 'lodash/cloneDeep'
|
|
|
53
53
|
import cdbl from 'wsemi/src/cdbl.mjs'
|
|
54
54
|
import isestr from 'wsemi/src/isestr.mjs'
|
|
55
55
|
import isearr from 'wsemi/src/isearr.mjs'
|
|
56
|
-
import
|
|
56
|
+
import arrInsert from 'wsemi/src/arrInsert.mjs'
|
|
57
57
|
import checkDepthStartEnd from './checkDepthStartEnd.mjs'
|
|
58
58
|
import checkDepth from './checkDepth.mjs'
|
|
59
59
|
|
|
@@ -278,8 +278,8 @@ function sepDepthStartEndByDepth(rows, points, opt = {}) {
|
|
|
278
278
|
//pullAt
|
|
279
279
|
pullAt(rows, k)
|
|
280
280
|
|
|
281
|
-
//
|
|
282
|
-
rows =
|
|
281
|
+
//arrInsert
|
|
282
|
+
rows = arrInsert(rows, k, [rowNew1, rowNew2])
|
|
283
283
|
|
|
284
284
|
return false //強制跳出, 一次只插入一個, 故rows也需滿足checkDepthStartEnd
|
|
285
285
|
}
|
|
@@ -313,7 +313,7 @@ export default sepDepthStartEndByDepth
|
|
|
313
313
|
<br class="clear">
|
|
314
314
|
|
|
315
315
|
<footer>
|
|
316
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.7</a> on Tue
|
|
316
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.7</a> on Tue Oct 05 2021 13:07:50 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
|
|
317
317
|
</footer>
|
|
318
318
|
|
|
319
319
|
<script>prettyPrint();</script>
|
package/docs/w-geo.html
CHANGED
|
@@ -6398,7 +6398,7 @@
|
|
|
6398
6398
|
<br class="clear">
|
|
6399
6399
|
|
|
6400
6400
|
<footer>
|
|
6401
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.7</a> on Tue
|
|
6401
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.7</a> on Tue Oct 05 2021 13:07:50 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
|
|
6402
6402
|
</footer>
|
|
6403
6403
|
|
|
6404
6404
|
<script>prettyPrint();</script>
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "w-geo",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.28",
|
|
4
4
|
"description": "A tool for geotech analysis.",
|
|
5
5
|
"main": "dist/w-geo.umd.js",
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"lodash": "^4.17.21",
|
|
8
|
-
"wsemi": "^1.6.
|
|
8
|
+
"wsemi": "^1.6.19"
|
|
9
9
|
},
|
|
10
10
|
"devDependencies": {
|
|
11
|
-
"w-package-tools": "^1.0.
|
|
11
|
+
"w-package-tools": "^1.0.59"
|
|
12
12
|
},
|
|
13
13
|
"scripts": {
|
|
14
14
|
"test": "mocha --parallel --timeout 60000 --experimental-modules --es-module-specifier-resolution=node",
|
|
@@ -9,7 +9,7 @@ import cloneDeep from 'lodash/cloneDeep'
|
|
|
9
9
|
import cdbl from 'wsemi/src/cdbl.mjs'
|
|
10
10
|
import isestr from 'wsemi/src/isestr.mjs'
|
|
11
11
|
import isearr from 'wsemi/src/isearr.mjs'
|
|
12
|
-
import
|
|
12
|
+
import arrInsert from 'wsemi/src/arrInsert.mjs'
|
|
13
13
|
import checkDepthStartEnd from './checkDepthStartEnd.mjs'
|
|
14
14
|
import checkDepth from './checkDepth.mjs'
|
|
15
15
|
|
|
@@ -234,8 +234,8 @@ function sepDepthStartEndByDepth(rows, points, opt = {}) {
|
|
|
234
234
|
//pullAt
|
|
235
235
|
pullAt(rows, k)
|
|
236
236
|
|
|
237
|
-
//
|
|
238
|
-
rows =
|
|
237
|
+
//arrInsert
|
|
238
|
+
rows = arrInsert(rows, k, [rowNew1, rowNew2])
|
|
239
239
|
|
|
240
240
|
return false //強制跳出, 一次只插入一個, 故rows也需滿足checkDepthStartEnd
|
|
241
241
|
}
|