w-geo 1.0.54 → 1.0.56

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.
Files changed (41) hide show
  1. package/.eslintrc.js +17 -17
  2. package/.github/workflows/ci-test.yml +1 -1
  3. package/README.md +1 -1
  4. package/babel.config.js +1 -0
  5. package/calcCpt-mat.xlsx +0 -0
  6. package/dist/w-geo.umd.js +14 -0
  7. package/dist/w-geo.umd.js.map +1 -0
  8. package/docs/-_class.mjs.html +4 -1
  9. package/docs/calcDepthStartEndByConnect.mjs.html +4 -1
  10. package/docs/calcDepthStartEndByGroup.mjs.html +4 -1
  11. package/docs/calcDepthStartEndFromCenter.mjs.html +4 -1
  12. package/docs/calcLiquefaction.mjs.html +4 -1
  13. package/docs/calcVerticalStress.mjs.html +4 -1
  14. package/docs/checkDepth.mjs.html +4 -1
  15. package/docs/checkDepthStartEnd.mjs.html +4 -1
  16. package/docs/complementDepthData.mjs.html +4 -1
  17. package/docs/groupByDepthStartEnd.mjs.html +4 -1
  18. package/docs/index.html +4 -1
  19. package/docs/mergeByDepthStartEnd.mjs.html +4 -1
  20. package/docs/relaPlasticityParams.mjs.html +4 -1
  21. package/docs/relaPorousParams.mjs.html +4 -1
  22. package/docs/scripts/collapse.js +19 -0
  23. package/docs/scripts/commonNav.js +28 -0
  24. package/docs/scripts/search.js +16 -0
  25. package/docs/sepDepthStartEndByDepth.mjs.html +4 -1
  26. package/docs/smoothDepthByKey.mjs.html +4 -1
  27. package/docs/styles/jsdoc.css +13 -2
  28. package/docs/styles/prettify.css +1 -0
  29. package/docs/w-geo.html +338 -199
  30. package/g10-calcCptUnitWeight.mjs +1 -4
  31. package/package.json +5 -5
  32. package/src/_share.mjs +3 -0
  33. package/src/calcCpt.mjs +10 -5
  34. package/src/calcCptClassify.mjs +12 -0
  35. package/src/calcCptUnitWeight.mjs +1 -1
  36. package/src/intrpDefParam.mjs +4 -0
  37. package/test/calcCpt.test.mjs +2 -2
  38. package/test/calcCptUnitWeight.test.mjs +2 -2
  39. package/test/calcLiquefaction-cpt.test.mjs +4 -4
  40. package/test/calcLiquefaction-spt.test.mjs +4 -4
  41. package/test/complementDepthData.test.mjs +3 -3
package/.eslintrc.js CHANGED
@@ -1,24 +1,24 @@
1
1
  module.exports = {
2
- "env": {
3
- "browser": true,
4
- "es6": true,
5
- "mocha": true
2
+ 'env': {
3
+ 'browser': true,
4
+ 'es6': true,
5
+ 'mocha': true
6
6
  },
7
- "extends": ["plugin:vue/base", "plugin:vue/essential", "standard"],
8
- "plugins": [
9
- "vue"
7
+ 'extends': ['plugin:vue/base', 'plugin:vue/essential', 'standard'],
8
+ 'plugins': [
9
+ 'vue'
10
10
  ],
11
- "globals": {
12
- "Atomics": "readonly",
13
- "SharedArrayBuffer": "readonly"
11
+ 'globals': {
12
+ 'Atomics': 'readonly',
13
+ 'SharedArrayBuffer': 'readonly'
14
14
  },
15
- "parser": "vue-eslint-parser",
16
- "parserOptions": {
17
- "parser": "babel-eslint",
18
- "ecmaVersion": 2019,
19
- "sourceType": "module",
15
+ 'parser': 'vue-eslint-parser',
16
+ 'parserOptions': {
17
+ 'parser': '@babel/eslint-parser',
18
+ 'ecmaVersion': 2019,
19
+ 'sourceType': 'module',
20
20
  },
21
- rules: {
21
+ 'rules': {
22
22
  'generator-star-spacing': 'off',
23
23
  'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
24
24
  'indent': ['error', 4],
@@ -51,4 +51,4 @@ module.exports = {
51
51
  'array-callback-return': 'off',
52
52
  'no-unreachable-loop': 'off',
53
53
  }
54
- };
54
+ }
@@ -9,7 +9,7 @@ jobs:
9
9
 
10
10
  strategy:
11
11
  matrix:
12
- node-version: [16.x]
12
+ node-version: [18.x]
13
13
 
14
14
  steps:
15
15
  - uses: actions/checkout@v2
package/README.md CHANGED
@@ -23,5 +23,5 @@ npm i w-geo
23
23
 
24
24
  Add script for w-geo.
25
25
  ```alias
26
- <script src="https://cdn.jsdelivr.net/npm/w-geo@1.0.54/dist/w-geo.umd.js"></script>
26
+ <script src="https://cdn.jsdelivr.net/npm/w-geo@1.0.56/dist/w-geo.umd.js"></script>
27
27
  ```
package/babel.config.js CHANGED
@@ -7,6 +7,7 @@ module.exports = {
7
7
  ],
8
8
  'plugins': [
9
9
  '@babel/plugin-transform-runtime',
10
+ '@babel/plugin-syntax-import-assertions',
10
11
  '@babel/plugin-proposal-export-default-from',
11
12
  '@babel/plugin-proposal-nullish-coalescing-operator',
12
13
  '@babel/plugin-proposal-optional-chaining'
Binary file