pagination
Advanced tools
Comparing version 0.4.3 to 0.4.4
12
index.js
@@ -1,10 +0,8 @@ | ||
var pkgs = ['item_paginator', 'search_paginator', 'template_paginator', 'template']; | ||
var pagination = require('./lib/pagination.js'); | ||
var util = require('util'); | ||
var i, len, pkg; | ||
for (i = 0, len = pkgs.length; i < len; i++) { | ||
pkg = require('./lib/' + pkgs[i] + '.js'); | ||
pkg.module(pagination, util); | ||
} | ||
var pagination = require('./lib/pagination'); | ||
require('./lib/item_paginator').module(pagination, util); | ||
require('./lib/search_paginator').module(pagination, util); | ||
require('./lib/template_paginator').module(pagination, util); | ||
require('./lib/template').module(pagination, util); | ||
module.exports = pagination; |
@@ -14,3 +14,3 @@ { | ||
}, | ||
"version": "0.4.3", | ||
"version": "0.4.4", | ||
"scripts": { | ||
@@ -17,0 +17,0 @@ "test": "vows --spec tests/*" |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
115624
40
2137
7