Socket
Socket
Sign inDemoInstall

assets-include

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-include - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

5

History.md

@@ -0,1 +1,6 @@

[1.1.1 / 2014-03-15](https://github.com/GoalSmashers/assets-include/compare/v1.1.0...v1.1.1)
==================
* Fixed issue [#2](https://github.com/GoalSmashers/assets-include/issues/2) - allows `config` to be an absolute path.
[1.1.0 / 2014-03-12](https://github.com/GoalSmashers/assets-include/compare/v1.0.0...v1.1.0)

@@ -2,0 +7,0 @@ ==================

5

lib/include.js

@@ -76,7 +76,8 @@ (function() {

var AssetsInclude = function(pathToConfig, options) {
var configDir = path.dirname(pathToConfig);
var rootPath = process.cwd();
var configDir = path.dirname(pathToConfig).replace(rootPath, '');
this.options = options || {};
this.pathToConfig = pathToConfig;
this.rootPath = process.cwd();
this.rootPath = rootPath;
this.hostsIterator = hostsIterator(this.options.assetHosts);

@@ -83,0 +84,0 @@

2

package.json
{
"name": "assets-include",
"version": "1.1.0",
"version": "1.1.1",
"author": "GoalSmashers.com <jakub@goalsmashers.com>",

@@ -5,0 +5,0 @@ "description": "Include assets into your views with ease (assets-packager compatible).",

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