uuid 2.0.2 → 2.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/rng-browser.js +2 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "uuid",
3
- "version": "2.0.2",
3
+ "version": "2.0.3",
4
4
  "description": "Rigorous implementation of RFC4122 (v1 and v4) UUIDs.",
5
5
  "keywords": [
6
6
  "uuid",
@@ -31,7 +31,7 @@
31
31
  },
32
32
  "repository": {
33
33
  "type": "git",
34
- "url": "https://github.com/shtylman/node-uuid.git"
34
+ "url": "https://github.com/defunctzombie/node-uuid.git"
35
35
  },
36
36
  "testling": {
37
37
  "browsers": [
package/rng-browser.js CHANGED
@@ -1,7 +1,8 @@
1
1
 
2
2
  var rng;
3
3
 
4
- if (global.crypto && crypto.getRandomValues) {
4
+ var crypto = global.crypto || global.msCrypto; // for IE 11
5
+ if (crypto && crypto.getRandomValues) {
5
6
  // WHATWG crypto-based RNG - http://wiki.whatwg.org/wiki/Crypto
6
7
  // Moderately fast, high quality
7
8
  var _rnds8 = new Uint8Array(16);