libp2p-bootstrap
Advanced tools
Comparing version 0.11.0 to 0.12.0
@@ -0,1 +1,16 @@ | ||
<a name="0.12.0"></a> | ||
# [0.12.0](https://github.com/libp2p/js-libp2p-bootstrap/compare/v0.11.0...v0.12.0) (2020-08-10) | ||
### Bug Fixes | ||
* replace node buffers with uint8arrays ([#106](https://github.com/libp2p/js-libp2p-bootstrap/issues/106)) ([b59b7ad](https://github.com/libp2p/js-libp2p-bootstrap/commit/b59b7ad)) | ||
### BREAKING CHANGES | ||
* - The deps of this module have Uint8Array properties | ||
<a name="0.11.0"></a> | ||
@@ -2,0 +17,0 @@ # [0.11.0](https://github.com/libp2p/js-libp2p-bootstrap/compare/v0.10.4...v0.11.0) (2020-04-21) |
@@ -7,1 +7,3 @@ /*! | ||
*/ | ||
/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */ |
@@ -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": "libp2p-bootstrap", | ||
"version": "0.11.0", | ||
"version": "0.12.0", | ||
"description": "Node.js IPFS Implementation of the railing process of a Node through a bootstrap peer list", | ||
@@ -31,6 +31,4 @@ "leadMaintainer": "Vasco Santos <vasco.santos@moxy.studio>", | ||
"devDependencies": { | ||
"aegir": "^21.2.0", | ||
"chai": "^4.2.0", | ||
"dirty-chai": "^2.0.1", | ||
"libp2p-interfaces": "^0.3.0" | ||
"aegir": "^25.0.0", | ||
"libp2p-interfaces": "^0.4.0" | ||
}, | ||
@@ -40,4 +38,4 @@ "dependencies": { | ||
"mafmt": "^7.0.0", | ||
"multiaddr": "^7.2.1", | ||
"peer-id": "^0.13.5" | ||
"multiaddr": "^8.0.0", | ||
"peer-id": "^0.14.0" | ||
}, | ||
@@ -53,9 +51,6 @@ "pre-push": [ | ||
"Alan Shaw <alan.shaw@protocol.ai>", | ||
"Alex Potsides <alex@achingbrain.net>", | ||
"ᴠɪᴄᴛᴏʀ ʙᴊᴇʟᴋʜᴏʟᴍ <victorbjelkholm@gmail.com>", | ||
"Zane Starr <zcstarr@gmail.com>", | ||
"dirkmc <dirkmdev@gmail.com>", | ||
"victorbjelkholm <victor@protocol.ai>", | ||
"Abraham Elmahrek <abe@apache.org>", | ||
"ころ <koropicot@gmail.com>", | ||
"Alex Potsides <alex@achingbrain.net>", | ||
"Dmitriy Ryajov <dryajov@gmail.com>", | ||
@@ -65,4 +60,7 @@ "Hugo Dias <mail@hugodias.me>", | ||
"Nuno Nogueira <nunofmn@gmail.com>", | ||
"Richard Littauer <richard.littauer@gmail.com>" | ||
"Richard Littauer <richard.littauer@gmail.com>", | ||
"Zane Starr <zcstarr@gmail.com>", | ||
"dirkmc <dirkmdev@gmail.com>", | ||
"victorbjelkholm <victor@protocol.ai>" | ||
] | ||
} |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
2
2112805
34
1898
2
+ Added@protobufjs/aspromise@1.1.2(transitive)
+ Added@protobufjs/base64@1.1.2(transitive)
+ Added@protobufjs/codegen@2.0.4(transitive)
+ Added@protobufjs/eventemitter@1.1.0(transitive)
+ Added@protobufjs/fetch@1.1.0(transitive)
+ Added@protobufjs/float@1.0.2(transitive)
+ Added@protobufjs/inquire@1.1.0(transitive)
+ Added@protobufjs/path@1.1.2(transitive)
+ Added@protobufjs/pool@1.1.0(transitive)
+ Added@protobufjs/utf8@1.1.0(transitive)
+ Added@types/long@4.0.2(transitive)
+ Added@types/node@22.7.4(transitive)
+ Addedcids@1.1.9(transitive)
+ Addeddata-uri-to-buffer@4.0.1(transitive)
+ Addeddns-over-http-resolver@1.2.3(transitive)
+ Addederr-code@3.0.1(transitive)
+ Addedevents@3.3.0(transitive)
+ Addedfetch-blob@3.2.0(transitive)
+ Addedformdata-polyfill@4.0.10(transitive)
+ Addediso-random-stream@2.0.2(transitive)
+ Addedlibp2p-crypto@0.19.7(transitive)
+ Addedlong@4.0.0(transitive)
+ Addedmultiaddr@8.1.2(transitive)
+ Addedmultibase@4.0.6(transitive)
+ Addedmulticodec@3.2.1(transitive)
+ Addedmultiformats@9.9.0(transitive)
+ Addedmultihashes@4.0.3(transitive)
+ Addednative-fetch@3.0.0(transitive)
+ Addednode-domexception@1.0.0(transitive)
+ Addednode-fetch@3.3.2(transitive)
+ Addednode-forge@0.10.0(transitive)
+ Addedpeer-id@0.14.8(transitive)
+ Addedprotobufjs@6.11.4(transitive)
+ Addedreceptacle@1.3.2(transitive)
+ Addeduint8arrays@2.1.103.1.1(transitive)
+ Addedundici-types@6.19.8(transitive)
+ Addedvarint@6.0.0(transitive)
+ Addedweb-streams-polyfill@3.3.3(transitive)
- Removedblakejs@1.2.1(transitive)
- Removedbuffer@6.0.3(transitive)
- Removediso-random-stream@1.1.2(transitive)
- Removedjs-sha3@0.8.0(transitive)
- Removedlibp2p-crypto@0.17.9(transitive)
- Removedmultihashing-async@0.8.2(transitive)
- Removedmurmurhash3js-revisited@3.0.0(transitive)
- Removednode-forge@0.9.2(transitive)
- Removedpeer-id@0.13.13(transitive)
- Removedprotocol-buffers-schema@3.6.0(transitive)
- Removedprotons@1.2.1(transitive)
- Removedsigned-varint@2.0.1(transitive)
- Removeduint8arrays@1.1.0(transitive)
Updatedmultiaddr@^8.0.0
Updatedpeer-id@^0.14.0