@blocklet/util 0.16.14 → 0.16.15

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/dist/index.cjs CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  const jwt = require('@arcblock/jwt');
4
4
  const did = require('@arcblock/did');
5
- const isEmpty = require('lodash/isEmpty');
5
+ const isEmpty = require('lodash-es/isEmpty');
6
6
  const util = require('@ocap/util');
7
7
 
8
8
  function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e.default : e; }
package/dist/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import { verify, decode } from '@arcblock/jwt';
2
2
  import { isFromPublicKey } from '@arcblock/did';
3
- import isEmpty from 'lodash/isEmpty';
3
+ import isEmpty from 'lodash-es/isEmpty';
4
4
  import { BN } from '@ocap/util';
5
5
 
6
6
  function removeTrailingZeros(numStr) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blocklet/util",
3
- "version": "0.16.14",
3
+ "version": "0.16.15",
4
4
  "author": "skypesky ye",
5
5
  "license": "ISC",
6
6
  "description": "",
@@ -30,6 +30,7 @@
30
30
  "devDependencies": {
31
31
  "@arcblock/eslint-config-ts": "^0.3.3",
32
32
  "@types/lodash": "^4.17.10",
33
+ "@types/lodash-es": "^4.17.12",
33
34
  "@types/node": "^20.12.12",
34
35
  "@typescript-eslint/eslint-plugin": "^5.59.5",
35
36
  "@vitest/coverage-v8": "^2.1.4",
@@ -44,7 +45,7 @@
44
45
  "@arcblock/jwt": "^1.19.6",
45
46
  "@ocap/util": "^1.19.6",
46
47
  "@ocap/wallet": "^1.19.6",
47
- "lodash": "^4.17.21"
48
+ "lodash-es": "^4.17.21"
48
49
  },
49
- "gitHead": "a82570b68d09da31fcbaaa22c3f9042b2946d1c5"
50
+ "gitHead": "166d463c2b99c02a0d899161a12f091bc8116d10"
50
51
  }