Socket
Socket
Sign inDemoInstall

omnibelt

Package Overview
Dependencies
Maintainers
3
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

omnibelt - npm Package Compare versions

Comparing version 3.1.1 to 3.1.2

docs/omnibelt_debounce-leading.js.html

19

docs/scripts/collapse.js
function hideAllButCurrent(){
//by default all submenut items are hidden
//but we need to rehide them for search
document.querySelectorAll("nav > ul").forEach(function(parent) {
if (parent.className.indexOf("collapse_top") !== -1) {
parent.style.display = "none";
}
});
document.querySelectorAll("nav > ul > li > ul li").forEach(function(parent) {
parent.style.display = "none";
});
document.querySelectorAll("nav > h3").forEach(function(section) {
if (section.className.indexOf("collapsed_header") !== -1) {
section.addEventListener("click", function(){
if (section.nextSibling.style.display === "none") {
section.nextSibling.style.display = "block";
} else {
section.nextSibling.style.display = "none";
}
});
}
});

@@ -13,2 +29,5 @@ //only current page (if it exists) should be opened

if (file === href) {
if (parent.parentNode.parentNode.className.indexOf("collapse_top") !== -1) {
parent.parentNode.parentNode.style.display = "block";
}
parent.parentNode.querySelectorAll("ul li").forEach(function(elem) {

@@ -15,0 +34,0 @@ elem.style.display = "block";

@@ -36,2 +36,5 @@

});
document.querySelectorAll("nav > ul").forEach(function(elem) {
elem.style.display = "block";
});
//hide all results

@@ -83,3 +86,16 @@ document.querySelectorAll("nav > ul > li > ul li").forEach(function(elem) {

});
document.querySelectorAll("nav > ul.collapse_top").forEach(function(parent) {
var countVisible = 0;
parent.querySelectorAll("li").forEach(function(elem) {
if (elem.style.display !== "none") {
countVisible++;
}
});
if (countVisible == 0) {
//has no child at all and does not contain text
parent.style.display = "none";
}
});
}
});

2

package.json
{
"name": "omnibelt",
"description": "A utility belt that normalizes and wraps `Ramda` and `Lodash/FP`.",
"version": "3.1.1",
"version": "3.1.2",
"license": "MIT",

@@ -6,0 +6,0 @@ "main": "src/index.js",

@@ -104,2 +104,6 @@ # Omnibelt

- `3.1.2`
- Added methods:
- `debounceLeading`
- `debounceTrailing`
- `3.1.1`

@@ -106,0 +110,0 @@ - Added methods:

@@ -32,2 +32,9 @@ /**

* @memberof module:lodash
* @name deburr
* @see {@link https://github.com/lodash/lodash/wiki/FP-Guide|FP-Guide For Actual Interface}
* @see {@link https://lodash.com/docs/4.17.5#deburr|_.deburr}
*/
/**
* @func
* @memberof module:lodash
* @name escape

@@ -229,2 +236,9 @@ * @see {@link https://github.com/lodash/lodash/wiki/FP-Guide|FP-Guide For Actual Interface}

* @memberof module:lodash
* @name size
* @see {@link https://github.com/lodash/lodash/wiki/FP-Guide|FP-Guide For Actual Interface}
* @see {@link https://lodash.com/docs/4.17.5#size|_.size}
*/
/**
* @func
* @memberof module:lodash
* @name trim

@@ -251,2 +265,9 @@ * @see {@link https://github.com/lodash/lodash/wiki/FP-Guide|FP-Guide For Actual Interface}

* @memberof module:lodash
* @name truncate
* @see {@link https://github.com/lodash/lodash/wiki/FP-Guide|FP-Guide For Actual Interface}
* @see {@link https://lodash.com/docs/4.17.5#truncate|_.truncate}
*/
/**
* @func
* @memberof module:lodash
* @name unescape

@@ -253,0 +274,0 @@ * @see {@link https://github.com/lodash/lodash/wiki/FP-Guide|FP-Guide For Actual Interface}

@@ -9,2 +9,4 @@ module.exports.allEqual = require('./all-equal');

module.exports.debounce = require('./debounce');
module.exports.debounceLeading = require('./debounce-leading');
module.exports.debounceTrailing = require('./debounce-trailing');
module.exports.defaultToStrict = require('./default-to-strict');

@@ -11,0 +13,0 @@ module.exports.defer = require('./defer');

@@ -34,2 +34,8 @@ /**

* @memberof module:ramda
* @name addIndexRight
* @see {@link http://ramdajs.com/docs/#addIndexRight|R.addIndexRight}
*/
/**
* @func
* @memberof module:ramda
* @name adjust

@@ -323,2 +329,8 @@ * @see {@link http://ramdajs.com/docs/#adjust|R.adjust}

* @memberof module:ramda
* @name dropRepeatsBy
* @see {@link http://ramdajs.com/docs/#dropRepeatsBy|R.dropRepeatsBy}
*/
/**
* @func
* @memberof module:ramda
* @name dropRepeatsWith

@@ -1236,2 +1248,8 @@ * @see {@link http://ramdajs.com/docs/#dropRepeatsWith|R.dropRepeatsWith}

* @memberof module:ramda
* @name swap
* @see {@link http://ramdajs.com/docs/#swap|R.swap}
*/
/**
* @func
* @memberof module:ramda
* @name symmetricDifference

@@ -1238,0 +1256,0 @@ * @see {@link http://ramdajs.com/docs/#symmetricDifference|R.symmetricDifference}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc