Skip to content

Commit

Permalink
modify: lodash to update-es
Browse files Browse the repository at this point in the history
  • Loading branch information
yuda-lyu committed Mar 19, 2024
1 parent 2b05d38 commit 41dabae
Show file tree
Hide file tree
Showing 17 changed files with 37 additions and 36 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ To view documentation or get support, visit [docs](https://yuda-lyu.github.io/w-

## Installation
### Using npm(ES6 module):
> **Note:** `w-ftp` is mainly dependent on the fork of `jsftp`, `ssh2-sftp-client`, `lodash` and `wsemi`.
> **Note:** `w-ftp` is mainly dependent on the fork of `jsftp`, `ssh2-sftp-client`, `lodash-es` and `wsemi`.
```alias
npm i w-ftp
Expand Down
4 changes: 2 additions & 2 deletions dist/w-ftp.umd.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/w-ftp.umd.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/WFtp.mjs.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ <h1 class="page-title">WFtp.mjs</h1>

<section>
<article>
<pre class="prettyprint source linenums"><code>import get from 'lodash/get'
<pre class="prettyprint source linenums"><code>import get from 'lodash-es/get'
import CoreFTP from './CoreFTP.mjs'
import CoreSFTP from './CoreSFTP.mjs'

Expand Down Expand Up @@ -777,7 +777,7 @@ <h1 class="page-title">WFtp.mjs</h1>
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Tue Mar 19 2024 20:46:39 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Tue Mar 19 2024 21:47:51 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
</footer>

<script>prettyPrint();</script>
Expand Down
2 changes: 1 addition & 1 deletion docs/global.html
Original file line number Diff line number Diff line change
Expand Up @@ -2895,7 +2895,7 @@ <h5 class="h5-returns">Returns:</h5>
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Tue Mar 19 2024 20:46:39 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Tue Mar 19 2024 21:47:51 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
</footer>

<script>prettyPrint();</script>
Expand Down
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ <h3> </h3>
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Tue Mar 19 2024 20:46:39 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Tue Mar 19 2024 21:47:51 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
</footer>

<script>prettyPrint();</script>
Expand Down
2 changes: 1 addition & 1 deletion docs/jsftp.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -919,7 +919,7 @@ <h1 class="page-title">jsftp.js</h1>
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Tue Mar 19 2024 20:46:39 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Tue Mar 19 2024 21:47:51 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
</footer>

<script>prettyPrint();</script>
Expand Down
9 changes: 5 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "w-ftp",
"version": "1.0.13",
"version": "1.0.14",
"main": "dist/w-ftp.umd.js",
"dependencies": {
"dayjs": "^1.11.10",
"debug": "^4.3.4",
"ftp-response-parser": "^1.0.1",
"lodash": "^4.17.21",
"lodash-es": "^4.17.21",
"once": "^1.4.0",
"parse-listing": "^1.1.3",
"ssh2-sftp-client": "^9.1.0",
Expand Down
10 changes: 5 additions & 5 deletions src/CoreFTP.mjs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import path from 'path'
import fs from 'fs'
import get from 'lodash/get'
import map from 'lodash/map'
import each from 'lodash/each'
import size from 'lodash/size'
import last from 'lodash/last'
import get from 'lodash-es/get'
import map from 'lodash-es/map'
import each from 'lodash-es/each'
import size from 'lodash-es/size'
import last from 'lodash-es/last'
import genPm from 'wsemi/src/genPm.mjs'
import cint from 'wsemi/src/cint.mjs'
import ispint from 'wsemi/src/ispint.mjs'
Expand Down
8 changes: 4 additions & 4 deletions src/CoreSFTP.mjs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import path from 'path'
import fs from 'fs'
import get from 'lodash/get'
import size from 'lodash/size'
import last from 'lodash/last'
import map from 'lodash/map'
import get from 'lodash-es/get'
import size from 'lodash-es/size'
import last from 'lodash-es/last'
import map from 'lodash-es/map'
import genPm from 'wsemi/src/genPm.mjs'
import cint from 'wsemi/src/cint.mjs'
import ispint from 'wsemi/src/ispint.mjs'
Expand Down
2 changes: 1 addition & 1 deletion src/WFtp.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import get from 'lodash/get'
import get from 'lodash-es/get'
import CoreFTP from './CoreFTP.mjs'
import CoreSFTP from './CoreSFTP.mjs'

Expand Down
4 changes: 2 additions & 2 deletions src/ftpSyncToLocal.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import get from 'lodash/get'
import find from 'lodash/find'
import get from 'lodash-es/get'
import find from 'lodash-es/find'
import iseobj from 'wsemi/src/iseobj.mjs'
import isbol from 'wsemi/src/isbol.mjs'
import isfun from 'wsemi/src/isfun.mjs'
Expand Down
4 changes: 2 additions & 2 deletions src/ftpSyncToRemote.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import get from 'lodash/get'
import find from 'lodash/find'
import get from 'lodash-es/get'
import find from 'lodash-es/find'
import iseobj from 'wsemi/src/iseobj.mjs'
import isbol from 'wsemi/src/isbol.mjs'
import isfun from 'wsemi/src/isfun.mjs'
Expand Down
8 changes: 4 additions & 4 deletions src/ftpTreeFilesInLocalAndRemote.mjs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import path from 'path'
import fs from 'fs'
import get from 'lodash/get'
import map from 'lodash/map'
import filter from 'lodash/filter'
import join from 'lodash/join'
import get from 'lodash-es/get'
import map from 'lodash-es/map'
import filter from 'lodash-es/filter'
import join from 'lodash-es/join'
import isfun from 'wsemi/src/isfun.mjs'
import strleft from 'wsemi/src/strleft.mjs'
import sep from 'wsemi/src/sep.mjs'
Expand Down
2 changes: 1 addition & 1 deletion src/ftpTreeFolder.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import get from 'lodash/get'
import get from 'lodash-es/get'
import ispint from 'wsemi/src/ispint.mjs'
import getFileName from 'wsemi/src/getFileName.mjs'
import pmSeries from 'wsemi/src/pmSeries.mjs'
Expand Down
4 changes: 2 additions & 2 deletions src/sepTreeFolders.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import each from 'lodash/each'
import dropRight from 'lodash/dropRight'
import each from 'lodash-es/each'
import dropRight from 'lodash-es/dropRight'
import sep from 'wsemi/src/sep.mjs'
import strleft from 'wsemi/src/strleft.mjs'
import strdelleft from 'wsemi/src/strdelleft.mjs'
Expand Down

0 comments on commit 41dabae

Please sign in to comment.