Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ganache

Package Overview
Dependencies
Maintainers
10
Versions
124
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ganache - npm Package Compare versions

Comparing version 7.4.4 to 7.5.0

2

dist/node/cli.js
#!/usr/bin/env node
!function webpackUniversalModuleDefinition(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("@trufflesuite/bigint-buffer"),require("keccak"),require("emittery"),require("secp256k1"),require("leveldown"),function webpackLoadOptionalExternalModule(){try{return require("bufferutil")}catch(e){}}(),function webpackLoadOptionalExternalModule(){try{return require("utf-8-validate")}catch(e){}}()):"function"==typeof define&&define.amd?define(["@trufflesuite/bigint-buffer","keccak","emittery","secp256k1","leveldown","bufferutil","utf-8-validate"],t):"object"==typeof exports?exports.Ganache=t(require("@trufflesuite/bigint-buffer"),require("keccak"),require("emittery"),require("secp256k1"),require("leveldown"),function webpackLoadOptionalExternalModule(){try{return require("bufferutil")}catch(e){}}(),function webpackLoadOptionalExternalModule(){try{return require("utf-8-validate")}catch(e){}}()):e.Ganache=t(e["@trufflesuite/bigint-buffer"],e.keccak,e.emittery,e.secp256k1,e.leveldown,e.bufferutil,e["utf-8-validate"])}(global,(function(e,t,r,o,s,i,n){return(()=>{var a,c,u={951:e=>{function webpackEmptyContext(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}webpackEmptyContext.keys=()=>[],webpackEmptyContext.resolve=webpackEmptyContext,webpackEmptyContext.id=951,e.exports=webpackEmptyContext},949:e=>{function webpackEmptyContext(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}webpackEmptyContext.keys=()=>[],webpackEmptyContext.resolve=webpackEmptyContext,webpackEmptyContext.id=949,e.exports=webpackEmptyContext},722:e=>{function webpackEmptyContext(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}webpackEmptyContext.keys=()=>[],webpackEmptyContext.resolve=webpackEmptyContext,webpackEmptyContext.id=722,e.exports=webpackEmptyContext},950:e=>{function webpackEmptyContext(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}webpackEmptyContext.keys=()=>[],webpackEmptyContext.resolve=webpackEmptyContext,webpackEmptyContext.id=950,e.exports=webpackEmptyContext},409:function(e,t,r){"use strict";var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const s=r(113),i=o(r(666)),n=r(56),a=o(r(104)),c=r(40),u=o(r(677)),l=o(r(681)),p=r(115);u.default.setOptions({renderer:new l.default({codespan:a.default.hex(s.TruffleColors.porsche),unescape:!1})});const _=Math.min(120,i.default.terminalWidth());const center=e=>" ".repeat(Math.max(0,Math.floor((_-e.length)/2)))+e;function processOption(e,t,r,o,s,i,n){if(!0!==s.disableInCLI){const p=[],_=[];let f=(l=s.cliDescription||"",function unescapeEntities(e){return e.replace(/&amp;/g,"&").replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&quot;/g,'"').replace(/&#39;/g,"'").replace(/\*\#COLON\|\*/g,":")}(u.default.parseInline(l)));s.cliAliases&&(s.cliAliases.forEach((e=>{1===e.length?p.push(e):_.push(e)})),f=a.default`${f}${c.EOL}{dim deprecated aliases: ${_.map((e=>`--${e}`)).join(", ")}}`);const generateDefaultDescription=()=>e[o]=s.default?s.default(e,n).toString():void 0,d="defaultDescription"in s?s.defaultDescription:generateDefaultDescription(),{cliType:h}=s,b=h&&h.startsWith("array:"),w=b?h.slice(6):h,k={group:r,description:f,alias:p,defaultDescription:d,array:b,type:w,choices:s.cliChoices,coerce:s.cliCoerce,implies:s.implies},m=`${t}.${o}`;i=(i=((e,t,r)=>{const o={hidden:!0,alias:r};return t.reduce(((e,t)=>e.option(t,o)),e)})(i,_,m)).option(m,k)}var l}function applyDefaults(e,t,r){for(const o in e){const s=`${o[0].toUpperCase()}${o.slice(1)}:`,i=e[o],n={};for(const e in i){processOption(n,o,s,e,i[e],t,r)}}}t.default=function default_1(e,t){const r=a.default`{hex("${s.TruffleColors.porsche}").bold ${center(e)}}`;let o,u=i.default.parserConfiguration({"dot-notation":!1}).strict().usage(r).epilogue(r+c.EOL+c.EOL+a.default`{hex("${s.TruffleColors.porsche}").bold ${center("Need more help? Reach out to the Truffle community at")}}`+c.EOL+a.default`{hex("${s.TruffleColors.turquoise}") ${center("https://trfl.io/support")}}`);for(o in n.DefaultOptionsByName){const e=n.DefaultOptionsByName[o];let r,s;switch(o){case n.FilecoinFlavorName:r=o,s=7777;break;case n.DefaultFlavor:r=["$0",o],s=8545;break;default:r=o,s=8545}u=u.command(r,a.default`Use the {bold ${o}} flavor of Ganache`,(r=>{applyDefaults(e,r,o),applyDefaults(p._DefaultServerOptions,r,o),r=r.option("server.host",{group:"Server:",description:a.default`Hostname to listen on.${c.EOL}{dim deprecated aliases: --host, --hostname}${c.EOL}`,alias:["h","host","hostname"],type:"string",default:t?"0.0.0.0":"127.0.0.1"}).option("server.port",{group:"Server:",description:a.default`Port to listen on.${c.EOL}{dim deprecated aliases: --port}${c.EOL}`,alias:["p","port"],type:"number",default:s}).check((e=>{const{"server.port":t,"server.host":r}=e;if(t<1||t>65535)throw new Error(`Invalid port number '${t}'`);if(""===r.trim())throw new Error("Cannot leave host blank; please provide a host");return!0}))}))}u=u.showHelpOnFail(!1,"Specify -? or --help for available options").alias("help","?").wrap(_).version(e);const l=u.argv,f={flavor:l._.length>0?l._[0]:n.DefaultFlavor};for(let e in l){const[t,r]=e.split(/\.(.+)/);r&&(f[t]||(f[t]={}),f[t][r]=l[e])}return f}},412:function(e,t,r){"use strict";var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const s=o(r(104)),i=r(113),n=r(1),a=r(0);function color(e){return s.default`{hex("${i.TruffleColors.porsche}") ${e}}`}t.default=function default_1(e,t){const r=e.getOptions(),o=e.getInitialAccounts(),c=Object.keys(o),u=[];if(u.push(""),u.push("Available Accounts"),u.push("=================="),c.length>0?(c.forEach((function(e,t){const r=o[e].balance,s=r/n.WEI,i=r%n.WEI===0n?"":"~";let c=`(${t}) ${(0,a.toChecksumAddress)(e)} (${i}${s} ETH)`;o[e].unlocked||(c+=" \u{1f512}"),u.push(c)})),u.push(""),u.push("Private Keys"),u.push("=================="),c.forEach((function(e,t){u.push(`(${t}) ${o[e].secretKey}`)})),null!=r.wallet.accountKeysPath&&(u.push(""),u.push(`Accounts and keys saved to ${r.wallet.accountKeysPath}`))):u.push("(no accounts unlocked)"),null==r.wallet.accounts&&(u.push(""),u.push("HD Wallet"),u.push("=================="),u.push(`Mnemonic: ${color(r.wallet.mnemonic)}`),u.push(`Base HD Path: ${color(r.wallet.hdPath.join("/")+"/{account_index}")}`)),r.miner.defaultGasPrice&&(u.push(""),u.push("Default Gas Price"),u.push("=================="),u.push(color(r.miner.defaultGasPrice.toBigInt().toString()))),r.miner.blockGasLimit&&(u.push(""),u.push("BlockGas Limit"),u.push("=================="),u.push(color(r.miner.blockGasLimit.toBigInt().toString()))),r.miner.callGasLimit&&(u.push(""),u.push("Call Gas Limit"),u.push("=================="),u.push(color(r.miner.callGasLimit.toBigInt().toString()))),r.fork.network||r.fork.url){let e;u.push(""),u.push("Forked Chain"),u.push("=================="),e=r.fork.network?`Ethereum ${function capitalizeFirstLetter(e){return e[0].toUpperCase()+e.slice(1)}(r.fork.network.replace("goerli","g\xf6rli"))}, via ${s.default`{hex("${i.TruffleColors.infura}") 丕Infura}`}`:r.fork.url.toString(),u.push(`Location: ${color(e)}`),u.push(`Block: ${color(r.fork.blockNumber.toString())}`),u.push(`Network ID: ${color(r.chain.networkId.toString())}`),u.push(`Time: ${color(r.chain.time.toString())}`),0!==r.fork.requestsPerSecond&&u.push(`Requests/Second: ${color(r.fork.requestsPerSecond.toString())}`)}u.push(""),u.push("Chain Id"),u.push("=================="),u.push(color(r.chain.chainId.toString())),u.push(""),u.push("RPC Listening on "+t.host+":"+t.port),console.log(u.join("\n"))}},955:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=async function default_1(e,t){const r=e.getOptions(),o=await e.getInitialAccounts();console.log(""),console.log("Available Accounts"),console.log("==================");const s=Object.keys(o),i=1000000000000000000n;s.forEach((function(e,t){const r=o[e].balance;let s=`(${t}) ${e} (${r%i===0n?"":"~"}${r/i} FIL)`;o[e].unlocked||(s+=" \u{1f512}"),console.log(s)})),console.log(""),console.log("Private Keys"),console.log("=================="),s.forEach((function(e,t){console.log(`(${t}) ${o[e].secretKey}`)})),console.log(""),console.log(`Lotus RPC listening on ${t.host}:${t.port}`),console.log(`IPFS RPC listening on ${r.chain.ipfsHost}:${r.chain.ipfsPort}`)}},311:function(e,t,r){"use strict";var o=this&&this.__createBinding||(Object.create?function(e,t,r,o){void 0===o&&(o=r);var s=Object.getOwnPropertyDescriptor(t,r);s&&!("get"in s?!t.__esModule:s.writable||s.configurable)||(s={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,o,s)}:function(e,t,r,o){void 0===o&&(o=r),e[o]=t[r]}),s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&o(t,e,r);return s(t,e),t},n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const a=i(r(115)),c=n(r(409)),u=r(56),l=n(r(412)),p=n(r(955)),logAndForceExit=(e,t=0)=>{process.stdout._handle&&process.stdout._handle.setBlocking(!0);try{e.forEach((e=>console.log(e)))}catch(e){console.log(e)}process.exit(t)},_="ganache v7.4.4 (@ganache/cli: 0.5.4, @ganache/core: 0.5.4)",f="DOCKER"in process.env&&"true"===process.env.DOCKER.toLowerCase(),d=(0,c.default)(_,f),h=d.flavor,b=d.server;let w;console.log(_);try{w=a.default.server(d)}catch(e){console.error(e.message),process.exit(1)}let k=!1;process.on("uncaughtException",(function(e){logAndForceExit(k?[e]:[e.stack],1)}));let m=!1;const handleSignal=async e=>{console.log(`\nReceived shutdown signal: ${e}`),closeHandler()},closeHandler=async()=>{try{switch(w.status){case a.ServerStatus.opening:return m=!0,void console.log("Server is currently starting; waiting\u2026");case a.ServerStatus.open:console.log("Shutting down\u2026"),await w.close(),console.log("Server has been shut down")}process.exitCode=0}catch(e){logAndForceExit(["\nReceived an error while attempting to shut down the server: ",e.stack||e],1)}};if("win32"===process.platform){const e=r(956).createInterface({input:process.stdin,output:process.stdout}).on("SIGINT",(()=>{e.close(),handleSignal("SIGINT")}))}process.on("SIGINT",handleSignal),process.on("SIGTERM",handleSignal),process.on("SIGHUP",handleSignal),console.log("Starting RPC server"),w.listen(b.port,b.host,(async function startGanache(e){if(e)return console.log(e),void(process.exitCode=1);if(m)closeHandler();else switch(k=!0,h){case u.FilecoinFlavorName:await(0,p.default)(w.provider,b);break;case u.EthereumFlavorName:default:(0,l.default)(w.provider,b)}}))},948:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r(311)},2:e=>{"use strict";e.exports=require("assert")},19:e=>{"use strict";e.exports=require("buffer")},13:e=>{"use strict";e.exports=require("crypto")},31:e=>{"use strict";e.exports=require("events")},12:e=>{"use strict";e.exports=require("fs")},101:e=>{"use strict";e.exports=require("http")},168:e=>{"use strict";e.exports=require("https")},169:e=>{"use strict";e.exports=require("net")},40:e=>{"use strict";e.exports=require("os")},11:e=>{"use strict";e.exports=require("path")},649:e=>{"use strict";e.exports=require("querystring")},956:e=>{"use strict";e.exports=require("readline")},67:e=>{"use strict";e.exports=require("stream")},170:e=>{"use strict";e.exports=require("tls")},597:e=>{"use strict";e.exports=require("tty")},90:e=>{"use strict";e.exports=require("url")},10:e=>{"use strict";e.exports=require("util")},585:e=>{"use strict";e.exports=require("zlib")},84:t=>{"use strict";t.exports=e},586:e=>{"use strict";if(void 0===i){var t=new Error("Cannot find module 'bufferutil'");throw t.code="MODULE_NOT_FOUND",t}e.exports=i},24:e=>{"use strict";e.exports=r},85:e=>{"use strict";e.exports=t},236:e=>{"use strict";e.exports=s},360:e=>{"use strict";e.exports=o},588:e=>{"use strict";if(void 0===n){var t=new Error("Cannot find module 'utf-8-validate'");throw t.code="MODULE_NOT_FOUND",t}e.exports=n}},l={};function __webpack_require__(e){var t=l[e];if(void 0!==t)return t.exports;var r=l[e]={id:e,loaded:!1,exports:{}};return u[e].call(r.exports,r,r.exports,__webpack_require__),r.loaded=!0,r.exports}return __webpack_require__.m=u,__webpack_require__.c=l,__webpack_require__.x=()=>{var e=__webpack_require__.O(void 0,[0,4,1],(()=>__webpack_require__(__webpack_require__.s=948)));return e=__webpack_require__.O(e)},__webpack_require__.amdD=function(){throw new Error("define cannot be used indirect")},__webpack_require__.amdO={},a=[],__webpack_require__.O=(e,t,r,o)=>{if(!t){var s=1/0;for(u=0;u<a.length;u++){for(var[t,r,o]=a[u],i=!0,n=0;n<t.length;n++)(!1&o||s>=o)&&Object.keys(__webpack_require__.O).every((e=>__webpack_require__.O[e](t[n])))?t.splice(n--,1):(i=!1,o<s&&(s=o));if(i){a.splice(u--,1);var c=r();void 0!==c&&(e=c)}}return e}o=o||0;for(var u=a.length;u>0&&a[u-1][2]>o;u--)a[u]=a[u-1];a[u]=[t,r,o]},__webpack_require__.f={},__webpack_require__.e=e=>Promise.all(Object.keys(__webpack_require__.f).reduce(((t,r)=>(__webpack_require__.f[r](e,t),t)),[])),__webpack_require__.u=e=>e+".js",__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),__webpack_require__.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),__webpack_require__.p="",(()=>{var e={2:1};__webpack_require__.O.require=t=>e[t];__webpack_require__.f.require=(t,r)=>{e[t]||(t=>{var r=t.modules,o=t.ids,s=t.runtime;for(var i in r)__webpack_require__.o(r,i)&&(__webpack_require__.m[i]=r[i]);s&&s(__webpack_require__);for(var n=0;n<o.length;n++)e[o[n]]=1;__webpack_require__.O()})(require("./"+__webpack_require__.u(t)))}})(),c=__webpack_require__.x,__webpack_require__.x=()=>(__webpack_require__.e(0),__webpack_require__.e(4),__webpack_require__.e(1),c()),__webpack_require__.x()})()}));
!function webpackUniversalModuleDefinition(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("@trufflesuite/bigint-buffer"),require("keccak"),require("emittery"),require("secp256k1"),require("leveldown"),function webpackLoadOptionalExternalModule(){try{return require("bufferutil")}catch(e){}}(),function webpackLoadOptionalExternalModule(){try{return require("utf-8-validate")}catch(e){}}()):"function"==typeof define&&define.amd?define(["@trufflesuite/bigint-buffer","keccak","emittery","secp256k1","leveldown","bufferutil","utf-8-validate"],t):"object"==typeof exports?exports.Ganache=t(require("@trufflesuite/bigint-buffer"),require("keccak"),require("emittery"),require("secp256k1"),require("leveldown"),function webpackLoadOptionalExternalModule(){try{return require("bufferutil")}catch(e){}}(),function webpackLoadOptionalExternalModule(){try{return require("utf-8-validate")}catch(e){}}()):e.Ganache=t(e["@trufflesuite/bigint-buffer"],e.keccak,e.emittery,e.secp256k1,e.leveldown,e.bufferutil,e["utf-8-validate"])}(global,(function(e,t,r,o,s,i,n){return(()=>{var a,c,u={953:e=>{function webpackEmptyContext(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}webpackEmptyContext.keys=()=>[],webpackEmptyContext.resolve=webpackEmptyContext,webpackEmptyContext.id=953,e.exports=webpackEmptyContext},951:e=>{function webpackEmptyContext(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}webpackEmptyContext.keys=()=>[],webpackEmptyContext.resolve=webpackEmptyContext,webpackEmptyContext.id=951,e.exports=webpackEmptyContext},722:e=>{function webpackEmptyContext(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}webpackEmptyContext.keys=()=>[],webpackEmptyContext.resolve=webpackEmptyContext,webpackEmptyContext.id=722,e.exports=webpackEmptyContext},952:e=>{function webpackEmptyContext(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}webpackEmptyContext.keys=()=>[],webpackEmptyContext.resolve=webpackEmptyContext,webpackEmptyContext.id=952,e.exports=webpackEmptyContext},409:function(e,t,r){"use strict";var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const s=r(113),i=o(r(666)),n=r(56),a=o(r(104)),c=r(40),u=o(r(677)),l=o(r(681)),p=r(115);u.default.setOptions({renderer:new l.default({codespan:a.default.hex(s.TruffleColors.porsche),unescape:!1})});const _=Math.min(120,i.default.terminalWidth());const center=e=>" ".repeat(Math.max(0,Math.floor((_-e.length)/2)))+e;function processOption(e,t,r,o,s,i,n){if(!0!==s.disableInCLI){const p=[],_=[];let f=(l=s.cliDescription||"",function unescapeEntities(e){return e.replace(/&amp;/g,"&").replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&quot;/g,'"').replace(/&#39;/g,"'").replace(/\*\#COLON\|\*/g,":")}(u.default.parseInline(l)));s.cliAliases&&(s.cliAliases.forEach((e=>{1===e.length?p.push(e):_.push(e)})),f=a.default`${f}${c.EOL}{dim deprecated aliases: ${_.map((e=>`--${e}`)).join(", ")}}`);const generateDefaultDescription=()=>e[o]=s.default?s.default(e,n).toString():void 0,d="defaultDescription"in s?s.defaultDescription:generateDefaultDescription(),{cliType:h}=s,b=h&&h.startsWith("array:"),w=b?h.slice(6):h,k={group:r,description:f,alias:p,defaultDescription:d,array:b,type:w,choices:s.cliChoices,coerce:s.cliCoerce,implies:s.implies},m=`${t}.${o}`;i=(i=((e,t,r)=>{const o={hidden:!0,alias:r};return t.reduce(((e,t)=>e.option(t,o)),e)})(i,_,m)).option(m,k)}var l}function applyDefaults(e,t,r){for(const o in e){const s=`${o[0].toUpperCase()}${o.slice(1)}:`,i=e[o],n={};for(const e in i){processOption(n,o,s,e,i[e],t,r)}}}t.default=function default_1(e,t){const r=a.default`{hex("${s.TruffleColors.porsche}").bold ${center(e)}}`;let o,u=i.default.parserConfiguration({"dot-notation":!1}).strict().usage(r).epilogue(r+c.EOL+c.EOL+a.default`{hex("${s.TruffleColors.porsche}").bold ${center("Need more help? Reach out to the Truffle community at")}}`+c.EOL+a.default`{hex("${s.TruffleColors.turquoise}") ${center("https://trfl.io/support")}}`);for(o in n.DefaultOptionsByName){const e=n.DefaultOptionsByName[o];let r,s;switch(o){case n.FilecoinFlavorName:r=o,s=7777;break;case n.DefaultFlavor:r=["$0",o],s=8545;break;default:r=o,s=8545}u=u.command(r,a.default`Use the {bold ${o}} flavor of Ganache`,(r=>{applyDefaults(e,r,o),applyDefaults(p._DefaultServerOptions,r,o),r=r.option("server.host",{group:"Server:",description:a.default`Hostname to listen on.${c.EOL}{dim deprecated aliases: --host, --hostname}${c.EOL}`,alias:["h","host","hostname"],type:"string",default:t?"0.0.0.0":"127.0.0.1"}).option("server.port",{group:"Server:",description:a.default`Port to listen on.${c.EOL}{dim deprecated aliases: --port}${c.EOL}`,alias:["p","port"],type:"number",default:s}).check((e=>{const{"server.port":t,"server.host":r}=e;if(t<1||t>65535)throw new Error(`Invalid port number '${t}'`);if(""===r.trim())throw new Error("Cannot leave host blank; please provide a host");return!0}))}))}u=u.showHelpOnFail(!1,"Specify -? or --help for available options").alias("help","?").wrap(_).version(e);const l=u.argv,f={flavor:l._.length>0?l._[0]:n.DefaultFlavor};for(let e in l){const[t,r]=e.split(/\.(.+)/);r&&(f[t]||(f[t]={}),f[t][r]=l[e])}return f}},412:function(e,t,r){"use strict";var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const s=o(r(104)),i=r(113),n=r(1),a=r(0);function color(e){return s.default`{hex("${i.TruffleColors.porsche}") ${e}}`}t.default=function default_1(e,t){const r=e.getOptions(),o=e.getInitialAccounts(),c=Object.keys(o),u=[];if(u.push(""),u.push("Available Accounts"),u.push("=================="),c.length>0?(c.forEach((function(e,t){const r=o[e].balance,s=r/n.WEI,i=r%n.WEI===0n?"":"~";let c=`(${t}) ${(0,a.toChecksumAddress)(e)} (${i}${s} ETH)`;o[e].unlocked||(c+=" \u{1f512}"),u.push(c)})),u.push(""),u.push("Private Keys"),u.push("=================="),c.forEach((function(e,t){u.push(`(${t}) ${o[e].secretKey}`)})),null!=r.wallet.accountKeysPath&&(u.push(""),u.push(`Accounts and keys saved to ${r.wallet.accountKeysPath}`))):u.push("(no accounts unlocked)"),null==r.wallet.accounts&&(u.push(""),u.push("HD Wallet"),u.push("=================="),u.push(`Mnemonic: ${color(r.wallet.mnemonic)}`),u.push(`Base HD Path: ${color(r.wallet.hdPath.join("/")+"/{account_index}")}`)),r.miner.defaultGasPrice&&(u.push(""),u.push("Default Gas Price"),u.push("=================="),u.push(color(r.miner.defaultGasPrice.toBigInt().toString()))),r.miner.blockGasLimit&&(u.push(""),u.push("BlockGas Limit"),u.push("=================="),u.push(color(r.miner.blockGasLimit.toBigInt().toString()))),r.miner.callGasLimit&&(u.push(""),u.push("Call Gas Limit"),u.push("=================="),u.push(color(r.miner.callGasLimit.toBigInt().toString()))),r.fork.network||r.fork.url){let e;u.push(""),u.push("Forked Chain"),u.push("=================="),e=r.fork.network?`Ethereum ${function capitalizeFirstLetter(e){return e[0].toUpperCase()+e.slice(1)}(r.fork.network.replace("goerli","g\xf6rli"))}, via ${s.default`{hex("${i.TruffleColors.infura}") 丕Infura}`}`:r.fork.url.toString(),u.push(`Location: ${color(e)}`),u.push(`Block: ${color(r.fork.blockNumber.toString())}`),u.push(`Network ID: ${color(r.chain.networkId.toString())}`),u.push(`Time: ${color(r.chain.time.toString())}`),0!==r.fork.requestsPerSecond&&u.push(`Requests/Second: ${color(r.fork.requestsPerSecond.toString())}`)}u.push(""),u.push("Chain Id"),u.push("=================="),u.push(color(r.chain.chainId.toString())),u.push(""),u.push("RPC Listening on "+t.host+":"+t.port),console.log(u.join("\n"))}},957:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=async function default_1(e,t){const r=e.getOptions(),o=await e.getInitialAccounts();console.log(""),console.log("Available Accounts"),console.log("==================");const s=Object.keys(o),i=1000000000000000000n;s.forEach((function(e,t){const r=o[e].balance;let s=`(${t}) ${e} (${r%i===0n?"":"~"}${r/i} FIL)`;o[e].unlocked||(s+=" \u{1f512}"),console.log(s)})),console.log(""),console.log("Private Keys"),console.log("=================="),s.forEach((function(e,t){console.log(`(${t}) ${o[e].secretKey}`)})),console.log(""),console.log(`Lotus RPC listening on ${t.host}:${t.port}`),console.log(`IPFS RPC listening on ${r.chain.ipfsHost}:${r.chain.ipfsPort}`)}},311:function(e,t,r){"use strict";var o=this&&this.__createBinding||(Object.create?function(e,t,r,o){void 0===o&&(o=r);var s=Object.getOwnPropertyDescriptor(t,r);s&&!("get"in s?!t.__esModule:s.writable||s.configurable)||(s={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,o,s)}:function(e,t,r,o){void 0===o&&(o=r),e[o]=t[r]}),s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&o(t,e,r);return s(t,e),t},n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const a=i(r(115)),c=n(r(409)),u=r(56),l=n(r(412)),p=n(r(957)),logAndForceExit=(e,t=0)=>{process.stdout._handle&&process.stdout._handle.setBlocking(!0);try{e.forEach((e=>console.log(e)))}catch(e){console.log(e)}process.exit(t)},_="ganache v7.5.0 (@ganache/cli: 0.6.0, @ganache/core: 0.6.0)",f="DOCKER"in process.env&&"true"===process.env.DOCKER.toLowerCase(),d=(0,c.default)(_,f),h=d.flavor,b=d.server;let w;console.log(_);try{w=a.default.server(d)}catch(e){console.error(e.message),process.exit(1)}let k=!1;process.on("uncaughtException",(function(e){logAndForceExit(k?[e]:[e.stack],1)}));let m=!1;const handleSignal=async e=>{console.log(`\nReceived shutdown signal: ${e}`),closeHandler()},closeHandler=async()=>{try{switch(w.status){case a.ServerStatus.opening:return m=!0,void console.log("Server is currently starting; waiting\u2026");case a.ServerStatus.open:console.log("Shutting down\u2026"),await w.close(),console.log("Server has been shut down")}process.exitCode=0}catch(e){logAndForceExit(["\nReceived an error while attempting to shut down the server: ",e.stack||e],1)}};if("win32"===process.platform){const e=r(958).createInterface({input:process.stdin,output:process.stdout}).on("SIGINT",(()=>{e.close(),handleSignal("SIGINT")}))}process.on("SIGINT",handleSignal),process.on("SIGTERM",handleSignal),process.on("SIGHUP",handleSignal),console.log("Starting RPC server"),w.listen(b.port,b.host,(async function startGanache(e){if(e)return console.log(e),void(process.exitCode=1);if(m)closeHandler();else switch(k=!0,h){case u.FilecoinFlavorName:await(0,p.default)(w.provider,b);break;case u.EthereumFlavorName:default:(0,l.default)(w.provider,b)}}))},950:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r(311)},2:e=>{"use strict";e.exports=require("assert")},19:e=>{"use strict";e.exports=require("buffer")},13:e=>{"use strict";e.exports=require("crypto")},31:e=>{"use strict";e.exports=require("events")},12:e=>{"use strict";e.exports=require("fs")},101:e=>{"use strict";e.exports=require("http")},168:e=>{"use strict";e.exports=require("https")},169:e=>{"use strict";e.exports=require("net")},40:e=>{"use strict";e.exports=require("os")},11:e=>{"use strict";e.exports=require("path")},649:e=>{"use strict";e.exports=require("querystring")},958:e=>{"use strict";e.exports=require("readline")},67:e=>{"use strict";e.exports=require("stream")},170:e=>{"use strict";e.exports=require("tls")},597:e=>{"use strict";e.exports=require("tty")},90:e=>{"use strict";e.exports=require("url")},10:e=>{"use strict";e.exports=require("util")},585:e=>{"use strict";e.exports=require("zlib")},84:t=>{"use strict";t.exports=e},586:e=>{"use strict";if(void 0===i){var t=new Error("Cannot find module 'bufferutil'");throw t.code="MODULE_NOT_FOUND",t}e.exports=i},24:e=>{"use strict";e.exports=r},85:e=>{"use strict";e.exports=t},236:e=>{"use strict";e.exports=s},360:e=>{"use strict";e.exports=o},588:e=>{"use strict";if(void 0===n){var t=new Error("Cannot find module 'utf-8-validate'");throw t.code="MODULE_NOT_FOUND",t}e.exports=n}},l={};function __webpack_require__(e){var t=l[e];if(void 0!==t)return t.exports;var r=l[e]={id:e,loaded:!1,exports:{}};return u[e].call(r.exports,r,r.exports,__webpack_require__),r.loaded=!0,r.exports}return __webpack_require__.m=u,__webpack_require__.c=l,__webpack_require__.x=()=>{var e=__webpack_require__.O(void 0,[0,4,1],(()=>__webpack_require__(__webpack_require__.s=950)));return e=__webpack_require__.O(e)},__webpack_require__.amdD=function(){throw new Error("define cannot be used indirect")},__webpack_require__.amdO={},a=[],__webpack_require__.O=(e,t,r,o)=>{if(!t){var s=1/0;for(u=0;u<a.length;u++){for(var[t,r,o]=a[u],i=!0,n=0;n<t.length;n++)(!1&o||s>=o)&&Object.keys(__webpack_require__.O).every((e=>__webpack_require__.O[e](t[n])))?t.splice(n--,1):(i=!1,o<s&&(s=o));if(i){a.splice(u--,1);var c=r();void 0!==c&&(e=c)}}return e}o=o||0;for(var u=a.length;u>0&&a[u-1][2]>o;u--)a[u]=a[u-1];a[u]=[t,r,o]},__webpack_require__.f={},__webpack_require__.e=e=>Promise.all(Object.keys(__webpack_require__.f).reduce(((t,r)=>(__webpack_require__.f[r](e,t),t)),[])),__webpack_require__.u=e=>e+".js",__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),__webpack_require__.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),__webpack_require__.p="",(()=>{var e={2:1};__webpack_require__.O.require=t=>e[t];__webpack_require__.f.require=(t,r)=>{e[t]||(t=>{var r=t.modules,o=t.ids,s=t.runtime;for(var i in r)__webpack_require__.o(r,i)&&(__webpack_require__.m[i]=r[i]);s&&s(__webpack_require__);for(var n=0;n<o.length;n++)e[o[n]]=1;__webpack_require__.O()})(require("./"+__webpack_require__.u(t)))}})(),c=__webpack_require__.x,__webpack_require__.x=()=>(__webpack_require__.e(0),__webpack_require__.e(4),__webpack_require__.e(1),c()),__webpack_require__.x()})()}));
//# sourceMappingURL=cli.js.map

@@ -1,1 +0,1 @@

{"name":"ganache","version":"7.3.0","lockfileVersion":1,"requires":true,"dependencies":{"@trufflesuite/bigint-buffer":{"version":"1.1.10","resolved":"https://registry.npmjs.org/@trufflesuite/bigint-buffer/-/bigint-buffer-1.1.10.tgz","integrity":"sha512-pYIQC5EcMmID74t26GCC67946mgTJFiLXOT/BYozgrd4UEY2JHEGLhWi9cMiQCt5BSqFEvKkCHNnoj82SRjiEw==","requires":{"node-gyp-build":"4.4.0"},"dependencies":{"node-gyp-build":{"version":"4.4.0","resolved":"https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.4.0.tgz","integrity":"sha512-amJnQCcgtRVw9SvoebO3BKGESClrfXGCUTX9hSn1OuGQTQBOZmVd0Z0OlecpuRksKvbsUqALE8jls/ErClAPuQ=="}}},"@types/bn.js":{"version":"5.1.0","resolved":"https://registry.npmjs.org/@types/bn.js/-/bn.js-5.1.0.tgz","integrity":"sha512-QSSVYj7pYFN49kW77o2s9xTCwZ8F2xLbjLLSEVh8D2F4JUhZtPAGOFLTD+ffqksBx/u4cE/KImFjyhqCjn/LIA==","requires":{"@types/node":"*"}},"@types/lru-cache":{"version":"5.1.1","resolved":"https://registry.npmjs.org/@types/lru-cache/-/lru-cache-5.1.1.tgz","integrity":"sha512-ssE3Vlrys7sdIzs5LOxCzTVMsU7i9oa/IaW92wF32JFb3CVczqOkru2xspuKczHEbG3nvmPY7IFqVmGGHdNbYw=="},"@types/node":{"version":"17.0.0","resolved":"https://registry.npmjs.org/@types/node/-/node-17.0.0.tgz","integrity":"sha512-eMhwJXc931Ihh4tkU+Y7GiLzT/y/DBNpNtr4yU9O2w3SYBsr9NaOPhQlLKRmoWtI54uNwuo0IOUFQjVOTZYRvw=="},"@types/seedrandom":{"version":"3.0.1","resolved":"https://registry.npmjs.org/@types/seedrandom/-/seedrandom-3.0.1.tgz","integrity":"sha512-giB9gzDeiCeloIXDgzFBCgjj1k4WxcDrZtGl6h1IqmUPlxF+Nx8Ve+96QCyDZ/HseB/uvDsKbpib9hU5cU53pw=="},"base64-js":{"version":"1.5.1","resolved":"https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz","integrity":"sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA=="},"brorand":{"version":"1.1.0","resolved":"https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz","integrity":"sha1-EsJe/kCkXjwyPrhnWgoM5XsiNx8="},"buffer":{"version":"6.0.3","resolved":"https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz","integrity":"sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==","requires":{"base64-js":"^1.3.1","ieee754":"^1.2.1"}},"bufferutil":{"version":"4.0.5","resolved":"https://registry.npmjs.org/bufferutil/-/bufferutil-4.0.5.tgz","integrity":"sha512-HTm14iMQKK2FjFLRTM5lAVcyaUzOnqbPtesFIvREgXpJHdQm8bWS+GkQgIkfaBYRHuCnea7w8UVNfwiAQhlr9A==","optional":true,"requires":{"node-gyp-build":"^4.3.0"}},"catering":{"version":"2.1.0","resolved":"https://registry.npmjs.org/catering/-/catering-2.1.0.tgz","integrity":"sha512-M5imwzQn6y+ODBfgi+cfgZv2hIUI6oYU/0f35Mdb1ujGeqeoI5tOnl9Q13DTH7LW+7er+NYq8stNOKZD/Z3U/A==","requires":{"queue-tick":"^1.0.0"}},"elliptic":{"version":"6.5.4","resolved":"https://registry.npmjs.org/elliptic/-/elliptic-6.5.4.tgz","integrity":"sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ==","requires":{"bn.js":"^4.11.9","brorand":"^1.1.0","hash.js":"^1.0.0","hmac-drbg":"^1.0.1","inherits":"^2.0.4","minimalistic-assert":"^1.0.1","minimalistic-crypto-utils":"^1.0.1"},"dependencies":{"bn.js":{"version":"4.12.0","resolved":"https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz","integrity":"sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA=="}}},"emittery":{"version":"0.10.0","resolved":"https://registry.npmjs.org/emittery/-/emittery-0.10.0.tgz","integrity":"sha512-AGvFfs+d0JKCJQ4o01ASQLGPmSCxgfU9RFXvzPvZdjKK8oscynksuJhWrSTSw7j7Ep/sZct5b5ZhYCi8S/t0HQ=="},"hash.js":{"version":"1.1.7","resolved":"https://registry.npmjs.org/hash.js/-/hash.js-1.1.7.tgz","integrity":"sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA==","requires":{"inherits":"^2.0.3","minimalistic-assert":"^1.0.1"}},"hmac-drbg":{"version":"1.0.1","resolved":"https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz","integrity":"sha1-0nRXAQJabHdabFRXk+1QL8DGSaE=","requires":{"hash.js":"^1.0.3","minimalistic-assert":"^1.0.0","minimalistic-crypto-utils":"^1.0.1"}},"ieee754":{"version":"1.2.1","resolved":"https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz","integrity":"sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA=="},"inherits":{"version":"2.0.4","resolved":"https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz","integrity":"sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="},"is-buffer":{"version":"2.0.5","resolved":"https://registry.npmjs.org/is-buffer/-/is-buffer-2.0.5.tgz","integrity":"sha512-i2R6zNFDwgEHJyQUtJEk0XFi1i0dPFn/oqjK3/vPCcDeJvW5NQ83V8QbicfF1SupOaB0h8ntgBC2YiE7dfyctQ=="},"keccak":{"version":"3.0.2","resolved":"https://registry.npmjs.org/keccak/-/keccak-3.0.2.tgz","integrity":"sha512-PyKKjkH53wDMLGrvmRGSNWgmSxZOUqbnXwKL9tmgbFYA1iAYqW21kfR7mZXV0MlESiefxQQE9X9fTa3X+2MPDQ==","requires":{"node-addon-api":"^2.0.0","node-gyp-build":"^4.2.0","readable-stream":"^3.6.0"}},"leveldown":{"version":"6.1.0","resolved":"https://registry.npmjs.org/leveldown/-/leveldown-6.1.0.tgz","integrity":"sha512-8C7oJDT44JXxh04aSSsfcMI8YiaGRhOFI9/pMEL7nWJLVsWajDPTRxsSHTM2WcTVY5nXM+SuRHzPPi0GbnDX+w==","requires":{"abstract-leveldown":"^7.2.0","napi-macros":"~2.0.0","node-gyp-build":"^4.3.0"},"dependencies":{"abstract-leveldown":{"version":"7.2.0","resolved":"https://registry.npmjs.org/abstract-leveldown/-/abstract-leveldown-7.2.0.tgz","integrity":"sha512-DnhQwcFEaYsvYDnACLZhMmCWd3rkOeEvglpa4q5i/5Jlm3UIsWaxVzuXvDLFCSCWRO3yy2/+V/G7FusFgejnfQ==","requires":{"buffer":"^6.0.3","catering":"^2.0.0","is-buffer":"^2.0.5","level-concat-iterator":"^3.0.0","level-supports":"^2.0.1","queue-microtask":"^1.2.3"}},"level-concat-iterator":{"version":"3.1.0","resolved":"https://registry.npmjs.org/level-concat-iterator/-/level-concat-iterator-3.1.0.tgz","integrity":"sha512-BWRCMHBxbIqPxJ8vHOvKUsaO0v1sLYZtjN3K2iZJsRBYtp+ONsY6Jfi6hy9K3+zolgQRryhIn2NRZjZnWJ9NmQ==","requires":{"catering":"^2.1.0"}},"level-supports":{"version":"2.1.0","resolved":"https://registry.npmjs.org/level-supports/-/level-supports-2.1.0.tgz","integrity":"sha512-E486g1NCjW5cF78KGPrMDRBYzPuueMZ6VBXHT6gC7A8UYWGiM14fGgp+s/L1oFfDWSPV/+SFkYCmZ0SiESkRKA=="}}},"minimalistic-assert":{"version":"1.0.1","resolved":"https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz","integrity":"sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A=="},"minimalistic-crypto-utils":{"version":"1.0.1","resolved":"https://registry.npmjs.org/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz","integrity":"sha1-9sAMHAsIIkblxNmd+4x8CDsrWCo="},"napi-macros":{"version":"2.0.0","resolved":"https://registry.npmjs.org/napi-macros/-/napi-macros-2.0.0.tgz","integrity":"sha512-A0xLykHtARfueITVDernsAWdtIMbOJgKgcluwENp3AlsKN/PloyO10HtmoqnFAQAcxPkgZN7wdfPfEd0zNGxbg=="},"node-addon-api":{"version":"2.0.2","resolved":"https://registry.npmjs.org/node-addon-api/-/node-addon-api-2.0.2.tgz","integrity":"sha512-Ntyt4AIXyaLIuMHF6IOoTakB3K+RWxwtsHNRxllEoA6vPwP9o4866g6YWDLUdnucilZhmkxiHwHr11gAENw+QA=="},"node-gyp-build":{"version":"4.3.0","resolved":"https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.3.0.tgz","integrity":"sha512-iWjXZvmboq0ja1pUGULQBexmxq8CV4xBhX7VDOTbL7ZR4FOowwY/VOtRxBN/yKxmdGoIp4j5ysNT4u3S2pDQ3Q=="},"queue-microtask":{"version":"1.2.3","resolved":"https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz","integrity":"sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A=="},"queue-tick":{"version":"1.0.0","resolved":"https://registry.npmjs.org/queue-tick/-/queue-tick-1.0.0.tgz","integrity":"sha512-ULWhjjE8BmiICGn3G8+1L9wFpERNxkf8ysxkAer4+TFdRefDaXOCV5m92aMB9FtBVmn/8sETXLXY6BfW7hyaWQ=="},"readable-stream":{"version":"3.6.0","resolved":"https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz","integrity":"sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==","requires":{"inherits":"^2.0.3","string_decoder":"^1.1.1","util-deprecate":"^1.0.1"}},"safe-buffer":{"version":"5.2.1","resolved":"https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz","integrity":"sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ=="},"secp256k1":{"version":"4.0.3","resolved":"https://registry.npmjs.org/secp256k1/-/secp256k1-4.0.3.tgz","integrity":"sha512-NLZVf+ROMxwtEj3Xa562qgv2BK5e2WNmXPiOdVIPLgs6lyTzMvBq0aWTYMI5XCP9jZMVKOcqZLw/Wc4vDkuxhA==","requires":{"elliptic":"^6.5.4","node-addon-api":"^2.0.0","node-gyp-build":"^4.2.0"}},"string_decoder":{"version":"1.3.0","resolved":"https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz","integrity":"sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==","requires":{"safe-buffer":"~5.2.0"}},"utf-8-validate":{"version":"5.0.7","resolved":"https://registry.npmjs.org/utf-8-validate/-/utf-8-validate-5.0.7.tgz","integrity":"sha512-vLt1O5Pp+flcArHGIyKEQq883nBt8nN8tVBcoL0qUXj2XT1n7p70yGIq2VK98I5FdZ1YHc0wk/koOnHjnXWk1Q==","optional":true,"requires":{"node-gyp-build":"^4.3.0"}},"util-deprecate":{"version":"1.0.2","resolved":"https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz","integrity":"sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8="}}}
{"name":"ganache","version":"7.4.3","lockfileVersion":1,"requires":true,"dependencies":{"@trufflesuite/bigint-buffer":{"version":"1.1.10","resolved":"https://registry.npmjs.org/@trufflesuite/bigint-buffer/-/bigint-buffer-1.1.10.tgz","integrity":"sha512-pYIQC5EcMmID74t26GCC67946mgTJFiLXOT/BYozgrd4UEY2JHEGLhWi9cMiQCt5BSqFEvKkCHNnoj82SRjiEw==","requires":{"node-gyp-build":"4.4.0"},"dependencies":{"node-gyp-build":{"version":"4.4.0","resolved":"https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.4.0.tgz","integrity":"sha512-amJnQCcgtRVw9SvoebO3BKGESClrfXGCUTX9hSn1OuGQTQBOZmVd0Z0OlecpuRksKvbsUqALE8jls/ErClAPuQ=="}}},"@types/bn.js":{"version":"5.1.0","resolved":"https://registry.npmjs.org/@types/bn.js/-/bn.js-5.1.0.tgz","integrity":"sha512-QSSVYj7pYFN49kW77o2s9xTCwZ8F2xLbjLLSEVh8D2F4JUhZtPAGOFLTD+ffqksBx/u4cE/KImFjyhqCjn/LIA==","requires":{"@types/node":"*"}},"@types/lru-cache":{"version":"5.1.1","resolved":"https://registry.npmjs.org/@types/lru-cache/-/lru-cache-5.1.1.tgz","integrity":"sha512-ssE3Vlrys7sdIzs5LOxCzTVMsU7i9oa/IaW92wF32JFb3CVczqOkru2xspuKczHEbG3nvmPY7IFqVmGGHdNbYw=="},"@types/node":{"version":"17.0.0","resolved":"https://registry.npmjs.org/@types/node/-/node-17.0.0.tgz","integrity":"sha512-eMhwJXc931Ihh4tkU+Y7GiLzT/y/DBNpNtr4yU9O2w3SYBsr9NaOPhQlLKRmoWtI54uNwuo0IOUFQjVOTZYRvw=="},"@types/seedrandom":{"version":"3.0.1","resolved":"https://registry.npmjs.org/@types/seedrandom/-/seedrandom-3.0.1.tgz","integrity":"sha512-giB9gzDeiCeloIXDgzFBCgjj1k4WxcDrZtGl6h1IqmUPlxF+Nx8Ve+96QCyDZ/HseB/uvDsKbpib9hU5cU53pw=="},"base64-js":{"version":"1.5.1","resolved":"https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz","integrity":"sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA=="},"brorand":{"version":"1.1.0","resolved":"https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz","integrity":"sha1-EsJe/kCkXjwyPrhnWgoM5XsiNx8="},"buffer":{"version":"6.0.3","resolved":"https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz","integrity":"sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==","requires":{"base64-js":"^1.3.1","ieee754":"^1.2.1"}},"bufferutil":{"version":"4.0.5","resolved":"https://registry.npmjs.org/bufferutil/-/bufferutil-4.0.5.tgz","integrity":"sha512-HTm14iMQKK2FjFLRTM5lAVcyaUzOnqbPtesFIvREgXpJHdQm8bWS+GkQgIkfaBYRHuCnea7w8UVNfwiAQhlr9A==","optional":true,"requires":{"node-gyp-build":"^4.3.0"}},"catering":{"version":"2.1.0","resolved":"https://registry.npmjs.org/catering/-/catering-2.1.0.tgz","integrity":"sha512-M5imwzQn6y+ODBfgi+cfgZv2hIUI6oYU/0f35Mdb1ujGeqeoI5tOnl9Q13DTH7LW+7er+NYq8stNOKZD/Z3U/A==","requires":{"queue-tick":"^1.0.0"}},"elliptic":{"version":"6.5.4","resolved":"https://registry.npmjs.org/elliptic/-/elliptic-6.5.4.tgz","integrity":"sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ==","requires":{"bn.js":"^4.11.9","brorand":"^1.1.0","hash.js":"^1.0.0","hmac-drbg":"^1.0.1","inherits":"^2.0.4","minimalistic-assert":"^1.0.1","minimalistic-crypto-utils":"^1.0.1"},"dependencies":{"bn.js":{"version":"4.12.0","resolved":"https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz","integrity":"sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA=="}}},"emittery":{"version":"0.10.0","resolved":"https://registry.npmjs.org/emittery/-/emittery-0.10.0.tgz","integrity":"sha512-AGvFfs+d0JKCJQ4o01ASQLGPmSCxgfU9RFXvzPvZdjKK8oscynksuJhWrSTSw7j7Ep/sZct5b5ZhYCi8S/t0HQ=="},"hash.js":{"version":"1.1.7","resolved":"https://registry.npmjs.org/hash.js/-/hash.js-1.1.7.tgz","integrity":"sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA==","requires":{"inherits":"^2.0.3","minimalistic-assert":"^1.0.1"}},"hmac-drbg":{"version":"1.0.1","resolved":"https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz","integrity":"sha1-0nRXAQJabHdabFRXk+1QL8DGSaE=","requires":{"hash.js":"^1.0.3","minimalistic-assert":"^1.0.0","minimalistic-crypto-utils":"^1.0.1"}},"ieee754":{"version":"1.2.1","resolved":"https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz","integrity":"sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA=="},"inherits":{"version":"2.0.4","resolved":"https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz","integrity":"sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="},"is-buffer":{"version":"2.0.5","resolved":"https://registry.npmjs.org/is-buffer/-/is-buffer-2.0.5.tgz","integrity":"sha512-i2R6zNFDwgEHJyQUtJEk0XFi1i0dPFn/oqjK3/vPCcDeJvW5NQ83V8QbicfF1SupOaB0h8ntgBC2YiE7dfyctQ=="},"keccak":{"version":"3.0.2","resolved":"https://registry.npmjs.org/keccak/-/keccak-3.0.2.tgz","integrity":"sha512-PyKKjkH53wDMLGrvmRGSNWgmSxZOUqbnXwKL9tmgbFYA1iAYqW21kfR7mZXV0MlESiefxQQE9X9fTa3X+2MPDQ==","requires":{"node-addon-api":"^2.0.0","node-gyp-build":"^4.2.0","readable-stream":"^3.6.0"}},"leveldown":{"version":"6.1.0","resolved":"https://registry.npmjs.org/leveldown/-/leveldown-6.1.0.tgz","integrity":"sha512-8C7oJDT44JXxh04aSSsfcMI8YiaGRhOFI9/pMEL7nWJLVsWajDPTRxsSHTM2WcTVY5nXM+SuRHzPPi0GbnDX+w==","requires":{"abstract-leveldown":"^7.2.0","napi-macros":"~2.0.0","node-gyp-build":"^4.3.0"},"dependencies":{"abstract-leveldown":{"version":"7.2.0","resolved":"https://registry.npmjs.org/abstract-leveldown/-/abstract-leveldown-7.2.0.tgz","integrity":"sha512-DnhQwcFEaYsvYDnACLZhMmCWd3rkOeEvglpa4q5i/5Jlm3UIsWaxVzuXvDLFCSCWRO3yy2/+V/G7FusFgejnfQ==","requires":{"buffer":"^6.0.3","catering":"^2.0.0","is-buffer":"^2.0.5","level-concat-iterator":"^3.0.0","level-supports":"^2.0.1","queue-microtask":"^1.2.3"}},"level-concat-iterator":{"version":"3.1.0","resolved":"https://registry.npmjs.org/level-concat-iterator/-/level-concat-iterator-3.1.0.tgz","integrity":"sha512-BWRCMHBxbIqPxJ8vHOvKUsaO0v1sLYZtjN3K2iZJsRBYtp+ONsY6Jfi6hy9K3+zolgQRryhIn2NRZjZnWJ9NmQ==","requires":{"catering":"^2.1.0"}},"level-supports":{"version":"2.1.0","resolved":"https://registry.npmjs.org/level-supports/-/level-supports-2.1.0.tgz","integrity":"sha512-E486g1NCjW5cF78KGPrMDRBYzPuueMZ6VBXHT6gC7A8UYWGiM14fGgp+s/L1oFfDWSPV/+SFkYCmZ0SiESkRKA=="}}},"minimalistic-assert":{"version":"1.0.1","resolved":"https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz","integrity":"sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A=="},"minimalistic-crypto-utils":{"version":"1.0.1","resolved":"https://registry.npmjs.org/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz","integrity":"sha1-9sAMHAsIIkblxNmd+4x8CDsrWCo="},"napi-macros":{"version":"2.0.0","resolved":"https://registry.npmjs.org/napi-macros/-/napi-macros-2.0.0.tgz","integrity":"sha512-A0xLykHtARfueITVDernsAWdtIMbOJgKgcluwENp3AlsKN/PloyO10HtmoqnFAQAcxPkgZN7wdfPfEd0zNGxbg=="},"node-addon-api":{"version":"2.0.2","resolved":"https://registry.npmjs.org/node-addon-api/-/node-addon-api-2.0.2.tgz","integrity":"sha512-Ntyt4AIXyaLIuMHF6IOoTakB3K+RWxwtsHNRxllEoA6vPwP9o4866g6YWDLUdnucilZhmkxiHwHr11gAENw+QA=="},"node-gyp-build":{"version":"4.3.0","resolved":"https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.3.0.tgz","integrity":"sha512-iWjXZvmboq0ja1pUGULQBexmxq8CV4xBhX7VDOTbL7ZR4FOowwY/VOtRxBN/yKxmdGoIp4j5ysNT4u3S2pDQ3Q=="},"queue-microtask":{"version":"1.2.3","resolved":"https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz","integrity":"sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A=="},"queue-tick":{"version":"1.0.0","resolved":"https://registry.npmjs.org/queue-tick/-/queue-tick-1.0.0.tgz","integrity":"sha512-ULWhjjE8BmiICGn3G8+1L9wFpERNxkf8ysxkAer4+TFdRefDaXOCV5m92aMB9FtBVmn/8sETXLXY6BfW7hyaWQ=="},"readable-stream":{"version":"3.6.0","resolved":"https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz","integrity":"sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==","requires":{"inherits":"^2.0.3","string_decoder":"^1.1.1","util-deprecate":"^1.0.1"}},"safe-buffer":{"version":"5.2.1","resolved":"https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz","integrity":"sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ=="},"secp256k1":{"version":"4.0.3","resolved":"https://registry.npmjs.org/secp256k1/-/secp256k1-4.0.3.tgz","integrity":"sha512-NLZVf+ROMxwtEj3Xa562qgv2BK5e2WNmXPiOdVIPLgs6lyTzMvBq0aWTYMI5XCP9jZMVKOcqZLw/Wc4vDkuxhA==","requires":{"elliptic":"^6.5.4","node-addon-api":"^2.0.0","node-gyp-build":"^4.2.0"}},"string_decoder":{"version":"1.3.0","resolved":"https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz","integrity":"sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==","requires":{"safe-buffer":"~5.2.0"}},"utf-8-validate":{"version":"5.0.7","resolved":"https://registry.npmjs.org/utf-8-validate/-/utf-8-validate-5.0.7.tgz","integrity":"sha512-vLt1O5Pp+flcArHGIyKEQq883nBt8nN8tVBcoL0qUXj2XT1n7p70yGIq2VK98I5FdZ1YHc0wk/koOnHjnXWk1Q==","optional":true,"requires":{"node-gyp-build":"^4.3.0"}},"util-deprecate":{"version":"1.0.2","resolved":"https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz","integrity":"sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8="}}}
{
"name": "ganache",
"version": "7.4.4",
"version": "7.5.0",
"description": "A library and cli to create a local blockchain for fast Ethereum development.",

@@ -59,5 +59,5 @@ "author": "David Murdoch",

"devDependencies": {
"@ganache/cli": "0.5.4",
"@ganache/core": "0.5.4",
"@ganache/flavors": "0.5.4",
"@ganache/cli": "0.6.0",
"@ganache/core": "0.6.0",
"@ganache/flavors": "0.6.0",
"@microsoft/api-extractor": "7.20.1",

@@ -118,3 +118,3 @@ "@types/mocha": "9.0.0",

],
"gitHead": "5d5dad3ba59d515799c7d48c6aa4e995e8747638"
"gitHead": "d8cfb81e279993ea6b2fc0f70854cac8a56aa706"
}

@@ -238,3 +238,3 @@ <!-- Using h2 instead of h1 because npm doesn't support align=center on h1 tags -->

The following options are listed for command line use, but can also be used when running Ganache programatically in your project.
The following options are listed for command line use, but can also be used when running Ganache programmatically in your project.

@@ -241,0 +241,0 @@ ```console

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc