w-geo 1.1.60 → 1.1.62
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/.github/workflows/ci-test.yml +1 -1
- package/.vscode/launch.json +1 -2
- package/README.md +2 -3
- package/babel.config.js +4 -3
- package/dist/w-geo.umd.js +5 -5
- package/dist/w-geo.umd.js.map +1 -1
- package/docs/-_class.mjs.html +1 -1
- package/docs/calcDepthByDepthStartEnd.mjs.html +1 -1
- package/docs/calcDepthStartEndByConnect.mjs.html +9 -9
- package/docs/calcDepthStartEndByDepth.mjs.html +10 -10
- package/docs/calcDepthStartEndByGroup.mjs.html +11 -11
- package/docs/calcLayersByMerge.mjs.html +2 -3
- package/docs/calcLiquefaction.mjs.html +1 -1
- package/docs/calcVerticalStress.mjs.html +1 -1
- package/docs/checkDepth.mjs.html +7 -8
- package/docs/checkDepthStartEnd.mjs.html +5 -7
- package/docs/complementDepthData.mjs.html +1 -1
- package/docs/groupByDepthStartEnd.mjs.html +10 -14
- package/docs/index.html +1 -1
- package/docs/mergeByDepthStartEnd.mjs.html +2 -2
- package/docs/relaPlasticity.mjs.html +1 -1
- package/docs/relaPorous.mjs.html +1 -1
- package/docs/sepDepthStartEndByDepth.mjs.html +11 -12
- package/docs/smoothDepthByKey.mjs.html +1 -1
- package/docs/w-geo.html +1 -1
- package/g.mjs +3 -1
- package/g_0_1-checkDepth.mjs +1 -1
- package/g_0_2-checkDepthStartEnd.mjs +1 -1
- package/g_1_1-relaPorous.mjs +2 -1
- package/g_1_2-relaPlasticity.mjs +2 -1
- package/g_1_3-relaPsdContent.mjs +2 -1
- package/g_1_4-estmRelativeDensity.mjs +2 -1
- package/g_1_5-estmOcr.mjs +2 -1
- package/g_1_6-trimParams.mjs +2 -1
- package/g_1_7-calcClassifyUscs.mjs +2 -1
- package/g_1_8-calcClassifyUscs.mjs +72 -0
- package/g_2_1-calcLiquefaction-spt.mjs +2 -1
- package/g_2_1-calcLiquefactionSpt.mjs +2 -1
- package/g_2_2-calcLiquefaction-cpt.mjs +2 -1
- package/g_2_3-calcLiquefactionSptForCriticalPga.mjs +2 -1
- package/g_3_1-calcCpt.mjs +2 -1
- package/g_3_2-calcCptUnitWeight.mjs +1 -1
- package/g_3_3-calcCptClassify.mjs +2 -1
- package/g_3_4-calcCptVelocityShear.mjs +2 -1
- package/g_3_5-calcCptLayers.mjs +2 -1
- package/g_4_1-calcDepthStartEndByDepth.mjs +1 -1
- package/g_4_2-calcDepthByDepthStartEnd.mjs +1 -1
- package/g_4_3-calcDepthStartEndByGroup.mjs +1 -16
- package/g_4_4-calcDepthStartEndByConnect.mjs +1 -1
- package/g_4_5-calcDepthMaxMin.mjs +2 -1
- package/g_4_6-calcEstmVerticalStress.mjs +3 -1
- package/g_5_1-groupByDepthStartEnd.mjs +2 -1
- package/g_5_2-sepDepthStartEndByDepth.mjs +1 -1
- package/g_5_3-mergeByDepthStartEnd.mjs +1 -1
- package/g_5_4-cutByDepthStartEnd.mjs +2 -1
- package/g_5_5-complementDepthData.mjs +3 -1
- package/g_5_6-buildInterpFun.mjs +2 -1
- package/g_6-1-calcLayersByCompress.mjs +1 -1
- package/g_7_1-intrpPsdBySize.mjs +1 -1
- package/g_7_a1-calcPropInterfaceFrictionAngle.mjs +2 -1
- package/g_8_1-dtIntrpPsdBySize.mjs +1 -1
- package/g_8_2-dtIntrpPsdContentUscs.mjs +1 -1
- package/g_8_3-dtIntrpPsdContentIso.mjs +1 -1
- package/package.json +6 -7
- package/script.txt +6 -7
- package/src/WGeo.mjs +0 -1
- package/src/calcClassifyUscs.mjs +5 -5
- package/src/calcDepthStartEndByConnect.mjs +8 -8
- package/src/calcDepthStartEndByDepth.mjs +9 -9
- package/src/calcDepthStartEndByGroup.mjs +10 -10
- package/src/calcLayersByMerge.mjs +1 -2
- package/src/checkDepth.mjs +6 -7
- package/src/checkDepthStartEnd.mjs +4 -6
- package/src/groupByDepthStartEnd.mjs +9 -13
- package/src/mergeByDepthStartEnd.mjs +1 -1
- package/src/sepDepthStartEndByDepth.mjs +10 -11
- package/test/calcClassifyUscs.test.mjs +7 -2
- package/test/calcCpt.test.mjs +7 -2
- package/test/calcCptLayers.test.mjs +21 -9
- package/test/calcCptUnitWeight.test.mjs +15 -6
- package/test/calcCptVelocityShear.test.mjs +29 -13
- package/test/calcDepthMaxMin.test.mjs +5 -1
- package/test/calcLayersByCompress.test.mjs +8 -2
- package/test/calcLiquefaction-cpt.test.mjs +11 -4
- package/test/calcLiquefaction-spt.test.mjs +11 -4
- package/test/calcLiquefactionSpt.test.mjs +11 -4
- package/test/calcLiquefactionSptForCriticalPga.test.mjs +11 -4
- package/test/calcPropInterfaceFrictionAngle.test.mjs +19 -8
- package/test/complementDepthData.test.mjs +9 -3
- package/src/judge.mjs +0 -61
package/.vscode/launch.json
CHANGED
package/README.md
CHANGED
|
@@ -12,16 +12,15 @@ A tool for geotech analysis.
|
|
|
12
12
|
To view documentation or get support, visit [docs](https://yuda-lyu.github.io/w-geo/w-geo.html).
|
|
13
13
|
|
|
14
14
|
## Installation
|
|
15
|
+
|
|
15
16
|
### Using npm(ES6 module):
|
|
16
|
-
> **Note:** w-geo is mainly dependent on `lodash-es` and `wsemi`.
|
|
17
17
|
```alias
|
|
18
18
|
npm i w-geo
|
|
19
19
|
```
|
|
20
20
|
|
|
21
21
|
### In a browser(UMD module):
|
|
22
|
-
> **Note:** w-geo does not dependent on any package.
|
|
23
22
|
|
|
24
23
|
Add script for w-geo.
|
|
25
24
|
```alias
|
|
26
|
-
<script src="https://cdn.jsdelivr.net/npm/w-geo@1.1.
|
|
25
|
+
<script src="https://cdn.jsdelivr.net/npm/w-geo@1.1.62/dist/w-geo.umd.js"></script>
|
|
27
26
|
```
|
package/babel.config.js
CHANGED
|
@@ -7,9 +7,10 @@ module.exports = {
|
|
|
7
7
|
],
|
|
8
8
|
'plugins': [
|
|
9
9
|
'@babel/plugin-transform-runtime',
|
|
10
|
-
'@babel/plugin-syntax-import-assertions',
|
|
11
10
|
'@babel/plugin-proposal-export-default-from',
|
|
12
|
-
'@babel/plugin-
|
|
13
|
-
'@babel/plugin-proposal-
|
|
11
|
+
// '@babel/plugin-syntax-import-assertions', //已被棄用
|
|
12
|
+
// '@babel/plugin-proposal-nullish-coalescing-operator', //browser與nodejs已支援
|
|
13
|
+
// '@babel/plugin-proposal-object-rest-spread', //browser與nodejs已支援
|
|
14
|
+
// '@babel/plugin-proposal-optional-chaining', //browser與nodejs已支援
|
|
14
15
|
]
|
|
15
16
|
}
|