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

assemble-render-file

Package Overview
Dependencies
Maintainers
2
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

assemble-render-file - npm Package Compare versions

Comparing version 0.7.0 to 0.7.1

5

index.js

@@ -28,4 +28,3 @@ /*!

return function plugin(app) {
if (!utils.isValid(app)) return;
if (!utils.isValid(app, 'assemble-render-file', ['app', 'collection'])) return;
var opts = utils.merge({}, app.options, config);

@@ -98,3 +97,3 @@ var debug = utils.debug;

if (!(err instanceof Error)) {
err = new Error(utils.red('view cannot be rendered: ' + last.path));
err = new Error('view cannot be rendered: ' + last.path);
}

@@ -101,0 +100,0 @@ err.files = files;

26

package.json
{
"name": "assemble-render-file",
"description": "Assemble plugin for rendering views in a vinyl pipeline.",
"version": "0.7.0",
"version": "0.7.1",
"homepage": "https://github.com/assemble/assemble-render-file",

@@ -25,4 +25,3 @@ "author": "Jon Schlinkert (https://github.com/jonschlinkert)",

"debug": "^2.2.0",
"is-registered": "^0.1.4",
"is-valid-instance": "^0.1.0",
"is-valid-app": "^0.1.2",
"lazy-cache": "^2.0.1",

@@ -33,4 +32,4 @@ "mixin-deep": "^1.1.3",

"devDependencies": {
"assemble-fs": "^0.4.6",
"assemble-streams": "^0.5.0",
"assemble-fs": "^0.5.2",
"assemble-streams": "^0.6.0",
"engine-base": "^0.1.2",

@@ -40,8 +39,8 @@ "engine-handlebars": "^0.8.0",

"gulp-eslint": "^2.0.0",
"gulp-format-md": "^0.1.7",
"gulp-istanbul": "^0.10.3",
"gulp-format-md": "^0.1.9",
"gulp-istanbul": "^1.0.0",
"gulp-mocha": "^2.2.0",
"mocha": "^2.4.5",
"should": "^8.3.0",
"templates": "^0.16.1"
"mocha": "^2.5.3",
"should": "^9.0.2",
"templates": "^0.22.5"
},

@@ -76,8 +75,9 @@ "keywords": [

"assemble-streams",
"verb",
"base"
"base",
"verb"
]
},
"reflinks": [
"verb"
"verb",
"verb-readme-generator"
],

@@ -84,0 +84,0 @@ "lint": {

'use strict';
/**
* Module dependencies
*/
var utils = require('lazy-cache')(require);

@@ -15,4 +11,3 @@ var fn = require;

require('is-registered');
require('is-valid-instance');
require('is-valid-app', 'isValid');
require('mixin-deep', 'merge');

@@ -24,12 +19,2 @@ require('through2', 'through');

utils.isValid = function(app) {
if (!utils.isValidInstance(app, ['app', 'views', 'collection'])) {
return false;
}
if (utils.isRegistered(app, 'assemble-render-file')) {
return false;
}
return true;
};
/**

@@ -36,0 +21,0 @@ * Expose `utils`

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