Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

inhabit-module-base

Package Overview
Dependencies
Maintainers
2
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

inhabit-module-base - npm Package Compare versions

Comparing version 1.3.4 to 1.3.5

src/InhabitModuleEvents.js

8

build/InhabitModuleBase.js
"use strict";
var MODULE_STORAGE = global.__ark_app__.apps;
var InhabitModuleEvents = require("./InhabitModuleEvents");
/**

@@ -24,3 +24,3 @@ * @constructor

this.name = this.constructor.name;
this.showCustomPreloader = true;
this.inject(dependencies).configure(configuration);

@@ -74,4 +74,4 @@ }

this.searchEngineService = dependencies.searchEngineService;
this.events = dependencies.events || { on: console.log.bind(console, 'There is not events') };
this.resourcesRoot = dependencies.resourcesRoot || "build/resources/";
this.events = dependencies.events || InhabitModuleEvents;
this.resourcesRoot = dependencies.resourcesRoot || "build/resources";
return this;

@@ -78,0 +78,0 @@ };

{
"name": "inhabit-module-base",
"version": "1.3.4",
"version": "1.3.5",
"description": "A Base Module class for InHabit.",

@@ -5,0 +5,0 @@ "main": "build/InhabitModuleBase.js",

"use strict";
var MODULE_STORAGE = global.__ark_app__.apps;
var InhabitModuleEvents = require("./InhabitModuleEvents");
/**

@@ -24,3 +24,3 @@ * @constructor

this.name = this.constructor.name;
this.showCustomPreloader = true;
this.inject(dependencies).configure(configuration);

@@ -74,4 +74,4 @@ }

this.searchEngineService = dependencies.searchEngineService;
this.events = dependencies.events || {on: console.log.bind(console, 'There is not events')};
this.resourcesRoot = dependencies.resourcesRoot || "build/resources/";
this.events = dependencies.events || InhabitModuleEvents;
this.resourcesRoot = dependencies.resourcesRoot || "build/resources";
return this;

@@ -78,0 +78,0 @@ };

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