{"_id":"@alu0101163970/addlogging","_rev":"3-170bcfae5a8caf3fb611b5f5ad890503","name":"@alu0101163970/addlogging","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"@alu0101163970/addlogging","version":"1.0.0","description":"","main":"addlogging.js","bin":{"add-logging":"bin/add-logging.js"},"scripts":{"test":"mocha --reporter spec","documentation":"documentation build addlogging.js bin/add-logging.js -f html -o docs"},"repository":{"type":"git","url":"git+https://github.com/ULL-ESIT-PL-2021/espree-logging-module-alu0101163970.git"},"author":{"name":"Francisco Jesus Mendes Gomez","email":"alu0101163970@ull.edu.es","url":"https://github.com/alu0101163970"},"license":"ISC","bugs":{"url":"https://github.com/ULL-ESIT-PL-2021/espree-logging-module-alu0101163970/issues"},"homepage":"https://github.com/ULL-ESIT-PL-2021/espree-logging-module-alu0101163970#readme","devDependencies":{"chai":"*","documentation":"^13.1.1","jest":"^26.6.3","mocha":"*"},"dependencies":{"acorn":"^6.4.2","commander":"^7.1.0","escodegen":"^1.14.3","escope":"^3.6.0","espree":"^7.3.1","esprima":"^4.0.1","estraverse":"^5.2.0","pegjs":"^0.10.0","readline":"^1.3.0","underscore":"^1.12.0"},"gitHead":"f2453544c86eb55e1561d77f077dd529f00f347a","_id":"@alu0101163970/addlogging@1.0.0","_nodeVersion":"15.8.0","_npmVersion":"7.5.1","dist":{"integrity":"sha512-qCwR5vR8I8GbtnG/Ap4HGYbGmejFzSCc0x1Lwqx0AIUvGg1/7LqCaZdL2uIyMxzEYlZIVaNp2CDWokpa9NHL5g==","shasum":"09f7424939a99965fdaa56aacf3d2d048087be79","tarball":"https://registry.npmjs.org/@alu0101163970/addlogging/-/addlogging-1.0.0.tgz","fileCount":33,"unpackedSize":1574006,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgQA+DCRA9TVsSAnZWagAAt/oQAJeX49VrSllc3gml+qJf\n39SIt0hMBoo0/qRua4pKpSKLq9kgn1A4nSRgftxU4Bbum99lj6Uy5i4/nLwp\nOhkSDyY/yar4fL6xTIFinFp04eqle3biGNiyPcjrAIIKovH+cuRndonPboZK\nQ9nnl4ojh6H4AizbQWXdyWWtpyj6ZT6Uua+h7rbQGvtJfxvGWHKijTk5vFZx\nkDpk5DYyBGSIKpJ7H5q2lDCA0OP+i0XQkN9mj3pyXnTTpyoDO6zu8nu9wbHB\ngr9cEHyarfMeujGNGCX+Tb2hwEv7LUOHh/ULYfGdffrsy9m2NgkDafjQ17f2\n91V6LbYq9SZoZUAieqLkpbKGM58MJ4TPkjoW7pUEVh7wMdwhcgJC18DGawm0\nXMI17GEI0LSoHHOK+KQAm/UsStY3BCog+q8jipqIUHZ8eGGuaUODTLakJMm7\nv2G4kCNvwOkvvzwiX1DF90ZuKJahFXdO7biCeCYxTyTcVcYejKMIZe7H4HsG\njNw/sjHYH22yQMFm1OoNFWJT07QklNSjs2lKVQR6Ko1S0TbCah+81c4u1Fnl\n2I+i9QoBCHRq+TSuLPkI474IDwNQbcdi/oAh80yq/qaBTsgqw+QGm7Aq6vnd\nCc8gWePWoBeCXfy9UKrFn8L4JiGQGsDxdEFMs6VnFwkevhBLyXiLzx514QbC\nJJVF\r\n=CldN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDaEgFrPPq8ThHVrCMGaRGI8TgCdMFAkKc2Bac3UMw76wIgBWSuM7cwwQD0wJiFLw1Rr4liOkgpswjyzJ1xNdr/uuM="}]},"_npmUser":{"name":"alu0101163970","email":"alu0101163970@ull.edu.es"},"directories":{},"maintainers":[{"name":"alu0101163970","email":"alu0101163970@ull.edu.es"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/addlogging_1.0.0_1614811010658_0.4514664943872049"},"_hasShrinkwrap":false},"1.0.1":{"name":"@alu0101163970/addlogging","version":"1.0.1","description":"addLogging   =========","main":"addlogging.js","bin":{"add-logging":"bin/add-logging.js"},"scripts":{"test":"mocha --reporter spec","documentation":"documentation build addlogging.js bin/add-logging.js -f html -o docs"},"repository":{"type":"git","url":"git+https://github.com/ULL-ESIT-PL-2021/espree-logging-module-alu0101163970.git"},"author":{"name":"Francisco Jesus Mendes Gomez","email":"alu0101163970@ull.edu.es","url":"https://github.com/alu0101163970"},"license":"ISC","bugs":{"url":"https://github.com/ULL-ESIT-PL-2021/espree-logging-module-alu0101163970/issues"},"homepage":"https://github.com/ULL-ESIT-PL-2021/espree-logging-module-alu0101163970#readme","devDependencies":{"chai":"*","documentation":"^13.1.1","jest":"^26.6.3","mocha":"*"},"dependencies":{"acorn":"^6.4.2","commander":"^7.1.0","escodegen":"^1.14.3","escope":"^3.6.0","espree":"^7.3.1","esprima":"^4.0.1","estraverse":"^5.2.0","pegjs":"^0.10.0","readline":"^1.3.0","underscore":"^1.12.0"},"gitHead":"688827121f88a0b619fc02252ed187f98348800c","_id":"@alu0101163970/addlogging@1.0.1","_nodeVersion":"15.8.0","_npmVersion":"7.5.1","dist":{"integrity":"sha512-AoAwSCme8gmvG0zjQrDC0JNbS16fC2YVeMg5Sv73ONeT9s6ekgm+CXsV2wVbtHUaVFGfA+eBbilmwB3ys82AcA==","shasum":"ba4e9177ed68ec8ddc470448f5e97edf7a61ab53","tarball":"https://registry.npmjs.org/@alu0101163970/addlogging/-/addlogging-1.0.1.tgz","fileCount":35,"unpackedSize":1576373,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgQBvUCRA9TVsSAnZWagAA49MQAJ79nIQ7FbEFjvj5UNhY\nhGXlrH1Dx5J9BGzT/YenbZOxfiZLqIOHtqHOkjVnR+QAiHIDClVkcimI8TNr\nlBw4vNbP8pX4zX5j9r+bCEQnA7ys7qEEe65Pdl+38neIk+3cCQ2r9F0p7fTB\n0X32wXemxNqWX+h+zArhSNgsWMu+89XymL1vUTLFjMUUP65rNifkUZW/qvqL\nm0dy6ewUyJWJ3GlI/N4om4aprB66Q1aneJs7N+XLabcVDJKULg3k8wtr92Fm\nBpH8JPeAECL9U//yxlyGK+d6ZXPGFtYXsrycZK34n6b6hPJXVm5WwXuQEMLF\nWFAhWCFhGOYU8XRGuh2tenl9jcOxHTNVsoFyEIZN7OH157rPBqD7aGkS7Vst\ncN/zOIBKPVKi4FD3pxcaMQl8QuJs4J6GXzpN6cWTwidwtZUvixAmONzzFPEs\nBpzaoPchS/f+41YlU3nx6MNf20ihECVKBZHcTADiOp2poU9ELp8hrs+HA46e\nyM/HBhMaBvzt6vlQSmktnU50otQMe2V6vQMLnruyckn8JX6Pkv/7vaxEft/f\ntixE+FrNJ7/rbkek07kprErCf/zVZ/Cg5/d6Dk50tCTlJTMMEG/AbAd9Ahmk\n/+FksMY3zTh0DnKh7zSTeJtxuMClY2Om5ygGxXwLDd4Dmh7lBOM+NY1OBtbB\nwbl0\r\n=7qBO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC6eoDsVM4tDbXB7h5nOTlrqVkjSVjUXaN9k6r6TYStWQIhAMgwX/Lb7DJIcODEiRxGfcl/VNwKO3jjfOS9W2LykC0u"}]},"_npmUser":{"name":"alu0101163970","email":"alu0101163970@ull.edu.es"},"directories":{},"maintainers":[{"name":"alu0101163970","email":"alu0101163970@ull.edu.es"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/addlogging_1.0.1_1614814163522_0.3186507501432976"},"_hasShrinkwrap":false},"1.0.2":{"name":"@alu0101163970/addlogging","version":"1.0.2","description":"addLogging   =========","main":"addlogging.js","bin":{"addlogging":"bin/add-logging.js"},"scripts":{"test":"mocha --reporter spec","doc":"documentation build addlogging.js bin/add-logging.js -f html -o docs","serve:doc":"http-server docs/ -o","commit":"npm run doc; git add docs; git commit -am `jq .version package.json`","push":"npm run commit; git push","production:test":"cd ../espree-logging-production-test-alu0101163970 && npm test","patch":"npm run commit; npm version patch","patch:publish":"npm run patch; git push; npm publish","patch:publish:production:test":"npm run patch:publish; npm run production:test"},"repository":{"type":"git","url":"git+https://github.com/ULL-ESIT-PL-2021/espree-logging-module-alu0101163970.git"},"author":{"name":"Francisco Jesus Mendes Gomez","email":"alu0101163970@ull.edu.es","url":"https://github.com/alu0101163970"},"license":"ISC","bugs":{"url":"https://github.com/ULL-ESIT-PL-2021/espree-logging-module-alu0101163970/issues"},"homepage":"https://github.com/ULL-ESIT-PL-2021/espree-logging-module-alu0101163970#readme","devDependencies":{"chai":"*","documentation":"^13.1.1","jest":"^26.6.3","mocha":"*"},"dependencies":{"acorn":"^6.4.2","commander":"^7.1.0","escodegen":"^1.14.3","escope":"^3.6.0","espree":"^7.3.1","esprima":"^4.0.1","estraverse":"^5.2.0","jq":"*","pegjs":"^0.10.0","readline":"^1.3.0","underscore":"^1.12.0","winston":"^3.3.3"},"gitHead":"d94227658ad77824921c1987dd47340928da5027","_id":"@alu0101163970/addlogging@1.0.2","_nodeVersion":"15.8.0","_npmVersion":"7.5.1","dist":{"integrity":"sha512-wRVFI6igStRQayBkR5sULbyk1wcxJVYBYLK6kQlpWMuftwNeaka+jbmoCzehLChv4Qg4YK/W9I3WoCOFWSY7gA==","shasum":"80f1a85e50a5258dbd0286037b53814dc8b330bb","tarball":"https://registry.npmjs.org/@alu0101163970/addlogging/-/addlogging-1.0.2.tgz","fileCount":35,"unpackedSize":1576767,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgQTDQCRA9TVsSAnZWagAADhsQAIocn8+xON1Ei6wmpjS8\n1J+DkNCtyqW+GN50v1RZLtHyNGthu4MG27Vk2K7Ov8eDzomGRmwUWjaHNRmp\nOROKzWRhXw1Li+0G7SCNeioVh1X0dUZkYQzZEJYonnp2UT8QUAPEygftTSdN\nMpn7bW/24lQNJ7ChtvLIctAOVfwOUc9/O1zxriuHllNm+PXpiBDO1uGHibA/\nIuJzckXJDYyp6hMXHleIojTh9M/QzKy+VPuLmm/kz3s+1TkHkqifHNeBkRSA\nSwVOHXozx8ngYIHwamzuxTWG26Knvp9k5uMR2K7s1OXVZG6MbLCI2u2oeVmS\nS5EIu7zpfyYR74Lz11/KZ/qlUgBMAIgrVzPWf9+uOx2ShCcnWb1RgAUMzQcb\nVLNFs+fx0gjK2slpC6cFMclR+dxlYziXuX0HqvdeMvv/4TTJ63L5k32NVjME\nDCBBE7aCCyFCEzycgew459mS5EK+4+JotvW+DPfdyHmZtnA5Vcqww42/i1ZL\nwhxI+MF7fNhA8l9TBsazsDbsydy30LY9C8ODkWUcABNADmgqJD02S4AkBuT7\nCU92EKHUubm/Jq7mjjpGPXJ9yDCfldH6BsodTfPrXqiJxo7aeSHLkgIepjoq\nwCqn7QSO0EgCfCE0ZEcwJ1cODNc2QMWenEEnSIbJyq1LK41XNFbhZpx2T1cu\n+zSp\r\n=Dyp6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCJaq8KySpIxK4plbUqEMjYTqabpDtpEGFFPEEfEhmUHAIgMBMXwgJg0M5bBXx9YpONrw5LM4UTFpmfBuI7KZWsRlk="}]},"_npmUser":{"name":"alu0101163970","email":"alu0101163970@ull.edu.es"},"directories":{},"maintainers":[{"name":"alu0101163970","email":"alu0101163970@ull.edu.es"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/addlogging_1.0.2_1614885071780_0.7360513465618488"},"_hasShrinkwrap":false}},"time":{"created":"2021-03-03T22:36:50.599Z","1.0.0":"2021-03-03T22:36:50.869Z","modified":"2022-04-04T13:41:05.181Z","1.0.1":"2021-03-03T23:29:23.870Z","1.0.2":"2021-03-04T19:11:12.028Z"},"maintainers":[{"name":"alu0101163970","email":"alu0101163970@ull.edu.es"}],"homepage":"https://github.com/ULL-ESIT-PL-2021/espree-logging-module-alu0101163970#readme","repository":{"type":"git","url":"git+https://github.com/ULL-ESIT-PL-2021/espree-logging-module-alu0101163970.git"},"author":{"name":"Francisco Jesus Mendes Gomez","email":"alu0101163970@ull.edu.es","url":"https://github.com/alu0101163970"},"bugs":{"url":"https://github.com/ULL-ESIT-PL-2021/espree-logging-module-alu0101163970/issues"},"license":"ISC","readme":"addLogging\n  =========\n\n  The function `addLogging()` insert after an function entering a console.log() function describing the entering function.\n\n  ## Installation\n\n    npm i @alu0101163970/addlogging --save\n\n  ## Usage\n\n* import:\n\n     `const { addLogging } = require('addloging')`\n\n* Call function and parameters:\n\n```js\n\nlet code = `function foo(a, b) {\n    var x = 'blah';\n    var y = (function (z) {\n      return z+3;\n    })(2);\n  }\n  foo(1, 'wut', 3);`\n\naddLoggin(code);\n/////////////////////////////////////\nlet code = `function foo(a, b) {\n    var x = 'blah';\n    var y = (function (z) {\n      return z+3;\n    })(2);\n  }\n  foo(1, 'wut', 3);`\n\nlet pattern = 'foo';\n\naddLoggin(code, pattern);\n\n```\nit returns at first case:\n\n```js\n\"function foo(a, b) {\n    console.log(`Entering foo(${ a },${ b }) at line 1`);\n    var x = 'blah';\n    var y = (z => {\n        console.log(`Entering <anonymous function>(${ z }) at line 3`);\n        return z + 3;\n    })(2);\n}\nfoo(1, 'wut', 3);\"\n\n```\nit returns at second case:\n\n```js\nfunction foo(a, b) {\n    console.log(`Entering foo(${ a },${ b }) at line 1`);\n    var x = 'blah';\n    var y = (z => {\n        return z + 3;\n    })(2);\n}\nfoo(1, 'wut', 3);\n```\n\n## Tests\n\n    npm test\n\n## Contributing\n\n  In lieu of a formal styleguide, take care to maintain the existing coding style.\n  Add unit tests for any new or changed functionality. Lint and test your code.\n\n## Release History\n\n  * 1.0.0 Initial release.\n  * 1.0.1 README added.\n  * 1.0.2 package.json improved.","readmeFilename":"README.md","description":"addLogging   ========="}