Socket
Socket
Sign inDemoInstall

mmenu-js

Package Overview
Dependencies
Maintainers
1
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mmenu-js - npm Package Compare versions

Comparing version 8.0.3 to 8.0.4

dist/_version.js

2

composer.json
{
"name" : "mmenu.js",
"version" : "8.0.3",
"version" : "8.0.4",
"authors" : "Fred Heusschen <info@frebsite.nl>",

@@ -5,0 +5,0 @@ "license" : "CC-BY-NC-4.0",

@@ -32,4 +32,4 @@ import Mmenu from './../oncanvas/mmenu.oncanvas';

this.node.menu.classList.add('mm-menu_offcanvas');
this.node.menu.parentElement.classList.remove('mm-wrapper');
// Append to the <body>
this.node[this.conf.clone ? 'orig' : 'menu'].parentElement.classList.remove('mm-wrapper');
// Prepend to the <body>
document

@@ -36,0 +36,0 @@ .querySelector(configs.menu.insertSelector)[configs.menu.insertMethod](this.node.menu);

@@ -0,1 +1,2 @@

import version from '../../_version';
import options from './_options';

@@ -357,2 +358,4 @@ import configs from './_configs';

this.trigger('initMenu:before');
// Add class to the wrapper.
this.node.menu.parentElement.classList.add('mm-wrapper');
// Add an ID to the menu if it does not yet have one.

@@ -386,4 +389,2 @@ this.node.menu.id = this.node.menu.id || uniqueId();

this.node.menu.classList.add('mm-menu');
// Add class to the wrapper.
this.node.menu.parentElement.classList.add('mm-wrapper');
// Invoke "after" hook.

@@ -773,3 +774,3 @@ this.trigger('initMenu:after');

/** Plugin version. */
Mmenu.version = '8.0.2';
Mmenu.version = version;
/** Default options for menus. */

@@ -776,0 +777,0 @@ Mmenu.options = options;

{
"name": "mmenu-js",
"version": "8.0.3",
"version": "8.0.4",
"main": "dist/mmenu.js",

@@ -5,0 +5,0 @@ "author": "Fred Heusschen <info@frebsite.nl>",

@@ -42,5 +42,7 @@ import Mmenu from './../oncanvas/mmenu.oncanvas';

this.node.menu.classList.add('mm-menu_offcanvas');
this.node.menu.parentElement.classList.remove('mm-wrapper');
this.node[
this.conf.clone ? 'orig' : 'menu'
].parentElement.classList.remove('mm-wrapper');
// Append to the <body>
// Prepend to the <body>
document

@@ -47,0 +49,0 @@ .querySelector(configs.menu.insertSelector)

@@ -0,1 +1,2 @@

import version from '../../_version';
import options from './_options';

@@ -17,3 +18,3 @@ import configs from './_configs';

/** Plugin version. */
static version: string = '8.0.2';
static version: string = version;

@@ -527,2 +528,5 @@ /** Default options for menus. */

// Add class to the wrapper.
this.node.menu.parentElement.classList.add('mm-wrapper');
// Add an ID to the menu if it does not yet have one.

@@ -567,5 +571,2 @@ this.node.menu.id = this.node.menu.id || uniqueId();

// Add class to the wrapper.
this.node.menu.parentElement.classList.add('mm-wrapper');
// Invoke "after" hook.

@@ -572,0 +573,0 @@ this.trigger('initMenu:after');

/*!
* mmenu.js v8.0.3
* mmenu.js v8.0.4
* mmenujs.com

@@ -4,0 +4,0 @@ *

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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