Skip to content

Commit 7223ce7

Browse files
committed
[meta] update repo URLs
Fixes #228.
1 parent 5757219 commit 7223ce7

File tree

6 files changed

+12
-20
lines changed

6 files changed

+12
-20
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
A port of node's `crypto` module to the browser.
44

5-
[![Build Status](https://travis-ci.org/crypto-browserify/crypto-browserify.svg?branch=master)](https://travis-ci.org/crypto-browserify/crypto-browserify)
5+
[![Build Status](https://travis-ci.org/browserify/crypto-browserify.svg?branch=master)](https://travis-ci.org/browserify/crypto-browserify)
66
[![js-standard-style](https://cdn.rawgit.com/feross/standard/master/badge.svg)](https://github.com/feross/standard)
77
[![Sauce Test Status](https://saucelabs.com/browser-matrix/crypto-browserify.svg)](https://saucelabs.com/u/crypto-browserify)
88

example/bundle.js

+1-5
Original file line numberDiff line numberDiff line change
@@ -359,11 +359,7 @@ require.define('/node_modules/crypto-browserify/index.js', function (require, mo
359359

360360
function error() {
361361
var m = Array.prototype.slice.call(arguments).join(' ');
362-
throw new Error([
363-
m,
364-
'we accept pull requests',
365-
'https://github.com/dominictarr/crypto-browserify'
366-
].join('\n'));
362+
throw new Error(m+'\nwe accept pull requests\nhttps://github.com/browserify/crypto-browserify'.join('\n'));
367363
}
368364

369365
exports.createHash = function (alg) {

index.js

+6-10
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,12 @@ exports.publicDecrypt = publicEncrypt.publicDecrypt;
6767
exports.privateDecrypt = publicEncrypt.privateDecrypt;
6868

6969
// the least I can do is make error messages for the rest of the node.js/crypto api.
70-
// ;[
71-
// 'createCredentials'
70+
// [
71+
// 'createCredentials'
7272
// ].forEach(function (name) {
73-
// exports[name] = function () {
74-
// throw new Error('sorry, ' + name + ' is not implemented yet\nwe accept pull requests\nhttps://github.com/crypto-browserify/crypto-browserify');
75-
// };
73+
// exports[name] = function () {
74+
// throw new Error('sorry, ' + name + ' is not implemented yet\nwe accept pull requests\nhttps://github.com/browserify/crypto-browserify');
75+
// };
7676
// });
7777

7878
var rf = require('randomfill');
@@ -81,11 +81,7 @@ exports.randomFill = rf.randomFill;
8181
exports.randomFillSync = rf.randomFillSync;
8282

8383
exports.createCredentials = function () {
84-
throw new Error([
85-
'sorry, createCredentials is not implemented yet',
86-
'we accept pull requests',
87-
'https://github.com/crypto-browserify/crypto-browserify'
88-
].join('\n'));
84+
throw new Error('sorry, createCredentials is not implemented yet\nwe accept pull requests\nhttps://github.com/browserify/crypto-browserify');
8985
};
9086

9187
exports.constants = {

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
"name": "crypto-browserify",
44
"description": "implementation of crypto for the browser",
55
"version": "3.12.0",
6-
"homepage": "https://github.com/crypto-browserify/crypto-browserify",
6+
"homepage": "https://github.com/browserify/crypto-browserify",
77
"repository": {
88
"type": "git",
9-
"url": "git://github.com/crypto-browserify/crypto-browserify.git"
9+
"url": "git://github.com/browserify/crypto-browserify.git"
1010
},
1111
"scripts": {
1212
"lint": "eslint --ext=js,mjs .",

test/random-bytes.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Object.entries(randomBytesFunctions).forEach(function (entry) {
4646
// test that the random numbers are plausably random.
4747
// Math.random() will pass this, but this will catch
4848
// terrible mistakes such as this blunder:
49-
// https://github.com/dominictarr/crypto-browserify/commit/3267955e1df7edd1680e52aeede9a89506ed2464#commitcomment-7916835
49+
// https://github.com/browserify/crypto-browserify/commit/3267955e1df7edd1680e52aeede9a89506ed2464#commitcomment-7916835
5050

5151
// this doesn't check that the bytes are in a random *order*
5252
// but it's better than nothing.

test/random-fill.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ test('seems random', function (t) {
3838
// test that the random numbers are plausably random.
3939
// Math.random() will pass this, but this will catch
4040
// terrible mistakes such as this blunder:
41-
// https://github.com/dominictarr/crypto-browserify/commit/3267955e1df7edd1680e52aeede9a89506ed2464#commitcomment-7916835
41+
// https://github.com/browserify/crypto-browserify/commit/3267955e1df7edd1680e52aeede9a89506ed2464#commitcomment-7916835
4242

4343
// this doesn't check that the bytes are in a random *order*
4444
// but it's better than nothing.

0 commit comments

Comments
 (0)