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

ifnode

Package Overview
Dependencies
Maintainers
1
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ifnode - npm Package Compare versions

Comparing version 1.7.2 to 1.7.3

6

core/application/DAOList.js

@@ -67,3 +67,7 @@ /**

if(schema_driver.driver) {
var driver = schema_driver.driver(db_config.config);
var config = db_config.config;
var driver = schema_driver.driver(typeof config === 'function' ?
config.bind(db_config) :
config
);

@@ -70,0 +74,0 @@ if(driver) {

@@ -5,2 +5,6 @@ module.exports = {

schema: 'custom-schema',
correct_this_test: function correct_this_test() {},
config: function config() {
return this.correct_this_test();
},
default: true

@@ -7,0 +11,0 @@ },

3

examples/models_custom_schema/protected/extensions/custom-schema.js

@@ -5,3 +5,4 @@ var SCHEMA = require('./../../../../core/PLUGIN_TYPES').SCHEMA;

CustomSchema.schema = 'custom-schema';
CustomSchema.driver = function driver() {
CustomSchema.driver = function driver(config) {
config();
return {};

@@ -8,0 +9,0 @@ };

{
"name": "ifnode",
"version": "1.7.2",
"version": "1.7.3",
"description": "Node.js MVC Framework",

@@ -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