From 2382aaf4053aaf57450729407918f95abebbbbfa Mon Sep 17 00:00:00 2001 From: James M Snell Date: Fri, 21 May 2021 15:54:52 -0700 Subject: [PATCH] Update org references (#378) --- CODE_OF_CONDUCT.md | 4 ++-- CONTRIBUTING.md | 2 +- README.md | 8 ++++---- analysis/barrier/name-barrier-nodes.js | 2 +- format/abstract-decoder.js | 2 +- index.js | 3 --- package.json | 2 +- 7 files changed, 10 insertions(+), 13 deletions(-) diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md index d896c7ce..ce017a63 100644 --- a/CODE_OF_CONDUCT.md +++ b/CODE_OF_CONDUCT.md @@ -55,7 +55,7 @@ further defined and clarified by project maintainers. ## Enforcement Instances of abusive, harassing, or otherwise unacceptable behavior may be -reported by contacting the project team at [clinic@nearform.com][clinic]. All +reported by contacting the project team at [report@clinicjs.org][clinic]. All complaints will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. @@ -70,5 +70,5 @@ members of the project's leadership. This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html -[clinic]: mailto:clinic@nearform.com +[clinic]: mailto:report@clinicjs.org [homepage]: https://www.contributor-covenant.org diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 6f059ac1..31b021f1 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -48,7 +48,7 @@ npm run ci-cov ### Manual Tests -For quick setup use [demo](https://github.com/nearform/node-clinic-bubbleprof-demo) and [examples](https://github.com/nearform/node-clinic-bubbleprof-examples) +For quick setup use [demo](https://github.com/clinicjs/node-clinic-bubbleprof-demo) and [examples](https://github.com/clinicjs/node-clinic-bubbleprof-examples) We have also prepared a wide range of "real" samples which can be used during development. These samples can be downloaded from [here (930MB)](https://clinic-submit.nearform.net/data/bulk?id=fac951815d06615f0ca7ac5a813204777a0a6bf748b2d659f7cb3796623bb0ca&id=e6729cb8d620dad4e4540a3c4c67e25e5a7b6294160f06d6cfd2d4e28c677c1f&id=3fac27a61b1d1f5619e2d976103ad4a9e5bd0e45a36289beed0452f4d052df20&id=0654292db03925a0e5a3fb353d0356aca91fe6ce70f17a2332edefbcc46e72f7&id=77797d77e6e79aa87296066f1a71ba88f613f27415f638bd307d7cdbb1e64fdf&id=16b85abb28cf5a486c704f65012ac8ccece66333ca51af2e12f450d472a3b666&id=0ea0e4b4a3edf675221b0cd2dfe274ae8c022a3bf2bcb33561ca255d10c1c027&id=10fa1f93ef424a9201acf368a90c46408736ef62a702412acfdbd2814838ce54&id=59e873d5673ff64ccb5400b0a5491fa54c6c138de532cbbe84ba711fae54494e&id=a5f5089b5a87e3b6c4c37f69e6a664d523acf3dd3bee275e39c9b963d74ba4e0&id=f4a1bd1972336d48e4f18ea7d313dd17d2cb12fc7229a0dddea374ffcf2f6722&id=a39d6b7f4e74b7fea4678b20499225d5b577c3e81130bedb41146cd035146206&id=d2db315afb3c7b9fffa097ab287ae64109d04f9a92bace0584e8d6ce3854828a&id=1e06931188c30c0f56063f7e6d62e900c9190aba277a6008bcf949080ef70a7f&id=07a89d14bb38f1b166b8bec797618434f81f083a93696bd69b8cb65526746ccc&id=3e0d15f1337263d48056d5908eaa7e1828060ecf002036428522cef19323322c&id=154c5986b633572969c1baa2c9ef322d1e007464390fb9ab29648f1e8bfca888&id=7a980817d360185c502b5fe7842803ece6029690987a1cf715e1a046b63f9dd0&id=c9f50c0a0bb042ed05f217b097b31e0b1a34309a925e3b2dd2871ff3a6c2dab6). They contain profiles of [Acmeair](https://github.com/acmeair/acmeair-nodejs), [Udaru](https://github.com/nearform/udaru), [Loopback](http://loopback.io/doc/en/lb3/Getting-started-with-LoopBack.html) and [ApostropheCMS](https://apostrophecms.org/docs/tutorials/getting-started/creating-your-first-project.html). diff --git a/README.md b/README.md index e737ead6..0f9aacfa 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ bubbleprof.collect(['node', './path-to-script.js'], function (err, filepath) { ``` To get started with Clinic.js Bubbleprof you might want to take a look at the [examples -repo](https://github.com/nearform/node-clinic-bubbleprof-examples). +repo](https://github.com/clinicjs/node-clinic-bubbleprof-examples). ## Documentation @@ -83,9 +83,9 @@ arguments, except a possible error. [npm-downloads]: http://img.shields.io/npm/dm/@nearform/bubbleprof.svg?style=flat-square [lint-standard]: https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square [lint-standard-url]: https://github.com/feross/standard -[clinic-url]: https://github.com/nearform/node-clinic +[clinic-url]: https://github.com/clinicjs/node-clinic [``]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object [``]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type [``]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String -[actions-status]: https://github.com/nearform/node-clinic-bubbleprof/workflows/CI/badge.svg -[actions-url]: https://github.com/nearform/node-clinic-bubbleprof/actions +[actions-status]: https://github.com/clinicjs/node-clinic-bubbleprof/workflows/CI/badge.svg +[actions-url]: https://github.com/clinicjs/node-clinic-bubbleprof/actions diff --git a/analysis/barrier/name-barrier-nodes.js b/analysis/barrier/name-barrier-nodes.js index 99114502..0155e66c 100644 --- a/analysis/barrier/name-barrier-nodes.js +++ b/analysis/barrier/name-barrier-nodes.js @@ -125,7 +125,7 @@ class NameBarrierNodes extends stream.Transform { const typeName = toName(types) const prefix = moduleNames.length > 3 ? '... > ' : '' // http is special for identifying latency etc - so we don't let http names be overwritten by userland or module filenames - // - see: https://github.com/nearform/node-clinic-bubbleprof/pull/115 and existing integration tests + // - see: https://github.com/clinicjs/node-clinic-bubbleprof/pull/115 and existing integration tests if (typeName.includes('http')) return typeName if (moduleNames.length) return prefix + moduleNames.slice(-3).join(' > ') return typeName diff --git a/format/abstract-decoder.js b/format/abstract-decoder.js index bbb46d2e..d93cf89d 100644 --- a/format/abstract-decoder.js +++ b/format/abstract-decoder.js @@ -56,7 +56,7 @@ class AbstractDecoder extends stream.Transform { if (!this._warned) { console.error('There was a decoding error with chunk (base64):') console.error(chunk.toString('base64')) - console.error('Please open an issue on https://github.com/nearform/node-clinic-bubbleprof with the above output.') + console.error('Please open an issue on https://github.com/clinicjs/node-clinic-bubbleprof with the above output.') this._warned = true } } diff --git a/index.js b/index.js index 0aa68253..004f60dd 100644 --- a/index.js +++ b/index.js @@ -124,7 +124,6 @@ class ClinicBubbleprof extends events.EventEmitter { const stylePath = path.join(__dirname, 'visualizer', 'style.css') const scriptPath = path.join(__dirname, 'visualizer', 'main.js') const logoPath = path.join(__dirname, 'visualizer', 'app-logo.svg') - const nearFormLogoPath = path.join(__dirname, 'visualizer', 'nearform-logo.svg') const clinicFaviconPath = path.join(__dirname, 'visualizer', 'clinic-favicon.png.b64') // Load data @@ -142,7 +141,6 @@ class ClinicBubbleprof extends events.EventEmitter { ) // add logos const logoFile = fs.createReadStream(logoPath) - const nearFormLogoFile = fs.createReadStream(nearFormLogoPath) const clinicFaviconBase64 = fs.createReadStream(clinicFaviconPath) const bubbleprofVersion = require('./package.json').version @@ -178,7 +176,6 @@ class ClinicBubbleprof extends events.EventEmitter { headerLogo: logoFile, headerText: 'Bubbleprof', toolVersion: bubbleprofVersion, - nearFormLogo: nearFormLogoFile, uploadId: outputFilename.split('/').pop().split('.html').shift(), body: '
' }) diff --git a/package.json b/package.json index 4f85f71f..6ab803c0 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@nearform/bubbleprof", "description": "Programmable interface to Clinic.js Bubbleprof", - "repository": "nearform/node-clinic-bubbleprof", + "repository": "clinicjs/node-clinic-bubbleprof", "version": "7.0.0", "engines": { "node": ">=12.13.0"