Socket
Socket
Sign inDemoInstall

nemo

Package Overview
Dependencies
Maintainers
1
Versions
97
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nemo - npm Package Compare versions

Comparing version 0.2.2 to 0.2.3

19

index.js

@@ -140,23 +140,6 @@ /*───────────────────────────────────────────────────────────────────────────*\

//setup views
//add addView method if available
if (me.plugins.view) {
if (viewModule.addView) {
nemo.view.addView = viewModule.addView;
}
}
config.view.forEach(function(key) {
if (me.plugins.view) {
var viewName = (key.constructor === String) ? key : key.name;
//dedupe step
if (nemo.view[viewName]) {
return;
}
//reserved step
if (viewName === 'addView' && nemo.view.addView && nemo.view.addView.constructor === Function) {
throw new Error('nemo.view.addView is reserved. Please rename your view');
}
//process with the view interface
nemo.view[viewName] = viewModule.addView(key);
viewModule.addView(key);
} else {

@@ -163,0 +146,0 @@ //old views

2

package.json
{
"name": "nemo",
"version": "0.2.2",
"version": "0.2.3",
"description": "Abstraction for automation test components",

@@ -5,0 +5,0 @@ "scripts": {

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