Skip to content

Commit

Permalink
feat: 移除moment
Browse files Browse the repository at this point in the history
  • Loading branch information
YaoZeyuan committed Aug 1, 2022
1 parent 28dfc7f commit 07cc011
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@
"knex": "^2.2.0",
"lodash": "^4.17.5",
"md5": "^2.2.1",
"moment": "^2.24.0",
"mozjpeg-js": "^3.3.1",
"query-string": "^6.4.2",
"react": "^16.7.0",
Expand Down
3 changes: 3 additions & 0 deletions src/command/fetch/customer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ import CommonUtil from '~/src/library/util/common'
import * as TypeWeibo from '~/src/type/namespace/weibo'
import Util from '~/src/library/util/common'
import querystring from 'query-string'
// dayjs需要安装插件后, 才能支持识别复杂文本串
import customParseFormat from 'dayjs/plugin/customParseFormat'
dayjs.extend(customParseFormat)

/**
* weibo.com的新Api对应的创建时间解析格式字符串
Expand Down
5 changes: 0 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5611,11 +5611,6 @@ mkdirp@^1.0.3, mkdirp@^1.0.4:
resolved "https://registry.npmmirror.com/mkdirp/-/mkdirp-1.0.4.tgz#3eb5ed62622756d79a5f0e2a221dfebad75c2f7e"
integrity sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==

moment@^2.24.0:
version "2.29.4"
resolved "https://registry.npmmirror.com/moment/-/moment-2.29.4.tgz#3dbe052889fe7c1b2ed966fcb3a77328964ef108"
integrity sha512-5LC9SOxjSc2HF6vO2CyuTDNivEdoz2IvyJJGj6X8DJ0eFyfszE0QiEd+iXmBvUP3WHxSjFH/vIsA0EN00cgr8w==

mozjpeg-js@^3.3.1:
version "3.3.1"
resolved "https://registry.npmmirror.com/mozjpeg-js/-/mozjpeg-js-3.3.1.tgz#06dc28a2c881bc02f9a84eca64fadb1f7a014f2c"
Expand Down

0 comments on commit 07cc011

Please sign in to comment.