Skip to content

Commit

Permalink
v3.3.18
Browse files Browse the repository at this point in the history
  • Loading branch information
fnogatz committed Dec 10, 2020
1 parent 5fbcdae commit 833ae03
Show file tree
Hide file tree
Showing 5 changed files with 4,991 additions and 541 deletions.
2 changes: 1 addition & 1 deletion dist/chr-wop.min.js

Large diffs are not rendered by default.

32 changes: 18 additions & 14 deletions dist/chr.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,9 +138,7 @@ function fromByteArray (uint8) {

// go through the array every three bytes, we'll deal with trailing stuff later
for (var i = 0, len2 = len - extraBytes; i < len2; i += maxChunkLength) {
parts.push(encodeChunk(
uint8, i, (i + maxChunkLength) > len2 ? len2 : (i + maxChunkLength)
))
parts.push(encodeChunk(uint8, i, (i + maxChunkLength) > len2 ? len2 : (i + maxChunkLength)))
}

// pad the end with zeros, but make sure to not forget the extra bytes
Expand All @@ -165,7 +163,7 @@ function fromByteArray (uint8) {
}

},{}],3:[function(require,module,exports){
(function (Buffer){
(function (Buffer){(function (){
/*!
* The buffer module from node.js, for the browser.
*
Expand Down Expand Up @@ -1944,9 +1942,9 @@ function numberIsNaN (obj) {
return obj !== obj // eslint-disable-line no-self-compare
}

}).call(this,require("buffer").Buffer)
}).call(this)}).call(this,require("buffer").Buffer)
},{"base64-js":2,"buffer":3,"ieee754":8}],4:[function(require,module,exports){
(function (Buffer){
(function (Buffer){(function (){
var clone = (function() {
'use strict';

Expand Down Expand Up @@ -2114,7 +2112,7 @@ if (typeof module === 'object' && module.exports) {
module.exports = clone;
}

}).call(this,require("buffer").Buffer)
}).call(this)}).call(this,require("buffer").Buffer)
},{"buffer":3}],5:[function(require,module,exports){
var clone = require('clone');

Expand Down Expand Up @@ -3103,6 +3101,7 @@ function functionBindPolyfill(context) {
}

},{}],8:[function(require,module,exports){
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
exports.read = function (buffer, offset, isLE, mLen, nBytes) {
var e, m
var eLen = (nBytes * 8) - mLen - 1
Expand Down Expand Up @@ -3407,7 +3406,7 @@ module.exports = function isBuffer(arg) {
&& typeof arg.readUInt8 === 'function';
}
},{}],12:[function(require,module,exports){
(function (process,global){
(function (process,global){(function (){
// Copyright Joyent, Inc. and other Node contributors.
//
// Permission is hereby granted, free of charge, to any person obtaining a
Expand Down Expand Up @@ -3995,7 +3994,7 @@ function hasOwnProperty(obj, prop) {
return Object.prototype.hasOwnProperty.call(obj, prop);
}

}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
}).call(this)}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
},{"./support/isBuffer":11,"_process":9,"inherits":10}],13:[function(require,module,exports){
"use strict";

Expand Down Expand Up @@ -4374,14 +4373,19 @@ exports.default = rng;
// Unique ID creation requires a high quality random # generator. In the browser we therefore
// require the crypto API and do not support built-in fallback to lower quality random number
// generators (like Math.random()).
// getRandomValues needs to be invoked in a context where "this" is a Crypto implementation. Also,
// find the complete implementation of crypto (msCrypto) on IE11.
const getRandomValues = typeof crypto !== 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto) || typeof msCrypto !== 'undefined' && typeof msCrypto.getRandomValues === 'function' && msCrypto.getRandomValues.bind(msCrypto);
let getRandomValues;
const rnds8 = new Uint8Array(16);

function rng() {
// lazy load so that environments that need to polyfill have a chance to do so
if (!getRandomValues) {
throw new Error('crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported');
// getRandomValues needs to be invoked in a context where "this" is a Crypto implementation. Also,
// find the complete implementation of crypto (msCrypto) on IE11.
getRandomValues = typeof crypto !== 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto) || typeof msCrypto !== 'undefined' && typeof msCrypto.getRandomValues === 'function' && msCrypto.getRandomValues.bind(msCrypto);

if (!getRandomValues) {
throw new Error('crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported');
}
}

return getRandomValues(rnds8);
Expand Down Expand Up @@ -5837,7 +5841,7 @@ function hash (ids) {
CHR.History = Runtime.History
CHR.Rule = Rule

CHR.version = '3.3.17'
CHR.version = '3.3.18'

CHR.noConflict = function () {
root.CHR = prevCHR
Expand Down
2 changes: 1 addition & 1 deletion dist/chr.min.js

Large diffs are not rendered by default.

Loading

0 comments on commit 833ae03

Please sign in to comment.