This repository was archived by the owner on Mar 5, 2025. It is now read-only.
File tree 5 files changed +2
-12
lines changed
5 files changed +2
-12
lines changed Original file line number Diff line number Diff line change 64
64
},
65
65
"dependencies" : {
66
66
"ethereum-cryptography" : " ^2.0.0" ,
67
- "nopp" : " ^1.0.2" ,
68
67
"web3-errors" : " ^1.1.4" ,
69
68
"web3-types" : " ^1.4.0" ,
70
69
"web3-validator" : " ^2.0.4"
Original file line number Diff line number Diff line change @@ -268,7 +268,7 @@ export const convert = (
268
268
dataPath . pop ( ) ;
269
269
}
270
270
271
- return object ;
271
+ return object . freeze ? Object . freeze ( object ) : object ;
272
272
} ;
273
273
274
274
export const format = <
Original file line number Diff line number Diff line change @@ -14,7 +14,6 @@ GNU Lesser General Public License for more details.
14
14
You should have received a copy of the GNU Lesser General Public License
15
15
along with web3.js. If not, see <http://www.gnu.org/licenses/>.
16
16
*/
17
-
18
17
export * from './converters.js' ;
19
18
export * from './event_emitter.js' ;
20
19
export * from './validation.js' ;
@@ -34,6 +33,3 @@ export * from './socket_provider.js';
34
33
export * from './uint8array.js' ;
35
34
// for backwards compatibility with v1
36
35
export { AbiItem } from 'web3-types' ;
37
-
38
- // eslint-disable-next-line import/first
39
- import 'nopp' ;
Original file line number Diff line number Diff line change @@ -60,5 +60,5 @@ export const mergeDeep = (
60
60
}
61
61
}
62
62
}
63
- return result ;
63
+ return result . freeze ? Object . freeze ( result ) : result ;
64
64
} ;
Original file line number Diff line number Diff line change @@ -9351,11 +9351,6 @@ node-releases@^2.0.6:
9351
9351
resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.6.tgz#8a7088c63a55e493845683ebf3c828d8c51c5503"
9352
9352
integrity sha512-PiVXnNuFm5+iYkLBNeq5211hvO38y63T0i2KKh2KnUs3RpzJ+JtODFjkD8yjLwnDkTYF1eKXheUwdssR+NRZdg==
9353
9353
9354
- nopp@^1.0.2:
9355
- version "1.0.2"
9356
- resolved "https://registry.yarnpkg.com/nopp/-/nopp-1.0.2.tgz#f6b9210cb3f65d3a3305010c426cd034f34cfc5c"
9357
- integrity sha512-TdRw4c1eGp7PZovnit8K63ZwoOT1SoN0fK5+f3FGzVRPERcENowf/K4Vktgd36/Y1Vqg8ATXFEDTRvOaeRB6FA==
9358
-
9359
9354
nopt@^5.0.0:
9360
9355
version "5.0.0"
9361
9356
resolved "https://registry.yarnpkg.com/nopt/-/nopt-5.0.0.tgz#530942bb58a512fccafe53fe210f13a25355dc88"
You can’t perform that action at this time.
0 commit comments