Socket
Socket
Sign inDemoInstall

assets-expander

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

assets-expander - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

6

History.md

@@ -0,1 +1,7 @@

0.3.1 / 2012-08-02
==================
* Added direct path to vows dependency.
* Added fs.existsSync fallback to get rid of 0.8 warnings.
0.3.0 / 2012-07-09

@@ -2,0 +8,0 @@ ==================

5

lib/assets.js
var fs = require('fs'),
path = require('path'),
yaml = require('../vendor/yaml');
yaml = require('../vendor/yaml'),
existsSync = fs.existsSync || path.existsSync;

@@ -49,3 +50,3 @@ var AssetsExpander = function(pathToYaml, options) {

var expanded = path.join(root, asset) + '.' + options.type;
if (path.existsSync(expanded)) matches.push(expanded);
if (existsSync(expanded)) matches.push(expanded);
}

@@ -52,0 +53,0 @@

@@ -11,7 +11,10 @@ {

},
"version": "0.3.0",
"version": "0.3.1",
"main": "index.js",
"devDependencies": {
"vows": "*"
},
"engines": {
"node": ">=0.6.0"
}
}
Makefile

Sorry, the diff of this file is not supported yet

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