Comparing version 0.8.1 to 0.8.2
@@ -0,1 +1,11 @@ | ||
<a name="0.8.2"></a> | ||
## [0.8.2](https://github.com/multiformats/js-cid/compare/v0.8.1...v0.8.2) (2020-06-15) | ||
### Features | ||
* support Base36 ([ea5a7f2](https://github.com/multiformats/js-cid/commit/ea5a7f2)) | ||
<a name="0.8.1"></a> | ||
@@ -2,0 +12,0 @@ ## [0.8.1](https://github.com/multiformats/js-cid/compare/v0.8.0...v0.8.1) (2020-05-22) |
@@ -9,3 +9,3 @@ /*! | ||
// https://github.com/umdjs/umd/blob/master/templates/returnExports.js | ||
(function(root, factory) { | ||
(function (root, factory) { | ||
'use strict'; | ||
@@ -25,3 +25,3 @@ if (typeof define === 'function' && define.amd) { | ||
} | ||
})(this, function() { | ||
})(this, function () { | ||
'use strict'; | ||
@@ -56,3 +56,3 @@ function AnchorJS(options) { | ||
*/ | ||
this.isTouchDevice = function() { | ||
this.isTouchDevice = function () { | ||
return !!( | ||
@@ -70,3 +70,3 @@ 'ontouchstart' in window || | ||
*/ | ||
this.add = function(selector) { | ||
this.add = function (selector) { | ||
var elements, | ||
@@ -200,3 +200,3 @@ elsWithIds, | ||
*/ | ||
this.remove = function(selector) { | ||
this.remove = function (selector) { | ||
var index, | ||
@@ -224,3 +224,3 @@ domAnchor, | ||
*/ | ||
this.removeAll = function() { | ||
this.removeAll = function () { | ||
this.remove(this.elements); | ||
@@ -238,3 +238,3 @@ }; | ||
*/ | ||
this.urlify = function(text) { | ||
this.urlify = function (text) { | ||
// Regex for finding the nonsafe URL characters (many need escaping): & +$,:;=?@"#{}|^~[`%!'<>]./()*\ | ||
@@ -270,3 +270,3 @@ var nonsafeChars = /[& +$,:;=?@"#{}|^~[`%!'<>\]\.\/\(\)\*\\]/g, | ||
*/ | ||
this.hasAnchorJSLink = function(el) { | ||
this.hasAnchorJSLink = function (el) { | ||
var hasLeftAnchor = | ||
@@ -273,0 +273,0 @@ el.firstChild && |
@@ -10,3 +10,3 @@ /* global anchors */ | ||
document.getElementById('filter-input').addEventListener('keyup', function(e) { | ||
document.getElementById('filter-input').addEventListener('keyup', function (e) { | ||
var i, element, children; | ||
@@ -26,3 +26,3 @@ | ||
var match = function() { | ||
var match = function () { | ||
return true; | ||
@@ -34,3 +34,3 @@ }; | ||
if (!value.match(/^\s*$/)) { | ||
match = function(element) { | ||
match = function (element) { | ||
var html = element.firstChild.innerHTML; | ||
@@ -120,3 +120,3 @@ return html && html.toLowerCase().indexOf(value) !== -1; | ||
Split(['#split-left', '#split-right'], { | ||
elementStyle: function(dimension, size, gutterSize) { | ||
elementStyle: function (dimension, size, gutterSize) { | ||
return { | ||
@@ -126,3 +126,3 @@ 'flex-basis': 'calc(' + size + '% - ' + gutterSize + 'px)' | ||
}, | ||
gutterStyle: function(dimension, gutterSize) { | ||
gutterStyle: function (dimension, gutterSize) { | ||
return { | ||
@@ -160,5 +160,5 @@ 'flex-basis': gutterSize + 'px' | ||
window.addEventListener('load', function() { | ||
window.addEventListener('load', function () { | ||
// Restore after Firefox scrolls to hash. | ||
setTimeout(function() { | ||
setTimeout(function () { | ||
loadState(); | ||
@@ -165,0 +165,0 @@ // Update with initial scroll position. |
{ | ||
"name": "cids", | ||
"version": "0.8.1", | ||
"version": "0.8.2", | ||
"description": "CID Implementation in JavaScript", | ||
@@ -38,10 +38,10 @@ "leadMaintainer": "Volker Mische <volker.mische@gmail.com>", | ||
"dependencies": { | ||
"buffer": "^5.5.0", | ||
"buffer": "^5.6.0", | ||
"class-is": "^1.1.0", | ||
"multibase": "~0.7.0", | ||
"multibase": "^1.0.0", | ||
"multicodec": "^1.0.1", | ||
"multihashes": "~0.4.17" | ||
"multihashes": "~0.4.19" | ||
}, | ||
"devDependencies": { | ||
"aegir": "^21.4.4", | ||
"aegir": "^23.0.0", | ||
"chai": "^4.2.0", | ||
@@ -67,2 +67,3 @@ "dirty-chai": "^2.0.1", | ||
"Hugo Dias <hugomrdias@gmail.com>", | ||
"Marcin Rataj <lidel@lidel.org>", | ||
"Real Harry <sidewaybot@gmail.com>", | ||
@@ -72,3 +73,2 @@ "bluelovers <codelovers@users.sourceforge.net>", | ||
"Henrique Dias <hacdias@gmail.com>", | ||
"Marcin Rataj <lidel@lidel.org>", | ||
"Mitar <mitar.github@tnode.com>", | ||
@@ -75,0 +75,0 @@ "Richard Littauer <richard.littauer@gmail.com>", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1682546
38
2252
1
+ Addedmultibase@1.0.1(transitive)
Updatedbuffer@^5.6.0
Updatedmultibase@^1.0.0
Updatedmultihashes@~0.4.19