New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

lark-mvc

Package Overview
Dependencies
Maintainers
3
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lark-mvc - npm Package Compare versions

Comparing version 0.4.6 to 0.4.7

17

index.js

@@ -63,11 +63,14 @@ var path = require('path');

function createModel (layerproxy, _pathsplit, type, options) {
options = options || {};
var type = type || _pathsplit.shift();
var ignore = options.ignore || '';
if ('string' === typeof ignore) {
ignore = [ignore];
if (options && options.ignore) {
if (!Array.isArray(options.ignore)) {
options.ignore = [options.ignore];
}
for (var i = 0; i < options.ignore.length; i++) {
var ignore = options.ignore[i];
if (_pathsplit.indexOf(ignore) >=0) {
return;
}
}
}
if (options && options.ignore && _pathsplit.indexOf(options.ignore) >=0) {
return;
}
var name = _pathsplit.join('/');

@@ -74,0 +77,0 @@ switch (type) {

{
"name": "lark-mvc",
"version": "0.4.6",
"version": "0.4.7",
"description": "MVC for building web server with lark.js",

@@ -5,0 +5,0 @@ "main": "index.js",

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