w-serv-orm 1.0.8 → 1.0.9
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/dist/w-serv-orm.umd.js +1 -1
- package/docs/WServOrm.html +1 -1
- package/docs/WServOrm.mjs.html +1 -1
- package/docs/index.html +1 -1
- package/package.json +5 -5
- package/schema/tables/tests.mjs +3 -3
- package/script.txt +18 -0
- package/src/genTestData.mjs +2 -2
- package/src/getDb.mjs +3 -3
- package/src/getDbBackupAndRecover.mjs +2 -2
- package/src/getMapOrm.mjs +4 -4
- package/src/getProc.mjs +3 -3
- package/src/getSettings.mjs +1 -1
- package/src/getWoItems.mjs +2 -2
package/dist/w-serv-orm.umd.js
CHANGED
package/docs/WServOrm.html
CHANGED
|
@@ -574,7 +574,7 @@ console.log(r) //回傳server用orm相關函數
|
|
|
574
574
|
<br class="clear">
|
|
575
575
|
|
|
576
576
|
<footer>
|
|
577
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on
|
|
577
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Mon Mar 25 2024 22:03:24 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
|
|
578
578
|
</footer>
|
|
579
579
|
|
|
580
580
|
<script>prettyPrint();</script>
|
package/docs/WServOrm.mjs.html
CHANGED
|
@@ -158,7 +158,7 @@ export default WServOrm
|
|
|
158
158
|
<br class="clear">
|
|
159
159
|
|
|
160
160
|
<footer>
|
|
161
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on
|
|
161
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Mon Mar 25 2024 22:03:24 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
|
|
162
162
|
</footer>
|
|
163
163
|
|
|
164
164
|
<script>prettyPrint();</script>
|
package/docs/index.html
CHANGED
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
<br class="clear">
|
|
72
72
|
|
|
73
73
|
<footer>
|
|
74
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on
|
|
74
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Mon Mar 25 2024 22:03:24 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
|
|
75
75
|
</footer>
|
|
76
76
|
|
|
77
77
|
<script>prettyPrint();</script>
|
package/package.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "w-serv-orm",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.9",
|
|
4
4
|
"main": "dist/w-serv-orm.umd.js",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"json5": "^2.2.3",
|
|
7
7
|
"lodash-es": "^4.17.21",
|
|
8
|
-
"wsemi": "^1.7.
|
|
8
|
+
"wsemi": "^1.7.49"
|
|
9
9
|
},
|
|
10
10
|
"devDependencies": {
|
|
11
|
-
"w-data-collector": "^1.0.
|
|
12
|
-
"w-orm-mongodb": "^1.1.
|
|
13
|
-
"w-package-tools": "^1.0.
|
|
11
|
+
"w-data-collector": "^1.0.22",
|
|
12
|
+
"w-orm-mongodb": "^1.1.31",
|
|
13
|
+
"w-package-tools": "^1.0.75"
|
|
14
14
|
},
|
|
15
15
|
"scripts": {
|
|
16
16
|
"test": "mocha --parallel --timeout 60000 --experimental-modules --es-module-specifier-resolution=node",
|
package/schema/tables/tests.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import map from 'lodash-es/map'
|
|
2
|
-
import keys from 'lodash-es/keys'
|
|
1
|
+
import map from 'lodash-es/map.js'
|
|
2
|
+
import keys from 'lodash-es/keys.js'
|
|
3
3
|
import genID from 'wsemi/src/genID.mjs'
|
|
4
4
|
import dtmapping from 'wsemi/src/dtmapping.mjs'
|
|
5
5
|
import dtpick from 'wsemi/src/dtpick.mjs'
|
|
6
6
|
import nowms2str from 'wsemi/src/nowms2str.mjs'
|
|
7
7
|
import now2strp from 'wsemi/src/now2strp.mjs'
|
|
8
|
-
import isestr from 'wsemi/src/isestr'
|
|
8
|
+
import isestr from 'wsemi/src/isestr.mjs'
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
let keyTable = 'tests'
|
package/script.txt
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
#node --experimental-modules --es-module-specifier-resolution=node toolg/addVersion.mjs
|
|
2
|
+
node --experimental-modules --es-module-specifier-resolution=node toolg/modifyReadme.mjs
|
|
3
|
+
|
|
4
|
+
node --experimental-modules --es-module-specifier-resolution=node toolg/cleanFolder.mjs
|
|
5
|
+
./node_modules/.bin/jsdoc -c .jsdoc
|
|
6
|
+
|
|
7
|
+
node --experimental-modules --es-module-specifier-resolution=node toolg/gDistRollup.mjs
|
|
8
|
+
|
|
9
|
+
git add . -A
|
|
10
|
+
git commit -m 'modify: '
|
|
11
|
+
git push origin master:master
|
|
12
|
+
|
|
13
|
+
npm run deploy
|
|
14
|
+
|
|
15
|
+
#npm test
|
|
16
|
+
|
|
17
|
+
#npm publish
|
|
18
|
+
|
package/src/genTestData.mjs
CHANGED
package/src/getDb.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import path from 'path'
|
|
2
2
|
import fs from 'fs'
|
|
3
|
-
import get from 'lodash-es/get'
|
|
4
|
-
import each from 'lodash-es/each'
|
|
5
|
-
import keys from 'lodash-es/keys'
|
|
3
|
+
import get from 'lodash-es/get.js'
|
|
4
|
+
import each from 'lodash-es/each.js'
|
|
5
|
+
import keys from 'lodash-es/keys.js'
|
|
6
6
|
import iseobj from 'wsemi/src/iseobj.mjs'
|
|
7
7
|
import isbol from 'wsemi/src/isbol.mjs'
|
|
8
8
|
import isestr from 'wsemi/src/isestr.mjs'
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// import path from 'path'
|
|
2
2
|
import fs from 'fs'
|
|
3
|
-
import trim from 'lodash-es/trim'
|
|
4
|
-
import size from 'lodash-es/size'
|
|
3
|
+
import trim from 'lodash-es/trim.js'
|
|
4
|
+
import size from 'lodash-es/size.js'
|
|
5
5
|
import pmSeries from 'wsemi/src/pmSeries.mjs'
|
|
6
6
|
import fsIsFile from 'wsemi/src/fsIsFile.mjs'
|
|
7
7
|
import iseobj from 'wsemi/src/iseobj.mjs'
|
package/src/getMapOrm.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import get from 'lodash-es/get'
|
|
2
|
-
import each from 'lodash-es/each'
|
|
3
|
-
import map from 'lodash-es/map'
|
|
4
|
-
import size from 'lodash-es/size'
|
|
1
|
+
import get from 'lodash-es/get.js'
|
|
2
|
+
import each from 'lodash-es/each.js'
|
|
3
|
+
import map from 'lodash-es/map.js'
|
|
4
|
+
import size from 'lodash-es/size.js'
|
|
5
5
|
import nowms2str from 'wsemi/src/nowms2str.mjs'
|
|
6
6
|
import isarr from 'wsemi/src/isarr.mjs'
|
|
7
7
|
import iseobj from 'wsemi/src/iseobj.mjs'
|
package/src/getProc.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import get from 'lodash-es/get'
|
|
2
|
-
import size from 'lodash-es/size'
|
|
3
|
-
import filter from 'lodash-es/filter'
|
|
1
|
+
import get from 'lodash-es/get.js'
|
|
2
|
+
import size from 'lodash-es/size.js'
|
|
3
|
+
import filter from 'lodash-es/filter.js'
|
|
4
4
|
import isarr from 'wsemi/src/isarr.mjs'
|
|
5
5
|
import isestr from 'wsemi/src/isestr.mjs'
|
|
6
6
|
import haskey from 'wsemi/src/haskey.mjs'
|
package/src/getSettings.mjs
CHANGED
package/src/getWoItems.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import each from 'lodash-es/each'
|
|
2
|
-
import keys from 'lodash-es/keys'
|
|
1
|
+
import each from 'lodash-es/each.js'
|
|
2
|
+
import keys from 'lodash-es/keys.js'
|
|
3
3
|
import iseobj from 'wsemi/src/iseobj.mjs'
|
|
4
4
|
import isfun from 'wsemi/src/isfun.mjs'
|
|
5
5
|
import isestr from 'wsemi/src/isestr.mjs'
|