diff --git a/README.md b/README.md index 1b9cf3b..f93291b 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ A port of node's `crypto` module to the browser. -[![Build Status](https://travis-ci.org/crypto-browserify/crypto-browserify.svg?branch=master)](https://travis-ci.org/crypto-browserify/crypto-browserify) +[![Build Status](https://travis-ci.org/browserify/crypto-browserify.svg?branch=master)](https://travis-ci.org/browserify/crypto-browserify) [![js-standard-style](https://cdn.rawgit.com/feross/standard/master/badge.svg)](https://github.com/feross/standard) [![Sauce Test Status](https://saucelabs.com/browser-matrix/crypto-browserify.svg)](https://saucelabs.com/u/crypto-browserify) diff --git a/example/bundle.js b/example/bundle.js index 479f804..2bf583d 100644 --- a/example/bundle.js +++ b/example/bundle.js @@ -359,11 +359,7 @@ require.define('/node_modules/crypto-browserify/index.js', function (require, mo function error() { var m = Array.prototype.slice.call(arguments).join(' '); - throw new Error([ - m, - 'we accept pull requests', - 'http://github.com/dominictarr/crypto-browserify' - ].join('\n')); + throw new Error(m+'\nwe accept pull requests\nhttp://github.com/browserify/crypto-browserify'.join('\n')); } exports.createHash = function (alg) { diff --git a/index.js b/index.js index 233a9c7..44a2edf 100644 --- a/index.js +++ b/index.js @@ -67,12 +67,12 @@ exports.publicDecrypt = publicEncrypt.publicDecrypt; exports.privateDecrypt = publicEncrypt.privateDecrypt; // the least I can do is make error messages for the rest of the node.js/crypto api. -// ;[ -// 'createCredentials' +// [ +// 'createCredentials' // ].forEach(function (name) { -// exports[name] = function () { -// throw new Error('sorry, ' + name + ' is not implemented yet\nwe accept pull requests\nhttps://github.com/crypto-browserify/crypto-browserify'); -// }; +// exports[name] = function () { +// throw new Error('sorry, ' + name + ' is not implemented yet\nwe accept pull requests\nhttps://github.com/browserify/crypto-browserify'); +// }; // }); var rf = require('randomfill'); @@ -81,11 +81,7 @@ exports.randomFill = rf.randomFill; exports.randomFillSync = rf.randomFillSync; exports.createCredentials = function () { - throw new Error([ - 'sorry, createCredentials is not implemented yet', - 'we accept pull requests', - 'https://github.com/crypto-browserify/crypto-browserify' - ].join('\n')); + throw new Error('sorry, createCredentials is not implemented yet\nwe accept pull requests\nhttps://github.com/browserify/crypto-browserify'); }; exports.constants = { diff --git a/package.json b/package.json index 89c0b62..734bd6c 100644 --- a/package.json +++ b/package.json @@ -3,10 +3,10 @@ "name": "crypto-browserify", "description": "implementation of crypto for the browser", "version": "3.12.0", - "homepage": "https://github.com/crypto-browserify/crypto-browserify", + "homepage": "https://github.com/browserify/crypto-browserify", "repository": { "type": "git", - "url": "git://github.com/crypto-browserify/crypto-browserify.git" + "url": "git://github.com/browserify/crypto-browserify.git" }, "scripts": { "lint": "eslint --ext=js,mjs .", diff --git a/test/random-bytes.js b/test/random-bytes.js index a969697..9c1a61a 100644 --- a/test/random-bytes.js +++ b/test/random-bytes.js @@ -46,7 +46,7 @@ Object.entries(randomBytesFunctions).forEach(function (entry) { // test that the random numbers are plausably random. // Math.random() will pass this, but this will catch // terrible mistakes such as this blunder: - // https://github.com/dominictarr/crypto-browserify/commit/3267955e1df7edd1680e52aeede9a89506ed2464#commitcomment-7916835 + // https://github.com/browserify/crypto-browserify/commit/3267955e1df7edd1680e52aeede9a89506ed2464#commitcomment-7916835 // this doesn't check that the bytes are in a random *order* // but it's better than nothing. diff --git a/test/random-fill.js b/test/random-fill.js index b54912b..03d4585 100644 --- a/test/random-fill.js +++ b/test/random-fill.js @@ -38,7 +38,7 @@ test('seems random', function (t) { // test that the random numbers are plausably random. // Math.random() will pass this, but this will catch // terrible mistakes such as this blunder: - // https://github.com/dominictarr/crypto-browserify/commit/3267955e1df7edd1680e52aeede9a89506ed2464#commitcomment-7916835 + // https://github.com/browserify/crypto-browserify/commit/3267955e1df7edd1680e52aeede9a89506ed2464#commitcomment-7916835 // this doesn't check that the bytes are in a random *order* // but it's better than nothing.