include-all
Advanced tools
Comparing version 1.0.6 to 1.0.7
@@ -5,2 +5,3 @@ /** | ||
var path = require('path'); | ||
var _ = require('lodash'); | ||
@@ -92,2 +93,10 @@ var helpIncludeAllSync = require('./help-include-all-sync'); | ||
// Ensure that the identity and globalId always use forward slashes ("/") for their | ||
// path separators, even on Windows. This is so that identities are more clean and | ||
// predictable. | ||
// (see https://nodejs.org/dist/latest-v0.10.x/docs/api/path.html#path_path_sep) | ||
if (path.sep === '\\') { | ||
module.identity = module.identity.replace(/\\/g, '/'); | ||
} | ||
// globalId is the name of the variable for this module | ||
@@ -94,0 +103,0 @@ // that e.g. will be exposed globally in Sails unless configured otherwise. |
{ | ||
"name": "include-all", | ||
"version": "1.0.6", | ||
"version": "1.0.7", | ||
"description": "An easy way to include all node.js modules within a directory.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
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
32173
493